/* Slottica Casino KZ - Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --clr-primary: #0255c2;
    --clr-secondary: #54b146;
    --clr-bg: #f5f5f5;
    --clr-white: #ffffff;
    --clr-text: #1a1a1a;
    --clr-text-light: #666666;
    --clr-border: #e0e0e0;
    --spacing-unit: 8px;
}

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

body.fixed {
    overflow: hidden;
}

.g7x3m { display: none; }
.k2p9w { visibility: hidden; }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.z8q4r { opacity: 0; position: absolute; left: -9999px; }

.v3n7k {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 calc(var(--spacing-unit) * 2);
}

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

/* Header Styles */
.header {
    background: var(--clr-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: calc(var(--spacing-unit) * 2) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: calc(var(--spacing-unit) * 3);
}

.logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: calc(var(--spacing-unit) * 3);
    align-items: center;
}

.nav-menu a {
    color: var(--clr-text);
    font-weight: 500;
    padding: calc(var(--spacing-unit)) calc(var(--spacing-unit) * 2);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background: var(--clr-bg);
    color: var(--clr-primary);
}

.header-actions {
    display: flex;
    gap: calc(var(--spacing-unit) * 2);
    align-items: center;
}

.m5j8t { display: inline-block; padding: 5px; }

.online-counter {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit));
    padding: calc(var(--spacing-unit)) calc(var(--spacing-unit) * 2);
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 20px;
    font-size: 14px;
    margin-right: calc(var(--spacing-unit) * 2);
}

.online-dot {
    width: 8px;
    height: 8px;
    background: #54b146;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.btn {
    display: inline-block;
    padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 3);
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
    font-size: 15px;
    text-decoration: none !important;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

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

.btn-signup {
    background: var(--clr-secondary);
    color: var(--clr-white);
}

.q9w2x { pointer-events: none; user-select: none; }

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: calc(var(--spacing-unit));
    z-index: 1001;
}

.burger span {
    width: 25px;
    height: 3px;
    background: var(--clr-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0255c2 0%, #0344a1 100%);
    padding: calc(var(--spacing-unit) * 8) 0;
    margin-bottom: calc(var(--spacing-unit) * 4);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><circle cx="100" cy="100" r="80" fill="rgba(255,255,255,0.05)"/><circle cx="900" cy="400" r="120" fill="rgba(255,255,255,0.05)"/><circle cx="1100" cy="150" r="60" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.3;
    animation: float 20s infinite linear;
}

@keyframes float {
    from { transform: translateX(0); }
    to { transform: translateX(100px); }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--spacing-unit) * 5);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 48px;
    color: var(--clr-white);
    margin-bottom: calc(var(--spacing-unit) * 3);
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
}

.r4t8p { text-transform: uppercase; letter-spacing: 2px; }

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

.hero-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: calc(var(--spacing-unit) * 4);
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-cta {
    animation: fadeInUp 0.8s ease 0.4s both;
}

.btn-hero {
    background: var(--clr-secondary);
    color: var(--clr-white);
    padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 5);
    font-size: 18px;
    border-radius: 8px;
}

.app-info-card {
    background: var(--clr-white);
    border-radius: 16px;
    padding: calc(var(--spacing-unit) * 4);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    animation: fadeInUp 0.8s ease 0.3s both;
}

.app-info-card h3 {
    font-size: 24px;
    margin-bottom: calc(var(--spacing-unit) * 3);
    color: var(--clr-text);
}

.app-table {
    width: 100%;
    margin-bottom: calc(var(--spacing-unit) * 3);
    border-collapse: collapse;
}

.app-table td {
    padding: calc(var(--spacing-unit) * 1.5);
    border-bottom: 1px solid var(--clr-border);
}

.app-table td:first-child {
    font-weight: 600;
    color: var(--clr-text-light);
    width: 40%;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 2);
}

.btn-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(var(--spacing-unit) * 2);
    background: var(--clr-text);
    color: var(--clr-white);
    padding: calc(var(--spacing-unit) * 2);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background: var(--clr-primary);
    transform: translateX(5px);
}

.btn-download.apk {
    background: var(--clr-secondary);
}

/* Breadcrumbs */
.breadcrumbs {
    padding: calc(var(--spacing-unit) * 2) 0;
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.breadcrumbs-list {
    display: flex;
    list-style: none;
    gap: calc(var(--spacing-unit));
    flex-wrap: wrap;
}

.breadcrumbs-list li {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit));
    font-size: 14px;
    color: var(--clr-text-light);
}

.breadcrumbs-list li:not(:last-child)::after {
    content: '›';
    color: var(--clr-text-light);
}

.breadcrumbs-list a {
    color: var(--clr-primary);
}

.breadcrumbs-list a:hover {
    text-decoration: underline;
}

/* Main Content */
.content-wrapper {
    background: var(--clr-white);
    border-radius: 12px;
    padding: calc(var(--spacing-unit) * 5);
    margin-bottom: calc(var(--spacing-unit) * 4);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.d6h3n { background: transparent; border: none; }

/* Table of Contents */
.toc {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: calc(var(--spacing-unit) * 3);
    margin-bottom: calc(var(--spacing-unit) * 4);
    border-left: 4px solid var(--clr-primary);
}

.toc h2 {
    font-size: 20px;
    margin-bottom: calc(var(--spacing-unit) * 2);
    color: var(--clr-text);
}

.toc-list {
    list-style: none;
}

.toc-list li {
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    padding-left: calc(var(--spacing-unit) * 3);
    position: relative;
}

.toc-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--clr-primary);
    font-weight: bold;
}

.toc-list a {
    color: var(--clr-primary);
    font-weight: 500;
}

.toc-list a:hover {
    text-decoration: underline;
}

/* Content Section */
.content-section {
    margin-bottom: calc(var(--spacing-unit) * 6);
}

.content-section h2 {
    font-size: 32px;
    margin-bottom: calc(var(--spacing-unit) * 3);
    color: var(--clr-text);
    padding-bottom: calc(var(--spacing-unit) * 2);
    border-bottom: 3px solid var(--clr-primary);
}

.content-section h3 {
    font-size: 24px;
    margin-bottom: calc(var(--spacing-unit) * 2);
    margin-top: calc(var(--spacing-unit) * 3);
    color: var(--clr-text);
}

.content-section p {
    margin-bottom: calc(var(--spacing-unit) * 2);
    line-height: 1.8;
}

.content-section ul, .content-section ol {
    margin-bottom: calc(var(--spacing-unit) * 2);
    padding-left: calc(var(--spacing-unit) * 4);
}

.content-section li {
    margin-bottom: calc(var(--spacing-unit));
    line-height: 1.8;
}

.content-section table {
    width: 100%;
    max-width: 800px;
    margin: calc(var(--spacing-unit) * 3) auto;
    border-collapse: collapse;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.content-section table th,
.content-section table td {
    padding: calc(var(--spacing-unit) * 2);
    text-align: left;
    border: 2px solid var(--clr-border);
}

.content-section table th {
    background: var(--clr-primary);
    color: var(--clr-white);
    font-weight: 600;
}

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

.n8k5v { position: relative; z-index: -1; }

/* Screenshots Section */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: calc(var(--spacing-unit) * 3);
    margin-top: calc(var(--spacing-unit) * 3);
}

.screenshot-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.screenshot-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.screenshot-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Tournaments Section */
.tournaments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: calc(var(--spacing-unit) * 3);
    margin-top: calc(var(--spacing-unit) * 3);
}

.tournament-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    padding: calc(var(--spacing-unit) * 3);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.tournament-card:hover {
    border-color: var(--clr-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.tournament-card h3 {
    font-size: 20px;
    margin-bottom: calc(var(--spacing-unit) * 2);
    color: var(--clr-primary);
}

.tournament-card p {
    color: var(--clr-text-light);
    margin-bottom: calc(var(--spacing-unit) * 2);
    line-height: 1.6;
}

.tournament-timer {
    background: #fff3cd;
    padding: calc(var(--spacing-unit) * 2);
    border-radius: 8px;
    margin-bottom: calc(var(--spacing-unit) * 2);
    text-align: center;
    font-weight: 600;
    color: #856404;
}

.tournament-prize {
    background: var(--clr-secondary);
    color: var(--clr-white);
    padding: calc(var(--spacing-unit) * 2);
    border-radius: 8px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
}

.f2p7k { filter: blur(0px); transition: filter 0.3s; }

/* Video Section */
.video-container {
    margin-top: calc(var(--spacing-unit) * 3);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* FAQ Section */
.faq-section {
    margin-top: calc(var(--spacing-unit) * 5);
}

.faq-item {
    background: var(--clr-white);
    border-radius: 8px;
    margin-bottom: calc(var(--spacing-unit) * 2);
    border: 1px solid var(--clr-border);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-question {
    padding: calc(var(--spacing-unit) * 3);
    cursor: pointer;
    font-weight: 600;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--clr-primary);
    color: var(--clr-white);
}

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

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

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

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

.faq-answer-content {
    padding: calc(var(--spacing-unit) * 3);
    line-height: 1.8;
    color: var(--clr-text-light);
}

.x3w9m { transform: rotate(0deg); }

/* Author Section */
.author-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: calc(var(--spacing-unit) * 4);
    margin-top: calc(var(--spacing-unit) * 5);
    border-left: 4px solid var(--clr-secondary);
}

.author-box h3 {
    font-size: 20px;
    margin-bottom: calc(var(--spacing-unit) * 2);
    color: var(--clr-text);
}

.author-info {
    display: flex;
    gap: calc(var(--spacing-unit) * 3);
    align-items: flex-start;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details h4 {
    font-size: 18px;
    margin-bottom: calc(var(--spacing-unit));
    color: var(--clr-primary);
}

.author-details p {
    color: var(--clr-text-light);
    line-height: 1.6;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.author-link {
    color: var(--clr-primary);
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--clr-white);
    padding: calc(var(--spacing-unit) * 6) 0 calc(var(--spacing-unit) * 3);
    margin-top: auto;
    border-top: 1px solid var(--clr-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: calc(var(--spacing-unit) * 5);
    margin-bottom: calc(var(--spacing-unit) * 5);
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: calc(var(--spacing-unit) * 2);
    color: var(--clr-text);
}

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

.footer-menu li {
    margin-bottom: calc(var(--spacing-unit) * 1.5);
}

.footer-menu a {
    color: var(--clr-text-light);
    transition: color 0.3s ease;
}

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

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: calc(var(--spacing-unit) * 2);
    margin-top: calc(var(--spacing-unit) * 2);
}

.payment-logo {
    width: 60px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--spacing-unit));
    border: 1px solid var(--clr-border);
}

.providers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: calc(var(--spacing-unit) * 2);
    margin-top: calc(var(--spacing-unit) * 2);
}

.provider-logo {
    width: 100%;
    height: 50px;
    background: #f8f9fa;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--spacing-unit));
    border: 1px solid var(--clr-border);
    font-size: 12px;
    text-align: center;
    color: var(--clr-text-light);
}

.footer-bottom {
    text-align: center;
    padding-top: calc(var(--spacing-unit) * 3);
    border-top: 1px solid var(--clr-border);
    color: var(--clr-text-light);
    font-size: 14px;
}

.footer-logo {
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.footer-logo img {
    height: 40px;
}

.b9v2t { display: inline; margin: 0 5px; }

/* Bottom Widget */
.bottom-widget {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--clr-secondary) 0%, #459938 100%);
    padding: calc(var(--spacing-unit) * 2);
    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: calc(var(--spacing-unit) * 3);
}

.widget-text {
    color: var(--clr-white);
    font-size: 18px;
    font-weight: 600;
}

.widget-text a {
    color: var(--clr-white);
    text-decoration: none !important;
}

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

.btn-widget {
    background: var(--clr-white);
    color: var(--clr-secondary);
    padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 4);
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

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

.c5m1w { position: absolute; width: 1px; height: 1px; }

/* Responsive Styles */
@media (max-width: 1024px) {
    .header-container {
        grid-template-columns: auto 1fr auto auto;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--clr-white);
        flex-direction: column;
        padding: calc(var(--spacing-unit) * 10) calc(var(--spacing-unit) * 3);
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 999;
    }

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

    .burger {
        display: flex;
    }

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

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

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .content-wrapper {
        padding: calc(var(--spacing-unit) * 3);
    }

    .content-section h2 {
        font-size: 24px;
    }

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

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

    .providers-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .online-counter {
        font-size: 12px;
        padding: calc(var(--spacing-unit) * 0.5) calc(var(--spacing-unit));
    }
}

@media (max-width: 480px) {
    .header-actions {
        gap: calc(var(--spacing-unit));
    }

    .btn {
        padding: calc(var(--spacing-unit)) calc(var(--spacing-unit) * 2);
        font-size: 14px;
    }

    .hero {
        padding: calc(var(--spacing-unit) * 4) 0;
    }

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

/* Slider for Mobile */
.slider-container {
    position: relative;
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.3s ease;
}

.slider-item {
    min-width: 100%;
    padding: 0 calc(var(--spacing-unit));
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: calc(var(--spacing-unit) * 2);
    margin-top: calc(var(--spacing-unit) * 3);
}

.slider-btn {
    background: var(--clr-primary);
    color: var(--clr-white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: var(--clr-secondary);
    transform: scale(1.1);
}

.h1t6q { opacity: 0.5; filter: grayscale(100%); }

/* WordPress-like elements */
.wp-block-separator {
    border: none;
    border-top: 2px solid var(--clr-border);
    margin: calc(var(--spacing-unit) * 4) 0;
}

.wp-block-quote {
    border-left: 4px solid var(--clr-primary);
    padding-left: calc(var(--spacing-unit) * 3);
    margin: calc(var(--spacing-unit) * 3) 0;
    font-style: italic;
}

.elementor-widget-container {
    margin: calc(var(--spacing-unit) * 2) 0;
}

.yoast-breadcrumbs {
    font-size: 14px;
    color: var(--clr-text-light);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 1s ease;
}

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

.slide-in-left {
    animation: slideInLeft 0.8s ease;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-primary { color: var(--clr-primary); }
.text-secondary { color: var(--clr-secondary); }
.mb-1 { margin-bottom: calc(var(--spacing-unit)); }
.mb-2 { margin-bottom: calc(var(--spacing-unit) * 2); }
.mb-3 { margin-bottom: calc(var(--spacing-unit) * 3); }
.mt-1 { margin-top: calc(var(--spacing-unit)); }
.mt-2 { margin-top: calc(var(--spacing-unit) * 2); }
.mt-3 { margin-top: calc(var(--spacing-unit) * 3); }

.p9x3n { width: 0; height: 0; overflow: hidden; }
.j4r8k { visibility: collapse; }
/* ==== HERO DOWNLOAD SECTION ==== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
    background: linear-gradient(rgba(2,85,194,0.65), rgba(2,85,194,0.65)),
    url('/banner1.png') center/cover no-repeat;
    /* ↑ заміни /images/hero-bg.jpg на свій шлях до картинки */
    overflow: hidden;
}

/* якщо хочеш більш м’яке затемнення, зміни 0.65 на 0.5 або 0.7 */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.btn-hero {
    background: linear-gradient(135deg, #54b146, #45a037);
    color: #fff;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(84,177,70,0.4);
}

/* info card */
.app-info-card {
    background: rgba(255,255,255,0.9);
    color: #333;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    backdrop-filter: blur(4px);
}

/* адаптація */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hero-content h1 {
        font-size: 32px;
    }
    .app-info-card {
        padding: 20px;
    }
}
/* ===== Slottica page: mobile-first styles for .dd block ===== */
.container.dd {
    --dd-text: #171717;
    --dd-muted: #525252;
    --dd-border: #e5e7eb;
    --dd-bg: #ffffff;
    --dd-radius: 14px;

    color: var(--dd-text);
    background: var(--dd-bg);
    margin-inline: auto;
    padding: clamp(16px, 3.5vw, 24px);
    padding-left: max(16px, calc(3.5vw + env(safe-area-inset-left)));
    padding-right: max(16px, calc(3.5vw + env(safe-area-inset-right)));
    line-height: 1.65;
    font-size: 16px;
    word-break: break-word;
    overflow-wrap: anywhere;
    -webkit-text-size-adjust: 100%;
}

/* Typography */
.container.dd :where(h1, h2, h3) {
    line-height: 1.25;
    margin: 0 0 12px;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.container.dd h1 { font-size: clamp(22px, 5.2vw, 30px); }
.container.dd h2 { font-size: clamp(18px, 4.6vw, 24px); margin-top: 24px; }
.container.dd h3 { font-size: clamp(16px, 4vw, 20px);  margin-top: 20px; }

.container.dd p { margin: 0 0 12px; color: var(--dd-text); }
.container.dd p + p { margin-top: 8px; }
.container.dd strong { font-weight: 700; }

.container.dd :where(ul, ol) {
    margin: 12px 0 16px 20px;
    padding: 0;
}
.container.dd ul { list-style: disc; }
.container.dd ol { list-style: decimal; }
.container.dd li { margin: 6px 0; }
.container.dd li::marker { color: var(--dd-muted); }

/* Links */
.container.dd a {
    color: #0a7aff;
    text-decoration: underline;
    text-underline-offset: 2px;
    word-break: break-all; /* довгі URL не ламають верстку */
}

/* Images & media */
.container.dd img,
.container.dd video,
.container.dd iframe {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: var(--dd-radius);
}

/* Tables → mobile-friendly horizontal scroll */
.container.dd table {
    display: block;               /* дозволяє прокрутку на вузьких екранах */
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 12px 0 16px;
    border: 1px solid var(--dd-border);
    border-radius: var(--dd-radius);
}
.container.dd thead th {
    position: sticky;
    top: 0;
    background: #fafafa;
    z-index: 1;
}
.container.dd th,
.container.dd td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--dd-border);
    text-align: left;
    white-space: nowrap;          /* не ламаємо короткі комірки */
}
.container.dd tr:last-child td { border-bottom: none; }

/* Content rhythm */
.container.dd :where(h1, h2, h3, p, ul, ol, table, .faq) + :where(h1, h2, h3) {
    margin-top: 20px;
}

/* Cards (optional, якщо захочеш обрамляти секції) */
.container.dd .card {
    border: 1px solid var(--dd-border);
    border-radius: var(--dd-radius);
    padding: 14px;
    background: #fff;
}

/* FAQ paragraphs */
.container.dd p > strong:first-child {
    display: inline-block;
    margin-bottom: 2px;
}

/* Small screens fine-tuning */
@media (max-width: 480px) {
    .container.dd { font-size: 15.5px; }
    .container.dd th, .container.dd td { padding: 9px 10px; }
}

/* Larger viewports (progressive enhancement) */
@media (min-width: 768px) {
    .container.dd {
        max-width: 860px;
        font-size: 17px;
        line-height: 1.7;
        padding: 28px;
    }
    .container.dd h1 { font-size: clamp(28px, 3.2vw, 40px); }
    .container.dd h2 { font-size: clamp(22px, 2.4vw, 28px); }
    .container.dd h3 { font-size: clamp(18px, 2.1vw, 22px); }
    .container.dd table { white-space: nowrap; } /* на десктопі теж акуратно скролиться */
}

/* Dark mode (за бажанням, якщо сайт підтримує) */
@media (prefers-color-scheme: dark) {
    .container.dd {
        --dd-text: #e5e7eb;
        --dd-muted: #9ca3af;
        --dd-border: #374151;
        --dd-bg: #0b0f14;
    }
    .container.dd thead th { background: #111827; }
    .container.dd a { color: #6ea8ff; }
}
