       :root {
            --bg-dark: #050510;
            --primary-blue: #00aaff;
            --primary-magenta: #ff00aa;
            --glass-bg: rgba(255,255,255,.05);
            --glass-border: rgba(255,255,255,.1);
            --text-white: #fff;
            --accent-gradient: linear-gradient(90deg,#8e54ff,#d06aff)
        }

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

        body {
            font-family: 'Inter',sans-serif;
            background-color: var(--bg-dark);
            color: var(--text-white);
            display: flex;
            justify-content: center;
            overflow-x: hidden;
            min-height: 100vh
        }

        .app-container {
            width: 100%;
            max-width: 1000px;
            min-height: 100vh;
            padding: 20px;
            padding-bottom: 140px;
            background: radial-gradient(circle at top right,#1a1a3a,transparent);
            transition: all .3s ease;
            position: relative; /* Clave para que el marco absoluto no se mueva */
        }

        /* 1. Superposición del Marco Superior sobre tu Header */
        .marco-mundial-top {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 140px; 
            background-image: url('mezico.png'); 
            background-repeat: no-repeat;
            background-position: top center;
            background-size: 100% 100%;
            z-index: 10; /* Se superpone por encima del header */
            pointer-events: none; /* Permite clickear los botones de abajo si se enciman */
        }

        h1,h2,h3,.hero-title,.brand-text h1 {
            font-family: 'Orbitron',sans-serif
        }

        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
            position: relative;
            z-index: 5;
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 12px
        }

        .brand-logo {
            width: 45px;
            height: 45px
        }

        .brand-logo img {
            width: 100%;
            height: 100%;
            object-fit: contain
        }

        .brand-text h1 {
            font-size: 1rem;
            letter-spacing: 1px
        }

        .brand-text p {
            font-size: .65rem;
            opacity: .6;
            letter-spacing: 2px
        }

        .btn-download {
            background: rgba(255,255,255,.08);
            border: 1px solid var(--glass-border);
            color: #fff;
            padding: 8px 14px;
            border-radius: 20px;
            font-size: .7rem;
            text-transform: uppercase;
            font-weight: 700;
            cursor: pointer;
            text-decoration: none;
            transition: .3s
        }

        .hero-card {
            position: relative;
            width: 100%;
            height: 450px;
            border-radius: 30px;
            overflow: hidden;
            display: flex;
            align-items: flex-end;
            margin-bottom: 25px;
            border: 1px solid var(--glass-border);
            background: linear-gradient(to top,rgba(5,5,16,.95),transparent),url(https://i.ibb.co/TBXt0Zdq/IMG-20250824-220600-992.jpg);
            background-size: cover;
            background-position: center
        }

        .hero-content {
            padding: 30px;
            width: 100%
        }

        .welcome-tag {
            font-family: 'Orbitron';
            font-size: .7rem;
            color: var(--primary-blue);
            margin-bottom: 10px
        }

        .hero-title {
            font-size: 2.2rem;
            line-height: 1.1;
            margin-bottom: 15px
        }

        .hero-title span {
            color: transparent;
            -webkit-text-stroke: 1px #fff;
            background: linear-gradient(90deg,#a582ff,#f107a3);
            -webkit-background-clip: text;
            background-clip: text
        }

        .hero-actions {
            display: flex;
            gap: 12px
        }

        .btn-main {
            background: var(--accent-gradient);
            border: none;
            color: #fff;
            padding: 12px 24px;
            border-radius: 25px;
            font-weight: 700;
            font-size: .85rem;
            text-decoration: none
        }

        .btn-outline {
            background: rgba(0,0,0,.4);
            border: 1px solid rgba(255,255,255,.2);
            color: #fff;
            padding: 12px 24px;
            border-radius: 25px;
            font-weight: 700;
            backdrop-filter: blur(10px);
            text-decoration: none
        }

        .nav-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit,minmax(100px,1fr));
            gap: 12px;
            margin-bottom: 30px
        }

        .nav-card {
            background: var(--glass-bg);
            border: 1px solid var(--glass-border);
            padding: 25px 15px;
            border-radius: 24px;
            text-align: center;
            backdrop-filter: blur(12px);
            text-decoration: none;
            color: #fff;
            transition: .3s
        }

        .nav-card:hover {
            transform: translateY(-5px);
            background: rgba(255,255,255,.1)
        }

        .nav-icon {
            font-size: 1.5rem;
            display: block;
            margin-bottom: 10px;
            color: var(--primary-blue)
        }

        .nav-card p {
            font-size: .7rem;
            font-weight: 700;
            letter-spacing: 1px
        }

        .footer-info {
            background: var(--glass-bg);
            border: 1px solid var(--glass-border);
            border-radius: 24px;
            padding: 20px
        }

        .footer-info h3 {
            font-size: .8rem;
            margin-bottom: 15px;
            color: var(--primary-blue);
            letter-spacing: 2px
        }

        .info-link {
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: #fff;
            text-decoration: none;
            padding: 12px 0;
            border-bottom: 1px solid rgba(255,255,255,.05);
            font-size: .85rem
        }

        .info-link i {
            color: var(--primary-magenta)
        }

        .social-row {
            display: flex;
            justify-content: space-between;
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid rgba(255,255,255,.1);
            flex-wrap: wrap;
            gap: 10px
        }

        .social-icon {
            width: 42px;
            height: 42px;
            background: rgba(255,255,255,.03);
            border: 1px solid var(--glass-border);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            color: #fff;
            font-size: 1.2rem;
            transition: .3s
        }

        .social-icon:hover {
            background: var(--accent-gradient);
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(142,84,255,.4)
        }

        footer {
            margin-top: 40px;
            font-size: 12px;
            color: #aaa;
            text-align: center;
            opacity: .5
        }

        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100%;
            max-width: 1000px;
            background: rgba(5,5,16,.9);
            backdrop-filter: blur(20px);
            display: flex;
            justify-content: space-around;
            padding: 15px 10px 25px 10px;
            border-top: 1px solid var(--glass-border);
            z-index: 100;
            border-radius: 20px 20px 0 0
        }

        .tab-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 5px;
            opacity: .4;
            text-decoration: none;
            color: #fff;
            transition: .3s
        }

        .tab-item.active {
            opacity: 1;
            color: var(--primary-blue)
        }

        .tab-item.has-trend {
            opacity: 1;
            color: var(--primary-magenta);
            text-shadow: 0 0 10px var(--primary-magenta)
        }

        .tab-item i {
            font-size: 1.2rem
        }

        .tab-item span {
            font-size: .6rem;
            font-weight: 700;
            text-transform: uppercase
        }

        @media (min-width:768px) {
            .hero-card { height: 350px }
            .hero-title { font-size: 3rem }
            .nav-grid { grid-template-columns: repeat(2,1fr) }
            .brand-text h1 { font-size: 1.5rem }
        }

        @media (max-width: 768px) {
            .marco-mundial-top { height: 95px; }
            .temporizador-contenedor { margin: 2px auto 2px auto; padding: 6px 14px; }
            #countdown { font-size: 14px; }
        }
        /* Balones en las esquinas inferiores */
        .balon {
            position: absolute;
            font-size: 14px;
            bottom: 2px;
        }
        .balon-izq { left: 4px; }
        .balon-der { right: 4px; }