/* Modern Reset */
:root {
    --primary: #00ADEF;
    --primary-dark: #0077a3;
    --accent: #FFD700;
    --dark: #0F172A;
    --light: #F8FAFC;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius: 16px;
    --font-head: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

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

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-head);
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.small {
    max-width: 800px;
}

.center {
    text-align: center;
}

.hidden-field {
    display: none;
    margin-top: 1rem;
}

.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid white;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
}

.section {
    padding: 6rem 0;
}

.alt-bg {
    background: #F1F5F9;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: 0.3s;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 50px;
}

.nav-links-desktop {
    display: flex;
    gap: 2rem;
    align-items: center;
    font-weight: 500;
}

.btn-nav {
    background: var(--primary);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
}

.btn-nav:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    padding: 2rem;
    flex-direction: column;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
}

.mobile-menu.active {
    display: flex;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

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

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -10%;
    right: -10%;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -10%;
    left: -10%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.eyebrow {
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
}

h1 {
    font-size: 4rem;
    margin: 0.5rem 0 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lead {
    font-size: 1.25rem;
    color: #64748B;
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    font-weight: 600;
    color: var(--dark);
}

.prize-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--dark);
    color: var(--accent);
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.cta-group {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 173, 239, 0.4);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.btn-secondary {
    background: white;
    border: 1px solid #E2E8F0;
    color: var(--dark);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.glow {
    animation: glow 2s infinite ease-in-out;
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 173, 239, 0.4);
    }

    50% {
        box-shadow: 0 0 30px rgba(0, 173, 239, 0.7);
    }
}

.hero-image {
    position: relative;
}

.image-wrapper {
    padding: 10px;
    transform: rotate(2deg);
    transition: 0.5s;
    background: white;
}

.image-wrapper:hover {
    transform: rotate(0);
}

/* Grid Systems */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    padding: 2rem;
    text-align: center;
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: rgba(0, 173, 239, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
}

/* Split Detail */
.grid-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.clean-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #E2E8F0;
    display: flex;
    justify-content: space-between;
}

.price-ticket {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.price-ticket::after,
.price-ticket::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: #F1F5F9;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.price-ticket::before {
    left: -15px;
}

.price-ticket::after {
    right: -15px;
}

.ticket-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.ticket-price {
    font-size: 3.5rem;
    font-weight: 800;
    display: block;
    color: var(--primary);
}

.full-width {
    width: 100%;
    margin-top: 2rem;
}

/* Beneficiaries */
.beneficiary-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.ben-card {
    background: url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?auto=format&fit=crop&q=80') center/cover;
    height: 300px;
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}

.ben-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.ben-content {
    position: absolute;
    bottom: 0;
    padding: 2rem;
    color: white;
}

.ben-card:nth-child(2) {
    background-image: url('https://images.unsplash.com/photo-1577896333243-7e31b87bd043?auto=format&fit=crop&q=80');
}

/* Dynamic Sponsors */
.sponsor-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    opacity: 0.8;
}

.sponsor-img {
    height: 60px;
    filter: grayscale(100%);
    transition: 0.3s;
    opacity: 0.6;
}

.sponsor-img:hover {
    filter: grayscale(0);
    transform: scale(1.1);
    opacity: 1;
}

.link-styled {
    font-weight: 700;
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    margin-left: 0.5rem;
}

/* Registration Form */
.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
}

.form-section {
    margin-bottom: 2rem;
}

.form-section h4 {
    margin-bottom: 1rem;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.input-group input {
    flex: 1;
    padding: 1rem;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-family: var(--font-body);
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 173, 239, 0.1);
}

.radio-cards {
    display: flex;
    gap: 1rem;
}

.radio-card {
    flex: 1;
    cursor: pointer;
}

.radio-card input {
    display: none;
}

.radio-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    transition: 0.3s;
    color: #64748B;
    background: white;
}

.radio-card input:checked+.radio-content {
    border-color: var(--primary);
    background: rgba(0, 173, 239, 0.05);
    color: var(--primary);
}

textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-family: var(--font-body);
}

.player-rows {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.player-row {
    display: flex;
    gap: 1rem;
}

.tiny-input {
    width: 80px !important;
    flex: none !important;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 500px;
    padding: 2rem;
    border-radius: var(--radius);
    position: relative;
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
}

.iframe-container {
    margin-top: 1.5rem;
    border: 2px dashed #CBD5E1;
    background: #F8FAFC;
    border-radius: 12px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94A3B8;
}

.iframe-placeholder-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* FAQ */
details {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    cursor: pointer;
    transition: 0.3s;
}

details:hover {
    transform: translateX(5px);
}

summary {
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
}

details[open] summary::after {
    content: '-';
}

details p {
    margin-top: 1rem;
    color: #64748B;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    opacity: 0.6;
}

.links a {
    margin-left: 2rem;
}

/* Responsive */
@media (max-width: 900px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-container,
    .grid-split,
    .beneficiary-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    h1 {
        font-size: 3rem;
    }

    .hero-bg .blob {
        width: 300px;
        height: 300px;
    }

    .nav-links-desktop {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }

    .input-group {
        flex-direction: column;
    }

    .price-ticket {
        margin-top: 2rem;
    }

    .cta-group {
        justify-content: center;
    }

    .hero-meta {
        justify-content: center;
    }
}