:root {
    --font-black: 'Core Rhino 85 Black W01 Regular', sans-serif;
    --font-medium: 'Core Rhino 55 Medium W01 Rg', sans-serif;
    --font-regular: 'Core Rhino 45 Regular W01 Rg', sans-serif;
    --font-thin: 'Core Rhino 25 Thin W01 Regular', sans-serif;

    --primary-color: #ff6b00; /* Vibrant Orange */
    --secondary-color: #00a8ff; /* Sky Blue */
    --accent-color: #fbc531; /* Bright Yellow */
    --dark-color: #2f3640;
    --light-color: #f5f6fa;
    --white: #ffffff;
    
    --header-height: 100px;
}

@media (min-width: 1025px) {
    :root {
        --header-height: 80px;
    }
    .logo img {
        height: 60px !important;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent; /* Quitar azul en móviles */
}

/* Quitar el recuadro azul de enfoque en botones y enlaces */
:focus {
    outline: none !important;
}

/* Hacer que la selección sea invisible si llegara a ocurrir */
::selection {
    background: transparent;
    color: inherit;
}

::-moz-selection {
    background: transparent;
    color: inherit;
}

/* Evitar que las imágenes se pongan azules al intentar arrastrarlas */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

body {
    font-family: var(--font-regular);
    background-color: var(--light-color);
    color: var(--dark-color);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--white);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 8px solid #c8d400; 
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 70px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}

.close-mobile-menu {
    display: none;
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 3rem;
    color: var(--secondary-color);
    cursor: pointer;
    line-height: 1;
    font-family: var(--font-black);
    z-index: 1001;
}

.nav-item img {
    height: 50px;
    transition: all 0.3s ease;
}

.nav-item:hover img {
    transform: translateY(-3px);
}

.header-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    color: white;
    transition: transform 0.3s ease;
}

.header-whatsapp:hover {
    transform: scale(1.1);
}

.header-whatsapp .whatsapp-svg {
    width: 40px;
    height: 40px;
}

/* Hero Slider */


.hero-slider {
    margin-top: var(--header-height);
    width: 100%;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.main-swiper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide picture,
.swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.swiper-slide img {
    object-fit: contain;
}

/* Custom Swiper Styles */
.main-swiper .swiper-button-next, 
.main-swiper .swiper-button-prev {
    color: var(--white);
    background: rgba(0, 0, 0, 0.3); /* Un poco más visible */
    width: 55px; /* Círculo más grande */
    height: 55px;
    border-radius: 50%;
    z-index: 20;
    transition: all 0.3s ease;
}

.main-swiper .swiper-button-next:hover, 
.main-swiper .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: scale(1.1);
}

.main-swiper .swiper-pagination {
    display: none; /* Hide dots as requested */
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 22px; /* Flecha más pequeña */
    font-weight: bold;
}

.swiper-button-next {
    right: 20px;
}

.swiper-button-prev {
    left: 20px;
}

.swiper-pagination {
    bottom: 30px !important;
    z-index: 20;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--white);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: #0055b8;
    opacity: 1;
    width: 30px;
    border-radius: 6px;
    transition: width 0.3s ease;
}

/* Download Section */
.download-section {
    padding: 100px 0;
    background-color: var(--white);
    text-align: center;
}

.download-title {
    font-family: var(--font-black);
    font-size: 3.5rem;
    color: #0055b8;
    margin-bottom: 30px;
    line-height: 1.1;
    text-transform: uppercase;
}

.download-subtitle {
    font-family: var(--font-regular);
    font-size: 1.4rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.5;
}

.btn-legendary {
    display: inline-block;
    background-color: #e32e3b;
    color: var(--white);
    font-family: var(--font-medium);
    font-size: 1.5rem;
    padding: 20px 50px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(227, 46, 59, 0.3);
}

.btn-legendary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(227, 46, 59, 0.4);
    background-color: #f03e4b;
}

/* Free Downloads Section */
.free-downloads {
    padding: 80px 0;
    background-image: linear-gradient(rgba(245, 246, 250, 0.9), rgba(245, 246, 250, 0.9)), url('fondo/fondo-descargas.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    position: relative;
}

.free-downloads .container {
    position: relative;
}

.section-main-title {
    font-family: var(--font-black);
    font-size: 3rem;
    color: #0055b8;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.section-main-title .highlight {
    color: #e32e3b;
}

.free-swiper {
    padding: 20px 0 60px;
    margin: 0 -10px; /* Offset for card hover scale if needed */
    overflow: hidden;
}

.free-slide {
    height: auto;
    display: flex;
}

.free-card {
    background: #e8eff1;
    border-radius: 25px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    width: 100%;
    height: 100%;
    justify-content: space-between;
    backface-visibility: hidden;
    will-change: transform, box-shadow;
}

.free-card:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.thunder-trigger {
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Sayayin / Electric Effect on Hover */
.thunder-trigger:hover {
    transform: scale(1.1);
    animation: electric-shake 0.2s infinite;
}

.thunder-trigger:hover img {
    filter: drop-shadow(0 0 15px var(--lightning-color, #00a8ff)) brightness(1.2);
}

@keyframes electric-shake {
    0% { transform: scale(1.1) translate(0, 0); }
    25% { transform: scale(1.1) translate(2px, -2px); }
    50% { transform: scale(1.1) translate(-2px, 2px); }
    75% { transform: scale(1.1) translate(2px, 2px); }
    100% { transform: scale(1.1) translate(0, 0); }
}

.thunder-trigger:active {
    transform: scale(0.95);
}

.card-tag {
    font-family: var(--font-medium);
    color: #0055b8;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.character-name {
    font-family: var(--font-black);
    color: #0055b8;
    font-size: 1.6rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Exclusive Content Styles */
.exclusive-card {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.exclusive-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: #ff4500;
    color: white;
    padding: 5px 35px;
    font-family: var(--font-black);
    font-size: 0.8rem;
    transform: rotate(45deg);
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.3);
    z-index: 5;
}

.exclusive-promo-img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    margin-bottom: 10px;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.modal-card {
    background: white;
    padding: 40px;
    border-radius: 30px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    animation: modalPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    border: none;
    background: none;
    font-size: 2rem;
    cursor: pointer;
    color: #cbd5e1;
}

.promo-modal {
    padding: 0;
    overflow: hidden;
    max-width: 450px;
}

.promo-img-full {
    width: 100%;
    height: auto;
    display: block;
}

.character-img {
    width: 100%;
    margin-bottom: 25px;
}

.character-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.card-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.btn-pdf {
    font-family: var(--font-medium);
    font-size: 1.1rem;
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--white);
    transition: opacity 0.3s ease;
}

.btn-pdf:hover {
    opacity: 0.9;
}

.btn-download {
    background-color: #f05a28;
}

.btn-print {
    background-color: #5086c1;
}

.free-next, .free-prev {
    color: #0055b8 !important;
    width: 40px !important;
    height: 40px !important;
    background: white !important;
    border-radius: 50% !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
    top: 50% !important;
    z-index: 10 !important;
}

.free-next::after, .free-prev::after {
    font-size: 18px !important;
    font-weight: bold;
}

.free-next { right: -20px !important; }
.free-prev { left: -20px !important; }

.free-pagination .swiper-pagination-bullet-active {
    background: #0055b8;
}

.view-all-container {
    margin-top: 40px;
}

.btn-view-all {
    display: inline-block;
    background-color: #e32e3b;
    color: var(--white);
    font-family: var(--font-medium);
    font-size: 1.3rem;
    padding: 15px 40px;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    transform: scale(1.05);
    background-color: #d62531;
}

.btn-blue {
    background-color: #0055b8;
}

.btn-blue:hover {
    background-color: #004494;
}

/* Adventure World Section */
.adventure-world {
    padding: 80px 0;
    background-color: var(--white);
    text-align: center;
}

.adventure-swiper {
    padding: 0 0 40px;
    position: relative;
}

.adventure-card {
    background: transparent;
    padding: 0;
    transition: transform 0.3s ease;
    border: none;
    display: block;
}

.adventure-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.adventure-card:hover {
    transform: scale(1.02);
}

/* Custom Navigation for Adventure Swiper */
.adv-next, .adv-prev {
    color: var(--white) !important;
    background: rgba(0, 0, 0, 0.4) !important;
    width: 35px !important;
    height: 35px !important;
    border-radius: 50% !important;
    margin-top: -20px !important;
}

.adv-next::after, .adv-prev::after {
    font-size: 15px !important;
    font-weight: bold;
}

.adv-next { right: 10px !important; }
.adv-prev { left: 10px !important; }

/* TikTok Section */
.tiktok-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #c8d400 0%, #e0ec20 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tiktok-title {
    color: #0055b8;
    margin-bottom: 60px;
}

.tiktok-swiper {
    padding: 20px 50px 60px; /* Space for arrows */
}

.tiktok-slide {
    display: flex;
    justify-content: center;
    transition: transform 0.3s ease;
    padding: 10px 5px; /* Minimal side padding */
}

.tiktok-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    margin: 0 !important;
    width: 100% !important;
    max-width: 325px !important;
    min-height: 580px; /* Standard TikTok embed height */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-loader {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 85, 184, 0.1);
    border-top: 5px solid #0055b8;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
    z-index: 1;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.tiktok-card blockquote {
    margin: 0 !important;
    width: 100% !important;
    position: relative;
    z-index: 2; /* Sits on top of the loader */
    background: transparent !important;
}

.play-pause-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.8rem;
    z-index: 5;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    padding-left: 6px; /* Optical centering for the play triangle */
}

.tiktok-card:hover .play-pause-overlay {
    background: rgba(255, 255, 255, 0.25);
    transform: translate(-50%, -50%) scale(1.1);
}

.tiktok-card.is-playing .play-pause-overlay {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -50%) scale(1.3);
}

.tiktok-overlay {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(10px);
}

.tiktok-card:hover .tiktok-overlay {
    opacity: 1;
    transform: translateY(0);
}

.btn-goto-tiktok {
    background: #000;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-black);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    border: 2px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.btn-goto-tiktok:hover {
    background: #ff0050;
    transform: scale(1.05);
}

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

/* Manga Section */
.manga-section {
    padding: 80px 0;
    background-color: var(--white);
    text-align: center;
}

.manga-section .container {
    position: relative;
}

.manga-section .section-main-title {
    text-align: center !important;
    width: 100%;
    display: block;
    margin-bottom: 5px;
}

.manga-section .section-subtitle {
    font-family: var(--font-black);
    color: #555;
    font-size: 2.2rem;
    margin-bottom: 40px;
    margin-top: 0;
    text-align: center !important;
    display: block;
    width: 100%;
}

.manga-swiper {
    padding: 10px 0 20px;
}

.manga-slide picture,
.manga-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.manga-slide:hover img {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    cursor: pointer;
}

.manga-pagination {
    display: none !important;
}

.manga-next, .manga-prev {
    color: #ffffff !important;
    width: 40px !important;
    height: 40px !important;
    background: rgba(0, 0, 0, 0.5) !important;
    border-radius: 50% !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
    top: 50% !important;
    z-index: 10 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.manga-next:hover, .manga-prev:hover {
    background: rgba(0, 0, 0, 0.8) !important;
}

.manga-next::after, .manga-prev::after {
    font-size: 18px !important;
    font-weight: bold;
}

.manga-next { right: 15px !important; }
.manga-prev { left: 15px !important; }

.manga-pagination .swiper-pagination-bullet-active {
    background: #0055b8;
}

/* Nueva Sección: Capítulos Estrenos */
.estrenos-section {
    padding: 100px 0;
    background-image: url('fondo/gato-1.png');
    background-size: cover;
    background-position: center;
    text-align: center;
    position: relative;
}

.estrenos-title {
    font-family: var(--font-black);
    font-size: 4rem;
    color: #c8d400; /* Verde Alpha */
    margin-bottom: 80px;
    text-transform: uppercase;
}

.estrenos-content p {
    font-family: var(--font-black);
    line-height: 1.1;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.estrenos-text-llegue { font-size: 3rem; color: #ffffff; }
.estrenos-text-pregunta { font-size: 3.2rem; color: #ffffff; }
.estrenos-text-convocado { font-size: 1.6rem; color: #ffffff; margin-bottom: 30px !important; opacity: 0.8; }

.estrenos-btn-container {
    margin-bottom: 50px;
}

.btn-mira-video {
    display: inline-block;
    background-color: #e32e3b; /* Rojo Alpha */
    color: white;
    font-family: var(--font-black);
    font-size: 2.5rem;
    padding: 20px 60px;
    border-radius: 25px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(227, 46, 59, 0.4);
}

.btn-mira-video:hover {
    transform: scale(1.05);
    background-color: #f03e4b;
    box-shadow: 0 15px 35px rgba(227, 46, 59, 0.5);
}

.video-wrapper-yellow {
    max-width: 1000px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border: 20px solid #e2e600; /* Yellow border from reference */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    background: black;
}

#main-video-player {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* Responsive adjustments for Estrenos */
@media (max-width: 1024px) {
    .estrenos-text-llegue { font-size: 2.5rem; }
    .estrenos-text-pregunta { font-size: 2.8rem; }
    .estrenos-text-convocado { font-size: 1.4rem; }
    .btn-mira-video { font-size: 1.8rem; padding: 15px 40px; }
}

@media (max-width: 768px) {
    .estrenos-title { font-size: 2rem; margin-bottom: 40px; }
    .estrenos-text-llegue { font-size: 1.8rem; }
    .estrenos-text-pregunta { font-size: 2rem; }
    .estrenos-text-convocado { font-size: 1.1rem; }
    .btn-mira-video { font-size: 1.5rem; padding: 12px 30px; }
    .video-wrapper-yellow { border-width: 10px; border-radius: 10px; }
}

/* AlphaToys Legends Section */
.alphatoys-section {
    position: relative;
    padding: 100px 0;
    background: radial-gradient(circle at center, #2e1a4a 0%, #0a0a2e 100%);
    overflow: hidden;
    color: white;
}

.alpha-snow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('alphatoys/walppapaer.png') center/cover no-repeat;
    opacity: 0.4;
    pointer-events: none;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(0, 85, 184, 0.3);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: rgba(200, 212, 0, 0.15);
    bottom: -150px;
    left: -150px;
}

.alpha-shadow-creature {
    position: absolute;
    opacity: 0.1;
    pointer-events: none;
    z-index: 2;
    filter: brightness(0);
}

.sc-1 { width: 300px; top: 10%; left: 5%; transform: rotate(15deg); }
.sc-2 { width: 250px; bottom: 10%; right: 5%; transform: rotate(-10deg); }
.sc-3 { width: 200px; top: 40%; right: 10%; opacity: 0.05; }

.section-inner {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.alphatoys-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.alpha-ranking-header {
    margin-bottom: 50px;
    width: 100%;
    max-width: 500px;
}

.alpha-full-rank-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 168, 255, 0.4));
}

/* Podium */
.alpha-podium-display {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 80px;
    width: 100%;
}

.alpha-podium-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

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

.alpha-hex-wrap {
    width: 180px;
    height: 180px;
    margin-bottom: 20px;
    position: relative;
}

.first .alpha-hex-wrap { width: 220px; height: 220px; }

.alpha-hex {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.alpha-info {
    font-family: var(--font-black);
}

.player-n {
    display: block;
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.player-p {
    display: block;
    font-size: 2rem;
    color: #fbc531;
    text-shadow: 0 0 10px rgba(251, 197, 49, 0.5);
}

/* Ranking List */
.alpha-ranking-list-v {
    width: 100%;
    max-width: 600px;
    max-height: 390px; /* Limited to show 5 elements on desktop and scroll for the rest */
    overflow-y: auto;
    padding: 10px 15px 10px 10px;
    scrollbar-width: thin;
    scrollbar-color: #00a8ff rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.alpha-ranking-list-v::-webkit-scrollbar {
    width: 6px;
}

.alpha-ranking-list-v::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.alpha-ranking-list-v::-webkit-scrollbar-thumb {
    background: #00a8ff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 168, 255, 0.5);
}

.alpha-rank-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    width: 100%;
    transition: all 0.3s ease;
}

.alpha-rank-row:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

.alpha-rank-badge {
    width: 50px;
    flex-shrink: 0;
}

.alpha-rank-badge img { width: 100%; }

.alpha-rank-user {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    position: relative;
}

.rank-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.alpha-rank-info {
    flex-grow: 1;
    position: relative;
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 120px 0 35px; /* Increased right padding to keep stats perfectly inside the rectangular body (like Image 1) */
}

.rank-info-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.rank-info-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.rank-user-name {
    font-family: var(--font-black);
    font-size: 1.2rem;
    color: #003366; /* Dark Blue for better contrast on white/pink bg */
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.rank-user-stats {
    text-align: right;
}

.stats-label {
    display: block;
    font-size: 0.7rem;
    opacity: 0.9;
    color: #555;
    font-weight: bold;
}

.stats-val {
    display: block;
    font-size: 1.2rem;
    font-family: var(--font-black);
    line-height: 1;
}

.thunder .stats-val { color: #d9a000; text-shadow: 0 0 5px rgba(255, 255, 0, 0.3); }
.ice .stats-val { color: #0077b6; text-shadow: 0 0 5px rgba(0, 168, 255, 0.3); }

/* Background Effects */
.alpha-lightning-bolt {
    position: absolute;
    background: white;
    width: 2px;
    opacity: 0;
    z-index: 5;
    box-shadow: 0 0 20px 2px white, 0 0 40px 4px #00a8ff;
}

.bolt-1 {
    height: 150px;
    top: -150px;
    left: 20%;
    animation: lightning-strike 5s infinite;
}

.bolt-2 {
    height: 200px;
    top: -200px;
    right: 25%;
    animation: lightning-strike 7s infinite 2s;
}

@keyframes lightning-strike {
    0% { transform: translateY(0) skewX(-10deg); opacity: 0; }
    94% { transform: translateY(0) skewX(-10deg); opacity: 0; }
    95% { transform: translateY(300px) skewX(-10deg); opacity: 1; }
    96% { transform: translateY(300px) skewX(-10deg); opacity: 0; }
    97% { transform: translateY(300px) skewX(-10deg); opacity: 1; }
    100% { transform: translateY(600px) skewX(-10deg); opacity: 0; }
}

.alphatoys-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    opacity: 0;
    z-index: 4;
    pointer-events: none;
    animation: screen-flash 8s infinite;
}

@keyframes screen-flash {
    0% { opacity: 0; }
    98% { opacity: 0; }
    99% { opacity: 0.15; }
    100% { opacity: 0; }
}

/* Responsive */
@media (max-width: 768px) {
    .alpha-podium-display {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px; /* Reduced gap to bring them closer */
        margin-bottom: 30px;
    }
    
    .alpha-podium-col {
        width: 31%; /* Fit 3 in a row */
    }
    
    .alpha-podium-col.first {
        width: 35%; /* Slightly larger but same row */
        order: 0; /* Keep natural order 2-1-3 */
        margin-bottom: 0;
    }
    
    .alpha-hex-wrap { width: 90px; height: 90px; }
    .first .alpha-hex-wrap { width: 130px; height: 130px; }
    
    .player-n { font-size: 0.9rem; }
    .player-p { font-size: 1.3rem; }
    
    .alpha-rank-user { display: none; } /* Hide gender/avatar icon on mobile */
    .alpha-rank-row { gap: 5px; }
    .alpha-rank-badge { width: 35px; }

    .alpha-ranking-list-v {
        padding: 10px;
        max-height: 340px; /* Limited to show 5 elements on mobile and scroll for the rest */
    }

    .alpha-rank-info {
        padding: 0 80px 0 20px; /* Increased right padding to keep stats away from the pointy tip on mobile (like Image 1) */
        height: 50px;
    }
    .rank-user-name {
        font-size: 0.85rem;
    }
    .stats-val {
        font-size: 0.9rem;
    }
    .stats-label {
        font-size: 0.55rem;
    }
}

/* Lightning Canvas */
#lightning-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10000;
}

/* Custom Navigation for TikTok Swiper */
.tiktok-next, .tiktok-prev {
    color: #0055b8 !important;
}

.tiktok-next::after, .tiktok-prev::after {
    font-size: 24px !important;
    font-weight: bold;
}

/* Footer */
.main-footer {
    padding: 80px 0 40px;
    background: linear-gradient(to bottom, #0d0d0d, #000000);
    color: var(--white);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    max-width: 100%;
}

.footer-brand-name {
    font-family: var(--font-black);
    font-size: 2.5rem;
    letter-spacing: 4px;
    color: var(--white);
    text-shadow: 2px 0 5px rgba(0, 168, 255, 0.8), -2px 0 5px rgba(255, 0, 150, 0.8);
    text-transform: uppercase;
}

.footer-col p {
    font-family: var(--font-thin);
    line-height: 1.6;
    opacity: 0.7;
    margin-bottom: 30px;
    max-width: 400px;
}

.footer-col h4 {
    font-family: var(--font-black);
    font-size: 1.4rem;
    margin-bottom: 30px;
    color: var(--white);
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--blue-color);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-btn:hover {
    background: var(--blue-color);
    transform: translateY(-5px);
    border-color: var(--blue-color);
    box-shadow: 0 5px 15px rgba(0, 85, 184, 0.4);
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: var(--font-thin);
}

.footer-links a:hover {
    color: var(--blue-color);
    padding-left: 8px;
}

/* Footer Form */
.footer-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-form input, 
.footer-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 15px;
    color: var(--white);
    border-radius: 8px;
    font-family: var(--font-thin);
    outline: none;
    transition: all 0.3s ease;
}

.footer-form input:focus, 
.footer-form textarea:focus {
    border-color: var(--blue-color);
    background: rgba(255, 255, 255, 0.08);
}

.footer-form button {
    background: var(--blue-color);
    color: var(--white);
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-family: var(--font-black);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.footer-form button:hover {
    background: #004494;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 85, 184, 0.3);
}

.form-success {
    margin-top: 15px;
    color: #c8d400;
    font-family: var(--font-black);
    text-align: center;
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-family: var(--font-thin);
    opacity: 0.5;
    font-size: 0.9rem;
}

.footer-bottom strong {
    color: var(--white);
}

.footer-bottom a {
    color: var(--white);
    text-decoration: none;
}

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

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .main-footer {
        padding: 60px 0 30px;
    }
}

/* WhatsApp Button - Removed from fixed position as it's now in header */
.whatsapp-btn {
    display: none;
}

/* Responsive */
@media (max-width: 1024px) {
    :root {
        --header-height: 100px;
    }

    .main-header {
        padding: 0;
        border-bottom-width: 6px;
    }

    .header-content {
        padding: 0 15px;
    }

    #main-logo {
        height: 60px;
    }

    .menu-toggle {
        display: flex;
        z-index: 1100; /* Ensure it stays above the nav-list */
    }

    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }

    .close-mobile-menu {
        display: block;
    }

    .nav-list.active {
        right: 0;
    }

    .nav-item img {
        height: 60px; /* Larger items in full screen menu */
    }

    .nav-whatsapp {
        margin-top: 20px;
    }

    .header-whatsapp {
        width: 70px;
        height: 70px;
    }

    .header-whatsapp .whatsapp-svg {
        width: 40px;
        height: 40px;
    }

    .hero-slider {
        margin-top: var(--header-height);
        height: auto;
    }

    .main-swiper {
        height: auto;
    }

    .download-title {
        font-size: 2rem;
    }

    .download-subtitle {
        font-size: 1.1rem;
    }

    .btn-legendary {
        font-size: 1.1rem;
        padding: 15px 30px;
    }

    .section-main-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .adventure-card {
        border-radius: 15px;
    }

    .adv-next, .adv-prev {
        display: none !important; /* Better to hide arrows on mobile swiper to avoid clutter */
    }
}
/* Full Background Video Section */
.full-bg-video {
    width: 100%;
    line-height: 0;
    overflow: hidden;
    pointer-events: none; /* No clickable */
    background: #000;
}

.full-bg-video video {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.full-bg-video .video-desktop {
    display: block;
}

.full-bg-video .video-mobile {
    display: none;
}

@media (max-width: 768px) {
    .full-bg-video .video-desktop {
        display: none !important;
    }
    
    .full-bg-video .video-mobile {
        display: block !important;
        min-height: 300px;
        object-fit: cover;
    }
}

/* Fullscreen TikTok Video Modal */
.tiktok-fs-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.tiktok-fs-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.tiktok-fs-content video {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.9);
    object-fit: contain;
    border: 3px solid rgba(255,255,255,0.1);
    outline: none;
}

.tiktok-fs-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100000;
}

.tiktok-fs-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.tiktok-fs-tap-tip {
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    pointer-events: none;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Animated Page Loader Styles */
.alpha-loader-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, #1b0f32 0%, #030312 100%); /* Premium cosmic dark background */
    z-index: 99999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0.6s;
    opacity: 1;
    visibility: visible;
}

.alpha-loader-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
}

.alpha-loader-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.alpha-loader-logo {
    width: 150px;
    height: auto;
    animation: loaderPulse 2s ease-in-out infinite;
}

.alpha-loader-spinner {
    width: 60px;
    height: 60px;
    border: 6px solid rgba(200, 212, 0, 0.1);
    border-top: 6px solid var(--primary, #0055b8); /* Premium glowing alpha blue */
    border-radius: 50%;
    animation: loaderSpin 1s cubic-bezier(0.53, 0.21, 0.29, 0.67) infinite;
    box-shadow: 0 0 20px rgba(0, 85, 184, 0.3);
}

.alpha-loader-text {
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 3px;
    animation: loaderTextGlow 1.5s ease-in-out infinite alternate;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

@keyframes loaderPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 15px rgba(200, 212, 0, 0.4)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 30px rgba(0, 85, 184, 0.7)); }
}

@keyframes loaderSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes loaderTextGlow {
    from { opacity: 0.5; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
