* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('https://images.unsplash.com/photo-1626224583764-f87db24ac4ea?w=1200') center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-overlay {
    padding: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.hero-tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.cta-btn {
    display: inline-block;
    padding: 15px 40px;
    background: #ff6b35;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.3s, background 0.3s;
}

.cta-btn:hover {
    background: #ff8c5a;
    transform: scale(1.05);
}

.countdown {
    margin-top: 2rem;
    font-size: 1.2rem;
}

/* About Section */
.about {
    padding: 60px 20px;
    background: #f4f4f4;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.tournament-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    flex: 1;
    min-width: 250px;
    max-width: 300px;
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ff6b35;
}

.motivation {
    font-size: 1.3rem;
    font-style: italic;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

/* Age Groups */
.age-groups {
    padding: 60px 20px;
    text-align: center;
    background: white;
}

.age-groups h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.groups-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.group-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    transition: transform 0.3s;
}

.group-card:hover {
    transform: translateY(-10px);
}

.group-card.featured {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    transform: scale(1.05);
}

.group-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.age-range {
    font-size: 1.2rem;
    margin: 1rem 0;
}

/* Tournament Info Section - vibrant, centered, slightly larger */
.tournament-info-section {
    padding: 60px 20px;
    background: linear-gradient(180deg, #071428 0%, #0b1b2b 100%);
    color: #fff;
    text-align: center;
}

.tournament-info-section .section-title {
    font-size: calc(2.5rem + 2pt);
    color: #ffd194;
    margin-bottom: 1rem;
}

.info-grid {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    padding-top: 12px;
}

.info-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
    color: #fff;
    border: 1px solid rgba(255,209,148,0.06);
    box-shadow: 0 12px 30px rgba(2,6,23,0.6);
    transition: transform 0.35s, box-shadow 0.35s;
    min-width: 260px;
    max-width: 320px;
    padding: 28px;
    border-radius: 14px;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 50px rgba(2,6,23,0.75);
}

.info-card .info-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.info-card h3 {
    font-size: calc(1.5rem + 2pt);
    color: #ffd194;
    margin-bottom: 0.6rem;
}

.info-card p { color: rgba(255,255,255,0.9); }

/* Categories Section - vibrant cards */
.categories-section {
    padding: 60px 20px;
    background: linear-gradient(180deg, #fff8f0 0%, #fff3e6 100%);
    text-align: center;
}

.categories-section .section-title {
    font-size: calc(2.2rem + 2pt);
    color: #d9534f;
    margin-bottom: 0.5rem;
}

.categories-grid {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 12px;
}

.category-card {
    background: linear-gradient(135deg, #fff4e6 0%, #ffe6d1 100%);
    padding: 26px;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(229,115,16,0.12);
    min-width: 240px;
    max-width: 320px;
    transition: transform 0.25s, box-shadow 0.25s;
}

.category-card:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(229,115,16,0.18); }

.category-card h3 { font-size: calc(1.6rem + 2pt); color: #b3472f; margin-bottom: 8px; }

.category-badge { font-size: 1.4rem; display: inline-block; margin-bottom: 6px; }

.featured-badge { background: #ff6b35; color: #fff; padding: 6px 10px; border-radius: 8px; font-weight: 700; font-size: 0.85rem; display: inline-block; margin-bottom: 8px; }

@media (max-width: 768px) {
    .tournament-info-section .section-title, .categories-section .section-title {
        font-size: calc(1.8rem + 2pt);
    }
}

/* Prize preview tweaks */
.prize-preview { margin-top: 12px; text-align: center; }
.prize-label.highlighted { display: inline-block; background: linear-gradient(90deg,#ffd194,#ff6b35); color: #2b0b00; padding: 6px 12px; border-radius: 20px; font-weight: 800; }
.prize-name { font-weight: 700; margin-top: 8px; color: #6b2b16; }
.prize-extra { font-size: 0.95rem; color: #444; margin-top: 6px; }
.prize-image-container { position: relative; display: inline-block; overflow: hidden; border-radius: 12px; box-shadow: 0 10px 28px rgba(0,0,0,0.15); transition: transform 0.35s, box-shadow 0.35s; margin: 12px auto 0; cursor: pointer; }
.prize-image-container:hover { transform: translateY(-8px) scale(1.05); box-shadow: 0 18px 45px rgba(0,0,0,0.25); }
.category-prize-image { display: block; width: 140px; height: 140px; object-fit: cover; transition: filter 0.35s; }
.prize-image-container:hover .category-prize-image { filter: brightness(0.75) contrast(1.1); }



.prize {
    font-weight: bold;
    font-size: 1.1rem;
}

/* Registration Form */
.registration-section {
    padding: 60px 20px;
    background: #f9f9f9;
}

.registration-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.form-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #555;
}

.reg-form {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #ff6b35;
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
}

.partner-section {
    background: #f0f8ff;
    padding: 20px;
    border-radius: 8px;
    margin: 2rem 0;
}

.partner-section h3 {
    color: #ff6b35;
    margin-bottom: 1rem;
}

.note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-bottom: 1rem;
}

.fee-display {
    background: #e8f5e9;
    padding: 20px;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid #4caf50;
}

.fee-display h3 {
    color: #2e7d32;
    margin-bottom: 1rem;
}

.note-payment {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
}

/* Terms Section */
.terms-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #ddd;
}

.flash-text {
    color: #ff3b3b;
    font-weight: 600;
    animation: flash 2s infinite;
}

@keyframes flash {
    0%   { opacity: 1; }
    50%  { opacity: 0.2; }
    100% { opacity: 1; }
}

.terms-section h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.terms-content {
    max-height: 300px;
    overflow-y: auto;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.terms-content ol {
    padding-left: 20px;
}

.terms-content li {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.terms-content ul {
    margin-left: 20px;
    margin-top: 0.5rem;
}

/* Motivational strip (vibrant, centered, slightly larger) */
.motivation-strip {
    display: flex;
    justify-content: center;
    padding: 18px 10px;
}

.motivation-strip p {
    text-align: center;
    font-size: calc(1rem + 2pt);
    color: white;
    background: linear-gradient(90deg, #ff6b35 0%, #ff8c5a 50%, #ffd194 100%);
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    padding: 12px 22px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(255,107,53,0.18), inset 0 -4px 12px rgba(255,255,255,0.06);
    font-weight: 600;
    letter-spacing: 0.4px;
    max-width: 1000px;
    margin: 0 auto;
}


.terms-accept {
    margin-top: 1.5rem;
}

.terms-accept label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: #ff6b35;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    margin-top: 2rem;
}

.submit-btn:hover:not(:disabled) {
    background: #ff8c5a;
    transform: scale(1.02);
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.form-message {
    text-align: center;
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: bold;
}

/* Footer */
footer {
    background: linear-gradient(180deg, #1a1a1a 0%, #2c3e50 100%);
    color: white;
    text-align: center;
    padding: 50px 20px 30px;
}

footer a {
    color: #ff6b35;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #ffd194;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo h3 {
    font-size: calc(1.3rem + 2pt);
    color: #ffd194;
    margin-bottom: 8px;
}

.footer-logo p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
}

.footer-links h4, .footer-social h4 {
    font-size: calc(1.1rem + 1pt);
    color: #ff6b35;
    margin-bottom: 12px;
}

.footer-links p, .footer-social p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

.footer-quote {
    font-style: italic;
    color: #ffd194;
    margin-top: 12px;
    font-size: 0.95rem;
}

.motivation-footer {
    margin-top: 1rem;
    font-style: italic;
    font-size: 1.1rem;
}

/* Final Motivation Section */
.final-motivation {
    padding: 80px 20px;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 50%, #ffd194 100%);
    text-align: center;
}

.motivation-content {
    max-width: 800px;
    margin: 0 auto;
}

.motivation-content h2 {
    font-size: calc(2.5rem + 3pt);
    color: white;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.2);
    letter-spacing: 1px;
}

.motivation-content p {
    font-size: calc(1.1rem + 2pt);
    color: rgba(255,255,255,0.95);
    margin-bottom: 16px;
    line-height: 1.8;
}

.motivation-content .emphasis {
    font-weight: 700;
    font-size: calc(1.3rem + 2pt);
    color: white;
    display: block;
    margin-top: 24px;
    margin-bottom: 32px;
}

.cta-btn-secondary {
    display: inline-block;
    padding: 18px 50px;
    background: rgba(255,255,255,0.95);
    color: #ff6b35;
    text-decoration: none;
    border-radius: 50px;
    font-size: calc(1.1rem + 1pt);
    font-weight: 700;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    cursor: pointer;
}

.cta-btn-secondary:hover {
    transform: translateY(-4px) scale(1.05);
    background: white;
    box-shadow: 0 14px 35px rgba(0,0,0,0.3);
}

/* Modal for WhatsApp expired link */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    z-index: 1200;
}
.modal.show { display: flex; }
.modal-content {
    background: white;
    color: #222;
    padding: 24px 28px;
    border-radius: 12px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    text-align: center;
}
.modal-content h3 { margin-bottom: 10px; color: #d9534f; }
.modal-content p { color: #333; margin-bottom: 8px; }
.modal-close {
    position: absolute;
    right: 18px;
    top: 14px;
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .tournament-info, .groups-container {
        flex-direction: column;
        align-items: center;
    }
    
    .reg-form {
        padding: 20px;
    }
}

/* Gallery Section - vibrant, centered, interactive */
.gallery-section {
    padding: 60px 20px;
    background: linear-gradient(180deg, #f5f5f5 0%, #e8e8e8 100%);
    text-align: center;
}

.gallery-section .section-title {
    font-size: calc(2.2rem + 2pt);
    color: #d9534f;
    margin-bottom: 2.5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.15);
    transition: transform 0.35s, box-shadow 0.35s;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 18px 45px rgba(0,0,0,0.25);
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: filter 0.35s;
}

.gallery-item:hover img {
    filter: brightness(0.75) contrast(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.75));
    color: white;
    font-size: calc(1.1rem + 1pt);
    font-weight: 700;
    padding: 24px 16px;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.35s;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* NoScript Warning Styles */
.noscript-warning {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.noscript-content {
    max-width: 800px;
    background: rgba(255, 255, 255, 0.1);
    padding: 50px;
    border-radius: 20px;
    border: 3px solid var(--primary-color);
    text-align: center;
}

.noscript-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.noscript-content p {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.noscript-instructions {
    margin-top: 2rem;
    text-align: left;
    background: rgba(0,0,0,0.3);
    padding: 20px;
    border-radius: 10px;
}

.noscript-instructions h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.noscript-instructions ul {
    list-style: none;
    padding-left: 0;
}

.noscript-instructions li {
    margin-bottom: 1rem;
    padding-left: 30px;
    position: relative;
}

.noscript-instructions li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .noscript-content {
        padding: 30px 20px;
    }
    
    .noscript-content h1 {
        font-size: 2rem;
    }
    
    .noscript-content p {
        font-size: 1.1rem;
    }
}
