/* --- PREMIUM CRYSTAL FANTASY STYLE THEME --- */
:root {
    --bg-main: #0b071e;
    --bg-surface: #150f33;
    --bg-surface-elevated: #20174d;
    --primary: #00f0ff;
    --primary-glow: rgba(0, 240, 255, 0.4);
    --secondary: #9d4edd;
    --secondary-glow: rgba(157, 78, 221, 0.4);
    --accent: #ffb703;
    --text-primary: #ffffff;
    --text-muted: #b4a9df;
    --border-color: rgba(0, 240, 255, 0.15);
    --font-sans: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --max-width: 1200px;
}

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

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

body {
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Grids & Common Layout Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.text-center { text-align: center; }
.highlight-text { color: var(--primary); font-weight: bold; text-shadow: 0 0 10px var(--primary-glow); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--bg-main);
    box-shadow: 0 4px 20px var(--primary-glow);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 28px var(--primary-glow);
    filter: brightness(1.1);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--secondary);
    box-shadow: 0 4px 15px var(--secondary-glow);
}

.btn-secondary:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 6px 24px var(--secondary-glow);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 7, 30, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
    height: 44px;
}

.nav-logo {
    height: 100%;
}

.nav-menu {
    display: flex;
    gap: 24px;
}

.nav-menu a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.4) saturate(1.2);
    transform: scale(1.05);
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 200px;
    background: linear-gradient(to top, var(--bg-main), transparent);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 850px;
    padding: 0 24px;
}

.hero-container h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
    font-weight: 800;
    background: linear-gradient(to right, #fff, #b4a9df, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* About Section */
.about-section {
    padding: 100px 0;
}

h2 {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--text-primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.extra-text {
    margin-top: 40px;
    border-left: 3px solid var(--primary);
    padding-left: 24px;
}

/* Premium Frames for Images */
.premium-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0,0,0,0.5), 0 0 30px var(--secondary-glow);
    border: 1px solid var(--border-color);
    transition: transform 0.4s ease;
}

.premium-frame:hover {
    transform: scale(1.02);
}

.premium-frame img {
    width: 100%;
    display: block;
}

/* Technical Specs Table */
.specs-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-main), var(--bg-surface), var(--bg-main));
}

.section-title {
    margin-bottom: 48px;
}

.table-responsive {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin-bottom: 40px;
}

.tech-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    background: var(--bg-surface);
}

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

.tech-table th {
    background-color: var(--bg-surface-elevated);
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

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

.specs-footer-text {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

/* Step Cards & Mechanics */
.mechanics-section {
    padding: 100px 0;
}

.section-subtitle {
    max-width: 800px;
    margin: -30px auto 60px auto;
}

.step-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    background: var(--bg-surface-elevated);
    transform: translateY(-5px);
}

.step-num {
    position: absolute;
    top: -20px; left: 32px;
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: var(--bg-main);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.2rem;
    box-shadow: 0 0 15px var(--primary-glow);
}

.step-card h3 {
    margin-top: 10px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.interface-block {
    margin-top: 60px;
}

.critical-step {
    margin-bottom: 32px;
}
.critical-step:last-child { margin-bottom: 0; }

.critical-step ul {
    list-style: none;
    margin: 12px 0 16px 16px;
}

.critical-step ul li {
    position: relative;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 6px;
}
.critical-step ul li::before {
    content: '➔';
    margin-right: 8px;
}

/* UI Badges */
.ui-details {
    margin-top: 60px;
    background: radial-gradient(circle at top left, var(--bg-surface-elevated), var(--bg-surface));
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.ui-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}

.ui-badges span {
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.3);
    padding: 8px 18px;
    border-radius: 20px;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.ui-note {
    font-style: italic;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
    margin-top: 20px;
}

/* Pros and Cons Boxes */
.pros-cons-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-main), rgba(21, 15, 51, 0.5), var(--bg-main));
}

.pros-box, .cons-box {
    background: var(--bg-surface);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.05);
}

.pros-box { border-top: 4px solid #00b4d8; }
.cons-box { border-top: 4px solid #e63946; }

.pros-box h3, .cons-box h3 {
    font-size: 1.6rem;
    margin-bottom: 24px;
}

.pros-box h3 { color: #00b4d8; }
.cons-box h3 { color: #e63946; }

.pros-box ul, .cons-box ul {
    list-style: none;
}

.pros-box ul li, .cons-box ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 16px;
    color: var(--text-muted);
}

.pros-box ul li::before {
    content: '✓';
    position: absolute; left: 0; color: #00b4d8; font-weight: bold;
}

.cons-box ul li::before {
    content: '✕';
    position: absolute; left: 0; color: #e63946; font-weight: bold;
}

/* Strategies Section */
.strategies-section {
    padding: 100px 0;
}

.strategy-card {
    background: var(--bg-surface);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.strat-header {
    padding: 32px;
    color: var(--bg-main);
}

.conservador .strat-header { background: linear-gradient(135deg, #00f0ff, #0077b6); }
.agresivo .strat-header { background: linear-gradient(135deg, #9d4edd, #5a189a); }

.strat-header h3 { font-size: 1.5rem; margin-bottom: 8px; color: var(--bg-main); }
.strat-header p { color: rgba(11, 7, 30, 0.8); margin-bottom: 0; font-weight: 500;}

.strat-body { padding: 32px; }
.strat-body h4 { margin-bottom: 12px; color: var(--text-primary); }
.strat-body ul { margin-left: 20px; margin-bottom: 20px; color: var(--text-muted); }
.strat-body ul li { margin-bottom: 8px; }
.strat-note { font-size: 0.95rem; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 16px; }

/* Responsible Box */
.responsible-box {
    margin-top: 80px;
    background: #11092c;
    border: 1px dashed var(--secondary);
    padding: 40px;
    border-radius: 16px;
}

.responsible-box h3 { color: var(--accent); margin-bottom: 20px; }

.limit-metrics {
    display: flex;
    gap: 16px;
    margin: 24px 0;
}

.metric {
    flex: 1;
    background: rgba(255, 183, 3, 0.06);
    border: 1px solid rgba(255, 183, 3, 0.3);
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: var(--accent);
}

.law-notice {
    margin-top: 24px;
    font-size: 0.95rem;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Verdict & Ratings */
.verdict-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-main), var(--bg-surface));
}

.ratings-container {
    margin-top: 60px;
    display: flex;
    gap: 48px;
    background: var(--bg-surface-elevated);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    align-items: center;
}

.global-score-card {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    min-width: 180px;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
}

.global-num {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--bg-main);
    line-height: 1;
}

.global-label {
    color: var(--bg-main);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-top: 8px;
}

.breakdown-scores {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.score-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.score-label {
    width: 220px;
    font-weight: 500;
    color: var(--text-muted);
}

.score-bar-bg {
    flex: 1;
    height: 10px;
    background: var(--bg-main);
    border-radius: 5px;
    overflow: hidden;
}

.score-bar-fill {
    height: 100%;
    background: linear-gradient(to right, var(--secondary), var(--primary));
    border-radius: 5px;
}

.score-val {
    width: 60px;
    text-align: right;
    font-weight: 700;
    color: var(--primary);
}

.discipline-footer {
    margin-top: 60px;
}

blockquote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--primary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

/* Footer */
.main-footer {
    padding: 60px 0;
    background: #060411;
    border-top: 1px solid var(--border-color);
}

.footer-logo {
    height: 48px;
    margin-bottom: 24px;
}

.main-footer p {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.gamble-responsible {
    color: #e63946 !important;
    font-weight: bold;
    margin-top: 16px;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-container .fade-in:nth-child(2) { animation-delay: 0.2s; }
.hero-container .fade-in:nth-child(3) { animation-delay: 0.4s; }

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

.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

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

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .grid-2 { gap: 32px; }
    .hero-container h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    html { font-size: 15px; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 32px; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%; left: 0; width: 100%;
        background: var(--bg-surface);
        flex-direction: column;
        padding: 24px;
        border-bottom: 1px solid var(--border-color);
    }
    .nav-menu.active { display: flex; }
    .menu-toggle { display: flex; }
    .hero-section { height: auto; padding: 140px 0 80px 0; }
    .hero-actions { flex-direction: column; gap: 12px; }
    .image-content { order: -1; }
    .ratings-container { flex-direction: column; align-items: stretch; }
    .score-label { width: 100%; margin-bottom: 4px; }
    .score-row { flex-wrap: wrap; gap: 8px; }
    .score-bar-bg { width: 100%; flex-none: true; min-width: 100%; }
    .limit-metrics { flex-direction: column; }
}