/* ================= HIGH-TECH CRYPTO / BETTING EXCHANGE STYLE ================= */
:root {
    --bg-page: #0d1117;
    --surface: #161b22;
    --surface-hover: #1f242c;
    --border-color: #30363d;
    --accent: #00ff66;
    --accent-hover: #00cc52;
    --accent-danger: #ff3366;
    --text-main: #c9d1d9;
    --text-muted: #8b949e;
    --text-bright: #ffffff;
    --radius-sm: 4px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Mono', 'Segoe UI', sans-serif;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ================= ХЕДЕР ================= */
header {
    background-color: #010409;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 9999;
}

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

.logo {
    font-size: 22px;
    font-weight: 900;
    color: var(--text-bright);
    text-decoration: none;
    letter-spacing: 1px;
    border-left: 4px solid var(--accent);
    padding-left: 10px;
    text-transform: uppercase;
}

.nav-menu { display: flex; list-style: none; align-items: center; }
.nav-menu li { margin-left: 30px; }
.nav-menu a { color: var(--text-muted); text-decoration: none; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; transition: color 0.2s; }
.nav-menu a:hover { color: var(--accent); }

.hamburger { display: none; background: none; border: none; color: var(--text-main); font-size: 24px; cursor: pointer; }

/* ================= HERO С СЕТКОЙ ================= */
.hero {
    background-color: #0d1117;
    background-image: 
        linear-gradient(rgba(48, 54, 61, 0.4) 1px, transparent 1px),
        linear-gradient(90deg, rgba(48, 54, 61, 0.4) 1px, transparent 1px);
    background-size: 30px 30px;
    color: white;
    padding: 100px 20px 80px; 
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.hero h1 { font-size: 48px; max-width: 900px; margin: 0 auto 20px; text-transform: uppercase; color: var(--text-bright); }
.hero p { font-size: 18px; color: var(--text-muted); max-width: 700px; margin: 0 auto; }

/* ================= ДАТА ОБНОВЛЕНИЯ ================= */
.update-badge {
    display: inline-flex; align-items: center; background: #010409; border: 1px solid var(--border-color);
    color: var(--text-muted); padding: 8px 16px; border-radius: var(--radius-sm);
    font-family: 'Courier New', Courier, monospace; font-size: 14px; margin-top: 0; margin-bottom: 40px; box-shadow: 4px 4px 0 rgba(0,0,0,0.5); 
}
.update-badge svg { width: 16px; height: 16px; margin-right: 10px; fill: var(--accent); }
.update-badge strong { margin-left: 5px; color: var(--accent); font-weight: bold; }

/* ================= КОНТЕНТ СТАТЬИ ================= */
.content-section { padding: 50px 0; }
.content-block { background: transparent; }
.content-block h2 { font-size: 28px; margin-top: 60px; padding-bottom: 10px; border-bottom: 1px solid var(--border-color); color: var(--text-bright); text-transform: uppercase; }
.content-block h3 { font-size: 22px; margin-top: 40px; color: var(--text-main); }
.content-block p { margin-bottom: 20px; font-size: 16px; color: var(--text-main); }

.content-block ul { margin: 20px 0 20px 20px; }
.content-block li { margin-bottom: 10px; }
.content-block ul li::marker { color: var(--accent); content: ">> "; font-family: monospace; }

/* ================= КАРТОЧКИ ТОП-КАЗИНО ================= */
.cols__top { list-style: none; padding: 0; margin: 40px 0; display: flex; flex-direction: column; gap: 15px; }

.top-card { background: var(--surface); border: 1px solid var(--border-color); border-radius: var(--radius-sm); padding: 20px; display: flex; align-items: center; gap: 20px; transition: border-color 0.2s ease, background 0.2s ease; }
.top-card:hover { background: var(--surface-hover); border-color: #4b5563; }

.top-card--top { border-color: var(--accent); position: relative; background: rgba(0, 255, 102, 0.03); }
.top-card--top::before {
    content: '🏆 #1 SCELTA DEGLI ESPERTI'; 
    position: absolute; top: -1px; left: -1px; background: var(--accent); color: #000;
    font-size: 11px; font-weight: 800; padding: 4px 12px; border-radius: var(--radius-sm) 0 var(--radius-sm) 0; letter-spacing: 1px; text-transform: uppercase;
}

.top-card__logo { flex: 0 0 150px; background: #ffffff; border: 1px solid var(--border-color); border-radius: var(--radius-sm); cursor: pointer; padding: 10px; display: flex; align-items: center; justify-content: center; }
.top-card__logo img { width: 100%; height: auto; display: block; }

.top-card__main-info { flex: 1; }
.top-card__name { font-size: 20px; margin-bottom: 5px; color: var(--text-bright); text-transform: uppercase; }

.rating { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.rating::before { content: "★"; font-size: 16px; color: var(--accent); }
.rating .visually-hidden { font-weight: 700; color: var(--text-main); font-size: 14px; display: block; }
.rating__fill { display: none; }

.top-card__link { color: var(--text-muted); font-size: 13px; text-decoration: none; border-bottom: 1px solid var(--text-muted); }
.top-card__link:hover { color: var(--text-bright); border-color: var(--text-bright); }

.top-card__secondary-info { flex: 1; list-style: none; margin: 0; padding: 0 20px; border-left: 1px dashed var(--border-color); }
.top-card__secondary-info li { display: flex; align-items: center; gap: 10px; font-size: 13px; margin-bottom: 8px; color: var(--text-main); }
.top-card__secondary-info li::marker { content: none; }
.top-card__secondary-info i { color: var(--accent); font-size: 14px; }

.top-card__payments { flex: 1; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; justify-content: flex-end; }
.top-card__payments li::marker { content: none; }
.top-card__payments li img { width: 45px; height: 28px; object-fit: contain; background: #ffffff; border-radius: 2px; padding: 2px;}

.top-card__btn { background: var(--accent); color: #000; border: none; padding: 14px 28px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 900; text-transform: uppercase; cursor: pointer; transition: background 0.2s ease; flex-shrink: 0; margin-left: 15px; }
.top-card__btn:hover { background: var(--accent-hover); }

/* ================= ПЛЮСЫ И МИНУСЫ ================= */
.pros-cons-wrapper { display: flex; gap: 20px; margin: 40px 0; }
.pros-box, .cons-box { flex: 1; background: var(--surface); padding: 30px; border-radius: var(--radius-sm); }
.pros-box { border-top: 3px solid var(--accent); }
.cons-box { border-top: 3px solid var(--accent-danger); }
.pros-box h3, .cons-box h3 { font-size: 20px; margin-bottom: 20px; text-transform: uppercase; }
.pros-box h3 { color: var(--accent); }
.cons-box h3 { color: var(--accent-danger); }
.pros-box p, .cons-box p { color: var(--text-muted); margin-bottom: 25px; font-size: 14px; }
.pros-list, .cons-list { list-style: none; padding: 0 !important; margin: 0 !important; }
.pros-list li, .cons-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 15px; color: var(--text-main); font-size: 15px; }
.pros-list li::marker, .cons-list li::marker { content: none; }
.pros-list li i, .cons-list li i { font-size: 16px; margin-top: 4px; }
.pros-list li i { color: var(--accent); }
.cons-list li i { color: var(--accent-danger); }

/* ================= ТАБЛИЦЫ ================= */
.content-block table { width: 100%; border-collapse: collapse; margin: 40px 0; background: var(--surface); border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border-color); }
.content-block table th, .content-block table td { padding: 15px; text-align: left; border-bottom: 1px solid var(--border-color); }
.content-block table th { background: #010409; color: var(--text-muted) !important; font-size: 12px; text-transform: uppercase; }
.content-block table tbody tr:hover { background: rgba(255,255,255,0.02); }
.content-block table td { color: var(--text-main); font-size: 14px; }

/* ================= АВТОР ================= */
.author-box-pro { display: flex !important; align-items: flex-start !important; gap: 25px !important; text-align: left !important; background: var(--surface) !important; border: 1px solid var(--border-color) !important; border-radius: var(--radius-sm) !important; padding: 30px !important; margin: 50px 0 !important; }
.author-media-col { flex-shrink: 0 !important; }
.author-media-col img { width: 80px !important; height: 80px !important; border-radius: var(--radius-sm) !important; border: 1px solid var(--border-color) !important; object-fit: cover !important;}
.author-text-col h3 { font-size: 18px !important; color: var(--text-bright) !important; margin-bottom: 5px !important; }
.author-text-col p { color: var(--text-muted) !important; font-size: 14px !important; margin: 0 !important; line-height: 1.5 !important;}
.author-email-btn { display: none !important; }

/* ================= FAQ ================= */
.faq-section { margin-top: 50px; }
.faq-container { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--border-color); border-radius: var(--radius-sm); }
.faq-question { width: 100%; text-align: left; padding: 18px 20px; font-size: 16px; font-weight: 700; color: var(--text-bright); background: transparent; border: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question i { color: var(--text-muted); font-size: 14px; transition: transform 0.2s ease;}
.faq-item.active { border-color: var(--accent); }
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--accent); }
.faq-answer { display: none; padding: 0 20px 20px; color: var(--text-muted); font-size: 15px; }
.faq-item.active .faq-answer { display: block; }

/* ================= ИЗОБРАЖЕНИЯ ================= */
.content-block img { max-width: 100%; border-radius: var(--radius-sm); margin: 30px auto; display: block; border: 1px solid var(--border-color); }

/* ================= ФУТЕР ================= */
footer { background: #010409; color: var(--text-muted); padding: 50px 20px 30px; font-size: 13px; border-top: 1px solid var(--border-color); }
.footer-nav { display: flex; justify-content: center; gap: 30px; margin-bottom: 30px; border-bottom: 1px solid var(--border-color); padding-bottom: 20px;}
.footer-nav a { color: var(--text-muted); text-decoration: none; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 1px;}
.footer-nav a:hover { color: var(--text-bright); }
.responsible-text { color: var(--text-main); font-size: 18px; font-weight: 700; text-align: center; margin-bottom: 30px; text-transform: uppercase;}
.footer-badges { display: flex; justify-content: center; gap: 15px; margin-bottom: 30px; flex-wrap: wrap; }
.badge-18 { border: 1px solid var(--text-muted); border-radius: 2px; padding: 5px 8px; font-weight: bold; font-size: 14px; color: var(--text-muted); }
.badge-gamcare span { background: #161b22; border: 1px solid var(--border-color); color: var(--text-muted); padding: 3px 8px; border-radius: 2px; }
.badge-gambleaware span { color: var(--text-muted); }

/* ================= АДАПТИВ ДЛЯ ПЛАНШЕТОВ ================= */
@media (max-width: 992px) {
    .top-card { flex-direction: column; align-items: stretch; text-align: center; padding: 25px 15px; gap: 15px; }
    .top-card--top::before { left: 0; border-radius: 0 0 var(--radius-sm) 0;}
    .top-card__logo { flex: none; width: 100%; max-width: 200px; margin: 0 auto; }
    .top-card__secondary-info { border-left: none; padding: 15px 0 0 0; border-top: 1px dashed var(--border-color); width: 100%; display: flex; flex-direction: column; align-items: center;}
    .top-card__payments { justify-content: center; width: 100%; margin-top: 10px; }
    .top-card__btn { width: 100%; margin-left: 0; margin-top: 15px; padding: 16px; font-size: 16px; }
}

/* ================= АДАПТИВ ДЛЯ МОБИЛЬНЫХ (ИСПРАВЛЕНО!) ================= */
@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-menu { display: none; position: absolute; top: 60px; left: 0; width: 100%; background: #010409; border-bottom: 1px solid var(--border-color); padding: 15px 0; }
    .nav-menu.active { display: flex; flex-direction: column; }
    .nav-menu li { margin: 10px 0; text-align: center; }
    
    /* Исправленные отступы и размеры шрифтов */
    .hero { padding: 60px 15px 40px; }
    .hero h1 { font-size: 30px; line-height: 1.3; margin-bottom: 15px; padding: 0 10px; word-wrap: break-word; }
    .hero p { font-size: 15px; line-height: 1.6; padding: 0 10px; }
    
    .content-block { padding: 0; }
    .pros-cons-wrapper { flex-direction: column; gap: 15px; }
    .author-box-pro { flex-direction: column !important; align-items: center !important; text-align: center !important; }
    .content-block table { display: block; overflow-x: auto; white-space: nowrap; }
}

/* ================= COOKIE BANNER (ИСПРАВЛЕНО ДЛЯ ТЕЛЕФОНОВ!) ================= */
.cookie-micro-banner {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(150%);
    background: #010409; color: var(--text-main); border-radius: var(--radius-sm); padding: 15px 20px;
    display: flex; align-items: center; gap: 20px; z-index: 99999;
    width: max-content; max-width: 90%; transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}
.cookie-micro-banner.show { transform: translateX(-50%) translateY(0); }
.cookie-content a { color: var(--accent); }
.cookie-btn { background: transparent; border: 1px solid var(--accent); color: var(--accent); padding: 8px 16px; border-radius: var(--radius-sm); font-weight: 700; cursor: pointer; text-transform: uppercase;}
.cookie-btn:hover { background: var(--accent); color: #000; }

@media (max-width: 600px) {
    .cookie-micro-banner { 
        flex-direction: column; 
        text-align: center; 
        padding: 15px; 
        width: calc(100% - 30px);
        left: 15px; 
        bottom: 15px; 
        border-radius: 8px;
        transform: translateY(150%); 
    }
    .cookie-micro-banner.show { transform: translateY(0); }
    
    .cookie-content { flex-direction: column; gap: 5px; font-size: 12px; line-height: 1.4; }
    .cookie-content i, .cookie-content svg { display: none; }
    .cookie-btn { width: 100%; padding: 10px; font-size: 14px; margin-top: 5px; }
}
/* ================= ФОРМА КОНТАКТОВ (HIGH-TECH CRYPTO) ================= */
.contact-wrapper { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 30px; }
.contact-info { flex: 1; min-width: 300px; }
.contact-info h3 { font-size: 22px; margin-top: 0; margin-bottom: 15px; color: var(--text-bright); border-bottom: 1px solid var(--border-color); padding-bottom: 10px; text-transform: uppercase; }
.contact-info p { color: var(--text-muted); margin-bottom: 20px; font-size: 15px; }

.contact-email-box {
    display: inline-flex; align-items: center; gap: 15px;
    background-color: #010409; padding: 15px 25px; border-radius: var(--radius-sm);
    border: 1px solid var(--border-color); box-shadow: 4px 4px 0 rgba(0,0,0,0.5);
    font-size: 15px; color: var(--text-main); font-family: 'Courier New', Courier, monospace; font-weight: bold;
}
.contact-email-box i { color: var(--accent); font-size: 22px; }

.contact-form-container {
    flex: 1.5; min-width: 300px; background: var(--surface);
    padding: 35px; border-radius: var(--radius-sm); border: 1px solid var(--border-color);
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-family: 'Roboto Mono', monospace; font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

.form-group input, .form-group textarea {
    width: 100%; padding: 14px 15px;
    border: 1px solid var(--border-color); border-radius: var(--radius-sm);
    font-family: 'Courier New', Courier, monospace; font-size: 15px; color: var(--text-bright);
    background-color: #010409; transition: border-color 0.2s ease;
}
.form-group textarea { resize: vertical; min-height: 150px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: #4b5563; }

.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--accent); background-color: #0d1117;
}

.submit-btn {
    background: var(--accent); color: #000; border: none;
    padding: 16px 30px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 900;
    text-transform: uppercase; cursor: pointer; transition: background 0.2s ease;
    align-self: flex-start; margin-top: 10px;
}
.submit-btn:hover { background: var(--accent-hover); }

@media (max-width: 768px) {
    .contact-form-container { padding: 25px 20px; }
    .submit-btn { width: 100%; }
    .contact-email-box { width: 100%; justify-content: center; }
}