/* ============================================================================
   DRACORYX — home.css (Design System Cinematográfico 3D)
   ============================================================================ */

:root {
    --bg-dark: #05060a;
    --bg-surface: #0d0f17;
    --bg-glass: rgba(13, 15, 23, 0.82);
    
    --primary-cyan: #00f0ff;
    --primary-violet: #7000ff;
    --primary-blue: #0066ff;
    --primary-magenta: #ff007a;
    
    --text-main: #f0f4f8;
    --text-muted: #94a3b8;
    
    --border-glow: rgba(0, 240, 255, 0.35);
    --border-subtle: rgba(255, 255, 255, 0.1);
    
    --shadow-deep: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 240, 255, 0.12);
    --shadow-card: 0 15px 35px -10px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

/* Background Grid Overlay */
.bg-grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* Canvas 3D Background & Spotlight Vignette */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

.canvas-vignette {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(5, 6, 10, 0.8) 0%, rgba(5, 6, 10, 0.3) 50%, transparent 80%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Linha de Referência Visual & Indicador de Progresso */
.scrolly-line {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.4), transparent);
    pointer-events: none;
    z-index: 3;
    opacity: 0.5;
}

.scroll-indicator-badge {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(13, 15, 23, 0.9);
    border: 1px solid var(--border-glow);
    padding: 10px 18px;
    border-radius: 30px;
    font-family: var(--font-display);
    font-size: 0.75rem;
    color: var(--primary-cyan);
    backdrop-filter: blur(14px);
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.25);
}

.scroll-progress-bar {
    width: 35px;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    overflow: hidden;
}

.scroll-progress-fill {
    width: 0%;
    height: 100%;
    background: var(--primary-cyan);
    box-shadow: 0 0 8px var(--primary-cyan);
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 4rem;
    background: rgba(5, 6, 10, 0.82);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    z-index: 100;
}

.brand-logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
    text-decoration: none;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    color: var(--primary-cyan);
    text-shadow: 0 0 12px var(--primary-cyan);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--primary-cyan);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

.btn-ghost {
    padding: 0.6rem 1.4rem;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: var(--transition-smooth);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
}

.btn-primary {
    padding: 0.6rem 1.4rem;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-blue));
    color: #050610;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.7);
}

/* Wrapper */
.page-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
}

/* Hero Section */
.hero-section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 2rem 8vw;
}

.hero-content {
    max-width: 700px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.4rem 1rem;
    background: rgba(112, 0, 255, 0.2);
    border: 1px solid var(--primary-violet);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--primary-cyan);
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(112, 0, 255, 0.3);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-cyan);
    animation: pulse 1.5s infinite;
}

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

.hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-violet), var(--primary-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.hero-cta-group {
    display: flex;
    gap: 1.2rem;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-blue));
    color: #050610;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
    transition: var(--transition-smooth);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.7);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glow);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 8px;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.btn-hero-secondary:hover {
    background: rgba(0, 240, 255, 0.12);
    border-color: var(--primary-cyan);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.3);
}

/* Sections */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.section-header.center {
    text-align: center;
    justify-content: center;
    flex-direction: column;
}

.section-subtitle {
    font-family: var(--font-display);
    font-size: 0.8rem;
    color: var(--primary-cyan);
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 900;
    margin-top: 0.3rem;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
}

.link-more {
    color: var(--primary-cyan);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.link-more:hover {
    text-shadow: 0 0 12px var(--primary-cyan);
}

/* Cards Grid 3D Tilt com Sombras e Bordas Destacadas */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.tilt-card {
    position: relative;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 2.2rem;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
}

.tilt-card:hover {
    border-color: var(--primary-cyan);
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 240, 255, 0.25), inset 0 1px 0 rgba(0, 240, 255, 0.4);
}

.card-status {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.status-open {
    background: rgba(0, 240, 255, 0.15);
    color: var(--primary-cyan);
    border: 1px solid var(--primary-cyan);
}

.status-soon {
    background: rgba(112, 0, 255, 0.15);
    color: #c084fc;
    border: 1px solid #a855f7;
}

.card-game {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    font-weight: 700;
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin: 0.4rem 0 1rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.2rem;
}

.prize-tag {
    font-weight: 700;
    color: var(--primary-cyan);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.btn-card {
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.btn-card:hover {
    background: var(--primary-cyan);
    color: #050610;
    border-color: var(--primary-cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.8rem;
}

.step-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    padding: 2.2rem;
    border-radius: 14px;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.step-card:hover {
    border-color: var(--border-glow);
    box-shadow: 0 20px 40px rgba(0,0,0,0.8), 0 0 25px rgba(0, 240, 255, 0.15);
    transform: translateY(-4px);
}

.step-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-cyan);
    margin-bottom: 0.8rem;
    opacity: 0.9;
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.step-card h4 {
    font-family: var(--font-display);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Community Box */
.community-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    padding: 3.5rem;
    border-radius: 20px;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-deep);
}

.community-text h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin: 0.5rem 0 1rem;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8);
}

.community-text p {
    color: var(--text-muted);
}

.margin-top {
    margin-top: 1.8rem;
}

.visual-panel {
    background: #070911;
    border: 1px solid var(--border-glow);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 240, 255, 0.15);
}

.panel-header {
    background: #0f1322;
    padding: 0.9rem 1.2rem;
    font-size: 0.8rem;
    font-family: var(--font-display);
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-subtle);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; box-shadow: 0 0 8px #ff5f56; }
.dot.yellow { background: #ffbd2e; box-shadow: 0 0 8px #ffbd2e; }
.dot.green { background: #27c93f; box-shadow: 0 0 8px #27c93f; }

.panel-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.85rem;
}

.chat-line span {
    color: var(--primary-cyan);
    font-weight: 600;
}

.chat-line.highlight {
    background: rgba(112, 0, 255, 0.2);
    padding: 0.5rem 0.8rem;
    border-left: 3px solid var(--primary-violet);
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

/* CTA Final */
.cta-final {
    text-align: center;
}

.cta-card {
    background: linear-gradient(135deg, rgba(112,0,255,0.25), rgba(0,240,255,0.12));
    border: 1px solid var(--border-glow);
    padding: 4.5rem 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-deep);
    backdrop-filter: blur(16px);
}

.cta-card h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 5px 20px rgba(0,0,0,0.8);
}

.cta-card p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.btn-large {
    padding: 1.2rem 2.8rem;
    font-size: 1.1rem;
}

/* Footer */
.main-footer {
    text-align: center;
    padding: 2.5rem;
    border-top: 1px solid var(--border-subtle);
    background: rgba(5, 6, 10, 0.95);
    color: var(--text-muted);
    font-size: 0.85rem;
    box-shadow: inset 0 10px 20px rgba(0,0,0,0.5);
}

/* Responsividade */
@media (max-width: 900px) {
    .main-header { padding: 1rem 1.5rem; }
    .nav-links { display: none; }
    .hero-title { font-size: 2.4rem; }
    .community-box { grid-template-columns: 1fr; padding: 2rem; }
}