/* ==========================================================================
   HEROBRINE FORTUNE - Landing Page Styles (White Casino Vibe)
   ========================================================================== */

/* --- Variables --- */
:root {
    /* Color Palette: White & Casino Luxury */
    --bg-base: #f8fafc;
    --bg-darker: #f1f5f9;
    --primary-gold: #b8860b;
    --primary-gold-bright: #d4af37;
    --gold-glow: rgba(184, 134, 11, 0.25);
    --casino-green: #059669;
    --casino-red: #dc2626;
    --text-main: #0f172a;
    --text-muted: #64748b;
    
    /* Glassmorphism settings for White Theme */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(184, 134, 11, 0.25);
    --glass-blur: blur(16px);
    
    /* Typography */
    --font-heading: 'Teko', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography Classes */
h1, h2, h3 {
    font-family: var(--font-heading);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.text-gold { color: var(--primary-gold); }
.text-glow {
    color: var(--primary-gold);
    text-shadow: 0 0 12px var(--gold-glow);
}

/* --- Animated Background (Casino Floor Vibe) --- */
.voxel-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, #ffffff 0%, #e2e8f0 100%);
}

.voxel-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(184, 134, 11, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(184, 134, 11, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    perspective: 500px;
    transform: rotateX(60deg) translateY(-100px);
    transform-origin: top;
    animation: gridMove 15s linear infinite;
}

@keyframes gridMove {
    0% { transform: rotateX(60deg) translateY(0); }
    100% { transform: rotateX(60deg) translateY(40px); }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
}

.btn-sm { padding: 0.4rem 1rem; font-size: 1.1rem; }
.btn-lg { padding: 0.8rem 2rem; font-size: 1.5rem; }

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold-bright), var(--primary-gold));
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px var(--gold-glow);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.4);
}

.btn-outline {
    background: var(--glass-bg);
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.btn-outline:hover {
    background: rgba(184, 134, 11, 0.1);
    transform: translateY(-2px);
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-links {
    display: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s;
}

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

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    border: 1px solid var(--glass-border);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--casino-green);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-bottom: 1.5rem;
}

.hero-text h1 {
    font-size: 3.8rem;
    line-height: 1;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
}

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

/* Hero Mockup (Casino Glass Window) */
.game-window-mockup {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(184, 134, 11, 0.15);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.mockup-header {
    background: #ffffff;
    padding: 10px 15px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red { background-color: #ff5f56; }
.dot.yellow { background-color: #ffbd2e; }
.dot.green { background-color: #27c93f; }

.mockup-body {
    height: 300px;
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-body::after {
    content: 'CASINO PREVIEW';
    font-family: var(--font-heading);
    color: rgba(15, 23, 42, 0.15);
    font-size: 2rem;
    letter-spacing: 2px;
}

/* --- Sections Common --- */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* --- Features --- */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(184, 134, 11, 0.12);
    border-color: var(--primary-gold);
}

.feature-card .icon-box {
    width: 50px;
    height: 50px;
    background: rgba(184, 134, 11, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

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

/* --- How It Works --- */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step {
    background: linear-gradient(90deg, #ffffff, rgba(255,255,255,0.5));
    padding: 2rem;
    border-left: 4px solid var(--primary-gold);
    border-radius: 0 8px 8px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: rgba(184, 134, 11, 0.2);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.step h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

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

/* --- API Integration --- */
.api-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.api-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

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

.api-list {
    list-style: none;
}

.api-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-main);
}

.api-code-block {
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.code-header {
    background: #1e293b;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #334155;
    font-family: monospace;
    color: var(--primary-gold-bright);
    font-size: 0.9rem;
}

.api-code-block pre {
    padding: 1.5rem;
    overflow-x: auto;
    color: #38bdf8;
    font-family: monospace;
    font-size: 0.9rem;
}

/* --- Footer --- */
.site-footer {
    border-top: 1px solid var(--glass-border);
    padding: 3rem 0 1.5rem;
    background: #ffffff;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-gold);
}

.footer-bottom {
    text-align: center;
    color: #94a3b8;
    font-size: 0.8rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
}

/* --- Media Queries (Desktop) --- */
@media (min-width: 768px) {
    .nav-links { display: flex; }
    
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-text h1 { font-size: 4.5rem; }
    
    .mockup-body { height: 450px; }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .steps-container {
        flex-direction: row;
    }
    
    .step {
        flex: 1;
        border-left: none;
        border-top: 4px solid var(--primary-gold);
        border-radius: 0 0 8px 8px;
        background: linear-gradient(180deg, #ffffff, rgba(255,255,255,0.4));
    }
    
    .api-layout {
        grid-template-columns: 1fr 1fr;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}
