/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #5FA77E;
    --dark-green: #4A8A66;
    --light-green: #7BC099;
    --accent-coral: #FF9B7F;
    --dark-bg: #2C3E3A;
    --light-bg: #F5F7F6;
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-light: #666666;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Hero Section */
.hero {
    background: url('mixed-hero.jpg') center/cover no-repeat;
    color: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 40px 20px;
}

/* Video Section */
.video-section {
    padding: 60px 20px;
    background: var(--light-bg);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 8px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.logo {
    margin-bottom: 20px;
}

.logo img {
    width: 350px;
    height: auto;
    margin-bottom: 30px;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

.logo h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.2;
    margin-bottom: 30px;
}

.logo .mixed {
    color: var(--accent-coral);
    font-size: 4.5rem;
    display: block;
    margin: 10px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.4;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 15px;
    opacity: 0.95;
    color: var(--white);
    font-weight: 600;
}

.hero-tagline {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
    color: var(--white);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 18px 45px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-button-primary {
    background: var(--accent-coral);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 155, 127, 0.4);
}

.cta-button-primary:hover {
    background: #FF8865;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 155, 127, 0.6);
}

.cta-button-secondary {
    background: var(--white);
    color: var(--accent-coral);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.cta-button-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.5);
}

/* Section Styles */
section {
    padding: 80px 20px;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--dark-bg);
    text-align: center;
}

section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Introduction Section */
.intro {
    background: var(--white);
    text-align: center;
}

.intro p {
    max-width: 800px;
    margin: 0 auto 20px;
}

/* Why Mixed Section */
.why-mixed {
    background: var(--light-bg);
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.15rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.benefit:hover {
    transform: translateY(-5px);
}

.benefit h3 {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.benefit p {
    color: var(--text-dark);
    font-size: 1rem;
}

/* How It Works Section */
.how-it-works {
    background: var(--white);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    font-size: 2rem;
    font-weight: 700;
    line-height: 60px;
    margin-bottom: 20px;
}

.step h3 {
    font-size: 1.3rem;
    color: var(--dark-bg);
    margin-bottom: 10px;
}

.step p {
    font-size: 1rem;
}

/* League Details Section */
.league-details {
    background: var(--primary-green);
    color: var(--white);
}

.league-details h2,
.league-details h3 {
    color: var(--white);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 70px;
    margin-top: 40px;
}

.detail-column h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.detail-column ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.detail-column ul li {
    padding: 12px 0;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--white);
    list-style-type: none;
}

.detail-column ul li::before {
    display: none;
}

/* First column - right aligned */
.detail-column:first-child h3 {
    text-align: right;
}

.detail-column:first-child ul {
    text-align: right;
}

.detail-column:first-child ul li {
    text-align: right;
}

/* Second column - left aligned */
.detail-column:last-child h3 {
    text-align: left;
}

.detail-column:last-child ul {
    text-align: left;
}

.detail-column:last-child ul li {
    text-align: left;
}

/* League Structure Section */
.league-structure {
    background: var(--light-bg);
    text-align: center;
}

.league-structure p {
    max-width: 800px;
    margin: 0 auto 40px;
}

.entry-info {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.entry-info h3 {
    color: var(--primary-green);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.entry-info ul {
    list-style: none;
    text-align: left;
    padding-left: 0;
    margin-left: 0;
}

.entry-info ul li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    font-size: 1.1rem;
    color: var(--text-dark);
    list-style-type: none;
}

.entry-info ul li::before {
    content: '•';
    position: absolute;
    left: 10px;
    color: var(--primary-green);
    font-size: 1.5rem;
    line-height: 1;
}

/* Registration Section */
.registration {
    background: var(--white);
}

.form-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.registration-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-bg);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.form-group textarea {
    resize: vertical;
}

.submit-button {
    width: 100%;
    background: var(--primary-green);
    color: var(--white);
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(95, 167, 126, 0.3);
}

.submit-button:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(95, 167, 126, 0.4);
}

.submit-button:disabled {
    background: #CCC;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
    display: block;
}

.form-message.error {
    background: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
    display: block;
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--accent-coral);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.footer-section p {
    color: var(--white);
    line-height: 1.8;
}

.footer-section a {
    color: var(--light-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-coral);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

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

.social-links a:hover {
    background: var(--accent-coral);
    color: var(--white);
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

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

.footer-bottom p {
    color: rgba(255,255,255,0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo h1 {
        font-size: 2rem;
    }

    .logo .mixed {
        font-size: 3rem;
    }

    .hero h2 {
        font-size: 1.4rem;
    }

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

    .hero-tagline {
        font-size: 1rem;
    }

    section {
        padding: 60px 20px;
    }

    section h2 {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .benefits-grid,
    .steps,
    .details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.5rem;
    }

    .logo .mixed {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-tagline {
        font-size: 0.95rem;
    }

    section h2 {
        font-size: 1.8rem;
    }

    .cta-button {
        padding: 15px 35px;
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}