/* Optimized CSS for Server List Page - Critical styles only */

/* Promotion banner styles - positioned above navbar */
.promotion-banner-top {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    width: 100%;
}

/* CSS positioning will be overridden by JavaScript for dynamic adjustment */

.promotion-text {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
}

.promotion-text strong {
    color: #ffffff;
    font-weight: 600;
}

.promotion-banner-top .btn-primary {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
}

.promotion-banner-top .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    transform: translateY(-1px);
}
.server-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem;margin-bottom:2rem}
.server-card{background:#0c1116;border:1px solid rgba(255,255,255,0.06);border-radius:12px;overflow:hidden;transition:transform 0.2s ease,box-shadow 0.2s ease;height:100%;display:flex;flex-direction:column}
.server-card:hover{border-color:rgba(255,255,255,0.12);transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,0.4)}
.server-icon{width:48px;height:48px;border-radius:50%;border:2px solid rgba(255,255,255,0.1)}
.server-name{font-size:1rem;font-weight:600;color:#fff!important;line-height:1.2;margin-bottom:0.2rem}
.lazy-load{opacity:0.7;transition:opacity 0.3s ease}
.lazy-load.loaded{opacity:1}
.featured-servers-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem}
.featured-card{box-shadow:0 10px 20px rgba(0,0,0,0.4),0 0 20px rgba(145,70,255,0.2);position:relative}
.featured-badge{position:absolute;top:10px;right:10px;background:linear-gradient(45deg,#FFD700,#FFA500);color:#000;padding:5px 10px;border-radius:20px;font-size:0.8rem;font-weight:600;z-index:10}
.mini-featured-sidebar{position:fixed;top:100px;right:20px;width:280px;background:linear-gradient(135deg,rgba(23,37,84,0.9),rgba(30,41,59,0.9));border-radius:16px;border:1px solid rgba(88,101,242,0.4);box-shadow:0 8px 30px rgba(0,0,0,0.5);padding:1.25rem;z-index:1000;opacity:0;transform:translateX(50px);pointer-events:none;transition:all 0.3s ease;backdrop-filter:blur(10px);max-height:80vh;overflow-y:auto}
.mini-featured-sidebar.visible{opacity:1;transform:translateX(0);pointer-events:all}
.category-pills{display:flex;gap:0.75rem;flex-wrap:wrap;margin-bottom:1rem}
.category-pills .pill,.category-pills .pill-link{background:rgba(30,35,45,0.6);border:1px solid rgba(125,25,255,0.2);color:rgba(255,255,255,0.95);border-radius:24px;padding:0.75rem 1.5rem;font-weight:600;font-size:1.05rem;display:inline-flex;align-items:center;gap:0.4rem;transition:all 0.3s ease;cursor:pointer;text-decoration:none;position:relative;backdrop-filter:blur(10px)}
.category-pills .pill:hover,.category-pills .pill-link:hover{background:rgba(40,45,60,0.8);border-color:rgba(125,25,255,0.4);color:#fff;text-decoration:none;transform:translateY(-1px)}
.category-pills .events-pill:hover{background:rgba(40,45,60,0.8);border-color:rgba(125,25,255,0.3)}
.category-pills .pill.active,.category-pills .pill-link.active{background:linear-gradient(135deg,rgba(125,25,255,0.25),rgba(88,101,242,0.25))!important;border-color:rgba(125,25,255,0.6)!important;color:#fff!important}
.category-pills .pill.active i,.category-pills .pill-link.active i{color:#fff!important}
.new-badge{background:linear-gradient(135deg,#F4CA81,#FFD700);color:#000;font-size:0.65rem;font-weight:700;padding:0.2rem 0.5rem;border-radius:8px;margin-left:0.5rem;letter-spacing:0.5px;text-transform:uppercase;animation:badgeShine 2s ease-in-out infinite;box-shadow:0 2px 8px rgba(244,202,129,0.5)}
@keyframes badgeShine{0%,100%{opacity:1;transform:scale(1)}50%{opacity:0.9;transform:scale(1.05)}}
.category-pills .dropdown .pill{border:none}
.category-pills .dropdown-menu{background:rgba(12,17,22,0.95);border:1px solid rgba(255,255,255,0.08);border-radius:12px;padding:0.5rem 0;margin-top:0.25rem;backdrop-filter:blur(10px)}
.category-pills .dropdown-item{color:rgba(255,255,255,0.7);padding:0.5rem 1rem;font-size:0.85rem;transition:all 0.2s ease;border:none;background:none}
.category-pills .dropdown-item:hover{background:rgba(255,255,255,0.04);color:#fff}
.category-pills .dropdown-item.active{background:rgba(88,101,242,0.15);color:#5865f2;font-weight:600}
.primary-filter-pills{display:flex;gap:0.6rem;flex-wrap:wrap;margin-bottom:0.5rem}
.primary-pill{background:rgba(255,255,255,0.05);border:1px solid rgba(255,255,255,0.1);color:rgba(255,255,255,0.75);border-radius:18px;padding:0.5rem 1rem;font-size:0.95rem;font-weight:500;transition:all 0.2s ease;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;gap:0.3rem}
.primary-pill:hover{background:rgba(255,255,255,0.08);border-color:rgba(255,255,255,0.15);color:rgba(255,255,255,0.9);text-decoration:none;transform:translateY(-1px)}
.primary-pill.active{background:rgba(88,101,242,0.15);border-color:rgba(88,101,242,0.3);color:#5865f2;box-shadow:0 2px 8px rgba(88,101,242,0.2);font-weight:600}
.primary-pill.active i{color:#5865f2}
.primary-filter-pills .dropdown-menu{background:rgba(12,17,22,0.95);border:1px solid rgba(255,255,255,0.08);border-radius:12px;padding:0.5rem 0;margin-top:0.25rem;backdrop-filter:blur(10px)}
.primary-filter-pills .dropdown-item{color:rgba(255,255,255,0.7);padding:0.5rem 1rem;font-size:0.9rem;transition:all 0.2s ease;border:none;background:none}
.primary-filter-pills .dropdown-item:hover{background:rgba(255,255,255,0.04);color:#fff}
.primary-filter-pills .dropdown-item.active{background:rgba(88,101,242,0.15);color:#5865f2;font-weight:600}
.special-categories{display:flex;gap:1rem;margin-bottom:1.5rem;flex-wrap:wrap}
.special-category-btn{padding:0.5rem 1rem;border:2px solid #2c2f33;background:#36393f;color:#fff;border-radius:20px;font-weight:500;transition:all 0.3s ease;flex:0 1 auto;white-space:nowrap;font-size:0.9rem;min-width:min-content;margin-bottom:0.5rem}
.special-category-btn.active{background:#5865f2;border-color:#5865f2;box-shadow:0 0 15px rgba(88,101,242,0.6);transform:translateY(-2px);font-weight:700;color:#fff}
@media(max-width:768px){
.server-grid{grid-template-columns:1fr;gap:1rem}
.featured-servers-grid{grid-template-columns:1fr}
.mini-featured-sidebar{display:none}
.category-pills{gap:0.75rem;justify-content:center}
.category-pills .pill,.category-pills .pill-link{padding:0.7rem 1.5rem;font-size:1rem;flex:1;justify-content:center;min-width:140px}
.new-badge{font-size:0.6rem;padding:0.15rem 0.4rem;margin-left:0.4rem}
.primary-filter-pills{gap:0.5rem}
.primary-pill{padding:0.4rem 0.85rem;font-size:0.85rem}
.special-categories{gap:0.5rem;justify-content:center}
.special-category-btn{padding:0.4rem 0.8rem;font-size:0.85rem}
}
@media(max-width:480px){
.category-pills{flex-direction:column;gap:0.75rem;width:100%}
.category-pills .pill,.category-pills .pill-link{width:100%;flex:1;padding:0.85rem 1.5rem;font-size:1.1rem;justify-content:center;border-width:2px}
.category-pills .pill i,.category-pills .pill-link i{font-size:1.2rem}
.new-badge{font-size:0.65rem;padding:0.2rem 0.5rem;margin-left:0.5rem}
.category-pills .events-pill{order:-1}
}
@media(max-width:576px){
.special-category-btn{flex:1 1 calc(50% - 0.5rem);text-align:center}
}

/* Add these styles at the beginning of the style section */
.title-section {
    text-align: left;
    margin-bottom: 2.5rem !important;
}

.title-section .main-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.title-section .subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (max-width: 768px) {
    .title-section .main-title {
        font-size: 2.5rem;
    }
    
    .title-section .subtitle {
        font-size: 1rem;
    }
}

#insufficientPlayersModal .progress {
    height: 20px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.1);
}

#insufficientPlayersModal .progress-bar {
    background-color: #28a745;
    transition: width 0.6s ease;
}

#insufficientPlayersModal .fa-users {
    color: #ffc107;
}

/* Dark mode specific styles */
#insufficientPlayersModal .modal-content {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#insufficientPlayersModal .alert-info {
    color: #8bb9f3;
    background-color: rgba(13, 202, 240, 0.1) !important;
    border-color: rgba(13, 202, 240, 0.25);
}

#insufficientPlayersModal .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

#insufficientPlayersModal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#insufficientPlayersModal .modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Quick Tips Section Styles */
.quick-tips-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.25rem;
}

.tips-header {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

.tips-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tip-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.tip-item i {
    width: 20px;
    text-align: center;
}

.tip-item code {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-size: 0.85em;
    color: #8bb9f3;
}

/* Update modal size for better fit */
#insufficientPlayersModal .modal-dialog {
    max-width: 500px;
}

/* Activity message styling */
.text-muted.mb-3 {
    font-size: 0.95rem;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    margin-bottom: 1.5rem !important;
}

.text-muted.mb-3 i {
    color: #5865f2;
    font-size: 1rem;
}

.special-categories {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap; /* Allow wrapping on mobile */
    justify-content: flex-start; /* Align to start */
}

.special-category-btn {
    padding: 0.5rem 1rem; /* Slightly reduced padding */
    border: 2px solid #2c2f33;
    background: #36393f;
    color: #ffffff;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    /* Make buttons more flexible */
    flex: 0 1 auto;
    white-space: nowrap;
    font-size: 0.9rem; /* Slightly smaller font on mobile */
    min-width: min-content;
    margin-bottom: 0.5rem; /* Add some vertical spacing when wrapped */
}

.special-category-btn:hover {
    background: #40444b;
    transform: translateY(-2px);
}

.special-category-btn.active {
    background: #5865f2;
    border-color: #5865f2;
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.6);
    transform: translateY(-2px);
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.special-category-btn.active i {
    color: #ffffff;
    transform: scale(1.2);
    animation: pulse 2s infinite;
}

.special-category-btn i {
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

@keyframes pulse {
    0% {
        transform: scale(1.2);
    }
    50% {
        transform: scale(1.4);
    }
    100% {
        transform: scale(1.2);
    }
}

.special-category-btn.active::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.2) 0%, rgba(88, 101, 242, 0) 70%);
    animation: ripple 2s linear infinite;
    z-index: -1;
}

@keyframes ripple {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Add tag-select styling */
.tag-select {
    width: 150px;  /* Set a fixed shorter width */
    padding: 0.5rem;
    border-radius: 20px;
    background: #36393f;
    border: 2px solid #2c2f33;
    color: #ffffff;
    font-weight: 500;
    appearance: auto;
    margin-right: 1rem;  /* Add right margin */
    padding-right: 2rem;  /* Add more padding for the arrow */
}

/* Style the dropdown arrow */
.tag-select::-ms-expand {
    margin-right: 1rem;
}

.tag-select::-webkit-scrollbar {
    width: 1rem;
}

.tag-select::-webkit-inner-spin-button,
.tag-select::-webkit-outer-spin-button {
    margin-right: 1rem;
}

#questEngineNotEnabledModal .modal-content {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#questEngineNotEnabledModal .alert-info {
    color: #8bb9f3;
    background-color: rgba(13, 202, 240, 0.1) !important;
    border-color: rgba(13, 202, 240, 0.25);
}

#questEngineNotEnabledModal .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

#questEngineNotEnabledModal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#questEngineNotEnabledModal .modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#questEngineNotEnabledModal .fa-gamepad {
    color: #ffc107;
}

/* Mobile-specific adjustments */
@media (max-width: 576px) {
    .special-categories {
        gap: 0.5rem; /* Reduce gap on mobile */
        justify-content: center; /* Center on mobile */
    }

    .special-category-btn {
        padding: 0.4rem 0.8rem; /* Further reduce padding on mobile */
        font-size: 0.85rem; /* Even smaller font on mobile */
        
        /* Optional: Make buttons fill width on very small screens */
        @media (max-width: 360px) {
            flex: 1 1 calc(50% - 0.5rem); /* Two buttons per row */
            text-align: center;
        }
    }

    .special-category-btn i {
        font-size: 0.85rem; /* Adjust icon size on mobile */
    }
}

/* Tablet adjustments */
@media (min-width: 577px) and (max-width: 768px) {
    .special-categories {
        gap: 0.75rem; /* Medium gap on tablet */
    }

    .special-category-btn {
        padding: 0.45rem 0.9rem; /* Medium padding on tablet */
    }
}

/* Add these styles at the beginning of the style section */
.ranking-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.ranking-text i {
    font-size: 0.8rem;
    color: rgba(145, 70, 255, 0.7);
}

.ranking-text .analytics-link {
    color: rgba(145, 70, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.ranking-text .analytics-link:hover {
    color: rgba(145, 70, 255, 1);
    text-decoration: underline;
}

/* Hide legacy dropdown and duplicate tag row */
.filter-selectors,
.filter-tags { 
    display: none !important; 
}

/* Category Pills - Top Level Navigation */
.category-pills {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.category-pills .pill,
.category-pills .pill-link {
    background: rgba(30, 35, 45, 0.6);
    border: 1px solid rgba(125, 25, 255, 0.2);
    color: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    backdrop-filter: blur(10px);
}

.category-pills .pill:hover,
.category-pills .pill-link:hover {
    background: rgba(40, 45, 60, 0.8);
    border-color: rgba(125, 25, 255, 0.4);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

.category-pills a.pill {
    text-decoration: none !important;
}

.category-pills a.pill:hover {
    text-decoration: none !important;
}

.category-pills a.pill:focus {
    text-decoration: none !important;
}

.category-pills .pill:focus,
.category-pills .pill-link:focus {
    text-decoration: none;
    outline: none;
}

/* Events Button - Same hover as other buttons */
.category-pills .events-pill:hover {
    background: rgba(40, 45, 60, 0.8);
    border-color: rgba(125, 25, 255, 0.3);
}

/* Active state for both buttons - clear highlighting */
.category-pills .pill.active,
.category-pills .pill-link.active {
    background: linear-gradient(135deg, rgba(125, 25, 255, 0.25), rgba(88, 101, 242, 0.25)) !important;
    border-color: rgba(125, 25, 255, 0.6) !important;
    color: #fff !important;
}

.category-pills .pill.active i,
.category-pills .pill-link.active i {
    color: #fff !important;
}

/* NEW Badge */
.new-badge {
    background: linear-gradient(135deg, #F4CA81, #FFD700);
    color: #000;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    margin-left: 0.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    animation: badgeShine 2s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(244, 202, 129, 0.5);
}

@keyframes badgeShine {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.05);
    }
}

/* Primary Filter Pills - Hierarchy Level 2 */
.primary-filter-pills {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.primary-pill {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.75);
    border-radius: 18px;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.primary-pill:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transform: translateY(-1px);
}

.primary-pill.active {
    background: rgba(88, 101, 242, 0.15);
    border-color: rgba(88, 101, 242, 0.3);
    color: #5865f2;
    box-shadow: 0 2px 8px rgba(88, 101, 242, 0.2);
    font-weight: 600;
}

.primary-pill.active i {
    color: #5865f2;
}

.primary-filter-pills .dropdown-menu {
    background: rgba(12,17,22,0.95);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 0.5rem 0;
    margin-top: 0.25rem;
    backdrop-filter: blur(10px);
}

.primary-filter-pills .dropdown-item {
    color: rgba(255,255,255,0.7);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: none;
    background: none;
}

.primary-filter-pills .dropdown-item:hover {
    background: rgba(255,255,255,0.04);
    color: #fff;
}

.primary-filter-pills .dropdown-item.active {
    background: rgba(88,101,242,0.15);
    color: #5865f2;
    font-weight: 600;
}

/* Quick tags */
.quick-tags, .more-tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.tag-pill {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.6);
    border-radius: 16px;
    padding: 0.3rem 0.7rem;
    font-size: 0.8rem;
    font-weight: 400;
    transition: all 0.2s ease;
    cursor: pointer;
}

.tag-pill:hover { 
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transform: translateY(-1px);
}

.tag-pill:focus {
    text-decoration: none;
    outline: none;
}

a.tag-pill {
    text-decoration: none !important;
}

a.tag-pill:hover {
    text-decoration: none !important;
}

a.tag-pill:focus {
    text-decoration: none !important;
}

.tag-pill.active {
    background: rgba(88, 101, 242, 0.12);
    border-color: rgba(88, 101, 242, 0.25);
    color: #5865f2;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(88, 101, 242, 0.15);
}

.more-toggle { color: #a885ff; border-color: rgba(168,133,255,0.35); }

.d-none { display: none !important; }

/* FAQ Footer Section */
.faq-footer-section {
    background: #0c1116;
    padding: 6rem 0;
    margin-top: 4rem;
}

.faq-header {
    text-align: center;
    margin-bottom: 4rem;
}

.faq-title {
    font-size: 2.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.025em;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-category-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #7d19ff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.2s ease;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item:hover {
    border-bottom-color: rgba(125, 25, 255, 0.3);
}

.faq-question {
    background: transparent;
    padding: 1.5rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: all 0.2s ease;
    border: none;
    width: 100%;
    text-align: left;
}

.faq-question:hover {
    color: rgba(255, 255, 255, 0.95);
}

.faq-question h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    flex: 1;
    padding-right: 2rem;
    line-height: 1.6;
}

.faq-question:hover h4 {
    color: #ffffff;
}

.faq-icon {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.25rem;
    font-weight: 300;
    transition: all 0.2s ease;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.faq-question:hover .faq-icon {
    color: #7d19ff;
}

.faq-question.active .faq-icon {
    transform: rotate(45deg);
    color: #7d19ff;
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: transparent;
}

.faq-answer.active {
    padding-bottom: 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Mobile responsive styles for FAQ */
@media (max-width: 768px) {
    .faq-footer-section {
        padding: 4rem 0;
    }
    
    .faq-header {
        margin-bottom: 3rem;
    }
    
    .faq-title {
        font-size: 1.875rem;
        margin-bottom: 0.5rem;
    }
    
    .faq-grid {
        padding: 0 1rem;
    }
    
    .faq-category {
        margin-bottom: 2.5rem;
    }
    
    .faq-category-title {
        font-size: 0.8125rem;
        margin-bottom: 1.25rem;
    }
    
    .faq-question {
        padding: 1.25rem 0;
    }
    
    .faq-question h4 {
        font-size: 0.95rem;
        padding-right: 1.5rem;
    }
    
    .faq-icon {
        font-size: 1.125rem;
        width: 18px;
        height: 18px;
    }
    
    .faq-answer.active {
        padding-bottom: 1.25rem;
        max-height: 500px;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .faq-footer-section {
        padding: 3rem 0;
    }
    
    .faq-header {
        margin-bottom: 2.5rem;
    }
    
    .faq-title {
        font-size: 1.625rem;
        margin-bottom: 0.5rem;
    }
    
    .faq-grid {
        padding: 0 1rem;
    }
    
    .faq-category {
        margin-bottom: 2rem;
    }
    
    .faq-category-title {
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .faq-question {
        padding: 1rem 0;
    }
    
    .faq-question h4 {
        font-size: 0.9rem;
        line-height: 1.5;
        padding-right: 1.25rem;
    }
    
    .faq-icon {
        font-size: 1rem;
        width: 16px;
        height: 16px;
    }
    
    .faq-answer.active {
        padding-bottom: 1rem;
        max-height: 600px;
    }
    
    .faq-answer p {
        font-size: 0.875rem;
        line-height: 1.5;
    }
}

/* SEO Intro Section */
.seo-intro-section {
    position: relative;
    padding: 4rem 0;
    margin: 2rem 0;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(135deg, #1a1b23 0%, #2d2e35 100%);
    border: 1px solid rgba(88, 101, 242, 0.2);
}

.intro-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(88, 101, 242, 0.1) 0%, transparent 70%);
}

.intro-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: conic-gradient(from 0deg, transparent, rgba(145, 70, 255, 0.3), transparent, rgba(88, 101, 242, 0.3), transparent);
    animation: rotate 20s linear infinite;
    opacity: 0.6;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.intro-content {
    position: relative;
    z-index: 2;
}

.intro-header {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 1.5rem;
}

.intro-toggle-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: static;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

.intro-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    transform: scale(1.05);
}

.intro-toggle-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.intro-toggle-btn.collapsed i {
    transform: rotate(180deg);
}

.intro-collapsible {
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    max-height: 1000px;
}

.intro-collapsible.collapsed {
    max-height: 0;
    opacity: 0;
    margin: 0;
    padding: 0;
}

.intro-title {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 !important;
    text-align: center;
}

.intro-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.intro-description strong {
    color: #5865f2;
    font-weight: 600;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.1) 0%, rgba(145, 70, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
    border-color: rgba(88, 101, 242, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(88, 101, 242, 0.2);
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #5865f2 0%, #7289da 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 16px rgba(88, 101, 242, 0.3);
}

.benefit-icon i {
    font-size: 2rem;
    color: white;
}

.benefit-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.benefit-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .seo-intro-section {
        padding: 3rem 0;
        margin: 1rem 0;
        border-radius: 16px;
    }
    
    .intro-header {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .intro-toggle-btn {
        margin-bottom: 0;
        margin-top: 0.5rem;
    }
    
    .intro-title {
        font-size: 2.5rem;
        margin-bottom: 0rem !important;
    }
    
    .intro-description {
        font-size: 1.1rem;
    }
    
    .benefit-card {
        padding: 2rem 1.5rem;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
    }
    
    .benefit-icon i {
        font-size: 1.5rem;
    }
    
    .benefit-title {
        font-size: 1.25rem;
    }
}

/* Add these styles */
.how-it-works-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    backdrop-filter: blur(10px);
}

.how-it-works-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.how-it-works-btn i {
    color: #FFD700;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.4));
}

@media (max-width: 768px) {
    .header-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .giveaway-banner, .how-it-works-btn {
        justify-content: center;
        text-align: center;
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }
}

.path-cards {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.path-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.path-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
}

.path-icon {
    width: 60px;
    height: 60px;
    background: rgba(145, 70, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.path-icon i {
    font-size: 1.5rem;
    color: #9146FF;
}

.path-card h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.path-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.path-btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: #9146FF;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.path-btn:hover {
    background: #a065ff;
    transform: translateY(-2px);
    color: white;
}

.server-owner .path-icon {
    background: rgba(145, 70, 255, 0.1);
}

.player .path-icon {
    background: rgba(88, 101, 242, 0.1);
}

.player .path-icon i {
    color: #5865f2;
}

.player .path-btn {
    background: #5865f2;
}

.player .path-btn:hover {
    background: #6b76f3;
}

#howItWorksModal .modal-content {
    background: linear-gradient(to bottom, #1a1b1e, #2d2e32);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
    .path-cards {
        flex-direction: row;
    }
    
    .path-card {
        flex: 1;
    }
}

/* Modal styles */
.path-choices {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem 0;
}

.path-choice {
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 2.5rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 280px;
}

.path-choice:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.choice-icon {
    margin-bottom: 1.5rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.path-choice:first-child .choice-icon {
    color: #9146FF;
}

.path-choice:nth-child(2) .choice-icon {
    color: #5865f2;
}

.path-choice h3 {
    color: white;
    font-size: 1.4rem;
    margin: 0 0 0.75rem 0;
    font-weight: 600;
}

.choice-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .path-choices {
        flex-direction: column;
        align-items: center;
    }
    
    .path-choice {
        width: 100%;
        max-width: 280px;
        padding: 2rem;
    }
    
    .choice-icon {
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .path-choice h3 {
        font-size: 1.2rem;
    }
    
    #howItWorksModal .modal-title {
        font-size: 1.75rem;
    }
    
    .intro-text {
        font-size: 1rem;
    }
}

.rewards-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    line-height: 1.2;
    color: white;
}

.text-gradient {
    background: linear-gradient(45deg, #5865f2, #a065ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rewards-list {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.reward-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    transition: all 0.3s ease;
    text-align: left;
}

.reward-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.reward-icon {
    background: rgba(88, 101, 242, 0.1);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reward-icon i {
    font-size: 1.25rem;
    color: #5865f2;
}

.reward-content {
    flex: 1;
}

.reward-content h4 {
    color: white;
    font-size: 1.1rem;
    margin: 0 0 0.25rem 0;
    font-weight: 600;
}

.reward-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin: 0;
}

.reward-content code {
    background: rgba(88, 101, 242, 0.1);
    color: #5865f2;
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-size: 0.9em;
}

.cta-section {
    background: rgba(88, 101, 242, 0.05);
    padding: 2rem;
    border-radius: 16px;
    margin-top: 3rem;
}

.cta-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

#playerModal .path-btn {
    font-size: 1.1rem;
    padding: 1rem 3rem;
    background: linear-gradient(45deg, #5865f2, #7289da);
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

#playerModal .path-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4);
    background: linear-gradient(45deg, #6b76f3, #8299ea);
}

@media (max-width: 768px) {
    .rewards-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .reward-item {
        padding: 0.75rem;
        gap: 1rem;
    }

    .reward-icon {
        width: 40px;
        height: 40px;
    }

    .reward-content h4 {
        font-size: 1rem;
    }

    .reward-content p {
        font-size: 0.9rem;
    }

    .cta-text {
        font-size: 1.1rem;
    }
}




.current-server-info {
    padding: 0.6rem; /* Slightly reduced padding */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.current-server-info:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Style for the switch icon */
.server-switch-icon {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    padding: 0.5rem;
    margin-right: -0.5rem;
    transition: all 0.2s ease;
}

.current-server-info:hover .server-switch-icon {
    color: var(--primary-color);
    transform: rotate(180deg);
}

/* Remove the old server-select-btn styles */
.server-select-btn {
    display: none;
}


/* Responsive adjustments */
@media (max-width: 1400px) {
    .sticky-server-selector {
        width: 220px; /* Even smaller on medium screens */
    }
    
    .container {
        margin-right: 260px;
    }
}

@media (max-width: 1200px) {
    .sticky-server-selector {
        position: static;
        width: 100%;
        max-width: 100%;
        margin: 0.5rem 0 1rem 0; /* Reduced margins */
    }
    
    .container {
        margin-right: auto;
    }
    
}

/* Mobile specific adjustments */
@media (max-width: 768px) {
    .sticky-server-selector {
        margin: 0.5rem 0;
    }
    
    .current-server-info {
        padding: 0.5rem;
    }
    
    .current-server-name {
        font-size: 0.85rem; /* Slightly smaller font on mobile */
    }
    
    .current-server-label {
        font-size: 0.65rem; /* Smaller label on mobile */
    }
}

/* Small mobile adjustments */
@media (max-width: 425px) {
    .sticky-server-selector {
        position: fixed;
        top: 120px; /* Align with search bar */
        right: 10px; /* Smaller right margin on mobile */
        left: auto; /* Remove left positioning */
        width: 200px; /* Make it slightly smaller on mobile */
        margin: 0;
        padding: 0; /* Remove padding */
        z-index: 1040;
    }
    

    /* Remove the container margin adjustment since we're keeping it on the right */
    .container {
        margin-top: 0;
    }

    /* Make text smaller on mobile */
    .current-server-name {
        font-size: 0.8rem;
    }

    .current-server-label {
        font-size: 0.6rem;
    }
}

/* Even smaller screens */
@media (max-width: 375px) {
    .sticky-server-selector {
        width: 120px; /* Even smaller width for very small screens */
    }
}

/* Giveaway Banner Styles */
.giveaway-banner {
    background: linear-gradient(90deg, rgba(145, 70, 255, 0.2), rgba(88, 101, 242, 0.2));
    border-left: 3px solid #9146FF;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    margin: 0.8rem 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    animation: glow 2s infinite alternate;
}


.giveaway-banner i {
    color: #9146FF;
    font-size: 1rem;
}

.giveaway-link {
    color: #9146FF;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.giveaway-link:hover {
    color: #a065ff;
    text-decoration: underline;
}

@keyframes glow {
    from {
        box-shadow: 0 0 5px rgba(145, 70, 255, 0.1);
    }
    to {
        box-shadow: 0 0 8px rgba(145, 70, 255, 0.3);
    }
}

@media (max-width: 768px) {
    .giveaway-banner {
        font-size: 0.8rem;
        padding: 0.5rem 0.8rem;
    }
}

/* Server selector dropdown container */
.server-selector-dropdown {
    position: relative;
    z-index: 1040; /* Higher than sticky-server-selector but lower than dropdown menu */
}

/* Server selector dropdown container */
.server-selector-dropdown {
    position: relative;
    z-index: 1040; /* Higher than sticky-server-selector but lower than dropdown menu */
}

/* Sticky server selector */
.sticky-server-selector {
    position: fixed;
    top: 120px; /* Increased from 100px to align with search bar */
    right: 20px;
    width: 280px;
    z-index: 1030;
    transition: top 0.3s ease;
}

/* Dropdown menu */
.dropdown-menu-dark {
    z-index: 1050 !important;
    position: absolute;
}

/* Server selector dropdown menu specific styles */
.server-selector-dropdown .dropdown-menu-dark {
    width: 100%;
    margin-top: 0.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    max-height: 300px; /* Set maximum height */
    overflow-y: auto; /* Enable vertical scrolling */
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent; /* Firefox */
}

/* Webkit scrollbar styles (Chrome, Safari, Edge) */
.server-selector-dropdown .dropdown-menu-dark::-webkit-scrollbar {
    width: 6px;
}

.server-selector-dropdown .dropdown-menu-dark::-webkit-scrollbar-track {
    background: transparent;
}

.server-selector-dropdown .dropdown-menu-dark::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.server-selector-dropdown .dropdown-menu-dark::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Ensure dropdown items are properly styled */
.server-selector-dropdown .dropdown-item {
    padding: 0.5rem 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .server-selector-dropdown .dropdown-menu-dark {
        max-height: 250px; /* Slightly smaller on mobile */
    }
}

/* Server card */
.server-card {
    position: relative;
    z-index: 1;
}

.current-server-label {
    color: rgba(255, 255, 255, 0.4); /* More gray, less white */
    font-size: 0.7rem; /* Smaller font size */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px; /* Add a bit more space between label and server name */
}

/* Adjust server name to maintain good contrast */
.current-server-name {
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1.2;
    margin-top: 1px; /* Slightly reduced from 2px */
}

/* Giveaway Banner Styles */
.giveaway-banner {
    background: linear-gradient(90deg, rgba(145, 70, 255, 0.2), rgba(88, 101, 242, 0.2));
    border-left: 3px solid #9146FF;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    margin: 0.8rem 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
}

.giveaway-banner:hover {
    animation-play-state: paused;
    box-shadow: 0 0 8px rgba(145, 70, 255, 0.3);
}

.giveaway-banner i {
    color: #9146FF;
    font-size: 1rem;
}

.giveaway-link {
    color: #9146FF;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.giveaway-link:hover {
    color: #a065ff;
    text-decoration: underline;
}

@keyframes glow {
    from {
        box-shadow: 0 0 5px rgba(145, 70, 255, 0.1);
    }
    to {
        box-shadow: 0 0 8px rgba(145, 70, 255, 0.3);
    }
}

@media (max-width: 768px) {
    .giveaway-banner {
        font-size: 0.8rem;
        padding: 0.5rem 0.8rem;
    }
}

/* Add this to your CSS section */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.giveaway-banner {
    flex: 1;
    background: linear-gradient(90deg, rgba(145, 70, 255, 0.15), rgba(88, 101, 242, 0.15));
    border: 1px solid rgba(145, 70, 255, 0.2);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}


.giveaway-icon {
    font-size: 1.2rem;
    color: #9146FF;
    filter: drop-shadow(0 0 8px rgba(145, 70, 255, 0.4));
}

.how-it-works-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    backdrop-filter: blur(10px);
}

.how-it-works-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.how-it-works-btn i {
    color: #FFD700;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.4));
}

@media (max-width: 768px) {
    .header-actions {
        flex-direction: row;
        gap: 0.75rem;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .add-server-cta {
        flex: 0 1 auto;
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
        white-space: nowrap;
        font-weight: 700;
    }
    
    .how-it-works-btn {
        flex: 0 1 auto;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .category-pills {
        gap: 0.75rem;
        justify-content: center;
    }

    .category-pills .pill,
    .category-pills .pill-link {
        padding: 0.7rem 1.5rem;
        font-size: 1rem;
        flex: 1;
        justify-content: center;
        min-width: 140px;
    }
    
    .new-badge {
        font-size: 0.6rem;
        padding: 0.15rem 0.4rem;
        margin-left: 0.4rem;
    }

    .primary-filter-pills {
        gap: 0.5rem;
    }

    .primary-pill {
        padding: 0.4rem 0.85rem;
        font-size: 0.85rem;
    }

    .quick-tags, .more-tags {
        gap: 0.3rem;
    }

    .tag-pill {
        padding: 0.25rem 0.6rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .category-pills {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }

    .category-pills .pill,
    .category-pills .pill-link {
        width: 100%;
        flex: 1;
        padding: 0.85rem 1.5rem;
        font-size: 1.1rem;
        justify-content: center;
        border-width: 2px;
    }
    
    .category-pills .pill i,
    .category-pills .pill-link i {
        font-size: 1.2rem;
    }
    
    .new-badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.5rem;
        margin-left: 0.5rem;
    }
    
    /* Make Events button appear first on mobile */
    .category-pills .events-pill {
        order: -1;
    }
}

@media (max-width: 576px) {
    .filter-selectors {
        gap: 0.5rem !important;
    }
    
    .server-type-selector,
    .category-selector {
        max-width: 100%;
    }
}

.form-select option {
    background-color: #2c2f33;
    color: #ffffff;
}


.form-select:focus {
    border-color: #5865f2;
    box-shadow: 0 0 0 0.25rem rgba(88, 101, 242, 0.25);
    background-color: #40444b;
    color: #ffffff;
}


.form-select {
    background-color: #36393f;
    color: #ffffff;
    border: 2px solid #2c2f33;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    transition: all 0.3s ease;
}

.server-type-selector,
.category-selector {
    max-width: 250px;
    flex: 1 1 auto;
}

.filter-selectors {
    margin-top: 1rem;
}

/* Filter selectors styles */
.filter-selectors {
    margin-top: 1rem;
}

/* Featured Servers Section Styles */
.featured-servers-section {
    position: relative;
    margin-top: 1.5rem;
}

.featured-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #ffffff;
    position: relative;
    display: inline-flex;
    align-items: center;
}

.featured-icon {
    color: #FFD700;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
    animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.featured-servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.featured-server-card {
    transform: scale(1);
    transition: all 0.3s ease;
    height: 100%;  /* Make all cards take full height of their grid cell */
}

.featured-server-card:hover {
    transform: translateY(-5px);
    z-index: 10;
}

.featured-server-card .card {
    height: 100%;  /* Make the actual card take full height */
    display: flex;
    flex-direction: column;
}

.featured-card {
    position: relative;
    border: none;
    background: linear-gradient(145deg, #2c2f33, #36393f);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4), 
                0 0 20px rgba(145, 70, 255, 0.2), 
                0 0 0 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transform: translateZ(0);
    height: 100%;  /* Ensure full height */
}

.featured-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #9146FF, #5865f2, #FFD700);
    z-index: -1;
    border-radius: inherit;
    animation: rotate-border 3s linear infinite;
}

.featured-server-card .card-body {
    flex: 1;  /* Allow card body to grow and fill space */
    display: flex;
    flex-direction: column;
}

/* Ensure consistent image heights */
.featured-server-card .server-banner {
    width: 100%;
    height: 140px;  /* Fixed height for banner images */
    object-fit: cover;
}

.featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #000;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.featured-badge i {
    color: #000;
    animation: star-twinkle 1.5s infinite;
}

@keyframes star-twinkle {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes rotate-border {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .featured-servers-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    .featured-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .featured-servers-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 576px) {
    .featured-servers-grid {
        grid-template-columns: 1fr;
    }
}

body {
  background-color: #0c1116;
}

/* Mobile padding override */
@media (max-width: 768px) {
    main {
        padding: 0 0.5rem !important;
    }
}

@media (max-width: 576px) {
    main {
        padding: 0 0.25rem !important;
    }
}

/* Description toggle styles */
.description-wrapper .description-content {
    position: relative;
}

.description-wrapper .description-full {
    display: none;
}

.description-wrapper .description-toggle {
    background: none;
    border: none;
    color: rgba(88, 101, 242, 0.8);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 0;
    margin-left: 0.25rem;
}

.description-wrapper .description-toggle:hover {
    color: #5865f2;
}

.description-wrapper .collapse-text {
    display: none;
}

/* Expanded state */
.description-wrapper.expanded .description-preview {
    display: none;
}

.description-wrapper.expanded .description-full {
    display: inline;
}

.description-wrapper.expanded .expand-text {
    display: none;
}

.description-wrapper.expanded .collapse-text {
    display: inline;
}

@keyframes glow {
  0% {
    box-shadow: 0 0 5px rgba(59, 130, 246, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.8);
  }
  100% {
    box-shadow: 0 0 5px rgba(59, 130, 246, 0.5);
  }
}

/* Featured Servers Styles */
.featured-servers-section {
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(23, 37, 84, 0.5), rgba(30, 41, 59, 0.5));
  border-radius: 1rem;
  border: 1px solid rgba(59, 130, 246, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.featured-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  font-family: 'Inter', sans-serif;
}

.featured-icon {
  color: #fbbf24;
  margin-right: 0.5rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.9;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.featured-servers-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .featured-servers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .featured-servers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.featured-server-card {
  position: relative;
}

.featured-server-card .card {
  border: 1px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
  transition: all 0.3s ease;
}

.featured-server-card .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.featured-server-card .server-name {
  color: #fff;
  font-weight: 700;
}

.featured-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.featured-badge i {
  color: #fbbf24;
  margin-right: 0.25rem;
  animation: twinkle 1.5s infinite;
}

@keyframes twinkle {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

/* Add sparkle effect to featured section */
.featured-servers-section::before,
.featured-servers-section::after {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0) 70%);
  border-radius: 50%;
  z-index: -1;
}

.featured-servers-section::before {
  top: -20px;
  left: -20px;
  animation: float 8s ease-in-out infinite;
}

.featured-servers-section::after {
  bottom: -20px;
  right: -20px;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0% { transform: translate(0, 0); }
  50% { transform: translate(15px, 15px); }
  100% { transform: translate(0, 0); }
}

/* Mobile responsive adjustments */
@media (max-width: 640px) {
  .featured-servers-section {
    padding: 1rem;
  }
  
  .featured-title {
    font-size: 1.25rem;
  }
  
  .featured-badge {
    font-size: 0.65rem;
    padding: 0.25rem 0.5rem;
  }
}

/* New styles for the server selector (non-sticky version) */
.server-selector-container {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.server-selector-panel {
    background: #1e2124;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.server-selector-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.server-selector-content {
    display: flex;
    align-items: center;
}

.server-selector-selected {
    width: 100%;
}

.server-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.server-icon-small {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.server-icon-placeholder-small {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.server-name-button {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
    overflow: hidden;
    text-overflow: ellipsis;
}

.server-name-button:hover,
.server-name-button:focus {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.dropdown-menu-dark {
    background: #2c2f33;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.dropdown-item.active {
    background: rgba(88, 101, 242, 0.2);
    color: #5865f2;
}

.dropdown-divider {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .server-selector-panel {
        padding: 1rem;
    }
    
    .server-name-button {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Server selector dropdown menu with fixed height */
.server-selector-dropdown-menu {
    max-height: 200px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) rgba(0, 0, 0, 0.1);
}

.server-selector-dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.server-selector-dropdown-menu::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.server-selector-dropdown-menu::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.server-selector-dropdown-menu::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

/* Fix for featured cards to ensure uniform size */
.featured-servers-grid .server-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.featured-servers-grid .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.featured-servers-grid .server-description {
    flex: 1;
    min-height: 60px; /* Set a minimum height for description area */
}

.featured-servers-grid .card-body .server-actions {
    margin-top: auto;
}

/* Ensure all featured cards have the same fixed height */
.featured-servers-grid .card {
    height: 100%;
}

/* Set max-height for card banner to ensure consistency */
.featured-servers-grid .card-banner img {
    height: 140px;
    object-fit: cover;
    width: 100%;
}

/* Mini Featured Servers Sidebar */
.mini-featured-sidebar {
    position: fixed;
    top: 100px;
    right: 20px;
    width: 280px;
    background: linear-gradient(135deg, rgba(23, 37, 84, 0.9), rgba(30, 41, 59, 0.9));
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    padding: 1rem;
    z-index: 1000;
    opacity: 0;
    transform: translateX(50px);
    pointer-events: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    max-height: 80vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) rgba(0, 0, 0, 0.1);
}

.mini-featured-sidebar.visible {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

.mini-featured-sidebar::-webkit-scrollbar {
    width: 4px;
}

.mini-featured-sidebar::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.mini-featured-sidebar::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.mini-sidebar-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mini-sidebar-title i {
    color: #ffd700;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.mini-featured-servers {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mini-server-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
}

.mini-server-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.mini-server-card.web3 {
    border-left: 3px solid #5865f2;
}

.mini-server-card.web2 {
    border-left: 3px solid #9146ff;
}

.mini-server-content {
    padding: 0.75rem;
}

.mini-server-link {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.mini-server-link:hover {
    color: white;
}

.mini-server-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    margin-right: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.mini-server-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mini-server-name {
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 170px;
}

.mini-server-desc {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.mini-server-actions {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.mini-btn {
    flex: 1;
    min-width: 60px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: none;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    padding: 0 10px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
}

.mini-join-btn {
    background: #5865f2;
    text-decoration: none;
}

.mini-join-btn:hover {
    background: #4752c4;
    color: #fff;
}
.mini-collab-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.mini-collab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.mini-collab-btn.scheduled,
.mini-collab-btn.ongoing,
.mini-collab-btn.liked,
.mini-collab-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .mini-featured-sidebar {
        display: none; /* Hide on smaller screens */
    }
}

/* Mini Featured Servers Sidebar */
.mini-featured-sidebar {
    position: fixed;
    top: 100px;
    right: 20px;
    width: 280px;
    background: linear-gradient(135deg, rgba(23, 37, 84, 0.9), rgba(30, 41, 59, 0.9));
    border-radius: 16px;
    border: 1px solid rgba(88, 101, 242, 0.4);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(88, 101, 242, 0.3);
    padding: 1.25rem;
    z-index: 1000;
    opacity: 0;
    transform: translateX(50px);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    backdrop-filter: blur(10px);
    max-height: 80vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) rgba(0, 0, 0, 0.1);
}

.mini-featured-sidebar.visible {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

.mini-sidebar-title {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(88, 101, 242, 0.3);
    letter-spacing: 0.5px;
}

.mini-sidebar-title i {
    color: #ffd700;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.mini-featured-servers {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mini-server-card {
    background: rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mini-server-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.mini-server-card.web3 {
    border-left: 3px solid #5865f2;
}

.mini-server-card.web2 {
    border-left: 3px solid #9146ff;
}

.mini-server-content {
    padding: 1rem;
}

.mini-server-link {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    margin-bottom: 0.75rem;
}

.mini-server-link:hover {
    color: white;
}

.mini-server-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.mini-server-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mini-server-name {
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 170px;
    margin-bottom: 0.2rem;
}

.mini-server-desc {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.2rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.3;
}

.mini-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mini-sidebar-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    padding: 0.25rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mini-sidebar-close:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.mini-sidebar-close i {
    font-size: 1rem;
}

/* Add the CSS styles for the mini social links */
.mini-social-links {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    padding-left: 0.75rem;
    text-decoration: none;
}

.mini-social-link {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    padding: 0.2rem;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    text-decoration: none;
}

.mini-social-link:hover {
    color: #fff;
    background: rgba(88,101,242,0.12);
    text-decoration: none;
}

.mini-featured-sidebar a {
    text-decoration: none !important;
}

.mini-social-links {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    padding-left: 0.75rem;
    text-decoration: none;
}

/* Add this to your CSS section */
.add-server-cta {
    background: linear-gradient(to right, #5865f2, #9146FF);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
    display: flex;
    align-items: center;
    flex: 0 1 auto;
    white-space: nowrap;
}

.add-server-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.5);
    color: white;
    text-decoration: none;
}

.add-server-cta i {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .add-server-cta {
        width: auto;
        justify-content: center;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

/* Primary CTA Button - Add Server */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes buttonGlow {
    0% {
        box-shadow: 0 4px 15px rgba(125, 25, 255, 0.4), 0 0 20px rgba(125, 25, 255, 0.1);
    }
    50% {
        box-shadow: 0 6px 25px rgba(125, 25, 255, 0.6), 0 0 30px rgba(125, 25, 255, 0.2);
    }
    100% {
        box-shadow: 0 4px 15px rgba(125, 25, 255, 0.4), 0 0 20px rgba(125, 25, 255, 0.1);
    }
}

.add-server-cta {
    background: linear-gradient(-45deg, #7d19ff, #9146FF, #a065ff, #7d19ff);
    background-size: 300% 300%;
    animation: gradientShift 6s ease infinite, buttonGlow 3s ease infinite;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: flex;
    align-items: center;
    flex: 0 1 auto;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    z-index: 2;
    border: 2px solid rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.add-server-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(125, 25, 255, 0.6), 0 0 40px rgba(125, 25, 255, 0.3);
    color: white;
    text-decoration: none;
    animation: gradientShift 2s ease infinite, buttonGlow 1.5s ease infinite;
    border-color: rgba(255, 255, 255, 0.2);
}

.add-server-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.add-server-cta:hover::before {
    left: 100%;
}

.add-server-cta i {
    font-size: 1.1rem;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.3));
}

/* All Servers Button Styles */
.all-servers-btn {
    background: linear-gradient(45deg, #5865f2, #7289da);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
    transition: all 0.3s ease;
}

.all-servers-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
    background: linear-gradient(45deg, #6b76f3, #8299ea);
    color: white;
}

.all-servers-btn i {
    font-size: 1.2rem;
}

/* Subtle Breadcrumb Styles */
.subtle-breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
}

.subtle-breadcrumb .breadcrumb-item {
    color: rgba(255, 255, 255, 0.4);
}

.subtle-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

.subtle-breadcrumb .breadcrumb-item a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.subtle-breadcrumb .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.6);
}

.subtle-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: rgba(255, 255, 255, 0.3);
    margin: 0 0.4rem;
    font-size: 0.7rem;
}

.breadcrumb-tag {
    color: rgba(145, 70, 255, 0.8);
    font-weight: 500;
    margin-left: 0.5rem;
}

.breadcrumb-tag::before {
    content: "·";
    margin-right: 0.3rem;
    color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .subtle-breadcrumb {
        font-size: 0.7rem;
    }
    
    .breadcrumb-tag {
        margin-left: 0.3rem;
    }
}

/* Pagination Styles */
#pagination-container {
    margin: 3rem 0;
    padding: 1.5rem 0;
}

.pagination-dark {
    gap: 0.5rem;
    justify-content: center;
}

.pagination-dark .page-item {
    margin: 0;
}

.pagination-dark .page-link {
    background: rgba(45, 50, 60, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    padding: 0.75rem 1.1rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    cursor: pointer;
    min-width: 50px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pagination-dark .page-link:hover:not(.page-item.disabled .page-link) {
    background: rgba(60, 65, 80, 0.9);
    border-color: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.pagination-dark .page-item.active .page-link {
    background: linear-gradient(135deg, #7d19ff 0%, #6b15e0 100%);
    border-color: #7d19ff;
    color: white;
    box-shadow: 0 8px 24px rgba(125, 25, 255, 0.4), 0 0 20px rgba(125, 25, 255, 0.2);
    font-weight: 600;
    transform: translateY(-1px);
}

.pagination-dark .page-item.active .page-link:hover {
    background: linear-gradient(135deg, #8c2aff 0%, #7a1ef0 100%);
    box-shadow: 0 10px 30px rgba(125, 25, 255, 0.5), 0 0 25px rgba(125, 25, 255, 0.3);
}

.pagination-dark .page-item.disabled .page-link {
    background: rgba(30, 33, 40, 0.5);
    border-color: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.25);
    cursor: not-allowed;
    box-shadow: none;
}

/* Previous/Next arrows */
.pagination-dark .page-link[aria-label="Previous"],
.pagination-dark .page-link[aria-label="Next"] {
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
}

/* Ellipsis styling */
.pagination-dark .page-item.disabled .page-link {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0.75rem 0.5rem;
}

@media (max-width: 768px) {
    .all-servers-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    #pagination-container {
        margin: 2rem 0;
        padding: 1rem 0;
    }
    
    .pagination-dark {
        gap: 0.3rem;
    }
    
    .pagination-dark .page-link {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
        min-width: 40px;
        border-radius: 10px;
    }
    
    .pagination-dark .page-link[aria-label="Previous"],
    .pagination-dark .page-link[aria-label="Next"] {
        padding: 0.6rem 0.7rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .pagination-dark {
        gap: 0.25rem;
        flex-wrap: wrap;
    }
    
    .pagination-dark .page-link {
        padding: 0.5rem 0.7rem;
        font-size: 0.85rem;
        min-width: 36px;
    }
}

/* Promotion banner styles - positioned above navbar */
.promotion-banner-top {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100; /* Above navbar (navbar is z-index 1000) */
    width: 100%;
}

/* CSS positioning will be overridden by JavaScript for dynamic adjustment */

.promotion-text {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
}

.promotion-text strong {
    color: #ffffff;
    font-weight: 600;
}

.promotion-banner-top .btn-primary {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
}

.promotion-banner-top .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Mobile responsive adjustments for promotional banner */
@media (max-width: 425px) {
    .promotion-banner-top .d-flex {
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
    }
    
    .promotion-banner-top .promotion-text {
        flex: 1 1 70%;
        min-width: 0;
        font-size: 0.9rem;
        line-height: 1.3;
    }
    
    .promotion-banner-top .btn-primary {
        flex: 0 0 auto;
        width: auto !important; /* Override any 100% width from general button styles */
        min-width: 25%;
        max-width: 30%;
        padding: 0.2rem 0.4rem;
        font-size: 0.75rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .promotion-banner-top .btn-primary i {
        margin-right: 0.25rem;
    }
}

