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

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

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #1e1e2f, #2a2a40);
    color: #e0e0e0;
    min-height: 100vh;
    padding: 40px 20px;
    line-height: 1.6;
}

/* Стили для начальной страницы */
header {
    text-align: center;
    margin-bottom: 40px;
}

h1 {
    font-size: 3em;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.5em;
    font-weight: 300;
    color: #b0b0b0;
}

.intro {
    max-width: 800px;
    margin: 0 auto 40px;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.intro p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.teaser-image {
    max-width: 600px;
    margin: 0 auto 40px;
    text-align: center;
}

.teaser-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.teaser-image img:hover {
    transform: scale(1.05);
}

.start-form {
    display: flex;
    justify-content: center;
    width: 100%;
}

.button {
    padding: 15px 40px;
    background: #ff007a;
    border: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.2em;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.button:hover {
    background: #00d4ff;
    transform: scale(1.05);
}

/* Стили для старой страницы FOOOOOOO */
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.start-message {
    max-width: 700px;
    margin: 0 auto 40px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    font-size: 1.2em;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.accordion-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.accordion-column {
    flex: 1;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.accordion-spacer {
    flex: 0 0 200px;
}

.accordion {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.accordion:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.accordion-header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.15);
}

.icon {
    font-size: 1.5em;
    margin-right: 15px;
}

.title {
    font-weight: 500;
    font-size: 1.1em;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    background: rgba(255, 255, 255, 0.05);
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.accordion.active .accordion-content {
    max-height: 200px;
    padding: 15px 20px;
}

a {
    color: #00d4ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ff007a;
}

.form-container {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

form {
    display: flex;
    gap: 10px;
    align-items: center;
}

input[type="password"] {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 1em;
    transition: background 0.3s ease;
}

input[type="password"]::placeholder {
    color: #b0b0b0;
}

input[type="password"]:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.25);
}

.error {
    color: #ff4d4d;
    margin-top: 10px;
    font-size: 0.9em;
}

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

    .subtitle {
        font-size: 1.2em;
    }

    .intro {
        font-size: 1em;
    }

    .teaser-image {
        max-width: 100%;
    }

    .accordion-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .accordion-spacer {
        display: none;
    }

    form {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }
}

code {
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
}
