@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    background-image: url('images/background.png');
    background-repeat: repeat;
    background-position: 0% 0%;
    color: #2d2d2d;
    line-height: 1.6;
}

header {
    background: linear-gradient(135deg, #fcc9de 0%, #fbb5d3 100%);
    padding: 0.5rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.3rem;
    color: #fef0f5;
}

nav {
    background: white;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: #faa6ca;
    font-weight: 600;
    transition: color 0.3s;
    font-size: 1.1rem;
}

nav a:hover {
    color: #f78bb8;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

section {
    background: white;
    margin: 2rem 0;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(250, 166, 202, 0.15);
}

h2 {
    color: #faa6ca;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #faa6ca;
    padding-bottom: 0.5rem;
}

.timeline-item {
    margin: 1.5rem 0;
    padding-left: 2rem;
    border-left: 4px solid #faa6ca;
}

.timeline-item h3 {
    color: #faa6ca;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.timeline-item p {
    color: #666;
    font-size: 1.1rem;
}

.rule-item {
    background: #fef0f5;
    padding: 1.2rem;
    margin: 1rem 0;
    border-radius: 8px;
    border-left: 5px solid #faa6ca;
}

.rule-item h3 {
    color: #faa6ca;
    margin-bottom: 0.5rem;
}

.prize-card {
    background: linear-gradient(135deg, #fef0f5 0%, #fde4ee 100%);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 10px;
    border: 2px solid #faa6ca;
}

.prize-card h3 {
    color: #faa6ca;
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.prize-card p {
    font-size: 1.1rem;
    color: #555;
}

footer {
    background: #fcc9de;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

.hero-buttons {
    margin-top: 0.1rem;
    margin-bottom: 0.4rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-cta {
    background: white;
    color: #faa6ca;
    padding: 0.6rem 1.6rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-cta:hover {
    transform: translateY(-2px);
    background: #fef0f5;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.hero-cta.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button {
    display: inline-block;
    background: #faa6ca;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #f78bb8;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    nav ul {
        gap: 1rem;
    }

    section {
        padding: 1.5rem;
    }
}

#sponsors {
    text-align: center;
    margin: 3rem 0;
}

.sponsor-tier {
    margin-bottom: 2.5rem;
}

.sponsor-logos {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.sponsor-logos img {
    border-radius: 8px;
}

.sponsor-logos.xlarge img {
    max-width: 870px;
}

.sponsor-logos.medium img {
    max-width: 660px;
}

.sponsor-logos.small {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.8rem;
}

.sponsor-logos.small img {
    max-width: 270px;
    max-height: 170px;
    width: auto;
    height: auto;
    object-fit: contain;
}

a {
    color: #faa6ca;
    text-decoration: underline;
    font-weight: 600;
}

a:hover {
    color: #f78bb8;
    text-decoration: underline;
}

.hexany-logo {
    height: 120px;
    width: auto;
    object-fit: contain;
}

.chequered-logo {
    height: 250px;
    width: auto;
    object-fit: contain;
}

.sponsor-logos a {
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.sponsor-logos a:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

.pizzadoggy-logo {
    max-width: 400px !important;
    max-height: 270px !important;
}

.wil-logo {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.winners-img {
    width: 100%;
    max-width: 700px;
    height: auto;
    display: block;
    margin: 1.5rem auto 0;
    border-radius: 10px;
}

/* OinkJam 1 stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 1.5rem 0 0.75rem;
}

.stat-card {
    background: linear-gradient(135deg, #fef0f5 0%, #fde4ee 100%);
    border: 2px solid #faa6ca;
    border-radius: 10px;
    padding: 1.2rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #faa6ca;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-note {
    text-align: center;
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}