/* ================================================
   GAMING PULSE CSS - Balloon Casino 2025
   Design: High-energy gaming theme with fire effects
   Color Scheme: Red + Orange + Yellow flames
   ================================================ */

/* CSS Variables - Gaming Pulse Palette */
:root {
    /* Background Colors - Deep dark base */
    --bg-primary: #0A0E27;
    --bg-secondary: #1A1D35;
    --bg-tertiary: #252942;
    --bg-card: rgba(26, 29, 53, 0.85);
    --bg-card-hover: rgba(37, 41, 66, 0.95);
    
    /* Fire Accent Colors */
    --fire-red: #FF0033;
    --fire-crimson: #E63946;
    --fire-orange: #FF6B35;
    --fire-bright-orange: #F77F00;
    --fire-yellow: #FFD23F;
    --fire-gold: #FCBF49;
    
    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #C1C7D0;
    --text-muted: #8B92A8;
    --text-fire: var(--fire-orange);
    
    /* Gradients - Fire theme */
    --gradient-bg: linear-gradient(135deg, #0A0E27 0%, #1A1D35 50%, #141829 100%);
    --gradient-fire: linear-gradient(135deg, 
        rgba(255, 0, 51, 0.2) 0%, 
        rgba(255, 107, 53, 0.2) 50%, 
        rgba(255, 210, 63, 0.2) 100%);
    --gradient-flame: linear-gradient(90deg, var(--fire-red) 0%, var(--fire-orange) 50%, var(--fire-yellow) 100%);
    
    /* Shadows & Glows - Fire effects */
    --glow-red: 0 0 30px rgba(255, 0, 51, 0.6), 0 0 60px rgba(255, 0, 51, 0.4);
    --glow-orange: 0 0 30px rgba(255, 107, 53, 0.6), 0 0 60px rgba(255, 107, 53, 0.4);
    --glow-yellow: 0 0 30px rgba(255, 210, 63, 0.6), 0 0 60px rgba(255, 210, 63, 0.4);
    --shadow-dark: 0 10px 40px rgba(0, 0, 0, 0.7);
    --shadow-deep: 0 20px 60px rgba(0, 0, 0, 0.9);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-size-base: 1rem;
    --font-size-h1: 3rem;
    --font-size-h2: 2.25rem;
    --font-size-h3: 1.75rem;
    --line-height: 1.7;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Base Styles */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height);
    color: var(--text-primary);
    background: var(--gradient-bg);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-fire);
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
    animation: fire-pulse 4s ease-in-out infinite;
}

@keyframes fire-pulse {
    0%, 100% { 
        opacity: 0.3; 
        transform: scale(1) translateY(0); 
    }
    50% { 
        opacity: 0.6; 
        transform: scale(1.05) translateY(-15px); 
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 1;
}

/* Header - Gaming style with fire glow */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--fire-red), var(--fire-orange), var(--fire-yellow)) 1;
    box-shadow: 0 4px 30px rgba(255, 0, 51, 0.3);
    padding: var(--spacing-sm) 0;
    transition: var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--glow-orange), var(--shadow-dark);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.logo img {
    max-width: 200px;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 15px rgba(255, 107, 53, 0.6));
    transition: var(--transition-base);
    animation: logo-pulse 3s ease-in-out infinite;
}

@keyframes logo-pulse {
    0%, 100% { filter: drop-shadow(0 0 15px rgba(255, 107, 53, 0.6)); }
    50% { filter: drop-shadow(0 0 25px rgba(255, 210, 63, 0.8)); }
}

.logo img:hover {
    filter: drop-shadow(0 0 30px rgba(255, 0, 51, 1));
    transform: scale(1.08);
}

.nav {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    position: relative;
    border: 1px solid transparent;
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: var(--gradient-flame);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition-base);
}

.nav-link:hover {
    color: var(--fire-orange);
    text-shadow: 0 0 12px rgba(255, 107, 53, 0.8);
    background: rgba(255, 107, 53, 0.1);
}

.nav-link:hover::before {
    opacity: 1;
    animation: flame-flicker 1.5s ease-in-out infinite;
}

@keyframes flame-flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Hero Section - Centered single column layout */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xxl) var(--spacing-md);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, 
        rgba(255, 0, 51, 0.25) 0%, 
        rgba(255, 107, 53, 0.15) 30%, 
        rgba(255, 210, 63, 0.1) 50%,
        transparent 70%);
    animation: inferno-pulse 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes inferno-pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1) rotate(0deg); 
        opacity: 0.4; 
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.3) rotate(10deg); 
        opacity: 0.7; 
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    width: 100%;
}

.hero h1 {
    font-size: var(--font-size-h1);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    background: var(--gradient-flame);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(255, 107, 53, 0.5);
    animation: flame-glow 2s ease-in-out infinite;
    letter-spacing: -0.5px;
}

@keyframes flame-glow {
    0%, 100% { 
        filter: brightness(1) contrast(1.1); 
    }
    50% { 
        filter: brightness(1.4) contrast(1.2); 
    }
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
}

.hero-image {
    position: relative;
    z-index: 2;
    margin-bottom: var(--spacing-xl);
}

.hero-image img {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--glow-orange), var(--shadow-deep);
    border: 3px solid transparent;
    border-image: linear-gradient(135deg, var(--fire-red), var(--fire-orange), var(--fire-yellow)) 1;
    transition: var(--transition-slow);
    animation: image-glow 3s ease-in-out infinite;
}

@keyframes image-glow {
    0%, 100% { 
        box-shadow: var(--glow-orange), var(--shadow-deep); 
    }
    50% { 
        box-shadow: var(--glow-red), var(--shadow-deep); 
    }
}

.hero-image img:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: var(--glow-yellow), var(--shadow-deep);
    filter: brightness(1.1);
}

/* CTA Buttons - Neon pill rings */
.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
    align-items: center;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-xl);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    border: 2px solid;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--fire-red), var(--fire-orange));
    color: #FFFFFF;
    border-color: var(--fire-red);
    box-shadow: var(--glow-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: button-pulse 2s ease-in-out infinite;
}

@keyframes button-pulse {
    0%, 100% { box-shadow: var(--glow-red); }
    50% { box-shadow: var(--glow-orange); }
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--fire-yellow), var(--fire-orange));
    color: var(--bg-primary);
    box-shadow: var(--glow-yellow), inset 0 0 30px rgba(255, 210, 63, 0.4);
    transform: translateY(-4px) scale(1.05);
}

.btn-secondary {
    background: transparent;
    color: var(--fire-orange);
    border-color: var(--fire-orange);
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.4);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-secondary:hover {
    background: var(--fire-orange);
    color: #FFFFFF;
    box-shadow: var(--glow-orange);
    transform: translateY(-4px) scale(1.05);
}

/* Metrics Bar - Horizontal stats */
.metrics-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0;
    padding: 2rem;
    background: rgba(26, 29, 53, 0.7);
    backdrop-filter: blur(15px);
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--fire-red), var(--fire-orange), var(--fire-yellow)) 1;
    box-shadow: var(--glow-orange);
    animation: metrics-pulse 4s ease-in-out infinite;
}

@keyframes metrics-pulse {
    0%, 100% { box-shadow: var(--glow-orange); }
    50% { box-shadow: var(--glow-red); }
}

.metric {
    text-align: center;
    padding: 1.5rem 1rem;
    border-right: 2px solid rgba(255, 107, 53, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.metric:last-child {
    border-right: none;
}

.metric:hover {
    background: rgba(255, 107, 53, 0.1);
    transform: scale(1.05);
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-flame);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.75rem;
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
    animation: value-flicker 3s ease-in-out infinite;
}

@keyframes value-flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.9; }
}

.metric-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* Sections - Alternating backgrounds */
.section {
    padding: 5rem 0;
    position: relative;
}

.section-dark {
    background: rgba(10, 14, 39, 0.85);
}

.section-gradient {
    background: linear-gradient(135deg, 
        rgba(26, 29, 53, 0.7) 0%, 
        rgba(37, 41, 66, 0.5) 100%);
}

.section-textured {
    background: var(--bg-secondary);
    background-image: 
        repeating-linear-gradient(90deg, 
            transparent, 
            transparent 2px, 
            rgba(255, 107, 53, 0.05) 2px, 
            rgba(255, 107, 53, 0.05) 4px);
}

.section-title {
    font-size: var(--font-size-h2);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--text-primary);
    position: relative;
    padding-bottom: var(--spacing-md);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: var(--gradient-flame);
    border-radius: 3px;
    box-shadow: var(--glow-orange);
    animation: title-glow 3s ease-in-out infinite;
}

@keyframes title-glow {
    0%, 100% { box-shadow: var(--glow-orange); }
    50% { box-shadow: var(--glow-red); }
}

/* Cards - Gaming style with fire borders */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 2px solid rgba(255, 107, 53, 0.3);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    margin-bottom: var(--spacing-md);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-flame);
    opacity: 0;
    transition: var(--transition-base);
}

.card:hover {
    background: var(--bg-card-hover);
    border-color: var(--fire-orange);
    box-shadow: var(--glow-orange), var(--shadow-dark);
    transform: translateY(-8px);
}

.card:hover::before {
    opacity: 1;
    animation: flame-flicker 1.5s ease-in-out infinite;
}

.card h3 {
    font-size: var(--font-size-h3);
    color: var(--fire-orange);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    text-shadow: 0 0 15px rgba(255, 107, 53, 0.4);
}

.card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

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

.card ol, .card ul {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.card li {
    margin-bottom: 0.75rem;
}

/* CTA Block - Centered call-to-action */
.cta-block {
    margin-top: 2rem;
    text-align: center;
}

.cta-block .btn {
    min-width: 250px;
}

/* Asymmetrical Grid for feature cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.feature-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    border: 2px solid rgba(255, 107, 53, 0.3);
    transition: var(--transition-base);
    position: relative;
}

.feature-card:hover {
    border-color: var(--fire-orange);
    box-shadow: var(--glow-orange), var(--shadow-dark);
    transform: translateY(-8px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    display: block;
}

.feature-title {
    font-size: 1.5rem;
    color: var(--fire-orange);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.4);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Tables - Gaming style with fire borders */
.table-wrapper {
    overflow-x: auto;
    margin: 2.5rem 0;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(255, 107, 53, 0.4);
    background: var(--bg-card);
    box-shadow: var(--shadow-dark);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 1.25rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
}

th {
    background: rgba(255, 107, 53, 0.15);
    color: var(--fire-orange);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

td {
    color: var(--text-secondary);
    vertical-align: middle;
}

tr:hover td {
    background: rgba(255, 107, 53, 0.1);
    color: var(--text-primary);
}

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

/* FAQ - Dark accordion with glow hover */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    overflow: hidden;
    transition: var(--transition-base);
}

.faq-item:hover {
    border-color: var(--fire-orange);
    box-shadow: var(--glow-orange);
}

.faq-question {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-base);
}

.faq-question:hover {
    color: var(--fire-orange);
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.faq-icon {
    font-size: 1.5rem;
    transition: var(--transition-base);
    color: var(--fire-orange);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer-content {
    padding: 0 var(--spacing-lg) var(--spacing-md);
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Footer - Gaming style */
.footer {
    background: rgba(10, 14, 39, 0.95);
    border-top: 2px solid rgba(255, 107, 53, 0.4);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
    margin-top: var(--spacing-xxl);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-flame);
    box-shadow: var(--glow-orange);
}

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

.footer-text {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    margin-top: var(--spacing-md);
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
    border-bottom: 1px solid transparent;
}

.footer-link:hover {
    color: var(--fire-orange);
    border-bottom-color: var(--fire-orange);
    text-shadow: 0 0 12px rgba(255, 107, 53, 0.6);
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    :root {
        --font-size-h1: 2.5rem;
        --font-size-h2: 2rem;
        --font-size-h3: 1.5rem;
    }
    
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 3rem var(--spacing-md);
        gap: var(--spacing-xl);
    }
    
    .hero-image {
        order: -1;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .metrics-bar {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .metric {
        border-right: none;
        border-bottom: 2px solid rgba(255, 107, 53, 0.2);
        padding: 1.5rem;
    }
    
    .metric:last-child {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-h1: 2rem;
        --font-size-h2: 1.75rem;
        --font-size-h3: 1.25rem;
        --spacing-xl: 2rem;
        --spacing-xxl: 3rem;
    }
    
    .container {
        padding: 0 1.25rem;
    }
    
    .section {
        padding: 3.5rem 0;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .nav {
        flex-direction: column;
        width: 100%;
        gap: var(--spacing-xs);
    }
    
    .nav-link {
        display: block;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .card {
        padding: 2rem;
    }
    
    .table-wrapper {
        border-radius: var(--radius-sm);
        margin: 1.5rem 0;
    }
    
    th, td {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    :root {
        --font-size-h1: 1.75rem;
        --font-size-h2: 1.5rem;
        --spacing-md: 1rem;
        --spacing-lg: 1.5rem;
    }
    
    .logo img {
        max-width: 150px;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    th, td {
        padding: var(--spacing-xs);
        font-size: 0.85rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-fire {
    color: var(--fire-orange);
    text-shadow: 0 0 12px rgba(255, 107, 53, 0.6);
}

.glow {
    box-shadow: var(--glow-orange);
}
