/*!
Theme Name: EveryOne
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: EveryOne
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

EveryOne is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

@import url("https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,400;0,600;0,700;0,800;1,400&display=swap");

/* Lukki Casino — royal blue (#1D49A7) + gold (#D4AF37) on deep navy */
:root {
    --rc-bg: #071220;
    --rc-surface: #0e1f3d;
    --rc-surface-2: #153565;
    --rc-text: #ffffff;
    --rc-text-muted: #b8c9e8;
    --rc-link: #8ec5ff;
    --rc-accent: #d4af37;
    --rc-accent-hover: #e8c547;
    --rc-gold: #d4af37;
    --rc-primary: #1d49a7;
    --rc-on-accent: #152238;
    --rc-focus: rgba(212, 175, 55, 0.55);
}

body {
    font-family: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    background-color: var(--rc-bg) !important;
    color: var(--rc-text) !important;
    padding-top: 100px !important; /* offset for fixed header so headings don't sit under it */
    background-image:
        radial-gradient(ellipse 120% 70% at 50% -10%, rgba(29, 73, 167, 0.35), transparent 55%),
        repeating-linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.02) 0,
            rgba(255, 255, 255, 0.02) 1px,
            transparent 1px,
            transparent 14px
        );
    background-attachment: fixed;
}

/* Extra top spacing so first heading is clearly below the header on all pages */
.page-content.page-section,
#page-text.page-section {
    padding-top: 1.5rem !important;
}

.header,
.header .menu-item-has-children .sub-menu {
    background: linear-gradient(180deg, #1d49a7 0%, #153f8f 100%) !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.35) !important;
}

.header {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
}

.header .nav a,
.header .mobile-nav a {
    color: #ffffff !important;
}

.header .nav a:hover,
.header .mobile-nav a:hover {
    color: var(--rc-accent) !important;
}

.footer {
    background-color: var(--rc-bg) !important;
}

/* Footer payment SVGs are dark-on-transparent — invert so they read on black */
.footer .pay-row .pay-item img {
    width: auto !important;
    max-width: min(140px, 100%);
    max-height: 42px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.main-text-content a,
.page-text a {
    color: var(--rc-link) !important;
}

.main-text-content a:hover,
.page-text a:hover {
    color: var(--rc-accent-hover) !important;
}

/* Tables: unified dark theme (all pages) */
.main-text-content table,
.page-text table,
.responsible-gambling table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
    line-height: 1.5;
    background-color: var(--rc-surface) !important;
    border: 1px solid var(--rc-surface-2);
}

.main-text-content table th,
.main-text-content table td,
.page-text table th,
.page-text table td,
.responsible-gambling table th,
.responsible-gambling table td {
    border: 1px solid var(--rc-surface-2);
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
    color: #ffffff !important;
}

.main-text-content table thead th,
.page-text table thead th,
.responsible-gambling table thead th {
    background-color: var(--rc-surface-2) !important;
    font-weight: 600;
    color: #ffffff !important;
}

.main-text-content table tbody tr:nth-child(even),
.page-text table tbody tr:nth-child(even),
.responsible-gambling table tbody tr:nth-child(even) {
    background-color: rgba(21, 53, 101, 0.45) !important;
}

.main-text-content table tbody tr:nth-child(even) td,
.page-text table tbody tr:nth-child(even) td,
.responsible-gambling table tbody tr:nth-child(even) td {
    color: #ffffff !important;
}

.main-text-content table tbody tr:hover,
.page-text table tbody tr:hover,
.responsible-gambling table tbody tr:hover {
    background-color: var(--rc-surface-2) !important;
}

.main-text-content table a,
.page-text table a,
.responsible-gambling table a {
    color: var(--rc-link) !important;
    text-decoration: underline;
}

.main-text-content table a:hover,
.page-text table a:hover,
.responsible-gambling table a:hover {
    color: var(--rc-accent-hover) !important;
    text-decoration: none;
}

@media (max-width: 768px) {
    .main-text-content table,
    .main-text-content thead,
    .main-text-content tbody,
    .main-text-content th,
    .main-text-content td,
    .main-text-content tr,
    .page-text table,
    .page-text thead,
    .page-text tbody,
    .page-text th,
    .page-text td,
    .page-text tr,
    .responsible-gambling table,
    .responsible-gambling thead,
    .responsible-gambling tbody,
    .responsible-gambling th,
    .responsible-gambling td,
    .responsible-gambling tr {
        display: block;
    }

    .main-text-content thead,
    .page-text thead,
    .responsible-gambling thead {
        display: none;
    }

    .main-text-content tr,
    .page-text tr,
    .responsible-gambling tr {
        margin-bottom: 16px;
        border: 1px solid var(--rc-surface-2);
        padding: 10px;
        background-color: var(--rc-surface) !important;
    }

    .main-text-content td,
    .page-text td,
    .responsible-gambling td {
        border: none;
        padding: 6px 0;
        color: #ffffff !important;
    }

    .main-text-content td::before,
    .page-text td::before,
    .responsible-gambling td::before {
        content: attr(data-label);
        font-weight: 600;
        display: block;
        margin-bottom: 4px;
        color: var(--rc-link);
    }
}

body.banner-background .screen-content {
    background: transparent !important;
}

.offer-title,
.offer-desc {
    color: var(--rc-text) !important;
}

.btn,
.btn.btn-primary,
.btn.btn-danger,
.btn.offer-btn,
.header .btn-danger {
    background-color: var(--rc-accent) !important;
    color: var(--rc-on-accent) !important;
    border-color: transparent !important;
}

.btn:hover,
.btn.btn-danger:hover,
.btn.offer-btn:hover,
.header .btn-danger:hover {
    background-color: var(--rc-accent-hover) !important;
    color: var(--rc-on-accent) !important;
}

/* Secondary CTA: outline */
.btn.btn-primary,
.header .btn-primary {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.92) !important;
    box-shadow: none !important;
}

.btn.btn-primary:hover,
.header .btn-primary:hover {
    background-color: rgba(212, 175, 55, 0.15) !important;
    border-color: var(--rc-accent) !important;
    color: #ffffff !important;
}

/* Глобальный a:hover { opacity: 0.8 } в base — кнопки не должны «тускнеть» дополнительно */
a.btn:hover,
.header a.btn:hover {
    opacity: 1 !important;
}

/* Пульсация на каждой кнопке — уводим с шапки, оставляем спокойнее */
.header .btn {
    animation: none !important;
}

/* FAQ / аккордеон: была чёрная обводка на тёмном фоне */
.tab {
    border-color: rgba(212, 175, 55, 0.35) !important;
    background-color: var(--rc-surface) !important;
}

.tab-title-row,
.tab-title,
.faq-item .tab-title {
    color: var(--rc-text) !important;
}

.tab-ans,
.faq-item-answ,
.tab-answ {
    color: var(--rc-text-muted) !important;
}

/* Карточки отзывов — явный цвет текста на тёмной теме */
.reviews-item .item__text,
.reviews-item .item__name {
    color: var(--rc-text) !important;
}

.faq-item-icon {
    color: var(--rc-accent) !important;
}

.btn:focus,
.btn:focus-visible,
.header .btn-danger:focus-visible,
.btn.btn-primary:focus-visible,
.btn.btn-danger:focus-visible,
.btn.offer-btn:focus-visible {
    outline: 2px solid var(--rc-focus) !important;
    outline-offset: 2px;
}

/* Horizontal Lukki Casino wordmark — override legacy 70px / centered logo box */
.custom-logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    width: auto !important;
    max-width: min(320px, 72vw) !important;
    justify-content: flex-start !important;
}

img.custom-logo {
    width: auto !important;
    height: 48px !important;
    max-width: min(300px, 58vw);
    object-fit: contain;
}

@media (max-width: 700px) {
    img.custom-logo {
        height: 40px !important;
        max-width: min(260px, 65vw);
    }
}

.mobile-wrap {
    background-color: var(--rc-surface) !important;
    border-right: 1px solid rgba(212, 175, 55, 0.28);
}

.page-item,
.reviews-item .inner {
    background-color: var(--rc-surface) !important;
    border: 1px solid rgba(212, 175, 55, 0.35);
}

.section-title {
    color: var(--rc-text) !important;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

