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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #059669, #047857);
}

.cta-button.large {
    padding: 20px 40px;
    font-size: 1.3rem;
}

.cta-button.contest-btn {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.cta-button.contest-btn:hover {
    background: linear-gradient(135deg, #D97706, #B45309);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://em2025-gewinnspiel.tipptreff.app/img/bonkers_image_female_soccer_girls.png') center/cover no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    z-index: 1;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    width: 100%;
    padding: 80px 0;
}

.hero-image {
    margin-bottom: 3rem;
    animation: floatingPulse 4s ease-in-out infinite;
}

.hero-image img {
    width: 300px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-cta {
    animation: fadeInUp 1s ease-out 0.9s both;
}

@keyframes floatingPulse {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.9;
    }
    50% {
        transform: translateY(-15px) scale(1.03);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #E0F2FE, #BAE6FD);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #0F172A;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #10B981, #059669);
    border-radius: 2px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
    color: #334155;
}

/* CTA Sections */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #F8FAFC, #E2E8F0);
    text-align: center;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #DCFCE7, #BBF7D0);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 4rem;
}

.feature-box {
    background: white;
    padding: 30px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-box.highlight {
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
    border: 2px solid #F59E0B;
}

.feature-emoji {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-box h3 {
    font-size: 1.1rem;
    color: #1F2937;
    font-weight: 600;
    line-height: 1.4;
}

/* Contest Section */
.contest-section {
    padding: 100px 0 50px 0;
    background: linear-gradient(135deg, #FDF2F8, #FCE7F3);
}

.contest-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 4rem;
}

.contest-text {
    font-size: 1.1rem;
    color: #374151;
}

.prize-list {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
}

.prize-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    font-weight: 600;
    color: #059669;
    font-size: 1.2rem;
}

.prize-list li::before {
    content: '🎁';
    position: absolute;
    left: 0;
    font-size: 1.3rem;
}

.contest-image {
    text-align: center;
}

.contest-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Form Section */
.form-section {
    background: #ffffff;
    padding: 0;
    margin: 0;
    width: 100vw;
    min-height: 1400px;
    position: relative;
}

.form-section .deftform {
    width: 100% !important;
    height: 1400px !important;
    min-height: 1400px !important;
    overflow: auto !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.form-section iframe {
    width: 100% !important;
    height: 1400px !important;
    min-height: 1400px !important;
    border: none !important;
    overflow: auto !important;
    display: block !important;
}

/* Alternative Button Section */
.contest-alternative-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #FDF2F8, #FCE7F3);
    text-align: center;
}

.contest-alternative p:first-child {
    font-size: 1.2rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1.5rem;
}

.contest-note {
    font-size: 0.9rem;
    color: #6B7280;
    margin-top: 1rem;
    font-style: italic;
}

.contest-note a {
    color: #10B981;
    text-decoration: none;
}

.contest-note a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1F2937, #111827);
    color: white;
    padding: 60px 0 40px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #D1D5DB;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #10B981;
}

.footer-copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9CA3AF;
    margin-bottom: 2rem;
}

.footer-copyright a {
    color: #10B981;
    text-decoration: none;
}

.footer-copyright a:hover {
    text-decoration: underline;
}

.image-credits {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
}

.image-credits h4 {
    color: #D1D5DB;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.image-credits p {
    color: #9CA3AF;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .hero-background {
        background-attachment: scroll;
    }

    .hero-image img {
        width: 200px;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

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

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-box {
        padding: 25px 20px;
    }

    .contest-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .form-section {
        min-height: 1200px;
    }

    .form-section .deftform {
        height: 1200px !important;
        min-height: 1200px !important;
    }

    .form-section iframe {
        height: 1200px !important;
        min-height: 1200px !important;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .cta-button {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .cta-button.large {
        padding: 18px 35px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-image img {
        width: 150px;
    }

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

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

    .section-title {
        font-size: 1.7rem;
    }

    .about-section, .features-section {
        padding: 60px 0;
    }

    .contest-section {
        padding: 60px 0 30px 0;
    }

    .cta-section, .contest-alternative-section {
        padding: 50px 0;
    }

    .features-grid {
        gap: 15px;
    }

    .feature-box {
        padding: 20px 15px;
    }

    .feature-emoji {
        font-size: 2.5rem;
    }

    .form-section {
        min-height: 1000px;
    }

    .form-section .deftform {
        height: 1000px !important;
        min-height: 1000px !important;
    }

    .form-section iframe {
        height: 1000px !important;
        min-height: 1000px !important;
    }
}

/* High-resolution displays */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }

    .hero-title {
        font-size: 4rem;
    }

    .section-title {
        font-size: 3rem;
    }

    .hero-image img {
        width: 350px;
    }

    .form-section {
        min-height: 1600px;
    }

    .form-section .deftform {
        height: 1600px !important;
        min-height: 1600px !important;
    }

    .form-section iframe {
        height: 1600px !important;
        min-height: 1600px !important;
    }
}