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

:root {
    --color: #FFD700;
    --gold: #FFD700;
    --white: #FFFFFF;
    --black: #000000;
    --dark-gray: #333333;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background: var(--white);
}

/* Header */
header {
    background: var(--glass);
    backdrop-filter: blur(4px);
    border-bottom: 1px solid rgba(230, 180, 34, 0.2);
    padding: 1rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.logo {
    height: 50px;
    filter: drop-shadow(0 0 5px var(--color));
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

nav a {
    color: var(--dark-gray);
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.3s ease;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: var(--color);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--color);
}

nav a:hover::after {
    width: 100%;
}

/* Cover Section */
.cover {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("../img/desmos2.png");
    padding: 6vw;
    overflow: hidden;
}

.cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../img/sponsors-cover.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: 1;
}

.cover__inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cover h1 {
    color: var(--black);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.05em;
    margin-bottom: 1rem;
}

.cover p {
    color: var(--black);
    font-size: 1.5rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Button Styles */
.button {
    display: inline-block;
    text-decoration: none;
    background-color: var(--color);
    color: var(--black);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.button:hover {
    transform: scale(1.05);
    background-color: #ffca2c;
}

/* Spacer */
.spacer {
    height: 80px;
}

/* Constrained Group */
.group {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.group h2 {
    color: var(--black);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    text-align: center;
}

.group p {
    color: var(--dark-gray);
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: center;
}

/* Sponsor Section */
.sponsor-logos {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
    background: var(--white);
    padding: 20px 0;
}

.logos-slide {
    display: flex;
    animation: scroll 15s linear infinite;
}

.logo {
    margin-right: 40px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

.logo a {
    display: block;
    text-decoration: none;
}

.logo img {
    max-height: 150px;
    width: auto;
}

/* Form Container */
.form-container {
    margin: 2rem auto;
    padding: 1rem;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    animation: fadeIn 0.5s ease;
}

.form-container iframe {
    width: 100%;
    border: none;
    border-radius: 5px;
}

/* Animation */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

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

    .cover p {
        font-size: 1.2rem;
    }

    .group h2 {
        font-size: 2rem;
    }

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

    .logo img {
        max-height: 100px;
    }

    .form-container {
        margin: 1rem;
        padding: 1rem;
    }

    .form-container iframe {
        height: 600px;
    }
}

footer {
  text-align: left;
  padding: 1rem;
  font-size: 0.9rem;
  color: #999;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2rem;
}