:root {

    --bg-body: #0f172a;
    --bg-surface: #1e293b;
    --bg-surface-hover: #263345;

    --bg-header: rgba(15, 23, 42, 0.80);


    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-tertiary: #64748b;


    --accent-blue: #38bdf8;
    --accent-indigo: #818cf8;


    --gradient-primary: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-indigo) 100%);
    --gradient-hover: linear-gradient(135deg, #5dd2ff 0%, #9fa8ff 100%);


    --accent-glow: rgba(129, 140, 248, 0.3);
    --border-color: #334155;


    --warning: #fbbf24;


    --container-width: 1200px;
    --header-height: 76px;
    --radius-sm: 8px;
    --radius-md: 16px;
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline-color: var(--accent-blue);
}

body {
    background-color: var(--bg-body);

    background-image: radial-gradient(circle at top center, rgba(56, 189, 248, 0.08) 0%, transparent 60%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    font-size: 16px;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}


.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}


.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}


h1,
h2,
h3,
h4 {
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.35rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    max-width: 100%;
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background-color: var(--bg-surface-hover);
    border-color: var(--text-secondary);
    transform: translateY(-2px);
}


.btn.primary {
    background: var(--gradient-primary);
    border: none;
    color: white;
    box-shadow: 0 4px 15px -5px rgba(129, 140, 248, 0.5);
}

.btn.primary:hover {
    background: var(--gradient-hover);
    box-shadow: 0 8px 25px -8px rgba(129, 140, 248, 0.8);
    transform: translateY(-2px) scale(1.02);
}


header {
    background-color: var(--bg-header);

    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

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

.logo {
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    line-height: 1.1;

    display: flex;
    align-items: center;
    gap: 10px;
}

.logo::before {
    content: '';
    display: block;
    width: 12px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 4px;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-left: auto;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-links a:hover {
    color: var(--text-primary);
}


.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0px;
    left: 0;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    gap: 12px;
    margin-left: 30px;
    padding-left: 30px;
    border-left: 1px solid var(--border-color);
}

.burger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}


.hero {
    margin-top: var(--header-height);
    padding: 140px 20px 100px;

    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.6) 0%, var(--bg-body) 100%),
        linear-gradient(135deg, rgba(56, 189, 248, 0.2) 0%, rgba(129, 140, 248, 0.2) 100%),
        url('../img/hero.png') no-repeat center center/cover;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: none;
}

.hero h1 {
    font-size: 3.75rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;

}

.hero h2 {
    font-size: 1.35rem;
    font-weight: 400;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}


section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
}


.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    margin-top: 15px;
    border-radius: 2px;
}

.card {
    background-color: var(--bg-surface);
    padding: 36px;
    margin: 20px auto;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}


.card:hover {
    border-color: var(--accent-indigo);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4),
        0 0 20px -5px var(--accent-glow);
}


.legal-list li {
    margin-bottom: 16px;
    padding-left: 30px;
    position: relative;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.legal-list li::before {
    content: "Done";
    font-family: 'Material Icons', sans-serif;
    content: "✓";
    color: var(--accent-blue);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.game-card h3 {
    color: var(--accent-blue);
    font-weight: 700;
    font-size: 1.5rem;
}

.meta-row {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    display: flex;
    gap: 15px;
}

.meta-row a {
    color: var(--text-secondary);
    font-weight: 600;
    border-bottom: 2px solid transparent;
}

.meta-row a:hover {
    color: var(--accent-blue);
    border-bottom-color: var(--accent-blue);
}


.table-responsive {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background-color: var(--bg-surface);
}

th,
td {
    padding: 20px 24px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background-color: rgba(15, 23, 42, 0.5);
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
}

td {
    color: var(--text-primary);
    font-weight: 500;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background-color: var(--bg-surface-hover);
}


.auth-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 120px 20px 80px;

    background: radial-gradient(circle at center bottom, rgba(129, 140, 248, 0.15) 0%, transparent 70%);
}

.auth-card {
    background-color: var(--bg-surface);
    padding: 56px;
    border-radius: 24px;
    width: 100%;
    max-width: 500px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    background-color: rgba(15, 23, 42, 0.6);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}


.form-group input:focus {
    border-color: var(--accent-indigo);
    box-shadow: 0 0 0 4px var(--accent-glow);
    background-color: var(--bg-body);
    outline: none;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: var(--text-secondary);
}


.form-check input[type="checkbox"] {
    accent-color: var(--accent-indigo);
    width: 18px;
    height: 18px;
}

.full-width {
    width: 100%;
    font-size: 1.1rem;
    padding: 16px;
}


.responsible-box {
    border-left: 4px solid var(--warning);

    background: linear-gradient(90deg, rgba(251, 191, 36, 0.1) 0%, transparent 100%);
    padding: 28px;
    margin-top: 30px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}



@media (max-width: 900px) {
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        flex-direction: column;
        background-color: var(--bg-body);
        width: 100%;
        height: calc(100vh - var(--header-height));
        padding: 40px 24px;
        transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-top: 1px solid var(--border-color);
        justify-content: flex-start;
        align-items: center;
        gap: 30px;
        margin-left: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 25px;
        width: 100%;
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 10px;
        display: block;
    }

    .nav-links a::after {
        display: none;
    }

    .auth-buttons {
        flex-direction: column;
        width: 100%;
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        gap: 15px;
    }

    .auth-buttons .btn {
        width: 100%;
    }

    .burger {
        display: block;
        color: var(--text-primary);
    }

    .hero {
        padding-top: 120px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .games-grid,
    .channels-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .age-restriction {
        justify-content: center;
        margin-top: 20px;
    }
}

.success-message {
    display: none;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: white;
    box-shadow: 0 0 20px var(--accent-glow);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.policy-content h2 {
    margin-top: 40px;
    color: var(--text-primary);
    font-size: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.policy-content h3 {
    margin-top: 25px;
    color: var(--accent-blue);
    font-size: 1.1rem;
}

.policy-content p,
.policy-content li {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.policy-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.last-updated {
    color: var(--text-tertiary);
    font-size: 0.9rem;
    margin-bottom: 30px;
    font-style: italic;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: rgba(15, 23, 42, 0.3);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.cookie-table th {
    background-color: rgba(255, 255, 255, 0.05);
    text-align: left;
    padding: 15px;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
}

.cookie-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

.content-block {
    margin-bottom: 40px;
}

.content-block h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.content-block p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.myth-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.myth-card {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: var(--radius-sm);
}

.myth-title {
    color: var(--warning);
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.reality-title {
    color: var(--accent-blue);
    font-weight: bold;
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.check-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: start;
    gap: 10px;
}

.check-list li::before {
    content: "?";
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--bg-surface-hover);
    color: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.hampi-box {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1) 0%, rgba(15, 23, 42, 0.5) 100%);
    border: 1px solid var(--accent-blue);
    border-radius: var(--radius-md);
    padding: 30px;
    margin: 30px 0;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(15px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal-overlay.hidden {
    display: none;
    opacity: 0;
    pointer-events: none;
}

.modal-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--radius-md);
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
}


.icon-18-large {
    width: 80px;
    height: 80px;
    border: 4px solid var(--warning);
    color: var(--warning);
    font-size: 2rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
}

.warning-text {
    color: var(--warning);
    font-weight: 600;
    margin-bottom: 20px;
}

.modal-buttons.vertical {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.exit-link {
    background: transparent;
    border-color: transparent;
    color: var(--text-secondary);
}

.exit-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}


.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(30, 41, 59, 0.95);
    border-top: 1px solid var(--border-color);
    padding: 20px;
    z-index: 9000;
    backdrop-filter: blur(10px);
    display: none;
    box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-text h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.cookie-text p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn.small {
    padding: 8px 16px;
    font-size: 0.85rem;
}


.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.option-info strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.option-info span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}


.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-body);
    border: 1px solid var(--border-color);
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: var(--text-secondary);
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--accent-indigo);
    border-color: var(--accent-indigo);
}

input:checked+.slider:before {
    transform: translateX(24px);
    background-color: white;
}


.switch.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.switch.disabled input:checked+.slider {
    background-color: var(--bg-surface-hover);
}


@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: flex-end;
    }
}

.footer-ee {
    background: #020617;
    color: #e5e7eb;
    padding: 40px 0 30px;
    font-size: 0.95rem;
    line-height: 1.5;
}



.footer-ee a {
    color: #38bdf8;
    text-decoration: none;
}

.footer-ee a:hover {
    text-decoration: underline;
}


.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
}

.footer-rg-text {
    text-align: center;
    width: 100%;
}


.footer-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 25px auto;
    gap: 0.75rem;
    align-items: center;
}

.footer-badges img {
    height: 70px;
    width: auto;
    display: block;
    background: #fff;
    padding: 5px;
    border-radius: 10px;
}

.footer-separator {
    border: none;
    border-top: 1px solid #1f2933;
    margin: 20px 0;
}


.footer-legal-list {
    margin: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    color: #cbd5e1;
}

.footer-legal-list li strong {
    color: #e5e7eb;
}


.footer-age {
    font-weight: 700;
    text-align: center;
    color: #fa1515;
}


.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.9rem;
}

.footer-links a {
    color: #e5e7eb;
    font-weight: 500;
}

.footer-links a:hover {
    color: #38bdf8;
}

.footer-links .divider {
    color: #475569;
}


.footer-copy {
    margin-top: 10px;
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8;
}

.footer-copy p {
    margin: 2px 0;
}


@media (max-width: 768px) {
    .footer-ee {
        padding: 30px 0 20px;
        font-size: 0.9rem;
    }

    .footer-top {
        align-items: flex-start;
    }

    .footer-rg-text {
        max-width: 100%;
    }

    .footer-badges {
        justify-content: center;
    }
}