@font-face {
    font-family: 'Libra';
    src: url('fonts/libra-serif-modern.regular.otf') format('opentype');
}

:root {
    --bg-color: #1d1d1d;
    --accent-red: #930b0b;
}

body {
    background-color: var(--bg-color);
    color: #ffffff;
    font-family: 'Libra', serif;
    margin: 0;
    overflow-x: hidden;
}

.container {
    max-width: 500px;
    margin: 0 auto;
    padding: 40px 20px;
}

.logo-crave {
    font-size: 4rem;
    text-align: center;
    color: var(--accent-red);
    text-transform: uppercase;
    letter-spacing: 12px;
    margin-bottom: 10px;
    background: linear-gradient(180deg, #ff2e2e 0%, #930b0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    text-align: center;
    opacity: 0.6;
    font-size: 0.9rem;
    margin-bottom: 50px;
}

/* === КАРТОЧКИ И НАСЛОЕНИЕ === */

.characters-list {
    display: flex;
    flex-direction: column;
}

.char-card {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-bottom: -60px; /* Эффект наслоения */
}

/* Анимация всплытия */
.reveal-item {
    opacity: 0;
    transform: translateY(40px);
    animation: floatUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Порядок появления и Z-index (чтобы верхние были над нижними) */
.reveal-item:nth-child(1) { animation-delay: 0.2s; z-index: 10; }
.reveal-item:nth-child(2) { animation-delay: 0.5s; z-index: 9; }
.reveal-item:nth-child(3) { animation-delay: 0.8s; z-index: 8; }
.reveal-item:nth-child(4) { animation-delay: 1.1s; z-index: 7; }

@keyframes floatUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ФОТО */
.photo-container {
    width: 200px;
    z-index: 5;
}

.char-img {
    width: 100%;
    border-radius: 25px;
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.9);
}

/* СТЕКЛО (17% прозрачности) */
.glass-pane {
    margin-top: -90px;
    margin-left: auto;
    width: 85%;
    padding: 100px 25px 30px 30px;
    border-radius: 30px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-adrian  { background: rgba(147, 11, 11, 0.17); }
.glass-dominic { background: rgba(0, 0, 0, 0.17); }
.glass-jax     { background: rgba(128, 114, 92, 0.17); }
.glass-silas   { background: rgba(36, 12, 12, 0.17); }

.glass-pane h3 {
    margin: 0 0 10px 0;
    font-size: 1.8rem;
    letter-spacing: 1px;
}

.char-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
}

.pwa-footer {
    text-align: center;
    margin-top: 120px;
    padding-bottom: 40px;
}

.pwa-footer a {
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    font-size: 0.8rem;
}
