/* ============================================
   GLOBAL STİL FAYLI
============================================ */

:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #131829;
    --bg-card: #1a2236;
    --accent: #5865F2;
    --accent-hover: #4752c4;
    --accent-light: #8b93f7;
    --text-primary: #ffffff;
    --text-secondary: #aab2c8;
    --text-muted: #6b7488;
    --border-color: #2a3550;
    --success: #43b581;
    --premium-gold: #f5c211;
    --radius: 14px;

    /* Marka rəngləri (brand colors) - ikonlar üçün */
    --color-discord: #5865F2;
    --color-github: #ffffff;
    --color-twitter: #ffffff;
    --color-music: #1DB954;   /* Spotify yaşılı */
    --color-shield: #ED4245;  /* Discord moderasiya qırmızısı */
    --color-game: #57F287;    /* Discord əyləncə yaşılı */
    --color-chart: #FEE75C;   /* Discord sarı */
    --color-gear: #99AAB5;    /* Discord boz */
    --color-gem: #EB459E;     /* Discord çəhrayı */
    --color-globe: #5865F2;   /* Discord bənövşəyi-mavi */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Inter', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===================== NAVBAR ===================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.navbar-brand img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.navbar-links a {
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
    position: relative;
}

.navbar-links a:hover,
.navbar-links a.active {
    color: var(--text-primary);
}

.navbar-links a.active::after {
    content: '';
    position: absolute;
    bottom: -26px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
}

.navbar-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-user-wrapper {
    position: relative;
}

.navbar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px 6px 6px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s;
}

.navbar-user:hover,
.navbar-user.active {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.navbar-user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.navbar-user-chevron {
    font-size: 11px;
    color: var(--text-muted);
    transition: transform 0.2s;
}

.navbar-user-wrapper.open .navbar-user-chevron {
    transform: rotate(180deg);
}

.navbar-user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 180px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    z-index: 1100;
}

.navbar-user-wrapper.open .navbar-user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: background 0.15s, color 0.15s;
}

.navbar-dropdown-item:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.navbar-dropdown-item.navbar-dropdown-danger {
    color: var(--color-shield);
}

.navbar-dropdown-item.navbar-dropdown-danger:hover {
    background: rgba(237, 66, 69, 0.1);
    color: var(--color-shield);
}

.navbar-mobile-only {
    display: none;
}

.navbar-mobile-logout {
    color: var(--color-shield) !important;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 26px;
    cursor: pointer;
}

/* ===================== BUTTONS ===================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(88, 101, 242, 0.55);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--accent);
    background: rgba(88, 101, 242, 0.08);
}

.btn-gold {
    background: linear-gradient(135deg, #f5c211, #f59e0b);
    color: #1a1500;
    box-shadow: 0 4px 20px rgba(245, 194, 17, 0.35);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(245, 194, 17, 0.5);
}

.btn-block {
    width: 100%;
}

/* ===================== HERO ===================== */
.hero {
    position: relative;
    padding: 110px 0 90px;
    text-align: center;
    overflow: hidden;
    background: radial-gradient(ellipse at top, rgba(88, 101, 242, 0.22), transparent 60%);
}

.hero-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 500px;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.35), transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

/* ===================== FLOATING COMMAND CARDS ===================== */
.floating-commands {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-bottom: 56px;
}

.floating-commands .fc-row {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    width: 100%;
}

.floating-cmd {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(26, 34, 54, 0.65);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 12px 26px;
    font-size: 14px;
    color: var(--text-secondary);
    backdrop-filter: blur(6px);
    white-space: nowrap;
}

.floating-cmd code {
    color: #b4befe;
    font-family: 'Consolas', monospace;
    font-weight: 700;
    font-size: 14px;
}

.floating-cmd .fc-dash {
    color: var(--text-muted);
}

.floating-cmd .fc-desc {
    color: var(--text-secondary);
}

/* Dalğalı (zig-zag) hərəkət - hər kart fərqli vaxt və istiqamətdə yellənir */
.fc-1 {
    animation: float-bob-1 5s ease-in-out infinite;
}

.fc-2 {
    animation: float-bob-2 5.5s ease-in-out infinite;
    animation-delay: 0.6s;
}

.fc-3 {
    animation: float-bob-3 6s ease-in-out infinite;
    animation-delay: 1.2s;
}

@keyframes float-bob-1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes float-bob-2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

@keyframes float-bob-3 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (max-width: 700px) {
    .floating-commands .fc-row {
        flex-direction: column;
        align-items: center;
    }

    .floating-cmd {
        font-size: 13px;
        padding: 10px 18px;
        white-space: normal;
        text-align: center;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(67, 181, 129, 0.12);
    border: 1px solid rgba(67, 181, 129, 0.35);
    color: var(--success);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 28px;
}

.pulse-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 0 rgba(67, 181, 129, 0.6);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(67, 181, 129, 0.6); }
    70% { box-shadow: 0 0 0 8px rgba(67, 181, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(67, 181, 129, 0); }
}

.hero h1 {
    font-size: 60px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero p {
    font-size: 19px;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 36px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.hero-buttons .btn i {
    margin-right: 6px;
}

/* ===================== HERO STATS ===================== */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 880px;
    margin: 0 auto;
}

.hero-stat {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 28px 16px;
    text-align: center;
    transition: transform 0.25s, border-color 0.25s;
}

.hero-stat:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.hero-stat-icon {
    font-size: 26px;
    margin-bottom: 10px;
}

.hero-stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
}

.hero-stat-label {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 4px;
}

/* ===================== SECTION HEADERS ===================== */
.section {
    padding: 90px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 14px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 17px;
}

/* ===================== CARDS GRID (FEATURES) ===================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 32px;
    transition: transform 0.25s, border-color 0.25s;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
}

.feature-icon {
    font-size: 34px;
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--bg-secondary);
}

/* ===================== BRAND / ICON COLORS ===================== */
.icon-discord  { color: var(--color-discord); }
.icon-github   { color: var(--color-github); }
.icon-twitter  { color: var(--color-twitter); }
.icon-music    { color: var(--color-music); }
.icon-shield   { color: var(--color-shield); }
.icon-game     { color: var(--color-game); }
.icon-chart    { color: var(--color-chart); }
.icon-gear     { color: var(--color-gear); }
.icon-gem      { color: var(--color-gem); }
.icon-globe    { color: var(--color-globe); }

.category-icon {
    font-size: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* ===================== COMMANDS PAGE ===================== */
.page-header {
    padding: 70px 0 40px;
    text-align: center;
    background: radial-gradient(ellipse at top, rgba(88, 101, 242, 0.15), transparent 60%);
}

.page-header h1 {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 17px;
}

.search-box {
    max-width: 480px;
    margin: 32px auto 0;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}

.search-box input:focus {
    border-color: var(--accent);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 15px;
    pointer-events: none;
}

.commands-wrapper {
    padding: 60px 0;
}

/* ===================== CATEGORY TABS ===================== */
.category-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
}

.category-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.category-tab .tab-icon {
    font-size: 16px;
    display: inline-flex;
    align-items: center;
}

.category-tab:hover {
    border-color: var(--accent);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.category-tab.active {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.35), rgba(88, 101, 242, 0.12));
    border-color: var(--accent);
    color: var(--text-primary);
    box-shadow: 0 4px 18px rgba(88, 101, 242, 0.3);
}

.category-tab.active .tab-icon {
    filter: brightness(1.3);
}

.command-category {
    margin-bottom: 50px;
}

.command-category.hidden-category {
    display: none;
}

.command-category-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
}

.command-category-title .count {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-card);
    border-radius: 50px;
    padding: 4px 14px;
    margin-left: auto;
}

.commands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
}

.command-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 22px;
    transition: border-color 0.2s, transform 0.2s;
}

.command-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.command-card .cmd-name {
    font-family: 'Consolas', monospace;
    font-size: 17px;
    font-weight: 700;
    color: var(--accent-light);
    margin-bottom: 8px;
    display: block;
}

.command-card .cmd-desc {
    color: var(--text-secondary);
    font-size: 14.5px;
    margin-bottom: 14px;
}

.command-card .cmd-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.command-card .cmd-meta code {
    background: var(--bg-secondary);
    padding: 3px 8px;
    border-radius: 6px;
    font-family: 'Consolas', monospace;
    color: var(--text-secondary);
}

.command-card .cmd-perm {
    background: rgba(88, 101, 242, 0.15);
    color: var(--accent-light);
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    display: none;
}

.no-results h3 i {
    margin-right: 10px;
    color: var(--accent-light);
}

/* ===================== PREMIUM PAGE ===================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 40px 32px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s;
}

.pricing-card:hover {
    transform: translateY(-6px);
}

.pricing-card.highlight {
    border: 2px solid var(--premium-gold);
    background: linear-gradient(160deg, rgba(245, 194, 17, 0.08), var(--bg-card) 60%);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    right: 32px;
    background: linear-gradient(135deg, #f5c211, #f59e0b);
    color: #1a1500;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 50px;
}

.pricing-name {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 6px;
}

.pricing-price {
    font-size: 48px;
    font-weight: 800;
    margin: 14px 0 4px;
}

.pricing-price span {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-period {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 28px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 0;
    font-size: 15px;
    color: var(--text-secondary);
}

.pricing-features li.included::before {
    content: '✔';
    color: var(--success);
    font-weight: 700;
    flex-shrink: 0;
}

.pricing-features li.excluded::before {
    content: '✕';
    color: var(--text-muted);
    flex-shrink: 0;
}

.pricing-features li.excluded {
    color: var(--text-muted);
}

/* FAQ */
.faq-wrapper {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    margin-bottom: 14px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 26px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    color: var(--accent-light);
    transition: transform 0.25s;
    flex-shrink: 0;
    margin-left: 12px;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 26px;
}

.faq-answer p {
    color: var(--text-secondary);
    padding-bottom: 20px;
    font-size: 15px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* ===================== LEGAL PAGES (Terms / Privacy) ===================== */
.legal-wrapper {
    max-width: 760px;
    margin: 0 auto;
}

.legal-intro {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.legal-section {
    margin-bottom: 36px;
}

.legal-section h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.legal-section p {
    color: var(--text-secondary);
    font-size: 15.5px;
    line-height: 1.8;
}

/* ===================== TEAM PAGE ===================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 26px;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.25s, border-color 0.25s;
}

.team-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
}

.team-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    margin: 0 auto 18px;
    border: 3px solid var(--accent);
    object-fit: cover;
}

.team-name {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-role {
    color: var(--accent-light);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.team-desc {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 18px;
}

.team-tag {
    display: inline-block;
    background: var(--bg-secondary);
    color: var(--text-muted);
    font-size: 13px;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.team-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    transition: background 0.2s, transform 0.2s, border-color 0.2s;
    border: 1px solid var(--border-color);
}

.team-social a:hover {
    background: var(--bg-card);
    border-color: currentColor;
    transform: translateY(-3px);
}

/* ===================== CTA ===================== */
.cta-section {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.18), rgba(88, 101, 242, 0.05));
    border: 1px solid var(--border-color);
    border-radius: 24px;
    text-align: center;
    padding: 70px 40px;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 14px;
}

.cta-section p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 17px;
}

/* ===================== FOOTER ===================== */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 50px 0 30px;
    margin-top: 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    padding-bottom: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 800;
}

.footer-brand img {
    width: 34px;
    height: 34px;
    border-radius: 8px;
}

.footer-social {
    display: flex;
    gap: 14px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 18px;
}

.footer-social a:hover {
    background: var(--bg-secondary);
    border-color: currentColor;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

.footer-legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: color 0.2s;
}

.footer-legal-links a:hover {
    color: var(--accent-light);
}

.footer-legal-links .footer-dot {
    color: var(--text-muted);
}

/* ===================== DASHBOARD PAGE ===================== */
.dashboard-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    text-align: left;
}

.dashboard-avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    border: 3px solid var(--accent);
    object-fit: cover;
}

.dashboard-profile h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 6px;
}

.dashboard-profile p {
    color: var(--text-secondary);
    font-size: 16px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 760px;
    margin: 0 auto;
}

.guild-group {
    margin-bottom: 44px;
}

.guild-group-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
}

.guild-group-title .count {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-card);
    border-radius: 50px;
    padding: 3px 12px;
    margin-left: 4px;
}

.guild-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
}

.guild-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    transition: border-color 0.2s, transform 0.2s;
}

.guild-card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.guild-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.guild-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.guild-info {
    flex-grow: 1;
    min-width: 0;
}

.guild-name {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.guild-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
}

.guild-badge-active {
    background: rgba(67, 181, 129, 0.15);
    color: var(--success);
}

.guild-badge-inactive {
    background: rgba(237, 66, 69, 0.12);
    color: var(--color-shield);
}

.btn-sm {
    padding: 9px 18px;
    font-size: 13px;
    flex-shrink: 0;
}

/* ===================== SERVER SETTINGS PANEL ===================== */
.settings-page-header {
    padding-bottom: 30px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--accent-light);
}

.settings-guild-header {
    display: flex;
    align-items: center;
    gap: 18px;
    text-align: left;
}

.settings-guild-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    object-fit: cover;
}

.settings-guild-header h1 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 4px;
}

.settings-guild-header p {
    color: var(--text-secondary);
    font-size: 14px;
}

.settings-section {
    padding-top: 30px;
}

.save-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 600;
    margin-bottom: 28px;
}

.save-alert-success {
    background: rgba(67, 181, 129, 0.12);
    border: 1px solid rgba(67, 181, 129, 0.35);
    color: var(--success);
}

.save-alert-error {
    background: rgba(237, 66, 69, 0.1);
    border: 1px solid rgba(237, 66, 69, 0.3);
    color: var(--color-shield);
}

.settings-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 28px;
    align-items: flex-start;
}

.settings-tabs {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 10px;
    position: sticky;
    top: 90px;
}

.settings-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: background 0.2s, color 0.2s;
}

.settings-tab i {
    width: 18px;
    text-align: center;
}

.settings-tab:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.settings-tab.active {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.3), rgba(88, 101, 242, 0.1));
    color: var(--text-primary);
}

.settings-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 32px;
}

.settings-card h2 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
}

.settings-desc {
    color: var(--text-secondary);
    font-size: 14.5px;
    margin-bottom: 28px;
    line-height: 1.7;
}

.settings-field {
    margin-bottom: 22px;
}

.settings-field label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.field-hint {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 13px;
}

.settings-select,
.settings-input,
.settings-textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 14.5px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.settings-select:focus,
.settings-input:focus,
.settings-textarea:focus {
    border-color: var(--accent);
}

.settings-textarea {
    resize: vertical;
    line-height: 1.6;
}

.settings-toggle-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    font-weight: 600;
    font-size: 15px;
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    inset: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.switch-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    top: 3px;
    background: var(--text-secondary);
    border-radius: 50%;
    transition: transform 0.2s, background 0.2s;
}

.switch input:checked + .switch-slider {
    background: rgba(88, 101, 242, 0.3);
    border-color: var(--accent);
}

.switch input:checked + .switch-slider::before {
    transform: translateX(20px);
    background: var(--accent-light);
}

.activity-role-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
}

.activity-role-row {
    display: grid;
    grid-template-columns: 140px 1fr 44px;
    gap: 10px;
    align-items: center;
}

.activity-level-input {
    text-align: center;
}

.btn-remove-row {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--color-shield);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.btn-remove-row:hover {
    background: rgba(237, 66, 69, 0.1);
    border-color: var(--color-shield);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 860px) {
    .navbar-links {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 24px;
        gap: 18px;
        border-bottom: 1px solid var(--border-color);
        display: none;
    }

    .navbar-links.open {
        display: flex;
    }

    .navbar-links a.active::after {
        display: none;
    }

    .navbar-cta {
        display: none;
    }

    .navbar-mobile-only {
        display: block;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 16px;
    }

    .floating-commands {
        display: none;
    }

    .section-header h2 {
        font-size: 30px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .hero-stat-number {
        font-size: 26px;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .footer-top {
        flex-direction: column;
        text-align: center;
    }

    .dashboard-profile {
        text-align: center;
        justify-content: center;
        flex-direction: column;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .guild-card {
        flex-wrap: wrap;
    }

    .settings-layout {
        grid-template-columns: 1fr;
    }

    .settings-tabs {
        flex-direction: row;
        overflow-x: auto;
        position: static;
        gap: 8px;
    }

    .settings-tab {
        white-space: nowrap;
    }

    .settings-guild-header {
        flex-direction: column;
        text-align: center;
    }

    .activity-role-row {
        grid-template-columns: 1fr;
    }
}
