/* Body Background */
body {
    background-color: #1a1a2e;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/assets/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(5px);
    -webkit-filter: blur(5px);
    z-index: -1;
    opacity: 0.6;
}

/* Table Styles */
.table {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(46, 125, 50, 0.99));
    border-radius: 12px;
    padding: 20px;
}

/* First Screen Styles */
.first-screen {
    border: 2px solid #4caf50;
    border-radius: 12px;
    padding: 25px;
    background: rgba(0, 0, 0, 0.4);
}

/* FAQ Block Styles */
.faq-block {
    border: 2px solid #4caf50;
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
    background: rgba(0, 0, 0, 0.4);
}

.faq-block_container {
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    background: rgba(76, 175, 80, 0.1);
}

.faq-block_title {
    padding: 15px 20px;
    cursor: pointer;
    font-weight: 600;
    position: relative;
    user-select: none;
    transition: background 0.3s;
}

.faq-block_title:hover {
    background: rgba(76, 175, 80, 0.2);
}

.faq-block_title::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 20px;
    font-weight: bold;
    transition: transform 0.3s;
}

.faq-block_container.active .faq-block_title::after {
    transform: rotate(45deg);
}

.faq-block_content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-block_container.active .faq-block_content {
    padding: 15px 20px;
    max-height: 500px;
}

/* Responsibly Block - Always Visible */
.responsibly-block .faq-block_content {
    padding: 15px 20px !important;
    max-height: none !important;
}

.responsibly-block .faq-block_title::after {
    display: none;
}

/* Header Logo */
header img {
    max-width: 200px;
    max-height: 40px;
    width: auto;
    height: auto;
}

/* Header Navigation */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .wrappers {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-name {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.header-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.header-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.header-nav a:hover {
    color: #4caf50;
}

/* Burger Menu Button */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    .header-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .header-nav.active {
        right: 0;
    }

    .header-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .header-nav li {
        width: 100%;
        border-bottom: 1px solid rgba(76, 175, 80, 0.2);
    }

    .header-nav a {
        display: block;
        padding: 15px 0;
        font-size: 16px;
        color: #ffffff;
    }

    .header-nav a:hover {
        color: #4caf50;
        background: rgba(76, 175, 80, 0.1);
    }

    /* Overlay when menu is open - только на левой части */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 30%;
        min-width: 50px;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .menu-overlay.active {
        display: block;
    }

    .site-name {
        font-size: 14px;
    }

    header img {
        max-width: 120px;
        max-height: 30px;
    }
}
