@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Rajdhani:wght@500;600;700&display=swap');

/* ==========================================================================
   1. VARIABLES & RESET
   ========================================================================== */
:root {
    --bg-primary: #0a0c10;
    --bg-secondary: #121620;
    --bg-accent: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(244, 194, 34, 0.3);

    --color-text-main: #ffffff;
    --color-text-muted: #8b949e;

    --accent-gold: #ffc800;
    --accent-gold-hover: #e6b400;
    --accent-blue: #00f0ff;
    --accent-red: #ff3838;

    --shadow-gold: 0 0 20px rgba(255, 200, 0, 0.4);
    --shadow-blue: 0 0 20px rgba(0, 240, 255, 0.4);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Rajdhani', sans-serif;

    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--color-text-main);
    overflow-x: hidden;
    min-height: 100vh;
}

body.landing-body {
    overflow: hidden;
    height: 100vh;
    height: 100dvh;
    /* Use dynamic viewport height for mobile browsers */
    width: 100vw;
}

/* ==========================================================================
   2. PRELOADER & HERO BACKGROUND
   ========================================================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-primary);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 200, 0, 0.1);
    border-radius: 50%;
    border-top-color: var(--accent-gold);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.hero-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    /* Dynamic viewport height */
    background-image: linear-gradient(180deg, rgba(10, 12, 16, 0.5) 0%, rgba(10, 12, 16, 0.95) 100%), url('img/Background.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ==========================================================================
   3. HEADER & NAVBAR
   ========================================================================== */
.navbar {
    width: 100%;
    padding: 10px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    background: rgba(10, 12, 16, 0.6);
    border-bottom: 1px solid var(--border-glass);
    z-index: 100;
    animation: fadeInNavbar 1s ease forwards;
}

.navbar-brand img {
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.badge-live {
    background: rgba(255, 56, 56, 0.1);
    border: 1px solid var(--accent-red);
    color: var(--accent-red);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: pulseRed 2s infinite;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-red);
    border-radius: 50%;
}

.hero-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center the remaining split-middle container */
    position: relative;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 15px 40px;
    min-height: 0;
    overflow: hidden;
    gap: 15px;
}

/* Centered Top Brand Logo Box */
.hero-logo-box {
    position: absolute;
    top: 15px;
    /* Reduced gap to top header */
    left: 40px;
    width: auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    z-index: 5;
}

.hero-logo-box img {
    max-width: 260px;
    /* Highly enlarged logo on desktop */
    width: 100%;
    animation: slideInDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Middle Split Side-by-Side */
.hero-split-middle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 40px;
}

/* Removed unused .hero-brand-details */
/* Right Character Side */
.hero-character-side {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1.1;
    /* Increased column weight for a larger character side */
    z-index: 5;
    order: 2;
}

/* Bottom CTA Centered */
.hero-cta-bottom {
    position: absolute;
    bottom: 120px;
    /* Brought up further */
    right: 40px;
    left: auto;
    width: auto;
    display: flex;
    justify-content: flex-end;
    z-index: 15;
}

/* Removed unused .hero-titles */

.title-line {
    width: 100%;
    max-width: 350px;
    /* Restrict desktop max-width so text lines are very small */
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.8));
    opacity: 0;
}

.title-line.line-1 {
    order: 1;
    animation: slideInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.title-line.line-2 {
    order: 3;
    animation: slideInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

/* Call To Action Button */
.cta-box {
    margin-top: 0;
    /* Reset margin since container is now absolute */
    opacity: 0;
    animation: slideInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
    z-index: 10;
}

.play-btn {
    display: inline-block;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 12px;
}

.play-btn img {
    height: 120px;
    /* Extra enlarged button height on desktop */
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255, 200, 0, 0.5));
    /* Golden glow effect! */
    transition: var(--transition-smooth);
}

.play-btn:hover {
    transform: scale(1.08) translateY(-3px);
}

.play-btn:hover img {
    filter: drop-shadow(0 0 18px rgba(255, 200, 0, 0.85)) brightness(1.05);
    /* Intense hover golden glow! */
}

/* Continuous breathing animation on the play button container */
.pulse-glow-container {
    animation: pulseGlow 2.5s infinite ease-in-out;
    border-radius: 15px;
}

/* Right Column Character */
.hero-content-right {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
}

.character-box {
    position: relative;
    max-width: 650px;
    /* Highly enlarged for massive visual presence on desktop */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: slideInRight 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.character-img {
    width: 100%;
    height: auto;
    max-height: 55vh;
    /* Expanded vertically so it fills screen beautifully */
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 240, 255, 0.25));
    animation: floatAnimation 5s infinite ease-in-out;
}

.character-box::after {
    content: '';
    position: absolute;
    bottom: -20px;
    width: 70%;
    height: 15px;
    background: radial-gradient(ellipse, rgba(0, 240, 255, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    animation: floatShadow 5s infinite ease-in-out;
}

/* ==========================================================================
   5. DYNAMIC FEATURES FOOTER (PREMIUM CRITICAL VALUE ELEMENTS)
   ========================================================================== */
.footer-features {
    padding: 10px 40px;
    backdrop-filter: blur(10px);
    background: rgba(10, 12, 16, 0.85);
    border-top: 1px solid var(--border-glass);
    z-index: 10;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1200px;
    margin: 0 auto;
    gap: 15px;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 15px;
    background: var(--bg-accent);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 200, 0, 0.3);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 1.3rem;
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: var(--shadow-gold);
}

.feature-info h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--color-text-main);
    text-transform: uppercase;
}

.feature-info p {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    margin-top: 1px;
}

.footer-bottom {
    background-color: #06070a;
    padding: 8px 40px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   6. ADMIN PANEL STYLING
   ========================================================================== */
.admin-body {
    background-color: var(--bg-primary);
    background-image: radial-gradient(circle at 10% 20%, rgba(18, 22, 32, 0.8) 0%, rgba(10, 12, 16, 0.95) 90%);
}

.admin-login-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.admin-card {
    max-width: 420px;
    width: 100%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-glass);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.admin-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-blue));
}

.admin-card-header {
    text-align: center;
    margin-bottom: 30px;
}

.admin-card-header img {
    height: 50px;
    margin-bottom: 15px;
}

.admin-card-header h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.admin-card-header p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-top: 5px;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-text-muted);
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-glass);
    color: var(--color-text-main);
    padding: 12px 16px;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px rgba(255, 200, 0, 0.15);
}

.alert-danger {
    background: rgba(255, 56, 56, 0.1);
    border: 1px solid var(--accent-red);
    color: var(--accent-red);
    padding: 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    text-align: center;
}

.btn-primary {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-gold), #e0a600);
    color: #000000;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    padding: 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/* Admin Dashboard Panel */
.dashboard-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 20px;
}

.dashboard-title h1 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dashboard-title p {
    color: var(--color-text-muted);
    margin-top: 5px;
}

.dashboard-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-secondary {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    color: var(--color-text-main);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--color-text-muted);
}

.btn-export {
    background: linear-gradient(135deg, var(--accent-blue), #00a2ff);
    color: #000000;
    border: none;
}

.btn-export:hover {
    box-shadow: var(--shadow-blue);
}

/* Statistics Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}

.stat-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.stat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.stat-card-icon {
    font-size: 1.5rem;
}

.stat-card-icon.gold {
    color: var(--accent-gold);
}

.stat-card-icon.blue {
    color: var(--accent-blue);
}

.stat-card-value {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-top: 15px;
}

.stat-card-desc {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 8px;
}

/* Filters & Table Card */
.table-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
}

.table-card-filters {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-left h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
}

.filter-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-select {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-glass);
    color: var(--color-text-main);
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: var(--font-sans);
    outline: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-select:focus {
    border-color: var(--accent-gold);
}

.table-responsive {
    overflow-x: auto;
    width: 100%;
}

.visitor-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

.visitor-table th {
    background-color: rgba(0, 0, 0, 0.2);
    color: var(--color-text-muted);
    font-weight: 600;
    padding: 16px 24px;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-glass);
}

.visitor-table td {
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    vertical-align: middle;
}

.visitor-table tr:hover td {
    background-color: rgba(255, 255, 255, 0.01);
}

.visitor-table tr:last-child td {
    border-bottom: none;
}

.badge-device {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-device.mobile {
    background-color: rgba(0, 240, 255, 0.1);
    color: var(--accent-blue);
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.badge-device.desktop {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-text-main);
    border: 1px solid var(--border-glass);
}

.badge-device.tablet {
    background-color: rgba(255, 200, 0, 0.1);
    color: var(--accent-gold);
    border: 1px solid rgba(255, 200, 0, 0.2);
}

.badge-utm {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.badge-utm.has-value {
    background-color: rgba(255, 200, 0, 0.05);
    border-color: rgba(255, 200, 0, 0.2);
    color: var(--accent-gold);
}

.empty-state {
    padding: 60px;
    text-align: center;
    color: var(--color-text-muted);
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

/* ==========================================================================
   7. KEYFRAME ANIMATIONS
   ========================================================================== */
@keyframes fadeInNavbar {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatAnimation {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(1deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes floatShadow {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(0.85);
        opacity: 0.6;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 6px rgba(255, 200, 0, 0.45));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 18px rgba(255, 200, 0, 0.85));
    }

    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 6px rgba(255, 200, 0, 0.45));
    }
}

@keyframes pulseRed {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 56, 56, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 56, 56, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 56, 56, 0);
    }
}

/* ==========================================================================
   8. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1200px) {
    .hero-container {
        padding: 0 30px;
        gap: 30px;
    }

    .hero-logo-box img {
        max-width: 280px;
    }

    .character-box {
        max-width: 500px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .hero-container {
        padding: 0 30px 25px;
        /* Removed top padding, kept side margins to prevent edge cropping */
        gap: 10px;
        justify-content: space-around;
        position: relative;
    }

    .navbar-right {
        display: none;
        /* Hide Live badge on mobile to match screenshot exactly */
    }

    .hero-logo-box {
        position: static;
        width: 100%;
        justify-content: center;
        margin-top: -30px;
        margin-bottom: -60px;
        /* Pull logo closer to the header and content below on mobile */
    }

    .hero-logo-box img {
        max-width: 270px;
        /* Highly enlarged centering logo below navbar */
    }

    .hero-split-middle {
        display: grid;
        grid-template-areas:
            "line1 character"
            "line2 character";
        grid-template-columns: 0.85fr 1.15fr;
        /* Shift balance slightly for larger texts */
        width: 100%;
        align-items: center;
        gap: 0 15px;
        /* Removed row gap to pull text lines closer */
    }

    .line-1 {
        grid-area: line1;
        justify-self: center;
    }

    .line-2 {
        grid-area: line2;
        justify-self: center;
        margin-top: -20px;
        /* Force Line 2 to sit closer to Line 1 */
    }

    .hero-character-side {
        grid-area: character;
    }

    .title-line {
        max-width: 420px;
        /* Enlarged bold title text lines on mobile */
    }

    .hero-character-side {
        width: 100%;
    }

    .character-box {
        max-width: 340px;
        /* Giant character container on mobile! */
        margin: 0 auto;
    }

    .character-img {
        max-height: 45vh;
        /* Massive vertical footprint */
        width: 100%;
        /* Force width to prevent horizontal overflow cropping */
        object-fit: contain;
    }

    .hero-cta-bottom {
        position: relative;
        /* Use relative positioning to force visual shift up in flexbox */
        justify-content: center;
        top: -60px;
        right: auto; /* Reset desktop positioning */
        left: auto;
        /* Pulled button up much closer to character and texts */
        margin-top: 0;
        z-index: 15;
        width: 100%;
    }

    .cta-box {
        margin-top: 5px;
        /* Restore mobile margin */
    }

    .play-btn img {
        height: 95px;
        /* Extra enlarged solid centered button below both */
        filter: drop-shadow(0 0 8px rgba(255, 200, 0, 0.5));
        /* Mobile golden glow */
    }

    .navbar {
        padding: 8px 20px;
        height: 50px;
    }

    .navbar-brand img {
        height: 28px;
    }
}

@media (max-width: 768px) {
    .footer-features {
        display: none;
        /* Hide features card on mobile to fit perfectly in 100vh */
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .dashboard-actions {
        width: 100%;
        justify-content: space-between;
    }

    .table-card-filters {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-right {
        width: 100%;
    }

    .filter-select {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding: 0 20px 20px;
        /* Removed top padding, kept safe margins for small phones */
        gap: 10px;
    }

    .hero-logo-box img {
        max-width: 210px;
        /* Highly enlarged logo for small mobile */
    }

    .hero-split-middle {
        gap: 0 10px;
        grid-template-columns: 0.85fr 1.15fr;
        /* Shift horizontal balance on small smartphones */
    }

    .title-line {
        max-width: 280px;
        /* Highly enlarged phone title lines */
    }

    .character-box {
        max-width: 230px;
        /* Highly scaled up on small mobile! */
    }

    .character-img {
        max-height: 42vh;
        /* Viewport height-relative cap for smartphones */
    }

    .hero-cta-bottom {
        top: -45px;
        /* Pulled button up even further on smartphones */
    }

    .play-btn img {
        height: 65px;
        /* Extra enlarged smartphone button */
    }

    .navbar {
        padding: 6px 12px;
    }

    .navbar-right {
        gap: 6px;
    }

    .badge-live {
        padding: 4px 6px;
        font-size: 0.65rem;
    }

    .admin-card {
        padding: 25px 20px;
    }
}