/* ======================================== */
/* GLOBAL RESET                              */
/* ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

body {
    background: #0d0b12;
    color: #faf0f6;
    overflow-x: hidden;
}

/* Links */
a {
    text-decoration: none !important;
    color: inherit;
}

/* Page container */
.page-container {
    padding: 3rem 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Small avatar */
.avatar-small {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(255,180,210,0.6);
    box-shadow: 0 0 10px rgba(255,130,180,0.45);
}


/* ======================================== */
/* HEADER                                    */
/* ======================================== */

.header {
    width: 100%;
    padding: 1rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(22, 18, 26, 0.65);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 160, 200, 0.12);
    position: sticky;
    top: 0;
    z-index: 50;
}

.naya-logo {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid rgba(255, 180, 210, 0.6);
    box-shadow: 0 0 14px rgba(255, 130, 180, 0.45);
}

.logo-text {
    font-size: 1.55rem;
    margin-left: 0.7rem;
    color: #ffc6dc;
    font-weight: 700;
}

.header-left {
    display: flex;
    align-items: center;
    transition: 0.25s ease;
}

.header-left:hover .logo-text {
    color: #ffb3d6;
}
.header-left:hover .naya-logo {
    box-shadow: 0 0 18px rgba(255, 140, 200, 0.55);
}

.header-nav {
    display: flex;
    gap: 1.6rem;
}

.header-nav a {
    color: #e8d0dc;
    font-size: 0.97rem;
    padding: 0.75rem 1.25rem;
    border-radius: 14px;
    transition: 0.25s ease;
}

.header-nav a:not(.premium-btn):hover {
    background: rgba(255, 170, 220, 0.08);
    color: #ffd3e8;
    box-shadow: 0 0 16px rgba(255, 140, 200, 0.10);
}

.header-right {
    display: flex;
    gap: 1rem;
}

.header-login,
.premium-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    transition: 0.25s ease;
}

/* Login button */
.header-login {
    background: #1c1a20;
    color: #e4d0de;
}
.header-login:hover {
    background: #1c1a20;
    color: #ffd8ea;
    box-shadow: 0 0 16px rgba(255, 140, 200, 0.12);
    border-color: rgba(255, 170, 220, 0.18);
}

/* Premium button */
.premium-btn {
    background: linear-gradient(135deg, #ff9ecb, #ff7bb4);
    color: white;
    box-shadow: 0 0 12px rgba(255,130,180,0.45);
    transition: box-shadow 0.25s ease;
}

.premium-btn:hover {
    background: linear-gradient(135deg, #ff9ecb, #ff7bb4);
    color: white;
    box-shadow: 0 0 18px rgba(255,130,180,0.65);
}


/* ======================================== */
/* SPARKLE HOVER                             */
/* ======================================== */

.sparkle-hover {
    position: relative;
    overflow: hidden;
}

.sparkle-hover::before,
.sparkle-hover::after {
    position: absolute;
    pointer-events: none;
    opacity: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
}

/* ✦ */
.sparkle-hover::before {
    content: "✦";
    font-size: 1.4rem;
    color: #ffb7e6;
}

.sparkle-hover:hover::before {
    animation: sparkleTwirl 1.05s forwards;
}

@keyframes sparkleTwirl {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }
    30% { opacity: 1; }
    100% { opacity: 0; transform: translate(-90%, -150%) scale(1.1) rotate(22deg); }
}


/* ======================================== */
/* LOGIN PAGE                                */
/* ======================================== */

.login-container {
    text-align: center;
    margin-top: 6rem;
}

.login-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(90deg, #ff8ec9, #d582ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-btn {
    padding: 1rem 2rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,150,200,0.25);
    border-radius: 14px;
    font-size: 1.2rem;
    color: #ffd6ea;
    font-weight: 600;
    transition: 0.25s ease;
}

.login-btn:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,180,220,0.35);
}


/* ======================================== */
/* SERVERS PAGE                              */
/* ======================================== */

.servers-page-head {
    max-width: 860px;
    margin: 0 auto 2.2rem;
    text-align: center;
}

.servers-subtext {
    margin: -1.6rem auto 1.5rem;
    color: #d9bfd0;
    opacity: 0.88;
    line-height: 1.6;
}

.servers-search-wrap {
    position: relative;
    max-width: 520px;
    margin: 0 auto;
}

.servers-search-wrap i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 200, 224, 0.62);
    font-size: 0.92rem;
    pointer-events: none;
}

.servers-search-input {
    width: 100%;
    padding: 0.95rem 1rem 0.95rem 2.75rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 150, 200, 0.18);
    background: rgba(255,255,255,0.05);
    color: #fff1f8;
    outline: none;
    transition: 0.22s ease;
}

.servers-search-input::placeholder {
    color: rgba(255, 210, 232, 0.48);
}

.servers-search-input:focus {
    border-color: rgba(255, 170, 220, 0.34);
    box-shadow: 0 0 0 4px rgba(255, 150, 200, 0.05), 0 0 22px rgba(255, 130, 180, 0.08);
}

.servers-title {
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 3rem;
    font-weight: 800;
    background: linear-gradient(90deg, #ff8ec9, #d582ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.server-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.server-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,140,200,0.18);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: 0.25s ease;
}

.server-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 28px rgba(255,140,200,0.18);
    border-color: rgba(255,170,220,0.35);
}

.server-icon {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 2px solid rgba(255,150,200,0.6);
}

.server-card h2 {
    font-size: 1.35rem;
    color: #ffd6ea;
    margin-bottom: 1.2rem;
}

.manage-btn {
    padding: 0.75rem 1.4rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,150,200,0.25);
    font-weight: 600;
    color: #ffc7e0;
    transition: 0.25s ease;
}

.manage-btn:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,170,220,0.45);
}


/* ======================================== */
/* DASHBOARD LAYOUT                         */
/* ======================================== */

.dashboard-container {
    display: flex;
    gap: 2rem;
}

/* Sidebar */
.dashboard-sidebar {
    width: 260px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,140,200,0.15);
    border-radius: 16px;
    padding: 1.5rem;
    height: calc(100vh - 120px);
    position: sticky;
    top: 120px;
}

.sidebar-header {
    text-align: center;
    margin-bottom: 1rem;
}

.sidebar-guild-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2px solid rgba(255,150,200,0.6);
    margin-bottom: 0.8rem;
}

.sidebar-guild-name {
    font-size: 1.25rem;
    color: #ffd6ea;
    font-weight: 700;
}

.sidebar-divider {
    height: 1px;
    background: rgba(255,150,200,0.15);
    margin: 1rem 0 1.5rem;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-item {
    padding: 0.8rem 1rem;
    border-radius: 12px;
    font-weight: 600;
    color: #f4cfe0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: 0.25s ease;
    border: 1px solid transparent;
}

.sidebar-item:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,160,200,0.25);
    color: #ffb8d6;
}

.sidebar-item i {
    color: #ff95c7;
    font-size: 1.1rem;
}

/* Main content */
.dashboard-main {
    flex: 1;
    padding: 2rem;
}

.dashboard-title {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(90deg, #ff8ec9, #d582ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dashboard-subtext {
    opacity: 0.8;
    margin-top: 0.5rem;
    font-size: 1.05rem;
    color: #e7c6d8;
}

.dashboard-placeholder-card {
    padding: 2rem;
    margin-top: 3rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,150,200,0.15);
    border-radius: 16px;
    text-align: center;
    font-size: 1.15rem;
    color: #ffd2e8;
}

.dashboard-placeholder-card i {
    font-size: 2rem;
    color: #ff95ce;
    display: block;
    margin-bottom: 1rem;
}


/* ======================================== */
/* DASHBOARD LAYOUT                         */
/* ======================================== */

.dashboard-container {
    display: flex;
    height: calc(100vh - 90px);
    margin-top: 2rem;
    padding: 0 2rem;
    gap: 2rem;
}

/* Sidebar */
.dashboard-sidebar {
    width: 260px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,150,200,0.18);
    border-radius: 18px;
    padding: 1.6rem 1.2rem;
    height: 100%;
    overflow-y: auto;
}

.sidebar-server {
    text-align: center;
    margin-bottom: 2rem;
}

.sidebar-guild-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2px solid rgba(255,180,210,0.6);
    box-shadow: 0 0 12px rgba(255,130,180,0.45);
}

.sidebar-guild-name {
    margin-top: 0.8rem;
    font-size: 1.2rem;
    color: #ffd8ea;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.sidebar-link {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    color: #f4d7e8;
    font-size: 0.96rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid rgba(255,150,200,0.1);
    transition: 0.25s ease;
}

.sidebar-link:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,150,200,0.35);
    color: #ffb6d8;
}

/* Main panel */
.dashboard-main {
    flex: 1;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,150,200,0.12);
    border-radius: 18px;
    padding: 2rem 2.3rem;
    overflow-y: auto;
    position: relative;
}

/* Title */
.dashboard-title {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(90deg,#ff8ec9,#d582ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dashboard-subtext {
    color: #e9cada;
    margin-top: .3rem;
    margin-bottom: 1.5rem;
    opacity: 0.75;
}

/* Placeholder */
.dashboard-placeholder-card {
    margin-top: 3rem;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid rgba(255,150,200,0.2);
    background: rgba(255,255,255,0.03);
    border-radius: 16px;
    color: #ffd6ea;
    opacity: 0.85;
}

/* Naya Scrollbar */
.naya-scroll {
    scrollbar-width: thin;                               /* Firefox */
    scrollbar-color: rgba(255,150,200,0.45) transparent;
}

/* WebKit */
.naya-scroll::-webkit-scrollbar {
    width: 9px;
}

/* Hide arrows */
.naya-scroll::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}

.naya-scroll::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.03);
}

.naya-scroll::-webkit-scrollbar-thumb {
    background: rgba(255,150,200,0.35);
    border-radius: 8px;
    transition: background 0.25s ease;
}

.naya-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(255,150,200,0.55);
}


/* ======================================================== */
/* NAYA COLLAPSIBLES                                         */
/* ======================================================== */

.module-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Collapse Box */
.collapse-box {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,150,200,0.15);
    border-radius: 14px;
    overflow: hidden;
    transition: border 0.25s ease;
}

.collapse-box.open {
    border-color: rgba(255,170,220,0.4);
    box-shadow: 0 5px 20px rgba(255,150,200,0.15);
}

/* Toggle Button */
.collapse-toggle {
    width: 100%;
    background: none;
    border: none;
    padding: 1.1rem 1.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    color: #ffd6ea;
    font-weight: 600;
}

.collapse-toggle i {
    color: #ff95c7;
}

.collapse-box.open .arrow {
    transform: rotate(180deg);
    transition: transform 0.25s ease;
}

/* Collapse Content */
.collapse-content {
    padding: 1.2rem 1.6rem;
    display: none;
    flex-direction: column;
    gap: 1rem;
    color: #f6dce9;
}

.collapse-box.open .collapse-content {
    display: flex;
}

/* Option rows */
.option-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,150,200,0.15);
    border-radius: 12px;
}

.option-label {
    font-size: 0.95rem;
}

.option-button {
    padding: 0.45rem 0.9rem;
    background: rgba(255,255,255,0.06);
    border-radius: 8px;
    border: 1px solid rgba(255,150,200,0.2);
    color: #ffd4e9;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s ease;
}

.option-button:hover {
    background: rgba(255,150,200,0.15);
    border-color: rgba(255,180,220,0.45);
}


/* Module sections */
.module-section {
    margin-top: 2rem;
    padding-right: 0.5rem;
}

.collapse-box {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,150,200,0.15);
    border-radius: 14px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.collapse-toggle {
    width: 100%;
    padding: 1rem 1.3rem;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    background: rgba(255,255,255,0.04);
    border: none;
    color: #ffd6ea;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.collapse-content {
    padding: 1.3rem 1.5rem;
    display: none;
}

.collapse-box.open .collapse-content {
    display: block;
}

.module-label {
    display: block;
    margin-top: 1.1rem;
    margin-bottom: 0.4rem;
    color: #ffc9e7;
}

.module-input,
.module-textarea {
    width: 100%;
    padding: 0.75rem;
    border-radius: 10px;
    border: 1px solid rgba(255,150,200,0.2);
    background: rgba(255,255,255,0.05);
    color: #ffd6ea;
    margin-bottom: 0.4rem;
}

.module-twin {
    display: flex;
    gap: 1rem;
}

.module-btn {
    margin-top: 1rem;
    padding: 0.8rem 1.4rem;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,150,200,0.25);
    color: #ffc9e7;
    font-weight: 600;
    cursor: pointer;
}

.embed-preview {
    margin-top: 1rem;
    padding: 1.2rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,150,200,0.25);
}
