
:root {
    --font-bebas: 'Bebas Neue', Impact, 'Arial Narrow Bold', sans-serif;
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --light-bg: rgba(255, 255, 255, 0.95);
    --dark-text: #2c3e50;
    --light-text: #ecf0f1;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
}
@font-face {
    font-family: 'Bebas Neue Regular';
    src: url('/static/fonts/BebasNeueRegular.eot');
    src: url('/static/fonts/BebasNeueRegular.eot?#iefix') format('embedded-opentype'),
    url('/static/fonts/BebasNeueRegular.woff') format('woff'),
    url('/static/fonts/BebasNeueRegular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    }
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: var(--dark-text);
}


.blurred-bg {
    background-image: url('/static/images/background.jpg');

    background-size: cover;
    background-position: center;

    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.7;
}

.content-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}
p {


}

.navbar {
    background: rgba(44, 62, 80, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1030;
    position: relative;

}

.navbar-brand {
font-family: 'Bebas Neue Regular';
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--light-text) !important;
    padding-bottom: .0rem;

}

.wing-emoji {
    color: #ff9800;
    font-size: 1.8rem;
    margin-right: 8px;
}

.nav-link {
    color: var(--light-text) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}


.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-title {
    font-family: 'Bebas Neue Regular';
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons .btn {
    font-family: 'Bebas Neue Regular';
    margin-right: 1rem;
    margin-bottom: 1rem;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.hero-icon {
    font-size: 8rem;
    color: #ff9800;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}


.card, .profile-card, .auth-card, .content-card, .song-card {
    background: var(--light-bg);
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    margin-bottom: 1.5rem;
}

.profile-header, .auth-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.profile-header h3, .auth-header h2 {
    margin: 0;
    font-weight: 600;
}

.profile-body, .auth-body {
    padding: 1.5rem;
}


.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

.form-control, .form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.form-error {
    color: var(--danger-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}


.btn {
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #2980b9);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--dark-text);
}


.audio-player {
    width: 100%;
    border-radius: 8px;
    margin: 10px 0;
}

.audio-player::-webkit-media-controls-panel {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.audio-player::-webkit-media-controls-play-button {
    background-color: white;
    border-radius: 50%;
}


.song-card {
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.song-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.song-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 1rem;
}

.song-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    flex: 1;
}

.song-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-exclusive {
    background: linear-gradient(135deg, #f39c12, #e74c3c);
    color: white;
}

.badge-available {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
}

.song-artist {
    color: #6c757d;
    margin-bottom: 1rem;
    font-style: italic;
}

.song-actions {
    margin-top: 1rem;
}

.btn-lyrics {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-lyrics:hover {
    background: rgba(52, 152, 219, 0.1);
}

.song-lyrics {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.lyrics-content {
    white-space: pre-line;
    line-height: 1.6;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item label {
    font-weight: 600;
    color: #6c757d;
}


.uid-value {
    display: none;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-linked {
    background: var(--success-color);
    color: white;
}

.status-not-linked {
    background: var(--warning-color);
    color: white;
}


.security-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.security-notice i {
    color: var(--warning-color);
    margin-right: 8px;
}


.features-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.feature-card {
    text-align: center;
    padding: 2rem 1rem;
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-weight: 600;
    color: #fff;
}
.feature-card p {

    color: #fff;
}

.content-image {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}


.audio-message-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.audio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.audio-duration {
    color: #6c757d;
    font-size: 0.9rem;
}

.audio-description {
    color: #6c757d;
    margin-bottom: 1rem;
}


.alert {
    border-radius: var(--border-radius);
    border: none;
    padding: 1rem 1.5rem;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    color: #856404;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
}


footer {
    background: rgba(44, 62, 80, 0.95);
    color: var(--light-text);
    margin-top: auto;
}


@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .info-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .info-item span {
        margin-top: 4px;
    }

    .song-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .song-badge {
        margin-top: 8px;
    }
}


.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.container .auth-card,
.container .content-card,
.container .profile-card {
    margin: 1rem 0;
    padding: 2rem;
}

@media (max-width: 768px) {
    .container .auth-card,
    .container .content-card,
    .container .profile-card {
        margin: 0.5rem 0;
        padding: 1.5rem 1rem;
    }

    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
}


.page-title {
    font-family: 'Bebas Neue Regular';
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-align: center;
    color: white;

    background: linear-gradient(135deg, #ffffff, #e3f2fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 1rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-text);
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 0.5rem;
}


.people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.person-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.person-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.person-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    margin: 0 auto 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.person-name {
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.person-role {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.person-card p {
    color: var(--dark-text);
    font-style: italic;
    margin: 0;
}


.block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.block-title {
    margin: 0;
    color: var(--dark-text);
    font-size: 1.5rem;
}

.block-date {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
}

.block-media {
    display: grid;
    gap: 1.5rem;
}

.media-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.media-item h5 {
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.media-caption {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 0.5rem;
    text-align: center;
}

.video-placeholder {
    background: linear-gradient(135deg, #667eea, #764ba2);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    position: relative;
}

.video-overlay {
    text-align: center;
    color: white;
}

.video-overlay i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.block-upcoming {
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #dee2e6;
}

.upcoming-content {
    color: #6c757d;
    padding: 2rem;
    text-align: center;
}

.conditions-list {
    list-style: none;
    padding-left: 0;
}

.conditions-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
    color: var(--dark-text);
}

.conditions-list li:before {
    content: "✓";
    color: var(--success-color);
    font-weight: bold;
    margin-right: 10px;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .block-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .auth-buttons {
        flex-direction: column;
        align-items: center;
    }

    .auth-buttons .btn {
        width: 200px;
    }

    .page-title {
        font-size: 2rem;
    }
}

.anketa-status-card {
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
}

.anketa-status-card.completed {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border-color: #28a745;
}

.anketa-status-card.pending {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border-color: #ffc107;
}

.status-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.anketa-status-card h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.anketa-status-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}


.navbar {
    background: rgba(44, 62, 80, 0.98) !important;
    backdrop-filter: blur(15px);
}


footer {
    margin-top: auto;
    background: rgba(44, 62, 80, 0.95) !important;
}


@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .page-title {
        font-size: 1.8rem;
    }
}
@media (max-width: 768px) {
    .hero-section .row {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .hero-title {
        margin-bottom: 0.75rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        margin-bottom: 1.5rem;
        line-height: 1.4;
        font-size: 1.1rem;
    }

.hero-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem 1rem;
        /*justify-items: center;   */
    }


    .hero-buttons .btn {
        width: 100%;
        max-width: 160px;
        margin: 0;
        vertical-align: middle
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

.admin-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.admin-card-header {
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.admin-card-body {
    padding: 1.5rem;
}

.faq-section {
    margin: 5rem 0;
    padding: 3rem 0;
}

.faq-title {
    font-family: 'Bebas Neue Regular';
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
}

.faq-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.faq-accordion {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 0;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    margin: 0.5rem 1rem;
    border-radius: 12px;
    overflow: hidden;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    background: transparent;
    color: var(--dark-text);
    padding: 1.8rem 2rem;
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    width: 100%;
    text-align: left;
    position: relative;
}

.faq-question::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 12px 0 0 12px;
}

.faq-question:hover {
    background: rgba(52, 152, 219, 0.05);
    padding-left: 2.3rem;
    color: var(--primary-color);
}

.faq-question:hover::before {
    width: 5px;
}

.faq-question.active {
    background: rgba(52, 152, 219, 0.08);
    color: var(--primary-color);
}

.faq-question.active::before {
    width: 5px;
}

.faq-icon {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 1.3rem;
    color: var(--primary-color);
    background: rgba(52, 152, 219, 0.1);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 1.5rem;
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
    background: var(--primary-color);
    color: white;
}


.faq-answer-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    margin: 0 1rem;
}

.faq-answer-wrapper.open {
    max-height: 2000px;
    margin: 0 1.2rem 1rem;
}

.faq-answer {
    opacity: 0;
    transform: translate3d(0, -10px, 0);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
    will-change: transform, opacity;
}

.faq-answer-wrapper.open .faq-answer {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    padding: 0.5rem 0 1rem;
    transition-delay: 0.1s;
}

.faq-answer-content {
    line-height: 1.7;
    color: var(--dark-text);
    margin: 0;
    font-size: 1.05rem;
    background: rgba(255, 255, 255, 0.8);
    padding: 1.8rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}


@keyframes gentleFadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

.faq-item {
    animation: gentleFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translate3d(0, 30px, 0) scale(0.98);
}

.faq-item:nth-child(1) { animation-delay: 0.05s; }
.faq-item:nth-child(2) { animation-delay: 0.1s; }
.faq-item:nth-child(3) { animation-delay: 0.15s; }
.faq-item:nth-child(4) { animation-delay: 0.2s; }
.faq-item:nth-child(5) { animation-delay: 0.25s; }
.faq-item:nth-child(6) { animation-delay: 0.3s; }
.faq-item:nth-child(7) { animation-delay: 0.35s; }


.faq-question:hover .faq-icon {
    transform: scale(1.05);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq-question.active:hover .faq-icon {
    transform: rotate(180deg) scale(1.05);
}


.faq-question:active {
    transform: scale(0.995);
    transition: transform 0.1s ease;
}


@media (max-width: 768px) {
    .faq-section {
        margin: 3rem 0;
        padding: 2rem 0;
    }

    .faq-title {
        font-size: 2.3rem;
        margin-bottom: 2.5rem;
    }

    .faq-title::after {
        bottom: -12px;
        width: 80px;
        height: 3px;
    }

    .faq-container {
        padding: 0 1rem;
    }

    .faq-accordion {
        padding: 0.3rem 0;
    }

    .faq-item {
        margin: 0.3rem 0.8rem;
    }

    .faq-question {
        padding: 1.5rem 1.5rem;
        font-size: 1.1rem;
    }

    .faq-question:hover {
        padding-left: 1.8rem;
    }

    .faq-answer-wrapper {
        margin: 0 0.8rem;
    }

    .faq-answer-wrapper.open {
        margin: 0 0.8rem 0.8rem;
    }

    .faq-answer-wrapper.open .faq-answer {
        padding: 0.3rem 0 0.8rem;
    }

    .faq-answer-content {
        padding: 1.5rem;
        font-size: 1rem;
    }

    .faq-icon {
        width: 34px;
        height: 34px;
        font-size: 1.1rem;
        margin-left: 1rem;
    }


    .faq-answer-wrapper {
        transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .faq-answer {
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
}

@media (max-width: 480px) {
    .faq-section {
        margin: 2rem 0;
        padding: 1.5rem 0;
    }

    .faq-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .faq-container {
        padding: 0 0.5rem;
    }

    .faq-item {
        margin: 0.2rem 0.5rem;
    }

    .faq-question {
        padding: 1.2rem 1.2rem;
        font-size: 1rem;
    }

    .faq-question:hover {
        padding-left: 1.4rem;
    }

    .faq-answer-wrapper {
        margin: 0 0.5rem;
    }

    .faq-answer-wrapper.open {
        margin: 0 0.5rem 0.5rem;
    }

    .faq-answer-content {
        padding: 1.2rem;
    }
}


.faq-item {
    contain: layout style paint;
}

.faq-answer-content {
    contain: content;
}


@media (prefers-reduced-motion: no-preference) {
    .faq-item {
        animation: gentleFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
}


@media (prefers-reduced-motion: reduce) {
    .faq-item,
    .faq-question,
    .faq-icon,
    .faq-answer-wrapper,
    .faq-answer {
        transition-duration: 0.1s !important;
        animation-duration: 0.1s !important;
    }
}
.faq-subtitle-section {
    animation: gentleFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.4s;
    opacity: 0;
    transform: translate3d(0, 20px, 0);
}

.faq-subtitle {
    font-size: 1.3rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    margin-bottom: 1.5rem;
}

.faq-button {
    background: linear-gradient(135deg, var(--accent-color), #c0392b);
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.3);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.faq-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(231, 76, 60, 0.4);
    background: linear-gradient(135deg, #c0392b, var(--accent-color));
}

.faq-button:hover::before {
    left: 100%;
}

.faq-button:active {
    transform: translateY(-1px) scale(1.02);
}


@keyframes buttonPulse {
    0% {
        box-shadow: 0 6px 20px rgba(231, 76, 60, 0.3);
    }
    50% {
        box-shadow: 0 6px 25px rgba(231, 76, 60, 0.5);
    }
    100% {
        box-shadow: 0 6px 20px rgba(231, 76, 60, 0.3);
    }
}

.faq-button {
    animation: buttonPulse 3s ease-in-out infinite;
}


@media (max-width: 768px) {
    .faq-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .faq-button {
        padding: 10px 25px;
        font-size: 1rem;
    }

    .faq-subtitle-section {
        margin-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    .faq-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .faq-button {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

.person-story-card {
    padding: 2rem;
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.person-story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.person-name {
    font-family: 'Bebas Neue Regular';
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.person-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.person-story {
    line-height: 1.7;
    color: var(--dark-text);
}

.person-photo {
    width: 100%;
    max-width: 250px;
    height: 250px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.person-photo:hover {
    transform: scale(1.03);
}

.photo-caption {
    font-style: italic;
    color: #6c757d;
    font-size: 0.9rem;
}

.photo-container {
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .person-story-card {
        padding: 1.5rem;
    }

    .person-name {
        font-size: 1.5rem;
        text-align: center;
    }

    .person-role {
        text-align: center;
    }

    .person-photo {
        max-width: 200px;
        height: 200px;
    }
}

.activity-icon-primary { background: #d1ecf1; color: #0c5460; }
.activity-icon-secondary { background: #e2e3e5; color: #383d41; }

.stat-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.filter-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.filter-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: end;
}

.filter-item {
    flex: 1;
    min-width: 200px;
}

.ip-match-badge {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.same-ip-group {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1rem;
    margin: 0.5rem 0;
    border-radius: 0 8px 8px 0;
}
.test-server-banner.fixed-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #ffd700, #ffa500);
    color: #8a6d00;
    padding: 10px 0;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    border-bottom: 2px solid #ffa500;
    box-shadow: 0 2px 15px rgba(255, 165, 0, 0.4);
    z-index: 9999;
    animation: pulse-banner 3s ease-in-out infinite;
}

.test-server-banner.fixed-banner i {
    color: #b38f00;
    animation: bounce 2s ease-in-out infinite;
}

.test-server-banner.fixed-banner strong {
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.test-server-banner.fixed-banner small {
    font-size: 0.8rem;
    opacity: 0.8;
}

@keyframes pulse-banner {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.9; box-shadow: 0 2px 20px rgba(255, 165, 0, 0.6); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}


body.admin-page .content-wrapper {
    padding-top: 70px;
}


.btn-disabled-reason {
    position: relative;
}

.btn-disabled-reason:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
}


.card-disabled {
    opacity: 0.6;
    filter: grayscale(50%);
}

.permission-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ffc107;
    color: #000;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
}

.modal-backdrop {
    display: none !important;
}


body.modal-open {
    overflow: hidden;
    padding-right: 0 !important;
}


.modal {
    z-index: 1055 !important;
    background-color: rgba(0, 0, 0, 0.5);
}


.modal.show {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}


.modal.show .modal-content {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}


.modal.show::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: -1;
}


.modal-backdrop.fade {
    display: none;
}


.modal-dialog-centered {
    z-index: 1060;
}

.news-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.news-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.news-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}


.fullscreen-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: column;
}

.fullscreen-loader .spinner {
    width: 70px;
    height: 70px;
    border-width: 5px;
}


.admin-table th {
    background: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}


.telegram-link {
    color: #0088cc;
    text-decoration: none;
}

.telegram-link:hover {
    text-decoration: underline;
    color: #006699;
}

.dropdown-menu {
    max-height: 300px;
    overflow-y: auto;
}

.admin-toast {
    z-index: 99999 !important;
}


.btn:disabled {
    cursor: not-allowed;
}

.table th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
}


.modal-content {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 12px 12px 0 0;
}

.modal-title i {
    margin-right: 8px;
}
.online-status {
    position: fixed;
    top: 10px;
    right: 10px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    z-index: 9999;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.online-status.online {
    background: #4cd964;
    color: white;
}

.online-status.offline {
    background: #ff6b6b;
    color: white;
}


@keyframes slideIn {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.page-header-with-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (max-width: 768px) {
    .page-header-with-button {
        flex-direction: column;
        text-align: center;
    }

    .page-header-with-button .btn {
        margin-top: 1rem;
        width: 100%;
        max-width: 200px;
    }
}


.hero-logo {
    width: 8rem;
    height: 8rem;
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .hero-logo {
        width: 6rem;
        height: 6rem;
        margin: 2rem auto;
        display: block;
    }
}


@media (max-width: 768px) {
    .hero-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        justify-content: center;
    }

    .hero-buttons .btn {
        flex: 1 1 calc(50% - 0.75rem);
        min-width: 140px;
        max-width: 160px;
        margin: 0 !important;
        text-align: center;
    }
}


@media (min-width: 769px) {
    .hero-buttons .btn {
        margin-right: 1rem;
        margin-bottom: 1rem;
    }
}
html.fonts-loading .hero-title,
html.fonts-loading .page-title {
    visibility: hidden;
    opacity: 0;
}

/* После загрузки шрифта показываем с анимацией */
html.fonts-loaded .hero-title,
html.fonts-loaded .page-title {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s ease-in;
}

/* Fallback если шрифт не загрузился */
html.fonts-loaded-fallback .hero-title,
html.fonts-loaded-fallback .page-title {
    font-family: Impact, 'Arial Narrow Bold', sans-serif;
    letter-spacing: -0.5px; /* Компенсация для Impact */
}

.team-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.team-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #0d6efd;
}
#preloader {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, #050814 0%, #02030a 70%);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    width: 140px;
    height: auto;
    animation: logoPulse 2s infinite ease-in-out;
}

.preloader-text {
    margin-top: 15px;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 4px;
    font-size: 26px;
    color: #0d6efd;
}

.preloader-bar {
    width: 220px;
    height: 4px;
    background: rgba(255,255,255,0.15);
    border-radius: 4px;
    margin: 18px auto 0;
    overflow: hidden;
}

.preloader-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg,#0)
