:root {
    --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    
    /* Dark Theme (Cord Style) */
    --bg-primary: #313338;
    --bg-secondary: #2b2d31;
    --bg-tertiary: #1e1f22;
    --bg-card: #232428;
    --bg-nav: rgba(43, 45, 49, 0.95);
    --bg-modal: rgba(0, 0, 0, 0.85);
    
    --text-primary: #f2f3f5;
    --text-secondary: #b5bac1;
    --text-muted: #80848e;
    
    --border-color: #1e1f22;
    
    /* Brand Colors */
    --accent-purple: #5865f2; 
    --accent-purple-rgb: 88, 101, 242;
    --accent-dark: #4752c4;
    --accent-green: #23a559;
    --accent-red: #da373c;
    
    --shadow-color: rgba(0, 0, 0, 0.2);
}

.light {
    --bg-primary: #ffffff;
    --bg-secondary: #f2f3f5;
    --bg-tertiary: #e3e5e8;
    --bg-card: #f2f3f5;
    --bg-nav: rgba(255, 255, 255, 0.95);
    --bg-modal: rgba(255, 255, 255, 0.85);
    
    --text-primary: #060607;
    --text-secondary: #4e5058;
    --text-muted: #80848e;
    
    --border-color: #e3e5e8;
    
    --accent-purple: #5865f2;
    --accent-purple-rgb: 88, 101, 242;
    
    --shadow-color: rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

/* Animations */
@keyframes staggerUp {
    from { opacity: 0; transform: translateY(40px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

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

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

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 15px var(--accent-green); }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.reveal {
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal.active {
    opacity: 1;
}

.stagger-up {
    transform: translateY(40px) scale(0.98);
}

.stagger-up.active {
    transform: translateY(0) scale(1);
}

.float-anim {
    animation: float 6s ease-in-out infinite;
}

.float-anim-alt {
    animation: floatAlt 7s ease-in-out infinite;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 900;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

a {
    color: var(--accent-purple);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--accent-dark);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    font-size: 1.25rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Announcement Bar */
.announcement-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    min-height: 38px;
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    color: #ffffff;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    text-align: center;
    max-width: 1200px;
}

.announcement-badge {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 0.15rem 0.55rem;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #ffffff;
}

.announcement-text {
    color: #ffffff;
}

.announcement-link {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 700;
    transition: opacity 0.2s;
}

.announcement-link:hover {
    opacity: 0.85;
    color: #ffffff;
}

body.has-announcement .navbar {
    top: 38px;
}

body.has-announcement {
    padding-top: 38px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background-color: var(--bg-nav);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: top 0.2s ease;
}

.nav-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 3rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 55px;
    object-fit: contain;
}

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

.nav-link {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.05rem;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--accent-purple);
}

.theme-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s, color 0.2s;
}

.theme-btn:hover {
    background-color: var(--bg-tertiary);
}

.theme-btn svg { width: 22px; height: 22px; }
body.light .sun-icon { display: none; }
body:not(.light) .moon-icon { display: none; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 28px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.cord-btn {
    box-shadow: 0 8px 15px var(--shadow-color);
}

.btn-primary {
    background-color: var(--accent-purple);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--shadow-color);
    color: #ffffff;
}

.btn-secondary {
    background-color: var(--text-primary);
    color: var(--bg-primary);
}

.btn-secondary:hover {
    background-color: var(--text-secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-modal);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: var(--bg-primary);
    border-radius: 8px;
    padding: 2.5rem;
    max-width: 450px;
    width: 90%;
    position: relative;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.show .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.8rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
}

.close-modal:hover { color: var(--text-primary); }
.modal-content h2 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.modal-content p { color: var(--text-secondary); margin-bottom: 2rem; font-size: 1rem; }

.platform-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.platform-btn {
    display: block;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    padding: 1rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.platform-btn:hover {
    background-color: var(--accent-purple);
    color: #ffffff;
}

/* Hero Section */
.hero {
    padding: 160px 2rem 80px;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: center;
}

.hero-left {
    text-align: left;
}

.hexcheats-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px var(--shadow-color);
}

.hero-main-logo {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin-bottom: 1.5rem;
    display: block;
}

.hero-tagline {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* Tilt Showcase */
.hero-right {
    perspective: 1500px;
    width: 100%;
}

.tilt-showcase {
    position: relative;
    width: 100%;
    transform-style: preserve-3d;
}

.tilt-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: -30px 30px 80px rgba(0,0,0,0.5);
    border: 1px solid var(--border-color);
    opacity: 0;
    transform: rotateY(-15deg) rotateX(5deg) rotateZ(-1deg) translateZ(10px);
    transition: opacity 1.2s ease-in-out, transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tilt-img.active {
    position: relative;
    opacity: 1;
    z-index: 2;
}

.tilt-img:not(.active) {
    position: absolute;
    top: 0; left: 0;
}

/* Hover effect un-tilts it towards the user smoothly */
.tilt-showcase:hover .tilt-img.active {
    transform: rotateY(0deg) rotateX(0deg) rotateZ(0deg) translateZ(30px);
    box-shadow: 0 40px 80px var(--shadow-color);
}

/* Features Section (Cord Cards) */
.features-section {
    padding: 4rem 2rem 8rem;
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.cord-card {
    background-color: var(--bg-secondary);
    border-radius: 16px;
    padding: 2rem;
    transition: background-color 0.3s, transform 0.3s;
    cursor: pointer;
}

.cord-card:hover {
    background-color: var(--bg-tertiary);
    transform: translateY(-5px);
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.5;
}

.card-link {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 700;
}

/* Plugins Page */
.page-header {
    background-color: var(--bg-primary);
    padding: 150px 2rem 50px;
    text-align: center;
}
.plugins-container {
    max-width: 1000px;
    margin: 0 auto 100px;
    padding: 0 2rem;
}
.plugin-search {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.1rem;
    background-color: var(--bg-tertiary);
    border: none;
    border-radius: 8px;
    color: var(--text-primary);
    margin-bottom: 2rem;
    outline: none;
    font-family: var(--font-primary);
}
.plugin-search:focus { box-shadow: 0 0 0 2px var(--accent-purple); }

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

.plugin-card {
    background-color: var(--bg-secondary);
    padding: 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}
.plugin-card:hover {
    background-color: var(--bg-tertiary);
    transform: translateY(-2px);
}

/* Plugins Marquee */
.plugins-section {
    padding: 6rem 0;
    overflow: hidden;
    clip-path: inset(0);
    contain: paint;
    position: relative;
    width: 100%;
    max-width: 100%;
    background-color: var(--bg-secondary);
}
.plugins-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 2rem;
}
.marquee-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    clip-path: inset(0);
    contain: paint;
    position: relative;
    padding: 2rem 0;
}
.marquee-track {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}
.marquee-container:hover .marquee-row {
    animation-play-state: paused;
}
.marquee-row {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: scrollMarquee 150s linear infinite;
}
.marquee-row.reverse {
    animation-direction: reverse;
}
.plugin-item {
    background-color: var(--bg-primary);
    padding: 1.5rem 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    font-weight: 600;
    white-space: nowrap;
    transition: transform 0.2s, border-color 0.2s, color 0.2s;
    cursor: default;
}
.plugin-item:hover {
    transform: scale(1.05);
    border-color: var(--accent-purple);
    color: var(--accent-purple);
}
@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 0.75rem)); }
}

/* Admin Dashboard */
.admin-layout {
    display: flex;
    min-height: 100vh;
    padding-top: 80px;
}

.admin-sidebar {
    width: 280px;
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-right: 1px solid var(--border-color);
}

.admin-content {
    flex: 1;
    padding: 3rem;
    background-color: var(--bg-primary);
}

.admin-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-menu-item {
    padding: 0.75rem 1rem;
    border-radius: 4px;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.admin-menu-item:hover, .admin-menu-item.active {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    color: var(--text-secondary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    background-color: var(--bg-tertiary);
    border: none;
    border-radius: 4px;
    padding: 1rem;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    outline: none;
}

.form-input:focus {
    box-shadow: 0 0 0 2px var(--accent-purple);
}

.team-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.team-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: var(--bg-secondary);
    padding: 1rem;
    border-radius: 8px;
}

.team-row img {
    width: 48px; height: 48px; border-radius: 50%;
}

.team-row-info { flex: 1; }

/* Footer */
.footer {
    padding: 6rem 2rem 2rem;
    background-color: var(--bg-secondary);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    width: 100%;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 1rem;
    max-width: 250px;
}

.footer-logo {
    height: 35px;
    object-fit: contain;
}

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

.footer-links h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-weight: 500;
}

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

.footer-bottom {
    width: 100%;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ========================================
   GLOBAL MOBILE SAFETY
   ======================================== */
html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    width: 100%;
}

* {
    box-sizing: border-box;
}

/* ========================================
   HAMBURGER BUTTON
   ======================================== */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 17px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    z-index: 200;
}

.mobile-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: block;
}

.mobile-toggle.active .bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.mobile-toggle.active .bar:nth-child(2) { opacity: 0; }
.mobile-toggle.active .bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ========================================
   TABLET & MOBILE (≤ 1024px)
   ======================================== */
@media (max-width: 1024px) {

    /* NAV */
    .navbar { padding: 0.75rem 1.25rem; }
    .nav-content {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0;
        gap: 0;
    }
    .logo-link { display: flex; align-items: center; margin: 0; padding: 0; }
    .nav-logo { height: 38px; margin: 0; }
    .mobile-toggle { display: flex; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding: 1.5rem 1.25rem;
        gap: 0.75rem;
        background: rgba(12, 18, 35, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 20px 40px rgba(0,0,0,0.5);
        z-index: 999;
    }
    .nav-links.mobile-open { display: flex; }
    .nav-link {
        text-align: center;
        padding: 0.75rem 1rem;
        font-size: 1rem;
        font-weight: 600;
        background: rgba(255,255,255,0.04);
        border: 1px solid var(--border-color);
        border-radius: 10px;
        width: 100%;
        display: block;
    }

    /* HERO */
    .hero-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 110px 1.25rem 2rem;
        gap: 2rem;
        width: 100%;
        max-width: 100%;
    }
    .hero-left {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        order: 1;
    }
    .hero-right {
        display: flex;
        justify-content: center;
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
        order: 2;
    }
    .hexcheats-badge { align-self: center; margin-bottom: 1rem; }
    .hero-main-logo { max-width: 260px; width: 100%; margin: 0 auto 1.25rem; }
    .hero-tagline {
        text-align: center;
        font-size: 1rem;
        max-width: 100%;
        padding: 0;
        margin: 0 auto 1.5rem;
    }
    .available-platforms {
        justify-content: center !important;
        flex-wrap: wrap;
        width: 100%;
    }
    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        gap: 0.75rem;
    }
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .live-installs {
        justify-content: center;
        width: 100%;
        margin-top: 1.5rem;
    }

    /* SHOWCASE IMAGES */
    .tilt-showcase {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        perspective: 1000px;
        position: relative;
    }
    .tilt-img {
        position: relative;
        width: 100%;
        height: auto;
        object-fit: contain;
        border-radius: 14px;
        box-shadow: 0 12px 40px rgba(0,0,0,0.5);
        border: 1px solid var(--border-color);
        transform: rotateY(-8deg) rotateX(3deg);
        transition: transform 0.4s ease, opacity 0.4s ease;
        margin: 0 auto;
        display: block;
    }
    .tilt-img.active { opacity: 1; position: relative; }
    .tilt-img:not(.active) { display: none; }
    .tilt-showcase:active .tilt-img.active { transform: none; }

    /* SECTIONS */
    .features-section {
        padding: 3rem 1.25rem 4rem;
        width: 100%;
        max-width: 100%;
    }
    .plugins-container {
        padding: 0 1.25rem;
        max-width: 100%;
    }
    .page-content {
        padding: 1.5rem 1.25rem;
        width: 100%;
        max-width: 100%;
    }
    .page-header {
        padding: 110px 1.25rem 2rem;
        text-align: center;
    }
    .section-title {
        text-align: center;
        font-size: 1.8rem;
    }
    .section-subtitle {
        text-align: center;
        max-width: 100%;
        font-size: 1.05rem;
        margin-left: auto;
        margin-right: auto;
        padding: 0 0.5rem;
    }

    /* GRIDS */
    .features-grid, .plugins-grid, .showcase-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        width: 100%;
    }
    .feature-card, .cord-card {
        width: 100%;
    }

    /* PLUGINS MARQUEE */
    .plugins-section {
        overflow: hidden;
        position: relative;
    }
    .plugins-header {
        text-align: center;
        padding: 0 1.25rem;
        margin-bottom: 2rem;
    }
    .plugins-header .section-title,
    .plugins-header .section-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    /* STATUS */
    .status-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        width: 100%;
    }
    .status-badge { align-self: flex-start; }

    /* FOOTER */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .footer-brand {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }
    .footer-brand p {
        margin: 1rem auto 0;
        text-align: center;
        max-width: 280px;
    }
    .footer-logo { margin: 0 auto; }
    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* ADMIN */
    .admin-layout { flex-direction: column; }
    .admin-sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--border-color); }
}

/* ========================================
   SMALL PHONES (≤ 480px)
   ======================================== */
@media (max-width: 480px) {
    .navbar { padding: 0.65rem 1rem; }
    .nav-logo { height: 34px; }
    .hero-container { padding-top: 90px; }
    .section-title { font-size: 1.5rem; }
}



