/* Общие стили */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(180deg, #020617, #0f172a);
    color: #e2e8f0;
    overflow-x: hidden;
}

/* Шапка */
header {
    background: rgba(2, 6, 23, 0.9);
    padding: 20px;
    text-align: center;
    border-bottom: 2px solid #22c55e;
    animation: fadeDown 1s ease;
}

header h1 {
    margin: 0;
    color: #22c55e;
    letter-spacing: 2px;
    text-shadow: 0 0 10px #22c55e;
}

/* Навигация */
nav {
    background-color: #020617;
    padding: 10px;
    text-align: center;
}

nav a {
    color: #e2e8f0;
    margin: 0 15px;
    text-decoration: none;
    position: relative;
    transition: 0.3s;
}

/* Анимация подчеркивания */
nav a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #22c55e;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

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

nav a:hover {
    color: #22c55e;
}

/* Контент */
.container {
    padding: 20px;
}

/* Карточки */
.card {
    background: rgba(2, 6, 23, 0.8);
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 12px;
    border: 1px solid #1e293b;
    backdrop-filter: blur(10px);

    /* Анимация появления */
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;

    /* Hover эффект */
    transition: transform 0.3s, box-shadow 0.3s;
}

.card.show {
    opacity: 1;
    transform: translateY(0);
}

.card:hover {
    transform: scale(1.03);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
}

/* Кнопки (если добавишь позже) */
.button {
    display: inline-block;
    padding: 10px 20px;
    background: #22c55e;
    color: #020617;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
}

.button:hover {
    background: #16a34a;
    box-shadow: 0 0 10px #22c55e;
}

/* Подвал */
footer {
    text-align: center;
    padding: 15px;
    background-color: #020617;
    border-top: 1px solid #1e293b;
}

/* Анимации */
@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
