* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #050608;
    color: #ffffff;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes spinLogo {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

#mouse-trail {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none; 
    z-index: 9999; 
}

header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 6, 8, 0.85);
    backdrop-filter: blur(15px);
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

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

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

.logo-img {
    height: 45px;
    width: 45px;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
}

.toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(5px);
}

.toggle-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.toggle-btn.off {
    color: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.05);
    background: transparent;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ffffff;
}

/* ========================================= */
/* ВЫПАДАЮЩЕЕ МЕНЮ ПОЛЬЗОВАТЕЛЯ              */
/* ========================================= */
.user-menu {
    position: relative;
}

.user-menu-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 6px 16px 6px 6px;
    font-family: inherit;
    transition: all 0.25s ease;
}

.user-menu-trigger:hover,
.user-menu.open .user-menu-trigger {
    background: rgba(0, 153, 255, 0.1);
    border-color: rgba(0, 153, 255, 0.4);
    box-shadow: 0 0 15px rgba(0, 153, 255, 0.15);
}

.user-avatar {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #0099ff 20%, #ffcc00 80%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    color: #050608;
}

.user-menu-name {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-menu-arrow {
    opacity: 0.6;
    flex-shrink: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.user-menu:hover .user-menu-arrow,
.user-menu.open .user-menu-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 14px;
    min-width: 230px;
    max-width: calc(100vw - 40px);
    background: #0e1117;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 200;
}

/* Невидимый "мостик", чтобы курсор мог перейти от ника к меню без потери hover */
.user-dropdown::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
}

.user-menu:hover .user-dropdown,
.user-menu.open .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    width: 100%;
    text-align: left;
    padding: 12px 14px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.dropdown-item:hover {
    background: rgba(0, 153, 255, 0.12);
    color: #0099ff;
}

.dropdown-item-danger:hover {
    background: rgba(255, 85, 85, 0.12);
    color: #ff5555;
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 6px 4px;
}

/* ========================================= */
/* МОДАЛЬНОЕ ОКНО "ОСОБИСТА ІНФОРМАЦІЯ"       */
/* ========================================= */
.profile-section-title {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 15px;
}

.profile-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 28px 0;
}

.profile-input {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
}

.profile-input:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: #0099ff;
    box-shadow: 0 0 15px rgba(0, 153, 255, 0.2);
}

.profile-submit-btn {
    width: 100%;
    padding: 13px;
    background: #0099ff; /* Приємний синій колір */
    border: none;
    border-radius: 12px;
    color: #ffffff; /* Білий текст */
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-submit-btn:hover {
    background: #007acc; /* Трохи темніший синій при наведенні */
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 153, 255, 0.3); /* Синя тінь */
}

.profile-msg {
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    display: none;
}

.profile-msg.error {
    color: #ff5555;
    background: rgba(255, 85, 85, 0.1);
    border: 1px solid rgba(255, 85, 85, 0.2);
    display: block;
}

.profile-msg.success {
    color: #4caf50;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.2);
    display: block;
}

/* ========================================= */
/* МОДАЛЬНОЕ ОКНО "ІНТЕГРАЦІЇ"               */
/* ========================================= */
.integration-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 16px;
}

.integration-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.integration-icon img,
.integration-icon svg {
    width: 24px;
    height: 24px;
}

.integration-info {
    flex-grow: 1;
    min-width: 0;
}

.integration-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 3px;
}

.integration-status {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.integration-status.connected {
    color: #4caf50;
}

.integration-account {
    display: flex;
    align-items: center;
    gap: 8px;
}

.integration-account img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

.integration-btn {
    flex-shrink: 0;
    padding: 9px 18px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    font-family: inherit;
    text-decoration: none;
    display: inline-block;
}

.integration-btn.connect-btn {
    background: #0099ff;
    color: #ffffff;
}

.integration-btn.connect-btn:hover {
    background: #007acc;
    box-shadow: 0 6px 20px rgba(0, 153, 255, 0.3);
}

.integration-btn.disconnect-btn {
    background: rgba(255, 85, 85, 0.1);
    border: 1px solid rgba(255, 85, 85, 0.3);
    color: #ff5555;
}

.integration-btn.disconnect-btn:hover {
    background: rgba(255, 85, 85, 0.2);
}

.integration-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.hero-bg-logo {
    position: absolute;
    width: 1200px;
    height: 1200px;
    top: 50%;
    left: 50%;
    background-image: url('logo.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.07;
    pointer-events: none;
    z-index: 1;
    -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 55%, rgba(0,0,0,0) 70%);
    mask-image: radial-gradient(circle, rgba(0,0,0,1) 55%, rgba(0,0,0,0) 70%);
    animation: spinLogo 120s linear infinite;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: fadeInUp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin-bottom: 45px;
    line-height: 1.6;
}

.cta-btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000000;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
    padding: 20px 50px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #0099ff, #ffcc00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

main {
    width: 100%;
    position: relative;
    z-index: 5;
}

section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}

section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #ffffff;
    margin: 15px auto 0;
    border-radius: 2px;
}

.game-category-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 50px 0 25px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
    border-left: 4px solid #ffffff;
    padding-left: 15px;
}

.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.server-card {
    background: #0e1117;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 24px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-top 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.server-card:hover {
    transform: translateY(-5px);
}

.game-badge {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 10px;
    font-weight: 700;
}

.server-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.server-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1;
}

.buttons-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.copy-ip-btn {
    width: 100%;
    height: 44px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-weight: 600;
    border-radius: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background: #0e1117;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalFadeIn 0.3s ease-out;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    transition: max-width 0.3s ease;
}

.modal-content::-webkit-scrollbar { width: 8px; }
.modal-content::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 4px; }

.modal-header {
    padding: 25px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: rgba(14, 17, 23, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-header h2::after { display: none; }

.close-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.2s;
}

.close-btn:hover { color: #ffffff; }

.modal-body { padding: 30px; }

.rules-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rules-list li {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}

.rules-list li strong { color: #ffffff; }

.punishment {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    font-weight: 700;
}

.rules-note {
    margin-top: 25px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    border-radius: 0 8px 8px 0;
    line-height: 1.5;
}

.discord-section {
    background: linear-gradient(135deg, #0e1117 0%, #090b10 100%);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 32px;
    padding: 60px;
    text-align: center;
    margin-bottom: 100px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.discord-section h2::after { display: none; }
.discord-section h2 { margin-bottom: 20px; font-size: 2.8rem;}

.discord-section p {
    color: rgba(255,255,255,0.6);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.discord-btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.discord-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 45px;
    background: #5865F2;
    color: #ffffff;
    font-family: inherit;
    border: none;
    cursor: pointer;
    outline: none;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(88, 101, 242, 0.35);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.discord-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(88, 101, 242, 0.5);
    background: #4752c4;
}

.discord-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.discord-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.captcha-container {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
    position: relative;
}

footer {
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
    background: #040507;
    position: relative;
    z-index: 10;
}

.toast {
    position: fixed;
    bottom: -60px; left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    color: #000000;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: bottom 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.toast.show { bottom: 40px; }

/* ========================================= */
/* АДАПТАЦИЯ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ         */
/* ========================================= */
@media (max-width: 800px) {
    header { 
        padding: 15px 20px; 
        flex-direction: column; 
        gap: 15px; 
    }
    .header-left { 
        width: 100%; 
        justify-content: space-between; 
    }
    .logo-text { 
        font-size: 1.1rem; 
    }
    header > div:last-child { 
        width: 100%; 
        flex-direction: column; 
        gap: 15px !important; 
    }
    .nav-links { 
        width: 100%; 
        justify-content: center; 
        gap: 15px; 
        flex-wrap: wrap; 
    }
    .hero { 
        padding-top: 200px; 
        height: auto; 
        min-height: 100vh; 
        justify-content: flex-start; 
        padding-bottom: 60px; 
    }
    .hero h1 { 
        font-size: 2.4rem; 
        margin-bottom: 15px; 
        line-height: 1.1;
    }
    .hero p { 
        font-size: 1rem; 
        margin-bottom: 30px; 
    }
    .hero-stats { 
        flex-direction: column; 
        gap: 20px; 
        padding: 25px; 
        width: 100%; 
        margin-top: 30px; 
    }
    .stat-divider { 
        width: 100%; 
        height: 1px; 
    }
    section { 
        padding: 60px 15px; 
    }
    section h2 { 
        font-size: 1.8rem; 
        margin-bottom: 40px; 
    }
    .servers-grid { 
        grid-template-columns: 1fr; 
        gap: 20px; 
    }
    .server-card { 
        padding: 25px 20px; 
        min-height: auto !important; 
    }
    .discord-section { 
        padding: 40px 20px; 
        border-radius: 20px; 
    }
    .discord-section h2 { 
        font-size: 1.8rem; 
    }
    .discord-btn-group { 
        flex-direction: column; 
        width: 100%; 
    }
    .discord-btn { 
        width: 100%; 
    }
    .modal-content { 
        max-height: 80vh; 
    }
    .modal-header h2 { 
        font-size: 1.2rem; 
    }
    .effects-control {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}
/* ==========================================================================
   ЕДИНЫЙ СТИЛЬ ДЛЯ ПОЛЗУНКА ЭФФЕКТОВ (ДЛЯ ВСЕХ СТРАНИЦ)
   ========================================================================== */

.effects-control {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    user-select: none;
    height: 32px; /* Фиксированная высота капсулы */
    box-sizing: border-box;
}

.effects-control .toggle-label {
    font-size: 0.85rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.8);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Контейнер свитча */
.effects-control .switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
    margin: 0;
    padding: 0;
}

/* Полностью убираем дефолтный квадратный чекбокс */
.effects-control .switch input {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none;
}

/* Фон ползунка */
.effects-control .slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s ease;
    border-radius: 20px;
}

/* Бегунок-кружок */
.effects-control .slider:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 3px;
    bottom: 3px;
    background-color: #ffffff;
    transition: 0.3s ease;
    border-radius: 50%;
}

/* Состояние ВКЛ */
.effects-control input:checked + .slider {
    background-color: #0099ff;
    border-color: transparent;
    box-shadow: 0 0 10px rgba(0, 153, 255, 0.5);
}

/* Движение кружка вправо при включении */
.effects-control input:checked + .slider:before {
    transform: translateX(16px);
}

/* =========================================
   Стилі для сучасного Cookie банера
   ========================================= */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(150px); /* Початкова позиція для анімації (сховано внизу) */
    background: rgba(36, 36, 36, 0.85); /* Напівпрозорий темний фон */
    backdrop-filter: blur(12px); /* Ефект розмиття фону під плашкою (Glassmorphism) */
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(36, 140, 237, 0.2); /* Легка синя рамка */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    padding: 20px 25px;
    z-index: 99999;
    width: 90%;
    max-width: 650px;
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

/* Клас для активації анімації появи */
.cookie-banner.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.cookie-text strong {
    display: block;
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 600;
}

.cookie-text p {
    margin: 0;
    font-size: 13px;
    color: #aaaaaa;
    line-height: 1.5;
}

.cookie-btn {
    background: #248ced;
    color: #ffffff;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(36, 140, 237, 0.3); /* Світіння кнопки */
}

.cookie-btn:hover {
    background: #1a71c2;
    box-shadow: 0 6px 20px rgba(36, 140, 237, 0.5); /* Посилення світіння при наведенні */
    transform: translateY(-2px); /* Кнопка трохи піднімається */
}

/* Адаптація для телефонів */
@media (max-width: 600px) {
    .cookie-banner {
        bottom: 15px;
        padding: 15px;
    }
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .cookie-btn {
        width: 100%;
        padding: 14px;
    }
}