@import url('https://fonts.googleapis.com/css2?family=SF+Pro+Display:wght@400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'SF Pro Display', -apple-system, Arial, sans-serif;
    background: #000;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

.back-button {
    display: inline-flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    background: #007aff;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-in-out forwards;
}

.back-button:hover {
    background: #005bb5;
    transform: scale(1.05);
}

.cross-icon {
    text-align: center;
    font-size: 2rem;
    color: #D4AF37;
    margin: 20px 0;
    opacity: 0;
    animation: fadeIn 1s ease-in-out 0.2s forwards;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -1px;
    text-align: center;
    color: #D4AF37;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    opacity: 0;
    animation: fadeInDown 1s ease-in-out 0.4s forwards;
}

h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #D4AF37;
    text-align: center;
    margin: 30px 0 20px;
    opacity: 0;
    animation: fadeInUp 1s ease-in-out forwards;
    animation-delay: calc(0.2s * var(--i));
}

.language-switcher {
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: fadeInUp 1s ease-in-out 0.6s forwards;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #a1a1a6;
}

select {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: background 0.3s;
}

select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
}

select::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #a1a1a6;
}

.prayer-item {
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: fadeInUp 1s ease-in-out forwards;
    animation-delay: calc(0.2s * var(--i));
}

.prayer-content {
    white-space: pre-wrap;
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: justify;
}

/* Анимации */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Адаптивность */
@media (max-width: 600px) {
    .container {
        margin: 20px;
        padding: 20px;
    }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    .prayer-content { font-size: 1rem; }
    select { font-size: 0.9rem; padding: 10px; }
    .back-button { padding: 10px 20px; font-size: 0.9rem; }
} 