/* Custom Premium Cyber Neon Theme Variables */
:root {
    --bg-main: #06070d;
    --bg-surface: #101222;
    --bg-surface-transparent: rgba(16, 18, 34, 0.75);
    --neon-cyan: #00f2fe;
    --neon-purple: #fe019a;
    --neon-gold: #ffd700;
    --text-white: #ffffff;
    --text-muted: #8fa0dd;
    --text-dark: #0b0d19;
    --danger: #ff3366;
    --success: #00ffcc;
    --border-radius-lg: 16px;
    --border-radius-md: 8px;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --glow-glow: 0 0 15px rgba(0, 242, 254, 0.4);
    --glow-purple: 0 0 15px rgba(254, 1, 154, 0.4);
}

/* Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-white);
    line-height: 1.6;
    font-size: 16px;
}

body {
    overflow-x: hidden;
}

/* Typography elements */
h1, h2, h3, h4 {
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

p:last-child {
    margin-bottom: 0;
}

strong {
    color: var(--text-white);
}

/* Layout Containers */
.section-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 80px 24px;
}

.grid-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.align-center {
    align-items: center;
}

.text-center {
    text-align: center;
}

/* Images framework */
.responsive-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-lg);
}

.neon-image-frame {
    position: relative;
    border-radius: var(--border-radius-lg);
    padding: 6px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    box-shadow: var(--glow-glow);
}

/* Header & Navigation Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(6, 7, 13, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: block;
    width: 190px;
    height: 48px;
}

.logo-obj {
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.main-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.main-nav a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px rgba(0, 242, 254, 0.6);
}

.region-badge {
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: inset 0 0 8px rgba(0, 242, 254, 0.2);
}

/* Hero Section Styles */
.hero-section {
    padding-top: 140px;
    background: radial-gradient(circle at 80% 20%, rgba(254, 1, 154, 0.15), transparent 45%);
}

.cyber-tag {
    display: inline-block;
    color: var(--neon-purple);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
}

.main-title {
    font-size: 2.8rem;
    line-height: 1.15;
    margin-bottom: 32px;
    background: linear-gradient(to right, var(--text-white), var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.content-block h2 {
    font-size: 1.6rem;
    color: var(--neon-cyan);
    margin-bottom: 18px;
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

/* Technical Table Section */
.tech-section {
    background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-surface) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.section-header {
    max-width: 800px;
    margin: 0 auto 48px auto;
    text-align: center;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 16px;
    color: var(--text-white);
}

.section-subtitle {
    font-size: 1.1rem;
}

.table-wrapper {
    background: var(--bg-surface-transparent);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    padding: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.tech-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.tech-table th, .tech-table td {
    padding: 18px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-table th {
    background: rgba(254, 1, 154, 0.1);
    color: var(--neon-purple);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--border-radius-md);
}

.tech-table tr:last-child td {
    border-bottom: none;
}

.tech-table td strong {
    font-size: 1.05rem;
}

.highlight-text {
    color: var(--neon-cyan);
    font-weight: 700;
    text-shadow: 0 0 8px rgba(0, 242, 254, 0.4);
}

.additional-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Mechanics Section */
.mechanics-section {
    background: var(--bg-main);
}

.step-card {
    background: var(--bg-surface-transparent);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--neon-cyan), var(--neon-purple));
}

.step-num {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    right: 20px;
    top: 10px;
    line-height: 1;
}

.step-content h3 {
    font-size: 1.35rem;
    margin-bottom: 14px;
    color: var(--neon-cyan);
}

.scenario-box {
    margin-top: 16px;
    padding: 16px;
    border-radius: var(--border-radius-md);
    font-size: 0.95rem;
}

.scenario-box.success {
    background: rgba(0, 255, 204, 0.08);
    border-left: 4px solid var(--success);
    color: #d1fff5;
}

.scenario-box.danger {
    background: rgba(255, 51, 102, 0.08);
    border-left: 4px solid var(--danger);
    color: #ffdee6;
}

/* Flowchart simulation */
.flowchart-wrapper {
    margin-top: 32px;
    background: rgba(6, 7, 13, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px;
    border-radius: var(--border-radius-md);
}

.flowchart-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    text-align: center;
}

.flowchart-nodes {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.node {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
}

.node.fill-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.node.condition {
    background: rgba(254, 1, 154, 0.15);
    border: 1px solid var(--neon-purple);
    color: var(--neon-purple);
}

.arrow {
    color: var(--neon-cyan);
    font-weight: bold;
}

.flowchart-branches {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.branch {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.success-lbl { color: var(--success); font-weight: bold; }
.danger-lbl { color: var(--danger); font-weight: bold; }

.success-node { color: #ffffff; background: rgba(0, 255, 204, 0.15); padding: 4px 10px; border-radius: 4px; }
.danger-node { color: #ffffff; background: rgba(255, 51, 102, 0.15); padding: 4px 10px; border-radius: 4px; }

.full-width-step {
    grid-column: span 2;
    margin-top: 24px;
}

.tools-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 20px;
}

.tool-subcard {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 20px;
    border-radius: var(--border-radius-md);
}

.tool-subcard h4 {
    color: var(--neon-gold);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Pros and Cons Section */
.pros-cons-section {
    background: radial-gradient(circle at 10% 80%, rgba(0, 242, 254, 0.1), transparent 40%);
}

.block-title {
    font-size: 1.5rem;
    font-weight: 800;
    padding: 14px 24px;
    border-radius: var(--border-radius-md);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pros-header {
    background: rgba(0, 255, 204, 0.1);
    color: var(--success);
    border: 1px solid rgba(0, 255, 204, 0.2);
}

.cons-header {
    background: rgba(255, 51, 102, 0.1);
    color: var(--danger);
    border: 1px solid rgba(255, 51, 102, 0.2);
}

.pros-cons-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pros-cons-list li {
    position: relative;
    padding-left: 28px;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.pros-cons-list li strong {
    display: block;
    color: var(--text-white);
    margin-bottom: 4px;
}

.pros-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--success);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

.cons-list li::before {
    content: '✕';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--danger);
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1;
}

/* Strategy Section */
.strategy-section {
    background: var(--bg-surface);
}

.tactict-card {
    background: rgba(6, 7, 13, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 28px;
    border-radius: var(--border-radius-lg);
    margin-bottom: 24px;
    position: relative;
}

.tactict-card:last-child {
    margin-bottom: 0;
}

.tactic-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.tactic-badge.status-low {
    background: rgba(0, 242, 254, 0.15);
    color: var(--neon-cyan);
}

.tactic-badge.status-high {
    background: rgba(254, 1, 154, 0.15);
    color: var(--neon-purple);
}

.tactict-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--text-white);
}

.tactic-desc {
    font-style: italic;
    color: var(--neon-gold);
    margin-bottom: 12px;
}

.warning-callout {
    grid-column: span 2;
    margin-top: 40px;
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid var(--neon-gold);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.warning-icon {
    font-size: 2.5rem;
    color: var(--neon-gold);
    line-height: 1;
}

.warning-text p {
    color: #fff4cb;
}

/* Responsible Gambling Section */
.responsible-section {
    background: var(--bg-main);
}

.responsible-box {
    background: linear-gradient(135deg, rgba(16, 18, 34, 0.8) 0%, rgba(6, 7, 13, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    box-shadow: var(--glow-purple);
}

.intro-p {
    max-width: 850px;
    margin: 0 auto 32px auto;
}

.rules-headline {
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    color: var(--neon-gold);
    margin-bottom: 32px;
}

.rules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}

.rule-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 24px;
    border-radius: var(--border-radius-md);
    position: relative;
}

.rule-index {
    width: 36px;
    height: 36px;
    background: var(--neon-purple);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-bottom: 16px;
    box-shadow: 0 0 10px rgba(254, 1, 154, 0.5);
}

.rule-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--text-white);
}

/* Verdict Section */
.verdict-section {
    background: linear-gradient(180deg, var(--bg-main) 0%, #030407 100%);
}

.verdict-card {
    background: linear-gradient(135deg, rgba(254, 1, 154, 0.05) 0%, rgba(0, 242, 254, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.verdict-title {
    font-size: 2rem;
    color: var(--neon-cyan);
    margin-bottom: 20px;
}

.verdict-score-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.score-circle {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: var(--bg-main);
    border: 4px solid var(--neon-cyan);
    box-shadow: var(--glow-glow), inset 0 0 20px rgba(0, 242, 254, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin-bottom: 16px;
}

.score-num {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-white);
    line-height: 1;
}

.score-max {
    font-size: 1.2rem;
    color: var(--text-muted);
    align-self: flex-end;
    margin-bottom: 24px;
}

.score-label {
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--neon-cyan);
}

/* Footer Styles */
.main-footer {
    background: #020305;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 48px 0 24px 0;
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 32px;
}

.logo-obj-footer {
    width: 160px;
    height: 40px;
    margin-bottom: 20px;
    pointer-events: none;
}

.footer-disclaimer {
    max-width: 700px;
    font-size: 0.85rem;
    color: rgba(143, 160, 221, 0.5);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 24px;
    text-align: center;
}

.copyright {
    font-size: 0.85rem;
    color: rgba(143, 160, 221, 0.4);
}

/* Scroll reveal initial states */
.reveal-item {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-item.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Breakpoints Layer */

/* Desktop & Laptop adapts */
@media (max-width: 1200px) {
    .main-title { font-size: 2.4rem; }
    .section-container { padding: 64px 20px; }
}

/* Tablet Layouts */
@media (max-width: 1024px) {
    .grid-two-cols {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-visual-content {
        order: -1;
    }
    .full-width-step {
        grid-column: span 1;
    }
    .warning-callout {
        grid-column: span 1;
    }
    .rules-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .main-header {
        position: absolute;
    }
    .header-container {
        flex-direction: column;
        gap: 16px;
    }
    .main-nav ul {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero-section {
        padding-top: 200px;
    }
    .tools-grid {
        grid-template-columns: 1fr;
    }
    .responsible-box {
        padding: 24px;
    }
    .verdict-card {
        padding: 24px;
    }
}

/* Mobile Layouts */
@media (max-width: 480px) {
    html { font-size: 15px; }
    .main-title { font-size: 2rem; }
    .section-title { font-size: 1.75rem; }
    .tech-table th, .tech-table td {
        padding: 12px 14px;
    }
    .score-circle {
        width: 130px;
        height: 130px;
    }
    .score-num { font-size: 2.8rem; }
}
