/* Font Face Declarations */
@font-face {
    font-family: 'Hey Comic';
    src: url('../fonts/Hey-Comic.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

body {
    font-family: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    line-height: 1.2;
    color: #333;
    background-color: #f8f8f8;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Container */
.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

/* Header */
header {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
}

.logo {
    max-width: 300px;
    height: auto;
    display: block;
}

/* Header Titles */
.header-titles {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

/* Main Content */
main {
    margin-bottom: 3rem;
}

h1 {
    font-family: 'Hey Comic', sans-serif;
    font-size: 5.5rem;
    margin-bottom: 0.5rem;
    margin-top: 2rem;
    color: #222;
    text-align: left;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #555;
}

.content {
    /*background: #fff;*/
    border-radius: 18px;
    /*box-shadow: 0 4px 24px 0 rgba(60, 72, 88, 0.08);*/
    padding: 2.5rem 2rem 2rem 2rem;
    margin: 0 auto 2.5rem auto;
    max-width: 1000px;
    position: relative;
    z-index: 1;
}

.content h3 {
    font-size: 1.3rem;
    color: #3a4a5d;
    margin-top: 2.2rem;
    margin-bottom: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.5;
    text-align: justify;
}

/* Call to Action */
.cta-text {
    background: linear-gradient(90deg, #ffe7b2 0%, #fff7e6 100%);
    border-radius: 10px;
    padding: 1.1rem 1.2rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: #a05a00;
    margin: 2rem 0 2.2rem 0;
    box-shadow: 0 2px 8px 0 rgba(255, 200, 80, 0.08);
    text-align: center;
}

/* Early Bird Offer */
.early-bird-offer {
    background: linear-gradient(90deg, #e0f7fa 0%, #f1f8e9 100%);
    border: 2px solid #4a6fa5;
    border-radius: 14px;
    box-shadow: 0 2px 12px 0 rgba(74, 111, 165, 0.07);
    padding: 1.5rem 1.2rem 1.2rem 1.2rem;
    margin: 2.5rem 0 2.5rem 0;
    text-align: center;
    position: relative;
}

.early-bird-offer h3 {
    color: #1a4a5a;
    font-size: 1.25rem;
    margin-bottom: 0.7rem;
    letter-spacing: 0.01em;
    margin-top: 1rem;
}

.early-bird-offer p {
    color: #2d4a6a;
    font-size: 1.08rem;
}

ul {
    margin: 1.2rem 0 1.8rem 1.5rem;
    padding-left: 1.2rem;
    text-align: left;
}

li {
    /*margin-bottom: 0.7rem;*/
    font-size: 1.08rem;
    line-height: 1.5;
    position: relative;
}

li::marker {
    color: #4a6fa5;
    font-size: 1.2em;
}

/* Section Spacing */
.content p, .content ul, .content h3, .early-bird-offer {
    margin-left: auto;
    margin-right: auto;
}

/* Links */
a {
    color: #4a6fa5; /* Subtle blue contrasting color */
    text-decoration: underline;
    transition: color 0.2s;
    font-weight: 600;
}

a:hover, a:focus {
    color: #2d4a6a; /* Slightly darker on hover/focus */
    text-decoration: underline;
}

/* Footer */
footer {
    margin-top: auto;
    padding: 1rem 0;
    font-size: 0.9rem;
    color: #777;
}

/* Animations */
@keyframes wiggle {
  0% { transform: rotate(0deg); }
  15% { transform: rotate(-2deg); }
  30% { transform: rotate(2deg); }
  45% { transform: rotate(-2deg); }
  60% { transform: rotate(2deg); }
  75% { transform: rotate(-2deg); }
  100% { transform: rotate(0deg); }
}

.logo.wiggle {
  animation: wiggle 0.2s ease;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .logo {
        max-width: 200px;
    }

    h1 {
        font-size: 3rem;
        text-align: center;
    }

    h2 {
        font-size: 1.5rem;
    }

    .content {
        padding: 1.2rem 0.5rem 1.2rem 0.5rem;
        max-width: 98vw;
    }

    .early-bird-offer {
        padding: 1rem 0.5rem 1rem 0.5rem;
    }

    .cta-text {
        font-size: 1rem;
        padding: 0.8rem 0.5rem;
    }

    ul {
        margin-left: 0.7rem;
        padding-left: 0.7rem;
    }
}
