/* ============================================
   BALLOON GAME - MAIN STYLESHEET
   Version: 2.0
   ============================================ */

/* CSS Variables */
:root {
    /* Colors */
    --primary: #1a1a2e;
    --secondary: #16213e;
    --accent: #0f3460;
    --gold: #f4a261;
    --success: #2ecc71;
    --warning: #f39c12;
    --danger: #e74c3c;
    --info: #3498db;
    --purple: #9b59b6;
    --text: #ecf0f1;
    --text-muted: #95a5a6;
    --bg-dark: #0a0a14;
    --bg-card: #1e1e2e;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-gold: linear-gradient(135deg, #f4a261 0%, #e76f51 100%);
    --gradient-success: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-2xl: 30px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.2);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.3);
    --shadow-2xl: 0 25px 50px rgba(0,0,0,0.4);
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'Monaco', 'Courier New', monospace;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--info);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--gold);
}

/* Lists */
ul, ol {
    margin-bottom: 1rem;
}

.info-list {
    list-style: none;
    padding-left: 0;
}

.info-list li {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
}

.info-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--gold);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text);
    border-color: var(--accent);
}

.btn-secondary:hover {
    background: var(--accent);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--text-muted);
}

.btn-outline:hover {
    background: var(--text);
    color: var(--primary);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Header */
.header {
    background: var(--primary);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

.logo-icon {
    font-size: 2rem;
}

.logo .accent {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.nav-list {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
}

.nav-list a {
    color: var(--text);
    font-weight: 500;
    transition: color var(--transition-fast);
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(180deg, var(--primary) 0%, var(--bg-dark) 100%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(244, 162, 97, 0.1);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(244, 162, 97, 0.3);
}

.badge-icon {
    font-size: 1.25rem;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

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

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.trust-badge {
    background: rgba(46, 204, 113, 0.1);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: var(--success);
}

/* Page Navigation (TOC) */
.page-nav {
    background: var(--bg-card);
    padding: 1rem 0;
    position: sticky;
    top: 70px;
    z-index: var(--z-sticky);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.page-nav-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
    overflow-x: auto;
}

.page-nav-title {
    font-weight: 600;
    white-space: nowrap;
    color: var(--gold);
}

.page-nav-list {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
}

.page-nav-link {
    color: var(--text-muted);
    font-size: 0.875rem;
    white-space: nowrap;
    transition: color var(--transition-fast);
}

.page-nav-link:hover,
.page-nav-link.active {
    color: var(--gold);
}

/* Grids */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.usp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

/* Cards */
.feature-card, .usp-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.feature-card:hover, .usp-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon, .usp-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h4, .usp-item h4 {
    margin-bottom: 0.5rem;
}

/* Pros & Cons */
.pros-cons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.pros-box, .cons-box {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
}

.pros-box {
    border-left: 4px solid var(--success);
}

.cons-box {
    border-left: 4px solid var(--danger);
}

.pros-list, .cons-list {
    list-style: none;
    padding: 0;
}

.pros-list li, .cons-list li {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    position: relative;
}

.pros-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

.cons-list li:before {
    content: "✗";
    position: absolute;
    left: 0;
    color: var(--danger);
    font-weight: 700;
}

/* Tables */
.specs-table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.specs-table th,
.specs-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.specs-table th {
    background: var(--primary);
    font-weight: 600;
    color: var(--gold);
}

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

.specs-table tr:hover {
    background: rgba(255,255,255,0.05);
}

/* Footer */
.footer {
    background: var(--primary);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    color: var(--gold);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

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

.footer-disclaimer {
    padding: 1.5rem;
    background: rgba(231, 76, 60, 0.1);
    border-left: 4px solid var(--danger);
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
