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

body {
    background: #000;
    color: #fff;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 30px;
    z-index: 10;
}

.logo {
    height: 120px;
    width: auto;
    filter: brightness(1.1);
}

#chess-container {
    width: 100%;
    height: 60vh;
    position: relative;
    z-index: 1;
    margin-top: 100px;
}

main {
    position: relative;
    z-index: 5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.cta-section {
    padding: 0 20px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.cta-button {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 16px 40px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: none;
    border-radius: 0;
}

.cta-button:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
    letter-spacing: 1.5px;
}

.form-hint {
    text-align: center;
    font-size: 14px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

.guess-form {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.guess-form.hidden {
    display: none;
}

.guess-form.showing {
    animation: fadeUp 0.5s ease forwards;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 14px 18px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.3s ease;
    border-radius: 0;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: rgba(255, 255, 255, 0.5);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.submit-button {
    background: #fff;
    color: #000;
    border: none;
    padding: 14px 40px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    border-radius: 0;
}

.submit-button:hover {
    background: rgba(255, 255, 255, 0.85);
}

.success-message {
    text-align: center;
    opacity: 1;
}

.success-message.hidden {
    display: none;
}

.success-message.showing {
    animation: fadeUp 0.5s ease forwards;
}

.success-message p {
    font-size: 16px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 600px) {
    header {
        padding: 20px;
    }

    .logo {
        height: 90px;
    }

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

    .cta-section {
        padding: 30px 20px 40px;
    }
}
