/* ==========================================================================
   RESET & SYSTEM VARIABLE DECLARATIONS
   ========================================================================== */
:root {
    --color-bg-dark: #060913;
    --color-bg-card: #0e1424;
    --color-primary-crimson: #dc143c;
    --color-primary-crimson-hover: #b30e2e;
    --color-accent-gold: #ffd700;
    --color-text-white: #ffffff;
    --color-text-muted: #94a3b8;
    --color-text-dim: #64748b;
    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 8px;
    --border-radius-lg: 12px;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

body {
    background-color: var(--color-bg-dark);
    color: var(--color-text-white);
    font-family: var(--font-body);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   LAYOUT CONTAINERS & TYPOGRAPHY
   ========================================================================== */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    font-weight: 700;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
    position: relative;
    z-index: 10;
    padding: 12px 16px;
    background-color: rgba(6, 9, 19, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.header-container {
    width: 100%;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo-group {
    display: flex;
    align-items: center;
    max-width: 110px;
    overflow: hidden;
}

/* Navbar Logo - controlled size */
.navbar-logo {
    width: 90px;
    height: 90px;
    max-width: 90px;
    max-height: 90px;
    display: block;
    object-fit: contain;
}

@media (min-width: 768px) {
    .navbar-logo {
        width: 110px;
        height: 110px;
        max-width: 110px;
        max-height: 110px;
    }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 60px 16px 80px 16px;
    background-image: url('fondo_futbol.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(6, 9, 19, 0.8) 0%,
        rgba(6, 9, 19, 0.85) 50%,
        rgba(6, 9, 19, 0.95) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 650px;
    width: 100%;
}

/* Circle Logo Above Promotion */
.hero-circle-logo {
    width: 110px;
    height: 110px;
    max-width: 110px;
    max-height: 110px;
    border-radius: 50%;
    border: 2px solid var(--color-primary-crimson);
    background-color: var(--color-bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    overflow: hidden;
    padding: 8px;
    flex-shrink: 0;
}

.hero-circle-img {
    width: 90px;
    height: 90px;
    max-width: 90px;
    max-height: 90px;
    object-fit: contain;
    border-radius: 50%;
}

@media (min-width: 768px) {
    .hero-circle-logo {
        width: 140px;
        height: 140px;
        max-width: 140px;
        max-height: 140px;
        padding: 10px;
    }
    .hero-circle-img {
        width: 116px;
        height: 116px;
        max-width: 116px;
        max-height: 116px;
    }
}

/* Badge */
.promo-badge {
    display: inline-block;
    padding: 8px 18px;
    background-color: rgba(220, 20, 60, 0.12);
    border: 1px solid rgba(220, 20, 60, 0.3);
    border-radius: 100px;
    margin-bottom: 24px;
}

.promo-badge p {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-primary-crimson);
    letter-spacing: 0.05em;
}

/* Hero Title */
.hero-title {
    font-size: 56px;
    line-height: 1.1;
    color: var(--color-text-white);
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 84px;
    }
}

.highlight-crimson {
    color: var(--color-primary-crimson);
}

/* Gift Box */
.gift-box-wrapper {
    margin: 36px 0;
}

.gift-box {
    display: inline-block;
    background-color: var(--color-primary-crimson);
    border: 2px solid var(--color-accent-gold);
    border-radius: var(--border-radius-lg);
    padding: 24px 48px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(220, 20, 60, 0.2);
    transform: rotate(-1deg);
    transition: var(--transition-normal);
}

.gift-box:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(220, 20, 60, 0.35);
}

.gift-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--color-text-white);
    margin-bottom: 6px;
    opacity: 0.9;
}

.gift-amount {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
    color: var(--color-text-white);
    letter-spacing: 0.02em;
}

@media (min-width: 768px) {
    .gift-box {
        padding: 32px 72px;
    }
    .gift-amount {
        font-size: 88px;
    }
}

/* Taglines & Sub-texts */
.hero-tagline {
    font-size: 18px;
    font-weight: 500;
    color: var(--color-text-muted);
    margin-bottom: 36px;
}

@media (min-width: 768px) {
    .hero-tagline {
        font-size: 22px;
    }
}

.limited-offer-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-accent-gold);
    margin-top: 24px;
    letter-spacing: 0.05em;
    animation: pulse 2s infinite ease-in-out;
}

/* ==========================================================================
   BUTTON STYLE
   ========================================================================== */
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: var(--color-primary-crimson);
    color: var(--color-text-white);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 16px;
    padding: 16px 40px;
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: var(--border-radius);
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(220, 20, 60, 0.3);
    transition: var(--transition-normal);
    outline: none;
}

@media (min-width: 768px) {
    .btn-cta {
        font-size: 19px;
        padding: 20px 52px;
    }
}

.btn-cta:hover {
    background-color: var(--color-primary-crimson-hover);
    border-color: var(--color-accent-gold);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(220, 20, 60, 0.5);
}

.arrow-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.btn-cta:hover .arrow-icon {
    transform: translateX(4px);
}

.btn-full-width {
    width: 100%;
}

/* ==========================================================================
   TRUST BAR (PAYMENTS)
   ========================================================================== */
.trust-bar {
    background-color: var(--color-bg-card);
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    text-align: center;
}

.trust-bar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

@media (min-width: 768px) {
    .trust-bar-container {
        flex-direction: row;
        justify-content: space-between;
        gap: 32px;
    }
}

.trust-bar-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text-muted);
    letter-spacing: 0.08em;
}

.trust-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
}

.trust-logo-item {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-muted);
    padding: 6px 14px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius);
    transition: var(--transition-fast);
}

.trust-logo-item:hover {
    border-color: rgba(255, 215, 0, 0.25);
    color: var(--color-text-white);
    background-color: rgba(255, 255, 255, 0.04);
}

/* ==========================================================================
   DETAILS / CHECKLIST SECTION
   ========================================================================== */
.details-section {
    padding: 80px 0 120px 0;
    background: linear-gradient(180deg, var(--color-bg-dark) 0%, #030409 100%);
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 768px) {
    .details-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 80px;
    }
}

.details-visual {
    display: flex;
    justify-content: center;
}

.visual-img {
    width: 100%;
    max-width: 380px;
    max-height: 500px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 25px 35px rgba(0,0,0,0.6));
}

@media (min-width: 768px) {
    .visual-img {
        max-width: 440px;
    }
}

.details-content {
    display: flex;
    flex-direction: column;
}

.details-title {
    font-size: 48px;
    line-height: 1.1;
    color: var(--color-text-white);
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .details-title {
        font-size: 56px;
    }
}

/* Checklist */
.checklist {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 44px;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.check-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(220, 20, 60, 0.15);
    border: 1px solid var(--color-primary-crimson);
    color: var(--color-primary-crimson);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    margin-top: 3px;
}

.check-text h4 {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 600;
    color: var(--color-text-white);
    margin-bottom: 2px;
}

.check-text p {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: #030409;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 60px 16px 40px 16px;
    margin-top: auto;
}

.footer-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Certification Badges */
.certification-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.badge-item {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    color: var(--color-text-muted);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background-color: rgba(255, 255, 255, 0.01);
}

.age-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-color: var(--color-primary-crimson);
    color: var(--color-primary-crimson);
}

/* Legal text styling */
.footer-legal {
    font-size: 11px;
    color: var(--color-text-dim);
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

@media (min-width: 768px) {
    .footer-legal {
        text-align: center;
    }
}

.footer-terms {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
    font-weight: 500;
}

.footer-copyright {
    font-size: 11px;
    color: var(--color-text-dim);
}

/* ==========================================================================
   KEYFRAME ANIMATIONS
   ========================================================================== */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.75;
        transform: scale(0.98);
    }
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}
