/** {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Filson', 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Banner Section */
.banner {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 0px 0px;
    background-color: #fff;
}

.banner-image {
    width: 100%;
    height: 100%;
    position: relative;
}

    .banner-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top;
        filter: brightness(0.8);
    }

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.6) 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 275px;
}

/* Logo */
.logo {
    width: 200px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

    .logo:hover {
        transform: scale(1.05);
    }

    .logo img {
        width: 175px;
        height: auto;
    }

/* Banner Buttons */
.banner-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    align-items: flex-end;
}

.content-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 10px 10px;
    border-radius: 25px;
    font-family: 'DIN Bold Italic 2014', 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 220px;
    text-align: center;
    height: 60px;
}

    .content-btn:hover {
        background: rgba(255, 255, 255, 1);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }

    .content-btn.active {
        background: #e74c3c;
        color: white;
        box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    }

        .content-btn.active:hover {
            background: #c0392b;
            transform: translateY(-2px);
        }

/* Content Container */
.content-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 30px;
}

.content-section {
    display: none;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    animation: fadeIn 0.5s ease-in-out;
}

    .content-section.active {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section h2 {
    color: #2c3e50;
    font-family: 'Filson Medium', 'Inter', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

    .content-section h2::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 60px;
        height: 4px;
        background: linear-gradient(90deg, #e74c3c, #f39c12);
        border-radius: 2px;
    }

.content-section h3 {
    color: #34495e;
    font-family: 'Filson Pro Bold Italic', 'Inter', sans-serif;
    font-size: 1.5rem;
    margin: 30px 0 15px 0;
    padding-top: 20px;
    border-top: 2px solid #ecf0f1;
}

.content-section p {
    font-family: 'Filson', 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
    text-align: justify;
}

.content-section ul {
    margin: 20px 0;
    padding-left: 30px;
}

.content-section li {
    font-family: 'Filson', 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 10px;
    color: #555;
}

.content-section a {
    color: #e74c3c;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .content-section a:hover {
        color: #c0392b;
        text-decoration: underline;
    }

/* Table Styles */
.table-container {
    margin: 30px 0;
    overflow-x: auto;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

    .info-table th {
        background: linear-gradient(135deg, #e74c3c, #c0392b);
        color: white;
        padding: 15px;
        text-align: left;
        font-weight: 600;
        font-size: 1.1rem;
    }

    .info-table td {
        padding: 15px;
        border-bottom: 1px solid #ecf0f1;
        font-size: 1rem;
        line-height: 1.6;
    }

    .info-table tr:last-child td {
        border-bottom: none;
    }

    .info-table tr:hover {
        background-color: #f8f9fa;
    }

.content-section h4 {
    color: #34495e;
    font-family: 'Filson Pro Bold Italic', 'Inter', sans-serif;
    font-size: 1.3rem;
    margin: 25px 0 15px 0;
    padding-top: 15px;
    border-top: 1px solid #ecf0f1;
}

.content-section h5 {
    color: #2c3e50;
    font-family: 'Filson Pro Bold Italic', 'Inter', sans-serif;
    font-size: 1.1rem;
    margin: 20px 0 10px 0;
    font-weight: 600;
}

/* Travel Around Buttons */
.travel-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    justify-content: center;
}

.travel-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #e74c3c;
    padding: 15px 30px;
    border-radius: 25px;
    font-family: 'DIN Bold Italic 2014', 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    text-align: center;
}

    .travel-btn:hover {
        background: rgba(231, 76, 60, 0.1);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(231, 76, 60, 0.2);
    }

    .travel-btn.active {
        background: #e74c3c;
        color: white;
        box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    }

        .travel-btn.active:hover {
            background: #c0392b;
            transform: translateY(-2px);
        }

/* Travel Content */
.travel-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

    .travel-content.active {
        display: block;
    }

.content-section h4 {
    color: #34495e;
    font-family: 'Filson Pro Bold Italic', 'Inter', sans-serif;
    font-size: 1.3rem;
    margin: 25px 0 15px 0;
    padding-top: 15px;
    border-top: 1px solid #ecf0f1;
}

/* Responsive Design */
@media (max-width: 768px) {

    /* Banner Mobile */
    .banner {
        height: 300px;
    }

    .banner-overlay {
        padding: 20px;
        flex-direction: column;
        gap: 20px;
    }

    .logo {
        width: 150px;
        padding: 20px;
    }

        .logo img {
            width: 150px;
        }

    .banner-buttons {
        align-items: center;
        gap: 10px;
    }

    .content-btn {
        min-width: 140px;
        padding: 10px 20px;
        font-size: 14px;
    }

    .content-container {
        padding: 0 20px;
    }

    .content-section {
        padding: 30px 20px;
        margin: 30px 0 20px 0;
    }

        .content-section h2 {
            font-size: 2rem;
        }

        .content-section p {
            font-size: 1rem;
        }
}

@media (max-width: 480px) {
    .banner {
        height: 250px;
    }

    .banner-buttons {
        flex-direction: column;
        width: 100%;
    }

    .content-btn {
        width: 100%;
        min-width: auto;
    }
}

/* ==================== CONSOLIDATED GLOBAL STYLES ==================== */

/* Font Face - MontserratAlternates-Bold (used across multiple pages) */
@font-face {
    font-family: "MontserratAlternates-Bold";
    src: url(/fonts/MontserratAlternates-Bold.ttf) format("truetype");
}

.logo-font {
    font-family: "MontserratAlternates-Bold", sans-serif;
}

.logo-icon {
    width: 6%;
    margin-right: 5px;
    display: inline;
}

@media (min-width:770px) {
    .logo-icon {
        margin-right: 9px;
    }
}

/* Loader Spinner (used across multiple pages) */
.loader-spinner {
    border-width: 4px;
    border-style: solid;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    animation: spin 0.8s linear infinite;
    border-color: #2563eb transparent #2563eb #2563eb;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#pageLoader.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

/* Dropdown menu styles (used in navbar across pages) */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    z-index: 100;
}

.dropdown-submenu {
    display: none;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 101;
}

.dropdown-menu::before {
    content: "";
    display: block;
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

.dropdown-submenu::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: -20px;
    width: 20px;
    height: 100%;
    background: transparent;
}

@media (min-width: 768px) {
    .dropdown:hover > .dropdown-menu {
        display: block;
        position: absolute;
        top: 100%;
        right: 0;
        margin-top: 0.5rem;
        animation: fadeIn 0.3s ease;
    }

    .dropdown-sub:hover > .dropdown-submenu {
        display: block;
        position: absolute;
        top: 0;
        left: 100%;
        margin-left: 0.5rem;
        animation: fadeIn 0.3s ease;
    }
}

@media (max-width: 768px) {
    .dropdown-menu, .dropdown-submenu {
        position: static;
        box-shadow: none;
        border-left: 2px solid #e5e7eb;
        width: 100%;
    }

    .show-mobile {
        display: block !important;
    }
}

/* ==================== PAGE-SPECIFIC STYLES ==================== */

/* Login Page Styles */
.login-container {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.password-toggle {
    cursor: pointer;
    user-select: none;
}

/* Index/Home Page Styles */
.hero-slider {
    height: 100vh;
}

@media (max-width: 768px) {
    .hero-slider {
        height: 60vh;
    }
}

@media (max-width: 500px) {
    .hero-slider {
        height: 25vh;
    }
}

/* Mobile styles for hero carousel - All mobile/tablet devices including iPad Pro */
@media (max-width: 1024px) {
    /* Remove h-screen from section on mobile */
    .hero-slider {
        height: auto !important;
        min-height: auto !important;
    }

    /* Change padding to 10px on mobile/tablet */
    .hero-slider > div {
        padding: 10px !important;
        padding-top: 95px !important;
    }

    /* Remove border radius on mobile/tablet */
    .hero-slider .rounded-l-2xl, .rounded-r-2xl {
        border-radius: 0 !important;
        width: 100%;
    }

    /* Remove h-full from parent flex container on mobile/tablet */
    .hero-slider > div {
        height: auto !important;
    }

    /* Force column layout for iPad Pro and below */
    .hero-slider .lg\:flex-row {
        flex-direction: column !important;
    }

    /* Container width adjustments - Carousel */
    .hero-slider .lg\:w-\[75\%\] {
        width: 100% !important;
        max-width: 700px;
        margin: 0 auto;
    }

    /* Container width adjustments - Content */
    .hero-slider .lg\:w-\[25\%\] {
        width: 100% !important;
        max-width: 700px;
        margin: 0 auto;
    }
}

/* Below 1024px - adjust padding-top */
@media (max-width: 1023px) {
    .hero-slider > div {
        padding-top: 82px !important;
    }
}

/* Small mobile - up to 767px */
@media (max-width: 767px) {
    /* Match about section carousel dimensions - h-55 */
    .hero-slider #carousel,
    .hero-slider .lg\:w-\[75\%\] {
        height: 220px !important;
        max-width: 700px;
        margin: 0 auto;
    }
}

/* Tablet and larger mobile - 768px to 1366px (includes iPad Pro) */
@media (min-width: 768px) and (max-width: 1024px) {
    /* Match about section carousel dimensions - h-96 */
    .hero-slider #carousel,
    .hero-slider .lg\:w-\[75\%\] {
        height: 384px !important;
        /*max-width: 700px;*/
        margin: 0 auto;
    }
}

/* Anti-save deterrents for gallery */
.no-save, .no-save * {
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.gallery-tile {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: zoom-in;
    -webkit-user-drag: none;
}

#gallery, #lightbox, #galleryGrid, .gallery-tile, #lbImage {
    touch-action: manipulation;
}

/* ==================== BADGE PAGE PRINT STYLES ==================== */

@page {
    size: A4 portrait;
    margin: 0;
}

.poster-container {
    width: 210mm;
    height: 297mm;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    position: relative;
}

.fold-line-vertical {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: repeating-linear-gradient(0deg, #999 0, #999 3px, transparent 3px, transparent 8px);
    z-index: 1000;
    pointer-events: none;
}

.fold-line-horizontal {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: repeating-linear-gradient(90deg, #999 0, #999 3px, transparent 3px, transparent 8px);
    z-index: 1000;
    pointer-events: none;
}

@media print {
    .fold-line-vertical,
    .fold-line-horizontal {
        display: none;
    }
}

.panel {
    padding: 6mm;
    position: relative;
    overflow: hidden;
}

.panel-top-left {
    background: #fff;
    border-right: 0.5mm solid #ccc;
    border-bottom: 0.5mm solid #ccc;
}

.panel-top-right {
    background: #fff;
    border-bottom: 0.5mm solid #ccc;
}

.panel-bottom-left {
    background: #ffffff;
    border-right: 0.5mm solid #ccc;
}

.panel-bottom-right {
    background: #fff;
}

.logo-header {
    text-align: center;
    margin-bottom: 3mm;
}

.logo-header img {
    height: 12mm;
}

.agenda-section-title {
    background: #d0d0d0;
    padding: 2mm 3mm;
    margin: 0 -6mm 3mm -6mm;
    font-size: 9pt;
    font-weight: bold;
    border-left: 4mm solid #1a5490;
}

.session {
    background: #fff;
    padding: 2.5mm;
    margin-bottom: 2mm;
    border-left: 2.5mm solid #f39c12;
    font-size: 7.5pt;
    line-height: 1.3;
}

.session-time {
    font-weight: bold;
    color: #1a5490;
    margin-bottom: 0.5mm;
}

.session-title {
    margin-bottom: 0.5mm;
    line-height: 1.2;
    font-weight: 600;
}

.session-detail {
    color: #666;
    font-size: 7pt;
    font-style: italic;
}

.badge-container {
    border: 2.5mm solid #1a5490;
    border-radius: 2mm;
    padding: 5mm;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, #f8f8f8 0%, #fff 50%, #f8f8f8 100%);
}

.badge-logo {
    text-align: center;
    margin-bottom: 2mm;
}

.badge-logo img {
    height: 10mm;
}

.badge-title {
    text-align: center;
    font-size: 7.5pt;
    color: #666;
    margin-bottom: 3mm;
}

.badge-title h3 {
    font-size: 8.5pt;
    margin-bottom: 1mm;
    font-weight: bold;
    color: #333;
}

.participant-name-card {
    text-align: center;
    padding: 4mm 0;
    border-top: 2px solid #1a5490;
    border-bottom: 2px solid #1a5490;
    margin: 2mm 0;
    background: #fff;
}

.name-large {
    font-size: 18pt;
    font-weight: bold;
    color: #1a5490;
    margin-bottom: 1.5mm;
    line-height: 1.1;
}

.role-text {
    font-size: 10pt;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 3mm;
}

.qr-section {
    width: 20mm;
    height: 20mm;
    background: #fff;
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-section img {
    width: 100%;
    height: 100%;
}

.badge-icon {
    width: 16mm;
}

.badge-icon img {
    width: 100%;
    height: auto;
}

.venue-header {
    background: #1a5490;
    color: #fff;
    padding: 3mm;
    margin: -6mm -6mm 4mm -6mm;
    text-align: center;
}

.venue-header h3 {
    font-size: 10pt;
    font-weight: bold;
    margin-bottom: 1mm;
}

.venue-header p {
    font-size: 7.5pt;
    opacity: 0.9;
}

.venue-content {
    display: flex;
    flex-direction: column;
    gap: 3mm;
    height: calc(100% - 4mm);
}

.venue-info {
    font-size: 7.5pt;
    flex: 0 0 auto;
}

.info-row {
    display: flex;
    gap: 2mm;
    margin-bottom: 2mm;
    align-items: flex-start;
}

.info-label {
    font-weight: bold;
    color: #1a5490;
    white-space: nowrap;
    min-width: 18mm;
}

.info-value {
    flex: 1;
    line-height: 1.3;
}

.venue-map {
    flex: 1;
    background: #fff;
    border: 2px solid #ccc;
    border-radius: 2mm;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 40mm;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.contact-box {
    background: #f8f8f8;
    padding: 2.5mm;
    border-left: 2.5mm solid #f39c12;
    font-size: 7pt;
    line-height: 1.4;
}

.contact-box strong {
    color: #1a5490;
    display: block;
    margin-bottom: 1mm;
}

.venue-notes {
    font-size: 6pt;
    color: #999;
    font-style: italic;
    text-align: center;
}

@media print {
    .poster-container {
        page-break-after: avoid;
        page-break-inside: avoid;
    }
    .panel {
        page-break-inside: avoid;
    }
}

/* ========================================
   GAME PAGES STYLES
   ======================================== */

/* Global Game Utility Classes */
.neon-catcher-body .hidden,
.neon-jump-body .hidden,
.cosmic-stacker-body .hidden,
.game-container .hidden {
    display: none !important;
}

/* === Neon Catcher Game (game.html) === */
.neon-catcher-body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #1a1a2e;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    overflow: hidden;
}

.neon-catcher-body h1 {
    margin-bottom: 10px;
    font-weight: 300;
    letter-spacing: 2px;
}

.neon-catcher-body canvas {
    display: block;
    background-color: #0f0f1a;
    cursor: none;
}

.neon-catcher-body #ui-layer,
.cosmic-stacker-body #ui-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.neon-catcher-body #ui-layer {
    justify-content: center;
}

.cosmic-stacker-body #ui-layer {
    justify-content: flex-start;
}

.neon-jump-body #ui-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hud {
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 20px;
    color: #00ffcc;
    font-weight: bold;
}

#startScreen, #gameOverScreen {
    background: rgba(0, 0, 0, 0.85);
    padding: 30px;
    margin: 15px;
    border-radius: 10px;
    text-align: center;
    pointer-events: auto;
    border: 1px solid #444;
}

.neon-catcher-body button {
    background: #e94560;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 15px;
    transition: background 0.2s;
}

.neon-catcher-body button:hover {
    background: #ff2e4d;
}

.score-big {
    font-size: 48px;
    color: #00ffcc;
    margin: 10px 0;
}

/* === Neon Jump Game (game2.html) === */
:root {
    --neon-blue: #00eaff;
    --neon-pink: #ff00de;
    --neon-yellow: #ffdd00;
    --neon-red: #ff3333;
    --glass-bg: rgba(10, 10, 15, 0.95);
}

.neon-jump-body {
    margin: 0;
    padding: 0;
    background-color: #050505;
    overflow: hidden;
    font-family: 'Courier New', Courier, monospace;
    touch-action: manipulation;
    user-select: none;
    position: fixed;
    width: 100%;
    height: 100%;
}

.neon-jump-body canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.neon-jump-body .hud-container {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 15px;
    border: 2px solid var(--neon-blue);
    border-radius: 10px;
    background: rgba(0, 234, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 234, 255, 0.3);
    text-align: left;
    pointer-events: none;
    min-width: 80px;
    transition: all 0.5s ease;
}

.neon-jump-body .hud-danger {
    border-color: var(--neon-red);
    box-shadow: 0 0 20px rgba(255, 51, 51, 0.5);
    animation: pulse-border 1s infinite;
}

@keyframes pulse-border {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.neon-jump-body .score-group {
    margin-bottom: 5px;
}

.neon-jump-body .score-label {
    color: var(--neon-blue);
    font-size: 12px;
    margin-bottom: 2px;
    opacity: 0.8;
}

.neon-jump-body .score-val {
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 0 0 5px var(--neon-blue);
    line-height: 1;
}

.neon-jump-body .best-val {
    color: var(--neon-yellow);
    font-size: 18px;
    text-shadow: 0 0 5px var(--neon-yellow);
}

.neon-jump-body #warningText {
    position: absolute;
    top: 20%;
    width: 100%;
    text-align: center;
    font-size: 40px;
    font-weight: bold;
    color: var(--neon-red);
    text-shadow: 0 0 10px var(--neon-red);
    letter-spacing: 5px;
    opacity: 0;
    transition: opacity 0.5s;
}

.neon-jump-body .show-warning {
    opacity: 1 !important;
    animation: blink 0.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

.neon-jump-body .screen {
    background: var(--glass-bg);
    padding: 20px;
    border-radius: 15px;
    border: 2px solid var(--neon-pink);
    text-align: center;
    pointer-events: auto;
    box-shadow: 0 0 40px rgba(255, 0, 222, 0.3);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.5s ease;
    width: 90%;
    max-width: 400px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.neon-jump-body .screen.visible {
    opacity: 1;
}

.neon-jump-body .title {
    color: white;
    font-size: 32px;
    margin: 0 0 15px 0;
    text-shadow: 3px 3px 0px var(--neon-pink), -2px -2px 10px var(--neon-blue);
    letter-spacing: 2px;
}

.neon-jump-body .btn {
    background: linear-gradient(45deg, var(--neon-pink), #ad009d);
    color: white;
    border: none;
    padding: 12px 40px;
    font-size: 18px;
    font-family: inherit;
    font-weight: bold;
    cursor: pointer;
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(255, 0, 222, 0.5);
    transition: transform 0.1s, box-shadow 0.1s;
    text-transform: uppercase;
    margin-top: 15px;
    width: 80%;
    pointer-events: auto;
}

.neon-jump-body .btn:active {
    transform: scale(0.95);
}

.neon-jump-body .lb-wrapper {
    width: 100%;
    margin-top: 10px;
}

.neon-jump-body .lb-title {
    color: var(--neon-blue);
    margin: 0 0 5px 0;
    text-align: left;
    font-size: 14px;
}

.neon-jump-body .lb-container {
    width: 100%;
    border: 1px solid #333;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.neon-jump-body .lb-header {
    display: flex;
    padding: 8px 10px;
    background: rgba(255, 0, 222, 0.2);
    color: var(--neon-blue);
    font-weight: bold;
    font-size: 12px;
    border-bottom: 1px solid var(--neon-pink);
}

.neon-jump-body .lb-scroll-area {
    max-height: 200px;
    overflow-y: auto;
}

.neon-jump-body .lb-scroll-area::-webkit-scrollbar {
    width: 4px;
}

.neon-jump-body .lb-scroll-area::-webkit-scrollbar-thumb {
    background: var(--neon-pink);
    border-radius: 3px;
}

.neon-jump-body .lb-row {
    display: flex;
    padding: 6px 10px;
    border-bottom: 1px solid #222;
    color: #ddd;
    font-size: 12px;
    transition: background 0.2s;
}

.neon-jump-body .lb-row.rank-1 {
    color: #FFD700;
    text-shadow: 0 0 10px #FFD700;
}

.neon-jump-body .lb-row.rank-2 {
    color: #C0C0C0;
    text-shadow: 0 0 8px #C0C0C0;
}

.neon-jump-body .lb-row.rank-3 {
    color: #CD7F32;
    text-shadow: 0 0 8px #CD7F32;
}

.neon-jump-body .lb-row.current-user {
    background: rgba(0, 234, 255, 0.15);
    border: 1px solid var(--neon-blue);
}

.neon-jump-body .col-rank {
    width: 15%;
    text-align: left;
}

.neon-jump-body .col-name {
    width: 60%;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.neon-jump-body .col-score {
    width: 25%;
    text-align: right;
    font-weight: bold;
}

.neon-jump-body .loader {
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--neon-blue);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    margin: 10px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* === Navigation Buttons (Neon Jump) === */
.neon-jump-body .nav-buttons {
    position: fixed;
    top: 0;
    left: 0;
    width: 98%;
    display: flex;
    justify-content: space-between;
    padding: 20px;
    z-index: 100;
    pointer-events: none;
}

.neon-jump-body .nav-btn {
    pointer-events: auto;
    background: rgba(0, 234, 255, 0.1);
    border: 2px solid var(--neon-blue);
    border-radius: 10px;
    padding: 10px 15px;
    color: var(--neon-blue);
    font-family: inherit;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 15px rgba(0, 234, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 44px;
    min-height: 44px;
}

.neon-jump-body .nav-btn:hover {
    background: rgba(0, 234, 255, 0.2);
    box-shadow: 0 0 25px rgba(0, 234, 255, 0.5);
    transform: translateY(-2px);
}

.neon-jump-body .nav-btn:active {
    transform: translateY(0);
}

.neon-jump-body .nav-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.neon-jump-body .nav-btn.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.neon-jump-body .nav-btn span {
    font-size: 12px;
}

/* Safe area support for mobile */
@supports (padding: env(safe-area-inset-top)) {
    .neon-jump-body .nav-buttons {
        padding-top: max(20px, env(safe-area-inset-top));
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
}

/* === View Container Transitions (Neon Jump) === */
.neon-jump-body .view-container {
    width: 100%;
    transition: opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: auto;
}

.neon-jump-body .view-active {
    opacity: 1;
    display: flex;
}

.neon-jump-body .view-hidden {
    opacity: 0;
    display: none;
}

/* === Player Cube (Neon Jump) === */
.neon-jump-body .cube-container {
    width: 200px;
    height: 200px;
    margin: 30px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.neon-jump-body .player-cube {
    width: 100px;
    height: 100px;
    background-color: #00eaff;
    box-shadow: 0 0 30px #00eaff, 0 0 60px rgba(0, 234, 255, 0.5);
    animation: rotatePlayerCube 3s infinite linear;
    will-change: transform;
}

@keyframes rotatePlayerCube {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .neon-jump-body .nav-buttons {
        width: 93%;
        left: 0;
        right: 0;
        padding: 15px;
    }

    .neon-jump-body .nav-btn span {
        display: none;
    }

    .neon-jump-body .nav-btn {
        padding: 10px;
        min-width: 44px;
        justify-content: center;
    }

    .neon-jump-body .screen {
        width: 95%;
        max-height: 85vh;
        padding: 15px;
        overflow-y: auto;
    }

    .neon-jump-body .title {
        font-size: 24px;
        margin: 10px 0;
    }

    .neon-jump-body .lb-wrapper {
        margin-top: 5px;
    }

    .neon-jump-body .lb-scroll-area {
        max-height: 150px;
    }

    .neon-jump-body .btn {
        width: 90%;
        padding: 14px 30px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .neon-jump-body .cube-container {
        width: 150px;
        height: 150px;
        margin: 20px auto;
    }

    .neon-jump-body .player-cube {
        width: 80px;
        height: 80px;
    }

    .neon-jump-body .screen {
        padding: 10px;
        max-height: 80vh;
    }

    .neon-jump-body .title {
        font-size: 20px;
    }
}

/* === Dual Board Container (Leaderboard + Rewards) === */
.neon-jump-body .dual-board-container {
    display: flex;
    flex-direction: row;
    gap: 15px;
    width: 100%;
    margin-top: 10px;
}

.neon-jump-body .dual-board-container > .lb-wrapper,
.neon-jump-body .dual-board-container > .rewards-wrapper {
    flex: 1;
    min-width: 0;
}

/* === Rewards Ladder Styling === */
.neon-jump-body .rewards-wrapper {
    width: 100%;
    margin-top: 10px;
}

.neon-jump-body .rewards-title {
    color: var(--neon-yellow);
    margin: 0 0 5px 0;
    text-align: left;
    font-size: 14px;
}

.neon-jump-body .rewards-container {
    width: 100%;
    border: 1px solid #333;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.neon-jump-body .rewards-header {
    display: flex;
    padding: 8px 10px;
    background: rgba(255, 221, 0, 0.2);
    color: var(--neon-yellow);
    font-weight: bold;
    font-size: 12px;
    border-bottom: 1px solid var(--neon-yellow);
}

.neon-jump-body .rewards-list {
    max-height: 200px;
    overflow-y: auto;
}

.neon-jump-body .rewards-list::-webkit-scrollbar {
    width: 4px;
}

.neon-jump-body .rewards-list::-webkit-scrollbar-thumb {
    background: var(--neon-yellow);
    border-radius: 3px;
}

/* === Reward Row Styling === */
.neon-jump-body .reward-row {
    display: flex;
    padding: 6px 10px;
    border-bottom: 1px solid #222;
    color: #888;
    font-size: 12px;
    transition: all 0.3s;
    align-items: center;
}

.neon-jump-body .reward-row.unlocked {
    color: #ddd;
    background: rgba(255, 221, 0, 0.1);
    border-left: 3px solid var(--neon-yellow);
}

.neon-jump-body .reward-row.locked {
    opacity: 0.5;
}

.neon-jump-body .col-target {
    width: 30%;
    text-align: left;
    font-weight: bold;
}

.neon-jump-body .col-reward {
    width: 55%;
    text-align: left;
}

.neon-jump-body .col-status {
    width: 15%;
    text-align: right;
    font-size: 14px;
}

.neon-jump-body .status-icon svg {
    display: inline-block;
    vertical-align: middle;
}

.neon-jump-body .status-icon.unlocked svg {
    stroke: var(--neon-yellow);
    filter: drop-shadow(0 0 4px var(--neon-yellow));
}

.neon-jump-body .status-icon.locked svg {
    stroke: #444;
}

/* === Responsive - Mobile Stacking === */
@media (max-width: 768px) {
    .neon-jump-body .dual-board-container {
        flex-direction: column;
        gap: 10px;
    }

    .neon-jump-body .rewards-list {
        max-height: 150px;
    }

    .neon-jump-body .rewards-wrapper {
        margin-top: 5px;
    }
}

@media (max-width: 480px) {
    .neon-jump-body .rewards-title {
        font-size: 12px;
    }

    .neon-jump-body .rewards-header {
        font-size: 11px;
    }

    .neon-jump-body .reward-row {
        font-size: 11px;
    }

    .neon-jump-body .col-status {
        font-size: 12px;
    }
}

/* === Audio Toggle Button === */
.neon-jump-body .audio-toggle-btn {
    background: transparent;
    border: none;
    color: #00eaff;
    font-size: 12px;
    font-family: inherit;
    cursor: pointer;
    margin-top: 10px;
    padding: 5px 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.neon-jump-body .audio-toggle-btn:hover {
    color: #fff;
    text-shadow: 0 0 10px #00eaff;
    transform: scale(1.05);
}

.neon-jump-body .audio-toggle-btn:active {
    transform: scale(0.95);
}

/* === Cosmic Stacker Game (cosmic-stacker.html) === */
.cosmic-stacker-body {
    margin: 0;
    overflow-y: auto;
    background-color: #000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    touch-action: none;
    user-select: none;
    width: 100vw;
    height: 100vh;
    position: relative;
}

.cosmic-stacker-body #game-stage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    background: transparent;
}

.cosmic-stacker-body #game-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #1a2a6c, #000);
    transition: background 0.5s;
    z-index: 0;
}

.cosmic-stacker-body canvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.cosmic-stacker-body #score {
    margin-top: 15vh;
    font-size: 80px;
    font-weight: 900;
    line-height: 1;
    color: white;
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

@media (max-width: 600px) {
    .cosmic-stacker-body #score {
        font-size: 60px;
        margin-top: 12vh;
    }
}

.cosmic-stacker-body #high-score-display {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-align: right;
    text-shadow: 0 0 5px rgba(0, 243, 255, 0.5);
}

.cosmic-stacker-body #block-type-display {
    margin-top: 20px;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: white;
    text-shadow: 0 0 10px white;
    opacity: 0;
    transition: opacity 0.2s;
}

.cosmic-stacker-body #flash-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    opacity: 0;
    pointer-events: none;
    z-index: 15;
    transition: opacity 0.1s ease-out;
}

.cosmic-stacker-body .flash-active {
    opacity: 0.15 !important;
}

.cosmic-stacker-body #perfect-msg {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    font-size: 60px;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 20px #fff, 0 0 40px #00f3ff;
    opacity: 0;
    pointer-events: none;
    z-index: 16;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cosmic-stacker-body .show-perfect {
    opacity: 1 !important;
    transform: translate(-50%, -50%) scale(1.2) !important;
}

.cosmic-stacker-body .screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    /*justify-content: center;*/
    z-index: 20;
    pointer-events: auto;
    backdrop-filter: blur(5px);
}

.cosmic-stacker-body h1 {
    color: #00f3ff;
    font-size: 50px;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 10px;
    text-shadow: 0 0 20px #00f3ff;
    text-align: center;
}

@media (max-width: 600px) {
    .cosmic-stacker-body h1 {
        font-size: 36px;
        letter-spacing: 3px;
    }
}

.cosmic-stacker-body p {
    color: #ccc;
    font-size: 18px;
    margin-bottom: 20px;
    text-align: center;
    max-width: 80%;
    line-height: 1.5;
}

.cosmic-stacker-body .btn {
    background: transparent;
    color: #00f3ff;
    font-size: 24px;
    font-weight: bold;
    padding: 15px 50px;
    border: 2px solid #00f3ff;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

.cosmic-stacker-body .btn:hover {
    background: #00f3ff;
    color: #000;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.6);
    transform: scale(1.05);
}

.cosmic-stacker-body .btn:active {
    transform: scale(0.95);
}

.cosmic-stacker-body .btn-secondary {
    margin-top: 20px;
    font-size: 16px;
    padding: 10px 30px;
    border-color: #888;
    color: #888;
    box-shadow: none;
}

.cosmic-stacker-body .btn-secondary:hover {
    background: #888;
    color: #000;
    box-shadow: 0 0 15px rgba(136, 136, 136, 0.5);
}

.cosmic-stacker-body #final-score-display {
    color: white;
    font-size: 60px;
    font-weight: bold;
    margin-bottom: 20px;
}

.cosmic-stacker-body .leaderboard-container {
    width: 85%;
    max-width: 400px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #00f3ff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.1);
}

.cosmic-stacker-body .leaderboard-container .lb-header {
    color: #00f3ff;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(0, 243, 255, 0.3);
    padding-bottom: 5px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.cosmic-stacker-body .leaderboard-container .lb-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: monospace;
    font-size: 18px;
    color: #ccc;
}

.cosmic-stacker-body .leaderboard-container .lb-row.highlight {
    color: #ffd700;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
    background: rgba(255, 215, 0, 0.1);
    padding-left: 5px;
    padding-right: 5px;
    margin-left: -5px;
    margin-right: -5px;
    border-radius: 4px;
}

.cosmic-stacker-body .lb-rank {
    width: 30px;
}

.cosmic-stacker-body .lb-name {
    flex-grow: 1;
    text-align: left;
}

.cosmic-stacker-body .lb-score {
    width: 60px;
    text-align: right;
}

/* === Games List Page (games.html) === */
.game-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 1rem;
    padding: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.game-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transition: transform 0.5s ease;
}

.game-card:hover::before {
    transform: translate(-25%, -25%);
}

.game-card-content {
    position: relative;
    z-index: 1;
}

.game-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.game-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.game-description {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.game-card.cosmic-stacker {
    background: linear-gradient(135deg, #1a2a6c 0%, #00f3ff 100%);
}

.game-card.neon-jump {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa500 100%);
}

.game-card.real-vs-ai {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.high-score-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

/* Profile Page Verified Badge */
.fa-certificate {
    filter: drop-shadow(0 0 5px rgba(59, 130, 246, 0.5));
}

/* Remove eye icon in password*/
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}

/* === Real vs AI / Guess Game (guess.html) === */
.guess-body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1a1c2c 0%, #4a192c 100%);
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin: 0;
}

.guess-body * {
    box-sizing: border-box;
}

/* CSS Variables for Guess Game */
.guess-body {
    --primary-real: #00c853;
    --primary-ai: #d500f9;
    --card-bg: rgba(255, 255, 255, 0.1);
    --text-color: #ffffff;
}

/* Main Card Container with Glassmorphism */
.guess-body .game-container {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 500px;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    text-align: center;
    overflow: hidden;
    transition: height 0.3s ease;
}

/* Header & Progress Bar */
.guess-body .game-header h2 {
    font-size: 2rem;
    margin-bottom: 5px;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.guess-body .progress-container {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    margin: 15px 0 25px 0;
    overflow: hidden;
}

.guess-body .progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-real), var(--primary-ai));
    width: 0%;
    transition: width 0.4s ease;
}

/* Image Display */
.guess-body .image-area {
    position: relative;
    width: 100%;
    height: 350px;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
}

.guess-body .image-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 0.4s ease-in;
}

.guess-body .image-area img.loaded {
    opacity: 1;
}

/* Buttons */
.guess-body .controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.guess-body .btn {
    padding: 15px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    color: white;
    position: relative;
    overflow: hidden;
}

.guess-body .btn:disabled {
    filter: grayscale(0.8);
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.guess-body .btn-real {
    background: var(--primary-real);
    box-shadow: 0 4px 15px rgba(0, 200, 83, 0.3);
}

.guess-body .btn-ai {
    background: var(--primary-ai);
    box-shadow: 0 4px 15px rgba(213, 0, 249, 0.3);
}

.guess-body .btn:not(:disabled):hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.guess-body .btn:not(:disabled):active {
    transform: scale(0.96);
}

/* Feedback Overlay */
.guess-body .feedback-container {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.guess-body .feedback {
    font-weight: 700;
    font-size: 1.2rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.guess-body .feedback.show {
    opacity: 1;
    transform: translateY(0);
}

.guess-body .correct {
    color: #69f0ae;
    text-shadow: 0 0 10px rgba(105, 240, 174, 0.5);
}

.guess-body .wrong {
    color: #ff5252;
    text-shadow: 0 0 10px rgba(255, 82, 82, 0.5);
}

/* Results Screen */
.guess-body .hidden {
    display: none !important;
}

.guess-body #result-screen h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.guess-body #result-screen h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #ddd;
}

.guess-body #commentary {
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.guess-body .btn-restart {
    background: linear-gradient(45deg, #2196F3, #21CBF3);
    width: 100%;
}

/* Back Button */
.guess-body .btn-back {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    backdrop-filter: blur(10px);
}

.guess-body .btn-back:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-2px);
}

.guess-body .btn-back i {
    font-size: 16px;
}
/* ========================================
   Mission Board Modal Styles
   ======================================== */

/* Mission Modal Container */
#missionsModal {
    font-family: 'Inter', sans-serif;
}

/* Mission Tab Styles */
.mission-tab {
    background: white !important;
    color: #374151 !important;
    border: 1px solid #e5e7eb !important;
    font-weight: 600 !important;
}

.mission-tab.active {
    background: #1e3a8a !important;
    color: white !important;
    border-color: #1e3a8a !important;
}

.mission-tab:hover:not(.active) {
    background: #f3f4f6 !important;
    border-color: #1e40af !important;
}

/* Mission Item Cards */
.mission-item {
    background: white !important;
    border: 2px solid #e5e7eb !important;
}

.mission-item:hover {
    border-color: #3b82f6 !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

.mission-item.completed {
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom right, #f0fdf4, white) !important;
    border-color: #86efac !important;
}

/*.mission-item.completed::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 50px 50px 0;
    border-color: transparent #22c55e transparent transparent;
}*/

/* Mission Point Badge */
.mission-point-badge {
    background: #1e3a8a !important;
    color: white !important;
    font-weight: 700 !important;
    padding: 0.375rem 0.75rem !important;
    border-radius: 9999px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    font-size: 0.75rem !important;
}

/* Mission Progress Bars */
.mission-progress-bar {
    background: #e5e7eb !important;
    height: 0.5rem !important;
    border-radius: 9999px !important;
    overflow: hidden !important;
}

.mission-progress-fill {
    background: linear-gradient(to right, #1e40af, #3b82f6) !important;
    height: 100% !important;
    border-radius: 9999px !important;
    transition: width 0.5s ease !important;
}

/* Mission Icon Box */
.mission-icon-box {
    background: linear-gradient(to bottom right, #dbeafe, #bfdbfe) !important;
    width: 3rem !important;
    height: 3rem !important;
    border-radius: 0.75rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

/* Mission Check Badge */
.mission-check-badge {
    background: #22c55e !important;
    width: 1.5rem !important;
    height: 1.5rem !important;
    border-radius: 9999px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

/* Floating Mission Button */
#missionsFloatingBtn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 4rem;
    height: 4rem;
    background: linear-gradient(to bottom right, #2563eb, #1e3a8a);
    color: white;
    border-radius: 9999px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 40;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

#missionsFloatingBtn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.5);
}

/* Floating Button Pulse Animation */
@keyframes pulse-ring {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0;
    }
}

#missionsFloatingBtn::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(to right, #2563eb, #1e3a8a);
    opacity: 0;
    animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Mission Notification Badge */
#missionNotificationBadge {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    background: #ef4444;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 9999px;
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

/* Modal Header Background */
.modal-header-bg {
    background: linear-gradient(to right, #1e3a8a, #1e40af, #1e3a8a) !important;
}

/* Modal Stat Cards */
.modal-stat-card {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 0.75rem !important;
    padding: 1rem !important;
    text-align: center !important;
}

/* View Prizes Button */
.view-prizes-btn {
    background: linear-gradient(to right, #2563eb, #1e3a8a) !important;
    color: white !important;
    font-weight: 600 !important;
    padding: 0.625rem 1.5rem !important;
    border-radius: 0.75rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    transition: all 0.3s !important;
    border: none !important;
    text-decoration: none !important;
}

.view-prizes-btn:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
    transform: translateY(-2px) !important;
}
