
:root {
    /* Цветовая палитра */
    --color-bg-body: #0f1014;
    --color-bg-card: #1a1c24;
    --color-bg-input: #232630;
    
    --color-primary: #ff5e00;
    --color-primary-hover: #ff7b00;
    --color-secondary: #00d2ff;
    
    --color-text-main: #e0e0e0;
    --color-text-muted: #9fa4b1;
    --color-accent: #ffd700;
    
    --color-border: #2e3240;
    
    /* Типографика */
    --font-family: 'Inter', 'Roboto', system-ui, -apple-system, sans-serif;
    --font-size-base: 16px;
    
    /* Отступы и размеры */
    --container-width: 1200px;
    --border-radius-sm: 0.5rem;
    --border-radius-md: 1rem;
    --border-radius-lg: 1.5rem;
    
    /* Эффекты */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(255, 94, 0, 0.4);
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Сброс и базовые стили */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul, ol {
    list-style: none;
}

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

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Header */
.header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    gap: 1rem;
}

.header-logo {
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    /* Placeholder styles for logo div */
    min-width: 150px;
    height: 50px;
    background: url('path/to/logo.png') no-repeat center left / contain;
}

/* Buttons in Header */
.header-buttons {
    display: flex;
    gap: 1rem;
}

.btn-reg, .btn-login, .button_pp, .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    text-transform: uppercase;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
}

.btn-reg {
    background: linear-gradient(135deg, var(--color-primary), #ff2f00);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 77, 0, 0.3);
}

.btn-reg:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 77, 0, 0.5);
}

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

.btn-login:hover {
    background: rgba(255, 94, 0, 0.1);
    color: #fff;
}

/* Download Blocks */
.pre-header-dovnload {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 1rem;
    gap: 1rem;
}

.pre-header-dovnload .text-box {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.button_pp {
    background-color: var(--color-secondary);
    color: #000;
    font-weight: bold;
    min-width: 120px;
    text-align: center;
}
.button_pp:after {
    content: "Перейти";
}

.button_pp:hover {
    background-color: #33ddff;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
}

/* Banner */
.banner {
    margin: 2rem 0;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-soft);
    min-height: 200px;
    background: linear-gradient(to right, #2b2e3b, #1a1c24); /* Fallback */
}

.banner img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.banner:hover img {
    transform: scale(1.02);
}

/* Content Typography */
.content h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(90deg, #fff, var(--color-text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.content h2, .content h3 {
    color: var(--color-text-main);
    margin: 2.5rem 0 1rem;
}

.content h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    border-left: 4px solid var(--color-primary);
    padding-left: 1rem;
}

.content p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.content ul, .content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--color-text-muted);
}

.content li {
    margin-bottom: 0.5rem;
    position: relative;
}

.content ul li::before {
    content: "•";
    color: var(--color-primary);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* CTA Box in Content */
.box-btn {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.box-btn .btn {
    font-size: 1.1rem;
    padding: 1rem 3rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 94, 0, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 94, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 94, 0, 0); }
}

/* Casino Passport Section */
.casino-passport {
    background: var(--color-bg-card);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    border: 1px solid var(--color-border);
    margin: 2rem 0;
}

.casino-passport section {
    margin-bottom: 2rem;
}

.casino-passport h3 {
    color: var(--color-accent);
    margin-top: 0;
    font-size: 1.3rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.5rem;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--color-bg-card);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

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

th {
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-weight: 600;
}

tr:hover td {
    background-color: rgba(255, 255, 255, 0.02);
}

/* Comments Section */
.comments {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.quip h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.quip-comment-list {
    padding: 0;
    display: grid;
    gap: 1.5rem;
}

.quip-comment {
    background: var(--color-bg-card);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    transition: transform var(--transition-fast);
}

.quip-comment:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.quip-comment-meta {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.img-box {
    width: 50px;
    height: 50px;
    background-color: var(--color-input-bg);
    border-radius: 50%;
    background-image: linear-gradient(135deg, #333, #555);
    flex-shrink: 0;
}

.quip-comment-author {
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
}

.quip-comment-createdon {
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

.quip-comment-text p {
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.5;
}

/* Form Styles */
.mainform {
    background: var(--color-bg-card);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    margin-top: 3rem;
    border: 1px solid var(--color-border);
}

.quip-fld {
    margin-bottom: 1.5rem;
}

.quip-fld label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-text-main);
    font-size: 0.9rem;
}

.quip-fld input, .quip-textarea textarea, .input-num {
    width: 100%;
    background: var(--color-bg-input);
    border: 1px solid var(--color-border);
    color: #fff;
    padding: 0.8rem 1rem;
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.quip-fld input:focus, .quip-textarea textarea:focus, .input-num:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(255, 94, 0, 0.2);
}

.comment_add {
    margin: 1rem 0;
    color: var(--color-text-muted);
}

.box-captha {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.input-num {
    width: 100px !important;
}

.mainform .box-btn {
    justify-content: flex-start;
}

/* Footer */
.footer {
    background: #050507;
    padding: 3rem 0;
    margin-top: 5rem;
    border-top: 1px solid var(--color-border);
}

.box-icon-playtaiments {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    opacity: 0.5;
}

.box-copirate {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.box-copirate p {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    /* Mobile Header */
    .header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .header-logo {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .header-buttons {
        flex-direction: column;
    }
    
    .btn-reg, .btn-login {
        width: 100%;
    }
    
    .pre-header-dovnload {
        flex-direction: column;
        text-align: center;
    }
    
    .pre-header-dovnload-pk {
        display: none;
    }

    /* Content on Mobile */
    .content h1 {
        font-size: 1.8rem;
    }
    
    .box-btn .btn {
        width: 100%;
        padding: 1rem;
    }
    
    /* Tables scrollable on mobile */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* Utility to hide PC blocks on mobile and vice versa based on class semantics */
@media (min-width: 769px) {
    .pre-header-dovnload-mobail {
        display: none;
    }
}
