:root {
    --bg: #0f1115;
    --text-main: #ffffff;
    --text-muted: #8a8d91;
    --accent: #397cc6;
    --nav-bg: #1a1d23;
    --card-bg: #1a1d23;
    --font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Hide number input arrows */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

/* Hero Section / About */
.hero-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    background-image: linear-gradient(rgba(15, 17, 21, 0.8), rgba(15, 17, 21, 0.8)), url('/components/Assets/Image.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-layout {
    max-width: 800px;
    padding: 3rem 0;
}

.badge {
    display: inline-block;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.hero-text h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1;
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #2a6cb8 100%);
    color: white;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(57, 124, 198, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(57, 124, 198, 0.3);
    filter: brightness(1.1);
}

.btn-primary i {
    font-size: 1.1rem;
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
}

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

body {
    background-color: #0f1115;
    color: var(--text-main);
    font-family: var(--font-family);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

select option {
    background: #1a1d23;
    color: #fff;
}

/* Navbar */
nav {
    display: flex;
    justify-content: center;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(15, 17, 21, 1);
    height: 90px;
}

nav.scrolled {
    height: 75px;
    background: rgba(15, 17, 21, 0.95);
    backdrop-filter: blur(20px);
}

.nav-pill {
    background: transparent;
    padding: 0.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid transparent;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: space-between;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.nav-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Navbar Mobile Styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    nav {
        height: 70px;
    }

    nav.scrolled {
        height: 60px;
    }

    .nav-pill {
        padding: 0.5rem 1.5rem;
        width: 100%;
        justify-content: space-between;
        background: transparent !important;
        border: none !important;
        width: 100% !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.main-toggle {
        display: flex;
    }

    .mobile-menu-toggle.close-toggle {
        display: flex;
        position: absolute;
        top: 25px;
        right: 30px;
    }

    .nav-content {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 280px !important;
        height: 100vh !important;
        background: #0f1115 !important;
        flex-direction: column !important;
        padding: 80px 30px !important;
        transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5) !important;
        z-index: 2000 !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 2rem !important;
        display: flex !important;
        left: auto !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .nav-content.active {
        right: 0 !important;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 1.5rem;
        align-items: flex-start;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        width: 100%;
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }

    .dropdown {
        flex-direction: column;
        width: 100%;
    }

    .dropdown-content {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: rgba(255, 255, 255, 0.05);
        box-shadow: none;
        margin-top: 0.5rem;
        padding: 0;
        display: none;
        min-width: 100%;
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }

    #auth-container {
        width: 100%;
        margin-top: auto;
    }

    .nav-cta {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }

    /* Hamburger Animation */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

nav.scrolled .nav-pill {
    background: rgba(21, 23, 28, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: auto;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 0.5rem 1rem;
}

.nav-logo {
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0 1.5rem;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-logo img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-logo:hover img {
    transform: rotate(360deg);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    display: flex;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
}

.nav-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 1.2rem;
    right: 1.2rem;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-links a.active {
    background: var(--accent);
    color: #fff;
}

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

/* Dropdown styling */
.dropdown {
    position: relative;
    display: flex;
}

.dropdown:hover .dropdown-content,
.dropdown-content:hover {
    display: block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--nav-bg);
    min-width: 180px;
    box-shadow: 0px 8px 32px 0px rgba(0,0,0,0.6);
    z-index: 1001;
    border-radius: 4px;
    margin-top: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.dropdown-content a {
    color: var(--text-muted);
    padding: 14px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    text-align: center;
    position: relative;
    z-index: 1002;
    border-radius: 0;
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

/* Leaderboard Redesign - Podium */
.podium-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: 4rem;
    padding-top: 2rem;
    min-height: 350px;
}

.podium-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 200px;
    transition: transform 0.3s ease;
}

.podium-item:hover {
    transform: translateY(-10px);
}

.podium-item.first {
    order: 2;
    transform: translateY(-20px);
}

.podium-item.first:hover {
    transform: translateY(-30px);
}

.podium-item.second {
    order: 1;
}

.podium-item.third {
    order: 3;
}

.podium-avatar-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
}

.podium-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid var(--accent);
    box-shadow: 0 0 30px rgba(57, 124, 200, 0.4);
    object-fit: cover;
}

.first .podium-avatar {
    width: 140px;
    height: 140px;
    border-color: #ffd700;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.4);
}

.second .podium-avatar {
    width: 115px;
    height: 115px;
    border-color: #c0c0c0;
    box-shadow: 0 0 30px rgba(192, 192, 192, 0.3);
}

.third .podium-avatar {
    width: 100px;
    height: 100px;
    border-color: #cd7f32;
    box-shadow: 0 0 30px rgba(205, 127, 50, 0.3);
}

.podium-rank-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #000;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    border: 3px solid #0f1115;
    z-index: 2;
}

.first .podium-rank-badge { background: #ffd700; }
.second .podium-rank-badge { background: #c0c0c0; }
.third .podium-rank-badge { background: #cd7f32; }

.podium-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.podium-name {
    font-weight: 700;
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 0.4rem;
}

.podium-level {
    color: var(--accent);
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.first .podium-level { color: #ffd700; }

.podium-exp {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

@media (max-width: 768px) {
    .podium-container {
        flex-direction: column;
        align-items: center;
        min-height: auto;
        gap: 3.5rem;
    }
    .podium-item.first { order: 1; transform: none; }
    .podium-item.second { order: 2; }
    .podium-item.third { order: 3; }
}


.nav-cta {
    background: #5865F2;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.6rem 1.5rem;
    border-radius: 100px;
    margin-left: 0.5rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    transition: background 0.2s ease;
}

.nav-cta:hover {
    background: #4752c4;
}

/* Add padding to main to prevent content being hidden under fixed nav */
main {
    padding-top: 80px;
}

/* Sections */
.section {
    padding: 6rem 0;
}

.section-intro {
    max-width: 700px;
    margin-bottom: 4rem;
}

.member-icon {
    color: #a0aec0; /* Grey-blue ish */
    filter: brightness(1.2);
    margin-right: 6px;
}

.section-intro h2 {
    font-size: 2.8rem;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Game Grid / Carousel */
.empty-state {
    text-align: center;
    padding: 40px;
    background: var(--nav-bg);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 1900px;
    margin: 60px auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.empty-icon {
    font-size: 80px;
    margin-bottom: 30px;
}

.empty-state h2 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.empty-state p {
    color: var(--text-muted);
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.login-required {
    border-color: var(--accent);
    background: linear-gradient(145deg, rgba(26, 29, 35, 1) 0%, rgba(57, 124, 198, 0.05) 100%);
}

.login-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #5865F2;
    color: white;
    text-decoration: none;
    padding: 18px 40px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(88, 101, 242, 0.2);
}

.login-btn i {
    font-size: 1.4rem;
}
.dashboard-main { padding: 120px 0 80px 0; min-height: 80vh; }
.server-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin-top: 30px; }
.server-card { 
    background: var(--nav-bg); 
    border: 1px solid rgba(255,255,255,0.05); 
    border-radius: 12px; 
    padding: 20px; 
    text-align: center; 
    cursor: pointer; 
    transition: all 0.2s; 
}
.server-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.server-card img { width: 80px; height: 80px; border-radius: 50%; margin-bottom: 15px; }

.dashboard-content { display: flex; gap: 30px; margin-top: 30px; min-height: 500px; }
.roles-sidebar { width: 250px; background: var(--nav-bg); border-radius: 12px; padding: 20px; border: 1px solid rgba(255,255,255,0.05); }
.roles-nav { margin-top: 15px; }
.role-nav-item { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 6px; cursor: pointer; transition: 0.2s; margin-bottom: 5px; }
.role-nav-item:hover { background: rgba(255,255,255,0.05); }
.role-nav-item.active { background: rgba(57, 124, 198, 0.1); border-left: 3px solid var(--accent); }
.role-color-dot { width: 10px; height: 10px; border-radius: 50%; }

.permissions-panel { flex: 1; background: var(--nav-bg); border-radius: 12px; padding: 30px; border: 1px solid rgba(255,255,255,0.05); }
.permission-item { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.perm-info h4 { margin-bottom: 5px; }
.perm-info p { font-size: 0.85rem; color: var(--text-muted); }

.role-header-detail { margin-bottom: 40px; padding-bottom: 20px; border-bottom: 2px solid rgba(255,255,255,0.1); }
.form-actions {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.role-id-badge { font-size: 0.75rem; color: var(--text-muted); font-family: monospace; }

.server-info-header { display: flex; align-items: center; gap: 15px; margin-top: 15px; }
.server-icon-small { width: 40px; height: 40px; border-radius: 50%; }

.status-message { margin-left: 15px; font-size: 0.9rem; }
.status-message.success { color: #4ade80; }
.status-message.error { color: #ff4d4d; }

/* Switch Toggle */
.switch { position: relative; display: inline-block; width: 50px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #333; transition: .4s; }
.slider:before { position: absolute; content: ""; height: 16px; width: 16px; left: 4px; bottom: 4px; background-color: white; transition: .4s; }
input:checked + .slider { background-color: var(--accent); }
input:checked + .slider:before { transform: translateX(26px); }
.slider.round { border-radius: 24px; }
.slider.round:before { border-radius: 50%; }

.btn-secondary { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: white; padding: 8px 16px; border-radius: 6px; cursor: pointer; }

@media (max-width: 768px) {
    .dashboard-content { flex-direction: column; }
    .roles-sidebar { width: 100%; }
}

.carousel-wrapper {
    overflow: hidden;
    width: 100%;
}

.game-grid {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
    width: max-content;
    animation: marquee 40s linear infinite;
    padding: 1rem 0;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.game-item {
    width: 320px;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    background: #15171c;
    border-radius: 12px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.game-item:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.1);
    background: #1a1d23;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.game-poster {
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    border-radius: 0;
    margin-bottom: 0;
    background-color: #1a1d23;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.game-item:hover .game-poster {
    transform: scale(1.02);
}

.game-meta {
    padding: 1.5rem;
}

.game-meta h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.game-stats {
    display: flex;
    gap: 1.5rem;
    font-size: 0.8rem;
    color: #8a8d91;
    font-weight: 500;
}

.game-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #8a8d91;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Offer Section */
.offer-section {
    display: flex;
    justify-content: center;
}

.offer-pill {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--accent);
    padding: 0.6rem 1.5rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: background 0.2s;
}

.offer-pill:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Leaderboard Styles */
.leaderboard-container {
    background: #15171c;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    overflow: hidden;
    margin-top: 2rem;
}

/* Pagination Styles */
.sidebar-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    padding: 0 10px;
}

.sidebar-tab {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.sidebar-tabs.sub-tabs {
    margin-bottom: 30px;
    padding: 0;
}

.sidebar-tabs.sub-tabs .sidebar-tab {
    padding: 12px;
    font-size: 0.85rem;
}

.sidebar-tabs.sub-tabs-sidebar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
    padding: 0;
}

.sidebar-tabs.sub-tabs-sidebar .sidebar-tab {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 12px 16px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
}

.sidebar-tabs.sub-tabs-sidebar .sidebar-tab.active {
    background: rgba(57, 124, 198, 0.1);
    color: var(--accent);
    border-radius: 8px;
}

.sidebar-tabs.sub-tabs-sidebar .sidebar-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.sidebar-tab.active {
    background: var(--accent);
    color: white;
}

.sidebar-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
}

.config-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.config-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

input[type="datetime-local"].text-input {
    position: relative;
    cursor: pointer;
}

input[type="datetime-local"].text-input::-webkit-calendar-picker-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: pointer;
}

.text-input, select.text-input, input[type="datetime-local"].text-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 14px;
    color: white;
    margin-top: 12px;
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    appearance: none;
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

input[type="datetime-local"].text-input::after {
    content: "\f073";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

.text-input:hover, select.text-input:hover, input[type="datetime-local"].text-input:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.text-input:focus {
    outline: none;
    border-color: var(--accent);
}

select.text-input option {
    background: #1a1d23;
    color: white;
}

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 3rem;
    padding-bottom: 2rem;
}

.page-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
}

.page-btn.active {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

.pagination-dots {
    color: var(--text-muted);
}

/* Moderation Logs Styles */
.search-container {
    margin-bottom: 2rem;
}

.search-wrapper {
    position: relative;
    max-width: 600px;
    display: flex;
    gap: 15px;
    width: 100%;
}

#stats-btn {
    white-space: nowrap;
    padding: 0 1.5rem;
    border-radius: 12px;
    background: var(--accent);
    color: #000;
    border: none;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

#stats-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(57, 124, 200, 0.3);
}

/* Mod Stats Styles - Professional Redesign */
#mod-stats-container {
    margin-top: 2rem;
}

.eom-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.eom-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(57, 124, 198, 0.1);
    color: var(--accent);
    padding: 0.5rem 1rem;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 8px;
    border: 1px solid rgba(57, 124, 198, 0.2);
}

.eom-content {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    width: 100%;
}

.eom-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.eom-avatar {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    object-fit: cover;
}

.eom-info {
    flex-grow: 1;
}

.eom-info h3 {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
    color: #fff;
    font-weight: 700;
}

.eom-info .userid {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    display: block;
}

.eom-stats {
    display: flex;
    gap: 2rem;
}

.stat-pill {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-width: 120px;
}

.stat-pill .stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.stat-pill .stat-count {
    font-size: 1.25rem;
    color: #fff;
    font-weight: 700;
}

@media (max-width: 768px) {
    .eom-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        gap: 1.5rem;
    }
    .eom-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    .eom-badge {
        position: static;
        transform: none;
        margin-bottom: 1rem;
        display: inline-block;
    }
    .eom-stats {
        justify-content: center;
        gap: 1.5rem;
    }
}

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

.stat-card {
    background: #15171c;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.stat-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--accent);
}

.stat-user h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.stat-body {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.stat-value {
    color: #fff;
    font-weight: 700;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

#log-search {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 1rem 1rem 3rem;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#log-search:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
}

.logs-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.log-item {
    background: #15171c;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.log-item:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.1);
}

.log-main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.log-row {
    display: flex;
    align-items: flex-start;
}

.log-item .label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    width: 120px;
    flex-shrink: 0;
    margin-right: 1.5rem;
    padding-top: 0.2rem;
}

.log-item .value {
    color: #fff;
    font-weight: 600;
    flex: 1;
}

.log-item .userid {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 400;
}

.log-details {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    flex-wrap: wrap;
}

.detail {
    display: flex;
    align-items: center;
}

.detail .label {
    width: auto;
}

.demerit-count {
    color: #ff4d4d !important;
}

.action-tag {
    background: rgba(57, 124, 200, 0.1);
    color: var(--accent) !important;
    padding: 0.2rem 0.8rem;
    border-radius: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.user-with-avatar {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.mod-log-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    box-shadow: 0 0 10px rgba(57, 124, 200, 0.4);
    object-fit: cover;
}

.log-evidence {
    margin-top: 0.5rem;
}

.evidence-gallery {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 5px;
}

.evidence-link {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.2s;
    background: rgba(255, 255, 255, 0.02);
}

.evidence-link.broken-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    text-decoration: none;
    color: var(--accent);
    font-size: 0.7rem;
    text-align: center;
    padding: 10px;
}

.evidence-link.broken-link::after {
    content: "View Evidence";
}

.evidence-link.broken-link img {
    display: none;
}

.evidence-link:hover {
    transform: scale(1.05);
}

.evidence-thumb {
    width: 100px;
    height: 100px;
    object-fit: cover;
    display: block;
}



.leaderboard-item {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: background 0.2s;
}

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

.leaderboard-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.leaderboard-item .rank {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
    width: 50px;
}

.user-avatar-container {
    position: relative;
    width: 48px;
    height: 48px;
    margin-right: 20px;
}

.user-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--accent);
    box-shadow: 0 0 15px rgba(57, 124, 200, 0.6);
    object-fit: cover;
}

.leaderboard-item .user-info {
    flex: 1;
}

.leaderboard-item .user-id {
    font-weight: 700;
    color: #ffffff;
    font-size: 1rem;
}

.stats-container {
    display: flex;
    align-items: center;
}

.progress-circle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.progress-circle {
    transform: rotate(-90deg);
}

.progress-circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 3;
}

.progress-circle-bar {
    fill: none;
    stroke: var(--accent);
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.5s ease;
}

.level-text {
    fill: #ffffff;
    font-size: 10px;
    font-weight: 800;
    transform: rotate(90deg);
    transform-origin: center;
}

.exp-text {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Team Page Redesign */
.team-hero {
    padding-top: 10rem;
    padding-bottom: 8rem;
    background: radial-gradient(circle at top right, rgba(57, 124, 198, 0.05), transparent),
                radial-gradient(circle at bottom left, rgba(57, 124, 198, 0.02), transparent);
}

.text-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.team-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.team-filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-filter-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transform: translateY(-2px);
}

.team-filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 10px 20px rgba(57, 124, 198, 0.2);
}

.team-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.new-team-card {
    background: #15171c;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.new-team-card:hover {
    transform: translateY(-10px);
    border-color: rgba(57, 124, 198, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.member-image-wrapper {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #0f1115;
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.new-team-card:hover .member-image {
    transform: scale(1.1);
}

.member-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 17, 21, 0.9), transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.new-team-card:hover .member-overlay {
    opacity: 1;
}

.social-tag {
    background: var(--accent);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.member-details {
    padding: 1.8rem;
}

.member-header {
    margin-bottom: 1.2rem;
}

.member-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.3rem;
}

.member-role {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.member-bio {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.member-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.member-id {
    font-family: monospace;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.15);
}

.member-version {
    font-size: 0.7rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.1em;
}

@media (max-width: 1200px) {
    .team-showcase { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .team-hero { padding-top: 6rem; }
    .team-filters { flex-wrap: wrap; }
    .team-showcase { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .team-showcase { grid-template-columns: 1fr; }
}

.loading {
    padding: 4rem;
    text-align: center;
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .leaderboard-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .leaderboard-item .stats {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 968px) {
    .game-item { flex: 0 0 calc(50% - 0.75rem); }
    .section-intro h2 { font-size: 2rem; }
}

/* Portfolio Styles */
.portfolio-section {
    margin-bottom: 4rem;
}

.portfolio-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.portfolio-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.groups-banner-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.group-banner {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.group-banner:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.03);
}

.group-banner-icon {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    margin-right: 2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.group-banner-content {
    flex: 1;
}

.group-banner-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.group-banner-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    max-width: 600px;
    line-height: 1.5;
}

.group-banner-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.group-banner-meta .members {
    color: var(--accent);
}

.group-banner-link {
    padding: 0.8rem 1.5rem;
    background: var(--accent);
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.8rem;
    margin-left: 2rem;
}

@media (max-width: 768px) {
    .group-banner {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    .group-banner-icon {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
    .group-banner-link {
        margin-left: 0;
        margin-top: 1.5rem;
        width: 100%;
    }
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: #15171c;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    overflow: hidden;
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.portfolio-thumb {
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    position: relative;
}

.item-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent);
    color: #000;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
}

.item-tag.group {
    background: #fff;
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.portfolio-info h3 {
    margin-bottom: 0.5rem;
}

.game-description-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.item-stats {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 0.6rem 2rem;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    box-shadow: 0 0 20px rgba(57, 124, 200, 0.4);
}

.team-showcase {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 3rem 1.5rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

#team {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: auto;
}

.team-card {
    width: 310px;
    height: 480px;
    perspective: 1000px;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    flex: 0 0 calc(33.333% - 2rem);
    min-width: 310px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    cursor: pointer;
}

.team-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background: #111111;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.card-back {
    transform: rotateY(180deg);
    background: linear-gradient(145deg, #111, #1a1a1a);
    border-color: var(--accent);
}

.roblox-avatar-large {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid var(--accent);
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(57, 124, 200, 0.3);
}

.roblox-label {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.roblox-profile-section {
    margin-top: 1.5rem;
    width: 100%;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.roblox-profile-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    padding: 10px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.roblox-profile-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.roblox-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--accent);
}

.roblox-name {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
}

.team-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 20px 50px rgba(57, 124, 198, 0.2);
}

.team-avatar-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 2rem;
    z-index: 2;
}

.team-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #111111;
    box-shadow: 0 0 0 2px var(--accent);
    transition: all 0.5s ease;
}

.team-card:hover .team-avatar {
    transform: rotate(5deg) scale(1.05);
    box-shadow: 0 0 20px var(--accent);
}

.team-role-badge {
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 6px 16px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(57, 124, 198, 0.4);
    z-index: 3;
}

.team-info {
    width: 100%;
    padding: 0;
    background: transparent;
}

.team-info h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.team-bio {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    opacity: 0.8;
    background: rgba(255,255,255,0.03);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.02);
}

.team-footer {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    color: rgba(255,255,255,0.15);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.team-footer {
    margin-top: auto;
    width: 100%;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.team-version {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 0.05em;
}

/* Moderation Logs Styles */
.mod-logs-page {
    background-color: #0f1115;
}

.search-container {
    margin-bottom: 3rem;
}

.search-wrapper {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.search-wrapper > div {
    position: relative;
    flex: 1;
}

.search-wrapper input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem 1.2rem 1rem 3.5rem;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.search-wrapper input:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
}

.search-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    pointer-events: none;
    z-index: 1;
}

#stats-btn {
    padding: 0.8rem 1.5rem;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.logs-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.log-item {
    background: #15171c;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.log-item:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.log-main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.log-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.log-item .label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    width: 120px;
    flex-shrink: 0;
    margin-right: 1.5rem;
}

.log-item .value {
    color: #fff;
    font-weight: 600;
    flex: 1;
}

.user-with-avatar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mod-log-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid var(--accent);
}

.action-badge {
    display: inline-block;
    padding: 0.3rem 0;
    background: transparent;
    color: var(--accent);
    border-radius: 0;
    font-weight: 700;
    font-size: 0.8rem;
}

.log-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.log-footer .case-id {
    font-weight: 800;
    color: var(--accent);
    font-size: 0.8rem;
}

.log-footer .demerits {
    font-weight: 800;
    color: #ff4d4d;
    font-size: 0.8rem;
}

.pagination-container {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.page-btn.active {
    background: var(--accent);
    border-color: var(--accent);
}

/* Moderator Stats Styling */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    background: #15171c;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
}

.stat-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--accent);
}

.stat-user h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.stat-body {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.stat-value {
    font-weight: 700;
    color: #fff;
}

.eom-card {
    background: linear-gradient(135deg, rgba(57, 124, 200, 0.1), rgba(57, 124, 200, 0.02));
    border: 1px solid var(--accent);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.eom-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.eom-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.eom-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid var(--accent);
    box-shadow: 0 0 30px rgba(57, 124, 200, 0.3);
}

.eom-stats {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.stat-pill {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Glass effect for footer */
.card-footer::before {
    display: none;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding: 2rem 0;
}

@media (max-width: 968px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* Appeal Page Styles */
.appeal-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 0;
}

.appeal-card {
    background: #111418;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.appeal-header {
    text-align: center;
    margin-bottom: 3rem;
}

.appeal-header i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.appeal-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.appeal-header p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.user-info-banner {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(57, 124, 200, 0.1);
    border: 1px solid rgba(57, 124, 200, 0.2);
    padding: 8px 16px;
    border-radius: 100px;
    margin-top: 0.5rem;
}

.user-info-banner img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid var(--accent);
}

.user-info-banner span {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
}

.input-wrapper.disabled input {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-muted);
    cursor: not-allowed;
    border-color: rgba(255, 255, 255, 0.02);
}

.appeal-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 1.2rem;
    color: var(--accent);
    font-size: 1rem;
}

.input-wrapper input,
.input-wrapper textarea,
.input-wrapper select {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem 1.2rem 1rem 3.5rem;
    color: #fff;
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    appearance: none;
    cursor: pointer;
    line-height: 1.5;
    outline: none;
}

.input-wrapper select option {
    background: #111418;
    color: #fff;
    padding: 10px;
}

.input-wrapper select:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(57, 124, 198, 0.1);
}

.input-wrapper.select-wrapper::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.input-wrapper.select-wrapper:focus-within::after {
    color: var(--accent);
    transform: translateY(-50%) rotate(180deg);
}

/* User Profile in Nav */
.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.user-profile:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent);
}

.user-avatar-nav {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    object-fit: cover;
}

.user-info-nav {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.user-name-nav {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
}

.user-id-nav {
    font-size: 0.65rem;
    color: var(--text-muted);
}

/* Dropdown Menu Improvements */
#logout-dropdown {
    background: #111418 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

#logout-btn:hover {
    background: rgba(255, 77, 77, 0.1) !important;
    border-radius: 4px;
}

.input-wrapper textarea {
    padding-top: 1.2rem;
    resize: none;
}

.input-wrapper.textarea-wrapper i {
    top: 1.4rem;
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(57, 124, 200, 0.2);
}

.appeal-submit {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.2rem;
    font-weight: 700;
}

.status-msg {
    margin-top: 2rem;
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    animation: fadeIn 0.3s ease;
}

.status-msg.success {
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.1);
    color: #4ade80;
}

.status-msg.error {
    background: rgba(255, 0, 0, 0.05);
    border: 1px solid rgba(255, 0, 0, 0.1);
    color: #f87171;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .appeal-card {
        padding: 2rem;
    }
}

/* Appeal Logs Styling */
.appeals-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.appeal-log-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.appeal-log-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.appeal-log-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.appeal-log-header .case-id {
    font-weight: 700;
    color: #fff;
    font-size: 0.95rem;
}

.project-tag {
    display: inline-block;
    background: rgba(57, 124, 200, 0.1);
    color: var(--accent);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(57, 124, 200, 0.2);
    margin-bottom: 1rem;
}

.status-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.status-pending { background: rgba(243, 156, 18, 0.15); color: #f39c12; }
.status-badge.status-accepted { background: rgba(46, 204, 113, 0.15); color: #2ecc71; }
.status-badge.status-rejected { background: rgba(231, 76, 60, 0.15); color: #e74c3c; }

.btn-review {
    background: var(--accent);
    color: white;
    border: none;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-toggle.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.filter-select {
    background: #1a1d23;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 3rem;
}

.filter-select:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.staff-controls {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.appeal-actions-dropdown {
    position: relative;
    display: inline-block;
}

.btn-ellipsis {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-ellipsis:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: var(--accent);
}

.appeal-menu-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: #1a1d23;
    min-width: 150px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    z-index: 100;
    margin-top: 5px;
    overflow: hidden;
}

.appeal-menu-content a {
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.2s;
}

.appeal-menu-content a:hover {
    background: rgba(255,255,255,0.05);
}

.appeal-menu-content a i {
    margin-right: 8px;
    width: 14px;
}

.appeal-menu-content a.delete-action {
    color: #ff4d4d;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.appeal-menu-content a.delete-action:hover {
    background: rgba(255, 77, 77, 0.1);
}

.review-actions {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 1rem;
    display: none;
    gap: 10px;
}

.btn-accept {
    background: #27ae60;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.btn-reject {
    background: #c0392b;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.btn-accept:hover, .btn-reject:hover {
    filter: brightness(1.1);
}

.status-pending { background: rgba(255, 193, 7, 0.1); color: #ffc107; border: 1px solid rgba(255, 193, 7, 0.2); }
.status-approved { background: rgba(74, 222, 128, 0.1); color: #4ade80; border: 1px solid rgba(74, 222, 128, 0.2); }
.status-denied { background: rgba(248, 113, 113, 0.1); color: #f87171; border: 1px solid rgba(248, 113, 113, 0.2); }

.appeal-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    font-style: italic;
}

.appeal-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.appeal-meta i {
    color: var(--accent);
    margin-right: 0.4rem;
}


/* Footer Styles */
.main-footer {
    background: #0a0c0e;
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo-link {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 1.5rem;
}

.footer-logo {
    height: 40px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-logo-link:hover .footer-logo {
    transform: rotate(360deg);
}

.footer-section p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(57, 124, 200, 0.3);
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.btn-delete-appeal {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.2);
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.8rem;
}

.btn-delete-appeal:hover {
    background: #e74c3c;
    color: white;
    transform: scale(1.1);
}

.appeal-container.global-view-active .appeals-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .appeal-container.global-view-active .appeals-list {
        grid-template-columns: 1fr;
    }
}

.appeal-text-content {
    position: relative;
    max-height: 4.8em; /* Roughly 3 lines */
    overflow: hidden;
    transition: max-height 2.5s cubic-bezier(0.25, 0.1, 0.25, 1), background-color 0.5s ease;
    cursor: pointer;
    padding: 0.8rem;
    margin: -0.8rem;
    border-radius: 12px;
    margin-bottom: 0.8rem;
    will-change: max-height;
}

.appeal-text-content:hover {
    max-height: 4000px; 
    background: rgba(255, 255, 255, 0.05);
}

.appeal-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0; /* Remove bottom margin to avoid overlapping/extra space */
    font-style: italic;
    word-break: break-all;
    transition: color 0.3s ease;
}

.appeal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
    margin-top: 0.5rem;
    position: relative; /* Ensure it stays below content */
    z-index: 1;
}

.appeal-log-item {
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.appeal-log-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
    transform: translateY(-2px);
    z-index: 5;
}

.appeal-container.global-view-active {
    max-width: 1400px;
}

.appeal-container {
    transition: max-width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.loading-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    gap: 1rem;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

.loading-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

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

.contact-link svg {
    color: var(--accent);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .footer-socials {
        justify-content: center;
    }
    
    .contact-link {
        justify-content: center;
    }
}


/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: #1a1b1e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    width: 90%;
    max-width: 700px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.2rem;
    color: #fff;
}

.close-modal {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #fff;
}
