:root {
    /* Lonkero-inspired Palette */
    --l-bg-deep: #120a21;
    --l-bg-card: #1e1136;
    --l-bg-lighter: #2a1b4e;
    
    --l-accent-lime: #ccff00;
    --l-accent-pink: #ff00ff;
    --l-text-main: #ffffff;
    --l-text-dim: #a496c4;
    
    --l-font: 'Montserrat', sans-serif;
    --l-radius: 16px;
}

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

body {
    font-family: var(--l-font);
    background-color: var(--l-bg-deep);
    color: var(--l-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- 2. TOP BAR --- */
.top-navigation {
    background-color: rgba(18, 10, 33, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-logo {
    font-size: 28px;
    font-weight: 900;
    color: var(--l-text-main);
    text-transform: uppercase;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo i { color: var(--l-accent-lime); }

.nav-actions {
    display: flex;
    gap: 15px;
}

.btn-action {
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-ghost {
    background: rgba(255,255,255,0.1);
    color: white;
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); }

.btn-primary {
    background-color: var(--l-accent-lime);
    color: #000;
    box-shadow: 0 0 15px rgba(204, 255, 0, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(204, 255, 0, 0.5);
}

/* --- 3. 1st SCREEN --- */
.intro-zone {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(rgba(18, 10, 33, 0.3), var(--l-bg-deep)), 
                url('https://lonkero-kasino.fi/lonkerocasino.webp'); 
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.intro-zone::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(98, 0, 234, 0.4) 0%, transparent 70%);
    filter: blur(50px);
}

.intro-content-block {
    position: relative;
    max-width: 800px;
    z-index: 2;
}

.intro-headline {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.intro-headline span {
    color: var(--l-accent-lime);
    display: block;
}

.cta-button-large {
    display: inline-block;
    background: linear-gradient(45deg, var(--l-accent-lime), #aadd00);
    color: #0d0518;
    font-size: 1.25rem;
    font-weight: 800;
    padding: 20px 60px;
    border-radius: 12px;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(204, 255, 0, 0.3);
    margin-bottom: 40px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.cta-button-large:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 50px rgba(204, 255, 0, 0.5);
}

.intro-long-text {
    font-size: 0.95rem;
    color: #d1c4e9;
    background: rgba(18, 10, 33, 0.8);
    padding: 25px;
    border-radius: var(--l-radius);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

/* --- 4. SLOT LIST --- */
.slots-white-container {
    background-color: #10081c; 
    color: var(--l-text-main);
    width: 100%;
}

.grid-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 800;
}

.slots-white-container .view-all-link {
    color: #6200ea;
}

.view-all-link {
    color: var(--l-accent-lime);
    font-weight: 600;
    font-size: 0.9rem;
}

.entertainment-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.slot-tile {
    position: relative;
    aspect-ratio: 1/1;
    background-color: #f0f0f0;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.slot-tile:hover {
    transform: translateY(-5px);
    border-color: #6200ea;
    z-index: 2;
}

.slot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- 5. SEO TEXT & CONTENT STYLES --- */
.content {
    max-width: 1000px;
    margin: 60px auto;
    padding: 40px;
    background-color: var(--l-bg-card);
    border-radius: 20px;
    color: var(--l-text-dim);
    font-size: 0.95rem;
    border: 1px solid rgba(255,255,255,0.05);
}

.content h1 {
    color: white;
    font-size: 2rem;
    margin-bottom: 20px;
}

.content h2 {
    color: white;
    margin-top: 35px;
    margin-bottom: 20px;
    font-size: 1.6rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

/* NEW: H3 Styles */
.content h3 {
    color: var(--l-text-main);
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

/* Optional accent line for H3s */
.content h3::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 24px;
    background-color: var(--l-accent-lime);
    margin-right: 12px;
    border-radius: 4px;
}

.content p { margin-bottom: 20px; }

/* Existing UL styles */
.content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.content ul li { margin-bottom: 8px; }

/* NEW: OL (Numbered List) Styles */
.content ol {
    list-style: decimal;
    padding-left: 20px;
    margin-bottom: 25px;
    counter-reset: item;
}

.content ol li {
    margin-bottom: 12px;
    padding-left: 10px;
    color: var(--l-text-dim);
    line-height: 1.6;
}

.content ol li::marker {
    color: var(--l-accent-lime); /* Lime color for numbers */
    font-weight: 800;
    font-size: 1.1em;
}

/* NEW: Table Styles */
.content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 30px 0;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px; /* Rounded corners for the whole table */
    overflow: hidden;
}

.content th {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--l-accent-lime);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.content td {
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--l-text-dim);
    vertical-align: top;
}

.content tr:last-child td {
    border-bottom: none; /* Remove bottom border from last row */
}

.content tr:hover td {
    background-color: rgba(255, 255, 255, 0.03); /* Subtle hover effect */
}

/* --- 6. PAYMENT METHODS --- */
.banking-strip {
    background-color: #0c0616;
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 60px;
}

.banking-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1000px;
    margin: 20px auto 0;
}

.bank-icon {
    width: 80px;
    height: 50px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-weight: 800;
    font-size: 20px;
    opacity: 0.8;
    transition: 0.3s;
}
.bank-icon:hover { opacity: 1; transform: scale(1.1); }

/* --- 7. REVIEWS --- */
.community-voices {
    background-color: var(--l-bg-lighter);
    padding: 80px 20px;
}

.voices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.voice-card {
    background: var(--l-bg-deep);
    padding: 30px;
    border-radius: 20px;
    position: relative;
}

.voice-stars { color: var(--l-accent-lime); margin-bottom: 15px; }
.voice-text { font-style: italic; color: #d1c4e9; margin-bottom: 20px; }
.voice-author { font-weight: 700; color: white; display: flex; align-items: center; gap: 10px; }
.voice-avatar { width: 40px; height: 40px; background: #6200ea; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold;}

/* --- 8. FAQ --- */
.knowledge-base {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.kb-item {
    margin-bottom: 15px;
    background-color: var(--l-bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
}

.kb-trigger {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    color: white;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.kb-trigger:after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--l-accent-lime);
    transition: transform 0.3s;
}

details[open] .kb-trigger:after { transform: rotate(180deg); }

.kb-answer {
    padding: 0 20px 20px;
    color: var(--l-text-dim);
    line-height: 1.6;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 900px) {
    /* 1. Fix the Giant Logo */
    .logo-img {
        max-height: 40px; /* Constrains height so it doesn't explode */
        width: auto;      /* Keeps the correct aspect ratio */
    }
    
    /* 2. Grid adjustments */
    .entertainment-grid { grid-template-columns: repeat(2, 1fr); }
    .intro-headline { font-size: 2.5rem; }
    
    /* 3. CTA Button adjustments */
    .cta-button-large { padding: 15px 40px; font-size: 1rem; width: 100%; }
    .intro-long-text { font-size: 0.85rem; padding: 15px; }
    
    /* 4. Nav Button adjustments */
    .nav-actions { 
        display: flex; 
        gap: 8px; 
    }
    
    .btn-action {
        padding: 6px 12px; /* Slightly tighter padding for mobile */
        font-size: 12px;
    }

    .top-navigation {
        padding: 10px 15px; /* Tighter header padding */
    }

    /* 5. Content adjustments */
    .content { padding: 20px; }
 /* --- Мобільна адаптація таблиці (Card View) --- */
    .content table {
        display: block;
        width: 100%;
        background: transparent; /* Прибираємо загальний фон таблиці */
        border: none; /* Прибираємо загальну рамку */
    }

    .content thead {
        display: none; /* Ховаємо шапку таблиці (TIETO, YKSITYISKOHDAT) на мобільному */
    }

    .content tbody, .content tr, .content td {
        display: block;
        width: 100%;
    }

    .content tr {
        margin-bottom: 20px;
        background-color: rgba(0, 0, 0, 0.2); /* Фон переносимо на сам рядок */
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        overflow: hidden;
    }

    .content td {
        padding: 12px 20px;
        text-align: left;
        white-space: normal; /* Дозволяємо тексту переноситися */
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .content td:last-child {
        border-bottom: none; /* Прибираємо лінію в останньому елементі картки */
    }

    /* Стилізуємо першу клітинку (TIETO) як заголовок */
    .content td:first-child {
        background-color: rgba(255, 255, 255, 0.03);
        color: var(--l-accent-lime);
        font-weight: 700;
        text-transform: uppercase;
        font-size: 0.8rem;
        letter-spacing: 1px;
        padding-bottom: 5px; /* Менший відступ знизу */
    }

    /* Стилізуємо другу клітинку (YKSITYISKOHDAT) як основний текст */
    .content td:nth-child(2) {
        color: white;
        padding-top: 10px;
        font-size: 1rem;
        word-break: break-word; /* Щоб довгі посилання не ламали дизайн */
    }
}
    
    /* Make tables scrollable on mobile */
    .content table { display: block; overflow-x: auto; white-space: nowrap; }
/* This will constrain the height of your logo, making it smaller */
.logo-img {
    max-height: 50px; /* Adjust this value to change the size */
    width: auto;      /* This ensures the image keeps its proportions */
}

/* Optional: If you have the 'HOME' text next to it, you might need this */
.brand-logo {
    display: flex;
    align-items: center;
}

.logo-text {
    margin-left: 10px; /* Spacing between logo and text */
    color: white;      /* Adjust color as needed */
    /* Add other styles for the 'HOME' text here */
}
        .site-footer {
            /* The Deep Purple Gradient Background */
            background: linear-gradient(180deg, #441499 0%, #2a0a66 100%);
            /* Optional: Adding a subtle vertical stripe texture like the image */
            background-image: 
                linear-gradient(180deg, #441499 0%, #20054d 100%),
                repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(0,0,0,0.1) 20px);
            
            color: #ffffff;
            padding: 60px 20px 40px;
            font-size: 14px;
            line-height: 1.6;
            text-align: center;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        /* NAVIGATION LINKS */
        .footer-nav-primary, .footer-nav-secondary {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 25px;
            margin-bottom: 20px;
        }

        .footer-nav-primary a {
            color: #fff;
            text-decoration: none;
            font-weight: 700; /* Bold */
            font-size: 16px;
            padding-bottom: 5px;
        }
        
        /* The "active" underline style for the first link */
        .footer-nav-primary a.active {
            border-bottom: 2px solid #bba1dd; 
        }

        .footer-nav-secondary a {
            color: #ddd; /* Slightly softer white */
            text-decoration: none;
            font-size: 15px;
            font-weight: 400;
        }

        .footer-nav-primary a:hover, 
        .footer-nav-secondary a:hover {
            opacity: 0.8;
        }

        /* WARNING SECTION */
        .warning-section {
            margin: 30px 0;
            max-width: 900px;
        }

        .warning-text {
            color: #d4ff00; /* Neon Lime/Yellow */
            font-weight: 600;
            font-size: 14px;
            margin-bottom: 10px;
        }

        .warning-text a {
            color: #fff;
            text-decoration: underline;
        }

        /* The SVG Squiggly Line */
        .squiggly-line {
            width: 200px;
            height: 15px;
            margin: 0 auto;
            display: block;
        }

        .squiggly-line path {
            fill: none;
            stroke: #d4ff00; /* Matches warning text */
            stroke-width: 3;
            stroke-linecap: round;
        }

        /* LEGAL TEXT BLOCK */
        .legal-text {
            font-size: 12px;
            color: #e0e0e0;
            max-width: 1000px;
            margin-bottom: 30px;
        }

        /* TAGLINE */
        .tagline {
            font-size: 14px;
            margin-bottom: 20px;
        }

        /* LOGOS SECTION */
        .footer-logos {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
            margin-bottom: 30px;
        }

        /* CSS-only 18+ Circle */
        .circle-18 {
            width: 45px;
            height: 45px;
            border: 2px solid #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 18px;
        }

        /* Placeholder for the Govt Logo */
        .license-logo {
            display: flex;
            align-items: center;
            gap: 10px;
            opacity: 0.7;
        }
        .license-logo img {
            height: 30px; /* Adjust based on actual logo */
        }
        /* Using a text placeholder if you don't have the image */
        .license-placeholder {
            font-size: 10px;
            text-transform: uppercase;
            border-left: 1px solid #fff;
            padding-left: 10px;
            text-align: left;
            line-height: 1.2;
        }

        /* COPYRIGHT */
        .copyright {
            font-size: 12px;
            color: #ccc;
        }
