/* Slottica KZ - Styles */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

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

:root {
    --color-primary: #0255c2;
    --color-success: #54b146;
    --color-bg: #f5f5f5;
    --color-white: #ffffff;
    --color-text: #333333;
    --color-text-light: #666666;
}

body {
    font-family: 'Roboto', sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header Styles */
.header {
    background: var(--color-white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-container img {
    height: 50px;
    width: auto;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: var(--color-primary);
}

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

.online-count {
    background: linear-gradient(135deg, #54b146 0%, #45a035 100%);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.btn {
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-login {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-login:hover {
    background: var(--color-primary);
    color: white;
}

.btn-signup {
    background: linear-gradient(135deg, #54b146 0%, #45a035 100%);
    color: white;
}

.btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(84,177,70,0.3);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.burger span {
    width: 25px;
    height: 3px;
    background: var(--color-text);
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0255c2 0%, #0144a3 100%);
    padding: 60px 0;
    margin-bottom: 30px;
}

.hero-content {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-banner {
    flex: 1;
    min-width: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    padding: 80px 40px;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

.hero-banner-content {
    position: relative;
    z-index: 2;

}

.hero-banner h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);

}

.hero-banner p {
    font-size: 20px;
    margin-bottom: 30px;

}

.btn-hero {
    background: linear-gradient(135deg, #54b146 0%, #45a035 100%);
    color: white;
    padding: 15px 40px;
    font-size: 18px;
}

.promo-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    max-width: 350px;
}

.promo-card h3 {
    color: var(--color-text);
    margin-bottom: 20px;
    font-size: 24px;
}

.promo-code-box {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    border: 2px dashed var(--color-primary);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 20px;
}

.promo-code {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 2px;
}

.promo-status {
    display: inline-block;
    background: #54b146;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    margin-top: 10px;
}

.promo-actions {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

/* Content Section */
.content-section {
    flex: 1;
}

.content-box {
    background: white;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* Table of Contents */
.toc {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid var(--color-primary);
}

.toc h2 {
    color: var(--color-text);
    margin-bottom: 20px;
}

.toc ul {
    list-style: none;
}

.toc ul li {
    margin-bottom: 12px;
}

.toc ul li a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.toc ul li a:hover {
    transform: translateX(10px);
    font-weight: 500;
}

/* Jackpots */
.jackpots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.jackpot-item {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(255,215,0,0.3);
    animation: pulse 2s infinite;
}

.jackpot-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.jackpot-amount {
    font-size: 32px;
    font-weight: 700;
    color: #c41e3a;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Screenshots */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.screenshot-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.screenshot-item:hover {
    transform: translateY(-5px);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* App Info */
.app-info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
}

.app-info-table th,
.app-info-table td {
    padding: 15px;
    text-align: left;
    border: 2px solid #e0e0e0;
}

.app-info-table th {
    background: linear-gradient(135deg, #0255c2 0%, #0144a3 100%);
    color: white;
    font-weight: 500;
}

.app-info-table tr:nth-child(even) {
    background: #f8f9fa;
}

.app-download-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.app-btn {
    flex: 1;
    min-width: 150px;
    text-align: center;
}

/* Wheel Game */
.wheel-container {
    text-align: center;
    padding: 40px 0;
}

.wheel-canvas {
    margin: 30px auto;
    position: relative;
}

#wheelCanvas {
    border: 5px solid var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.wheel-pointer {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 40px solid #c41e3a;
    z-index: 10;
}

.spin-btn {
    background: linear-gradient(135deg, #54b146 0%, #45a035 100%);
    color: white;
    padding: 15px 50px;
    font-size: 18px;
    margin-top: 20px;
}

.wheel-result {
    margin-top: 30px;
    padding: 20px;
    border-radius: 10px;
    display: none;
}

.wheel-result.show {
    display: block;
}

.wheel-result.win {
    background: linear-gradient(135deg, #54b146 0%, #45a035 100%);
    color: white;
}

.wheel-result.lose {
    background: linear-gradient(135deg, #c41e3a 0%, #a01728 100%);
    color: white;
}

/* FAQ */
.faq-item {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--color-primary);
}

.faq-question {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

/* Footer */
.footer {
    background: var(--color-white);
    padding: 40px 0;
    margin-top: auto;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

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

.footer-section h3 {
    color: var(--color-text);
    margin-bottom: 15px;
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu li a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-menu li a:hover {
    color: var(--color-primary);
}

.payment-logos,
.provider-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.payment-logos img,
.provider-logos img {
    height: 30px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.payment-logos img:hover,
.provider-logos img:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
    color: var(--color-text-light);
}

/* Widget */
.fixed-widget {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #54b146 0%, #45a035 100%);
    padding: 15px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
    z-index: 999;
    animation: slideUp 0.5s ease;
}

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

.widget-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.widget-text {
    color: white;
    font-size: 18px;
    font-weight: 500;
}

.widget-bonus {
    color: #ffd700;
    font-size: 24px;
    font-weight: 700;
}

.widget-btn {
    background: white;
    color: #54b146;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: all 0.3s;
}

.widget-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255,255,255,0.3);
}

/* Unused classes for uniqueness */
.zx9k3m { display: none; }
.pw7j2n { visibility: hidden; }
.ql5v8p { opacity: 0; }
.tr4h6s { position: absolute; left: -9999px; }

/* WordPress elements */
.wp-block-container { }
.elementor-widget-wrap { }
.yoast-schema-graph { }

/* Responsive */
@media (max-width: 968px) {
    .burger {
        display: flex;
    }

    .header-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 30px;
        transition: left 0.3s;
        overflow-y: auto;
    }

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

    .nav-menu {
        flex-direction: column;
        width: 100%;
    }

    .hero-banner h1 {
        font-size: 32px;
    }

    .screenshots-grid {
        grid-template-columns: 1fr;
    }

    .widget-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-banner {
        padding: 40px 20px;
    }

    .hero-banner h1 {
        font-size: 24px;
    }

    .content-box {
        padding: 20px;
    }

    .app-info-table {
        font-size: 14px;
    }

    .app-info-table th,
    .app-info-table td {
        padding: 10px;
    }
}

/* Additional animations */
.fade-in {
    animation: fadeIn 1s ease-in;
}

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

.slide-in {
    animation: slideIn 0.8s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

     /* ===== БАЗА (десктоп/планшет) ===== */
 .container.new table{
     width:100%;
     border-collapse: collapse;
     margin:16px 0;
     background:#fff;
     box-shadow: 0 2px 10px rgba(0,0,0,.06);
     border-radius:10px;
     overflow:hidden;
 }
.container.new th,
.container.new td{
    padding:14px 16px;
    border:1px solid #e6e6e6;
    text-align:left;
    vertical-align:top;
}
.container.new thead th{
    background:#0255c2;
    color:#fff;
    font-weight:600;
}

/* зебра + hover, не заважає мобі */
.container.new tbody tr:nth-child(even){ background:#fafafa; }
.container.new tbody tr:hover{ background:#f3f6ff; }

/* ===== МОБІЛЬНИЙ СТЕК (≤680px) ===== */
@media (max-width:680px){
    .container.new table{
        display:block;        /* один великий блок */
        border:0; box-shadow:none;
    }
    .container.new thead{ display:none; }

    .container.new tbody,
    .container.new tr{ display:block; }

    .container.new tbody tr{
        background:#fff;
        border:1px solid #eef0f4;
        border-radius:12px;
        margin:12px 0;
        box-shadow: 0 1px 6px rgba(0,0,0,.05);
        overflow:hidden;
    }

    .container.new td{
        display:block;
        border:0;
        border-bottom:1px solid #f1f3f6;
        padding:12px 14px 12px 46%;
        position:relative;
        white-space:normal;
        word-break:break-word;
    }
    .container.new td:last-child{ border-bottom:0; }

    /* підпис комірки (тут з'явиться текст із thead через JS) */
    .container.new td::before{
        content: attr(data-label);
        position:absolute;
        left:12px; top:12px;
        width:34%;
        color:#6b7280;
        font-weight:600;
        font-size:14px;
        line-height:1.3;
        white-space:normal;
    }

    /* дрібні твіки для посилань/чіпів */
    .container.new td a{ word-break:break-all; }
}
/* ===========================
   TABLET (≤ 992px)
   =========================== */
@media (max-width: 992px){

    /* Контейнер і бокс-контенту трохи компактніше */
    .container{ padding: 0 16px; }
    .content-box{ padding: 28px; }

    /* Hero: стек у колонку */
    .hero-content{ flex-direction: column; gap: 18px; align-items: stretch; }
    .hero-banner{
        padding: 56px 28px;
        min-height: 260px;
        border-radius: 14px;
    }
    .hero-banner h1{ font-size: 34px; line-height: 1.15; }
    .hero-banner p{ font-size: 16px; margin-bottom: 22px; }
    .btn-hero{ font-size: 16px; padding: 12px 28px; }

    /* Промо-картка під банером на всю ширину */
    .promo-card{
        max-width: 100%;
        padding: 24px;
        border-radius: 12px;
    }
    .promo-code{ font-size: 24px; }
    .promo-actions{ gap: 8px; }
    .promo-actions .btn{ width: 100%; }

    /* Скріни в одну колонку */
    .screenshots-grid{
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Джекпоти — по дві карти в ряд на планшеті */
    .jackpots-grid{
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 16px;
    }

    /* Кнопки завантаження застосунку — стопкою */
    .app-download-btns{
        flex-direction: column;
        gap: 10px;
    }
    .app-btn{ width: 100%; }

    /* Таблиця застосунку: простий горизонтальний скрол без ламання десктоп-верстки */
    .app-info-table{
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-collapse: separate;
        border-spacing: 0;
    }
    .app-info-table th,
    .app-info-table td{ white-space: nowrap; }

    /* FAQ — трохи щільніше */
    .faq-question{ padding: 16px; }
    .faq-item.active .faq-answer{ padding: 16px; }

    /* Футер: колонки в одну при нестачі ширини */
    .footer-content{
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

/* ===========================
   PHONE (≤ 680px)
   =========================== */
@media (max-width: 680px){

    /* Головний відступ у боксах */
    .content-box{ padding: 20px; }

    /* Hero ще компактніший */
    .hero-banner{
        padding: 40px 20px;
        min-height: 220px;
        border-radius: 12px;
    }
    .hero-banner h1{ font-size: 26px; }
    .hero-banner p{ font-size: 15px; margin-bottom: 18px; }
    .btn-hero{ padding: 11px 22px; font-size: 15px; }

    /* «Зміст» без декоративних зсувів */
    .toc{ padding: 20px; }
    .toc ul li{ margin-bottom: 10px; }
    .toc ul li a{ transform: none !important; }

    /* Джекпоти — по одній карті */
    .jackpots-grid{
        grid-template-columns: 1fr;
    }
    .jackpot-item{ padding: 18px; }
    .jackpot-amount{ font-size: 26px; }

    /* Скріни: один за одним */
    .screenshots-grid{ gap: 14px; }

    /* Таблиця застосунку: читабельний скрол */
    .app-info-table{
        font-size: 14px;
    }
    .app-info-table th,
    .app-info-table td{ padding: 10px 12px; }

    /* Колесо удачи — адаптивний розмір */
    .wheel-canvas{ max-width: 320px; margin-left: auto; margin-right: auto; }
    #wheelCanvas{
        width: 100% !important;
        height: auto !important;
        max-width: 320px;
    }
    .wheel-pointer{
        border-left-width: 16px;
        border-right-width: 16px;
        border-top-width: 32px;
        top: -16px;
    }
    .spin-btn{
        width: 100%;
        padding: 12px 20px;
        font-size: 16px;
    }

    /* Футер у одну колонку */
    .footer-content{
        grid-template-columns: 1fr;
    }

    /* Фіксований віджет — вертикально, центр */
    .widget-content{
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .widget-text{ font-size: 16px; }
    .widget-bonus{ font-size: 20px; }
    .widget-btn{ width: 100%; padding: 12px 18px; }

    /* Загальні безпечні фікси від переповнення */
    img, svg, video, canvas{ max-width: 100%; height: auto; }
    .content-box, .container{ overflow-wrap: anywhere; }
}

