/* ============================================
   ISKRA - Unique Gaming Website Styles
   ============================================ */

/* CSS Variables */
:root {
    /* Fire/Ember Color Palette */
    --fire-core: #ff4500;
    --fire-mid: #ff6b35;
    --fire-outer: #ff8c42;
    --ember-glow: rgba(255, 69, 0, 0.3);
    --ember-dark: #1a0a00;
    
    /* Dark Theme */
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --bg-card: rgba(20, 20, 20, 0.8);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);
    
    /* Accent Colors */
    --accent-primary: #ff4500;
    --accent-secondary: #ff6b35;
    --accent-success: #22c55e;
    --accent-warning: #eab308;
    --accent-error: #ef4444;
    
    /* Gradients */
    --gradient-fire: linear-gradient(135deg, #ff4500 0%, #ff6b35 50%, #ff8c42 100%);
    --gradient-dark: linear-gradient(180deg, rgba(10,10,10,0) 0%, rgba(10,10,10,1) 100%);
    --gradient-card: linear-gradient(135deg, rgba(255,69,0,0.1) 0%, rgba(0,0,0,0) 100%);
    
    /* Fonts */
    --font-display: 'Russo One', sans-serif;
    --font-body: 'Exo 2', sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-width: 1280px;
    
    /* Effects */
    --blur-amount: 20px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--fire-core);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--fire-mid);
}

/* Selection */
::selection {
    background: var(--fire-core);
    color: white;
}

/* Background Effects */
.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-image {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        url('../img/background.jpg') center center / cover no-repeat,
        url('../img/background.png') center center / cover no-repeat,
        linear-gradient(135deg, #1a0a00 0%, #0a0a0a 100%);
    filter: brightness(0.3) saturate(0.8);
}

.bg-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(255, 69, 0, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.9) 100%);
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.scanlines {
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.1) 2px,
        rgba(0, 0, 0, 0.1) 4px
    );
    pointer-events: none;
    opacity: 0.3;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-normal);
    backdrop-filter: blur(0px);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(var(--blur-amount));
    border-bottom: 1px solid rgba(255, 69, 0, 0.2);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    font-size: 28px;
    animation: flicker 3s infinite;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 24px;
    letter-spacing: 4px;
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-fire);
    transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-fire);
    color: white;
    box-shadow: 0 4px 20px rgba(255, 69, 0, 0.3);
}

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

.btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover .btn-glow {
    width: 300px;
    height: 300px;
}

/* Download Button in Nav */
.nav-actions .btn-primary {
    background: linear-gradient(135deg, #ff4500 0%, #ff6b35 50%, #ff8c42 100%);
    color: white;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 69, 0, 0.5);
    background: linear-gradient(135deg, #ff5500 0%, #ff7b45 50%, #ff9c52 100%);
}

.nav-actions .btn-primary svg {
    flex-shrink: 0;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--fire-core);
    color: var(--fire-core);
}

.btn-outline:hover {
    background: var(--fire-core);
    color: white;
    box-shadow: 0 4px 20px rgba(255, 69, 0, 0.3);
}

.btn-discord {
    background: #5865F2;
    color: white;
}

.btn-discord:hover {
    background: #4752c4;
    transform: translateY(-2px);
}

.btn-steam {
    background: linear-gradient(135deg, #1b2838 0%, #2a475e 100%);
    color: white;
    padding: 16px 32px;
    font-size: 16px;
}

.btn-steam:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.btn-hero {
    padding: 16px 32px;
    font-size: 16px;
    background: linear-gradient(135deg, #ff4500 0%, #ff6b35 50%, #ff8c42 100%);
    color: white;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(255, 69, 0, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 600;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 69, 0, 0.5);
    background: linear-gradient(135deg, #ff5500 0%, #ff7b45 50%, #ff9c52 100%);
}

.btn-hero.btn-outline {
    background: transparent;
    border: 2px solid var(--fire-core);
    color: var(--fire-core);
    box-shadow: none;
    text-shadow: none;
}

.btn-hero.btn-outline:hover {
    background: rgba(255, 69, 0, 0.1);
    box-shadow: 0 4px 20px rgba(255, 69, 0, 0.3);
}

.btn-icon {
    font-size: 18px;
}

/* Copy IP Button */
#copyIpBtn {
    cursor: pointer;
    font-family: var(--font-body);
    min-width: 200px;
    transition: all 0.3s ease;
}

#copyIpBtn.copied {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4);
}

#copyIpText {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    letter-spacing: 1px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 28px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-normal);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
}

.mobile-nav-links li {
    margin-bottom: 24px;
}

.mobile-nav-link {
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: 4px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.mobile-nav-link:hover {
    color: var(--fire-core);
}

.mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav-actions .btn {
    min-width: 200px;
}

.mobile-nav-actions .btn-primary {
    background: linear-gradient(135deg, #ff4500 0%, #ff6b35 50%, #ff8c42 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.4);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 24px;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 20px;
    background: rgba(255, 69, 0, 0.1);
    border: 1px solid rgba(255, 69, 0, 0.3);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--fire-mid);
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease forwards;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--accent-success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    margin-bottom: 24px;
}

.title-line {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(32px, 6vw, 64px);
    letter-spacing: 8px;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.title-accent {
    font-size: clamp(48px, 10vw, 96px);
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 60px rgba(255, 69, 0, 0.5);
    animation-delay: 0.4s;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

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

.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 36px;
    color: var(--fire-core);
    text-shadow: 0 0 20px rgba(255, 69, 0, 0.5);
}

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

.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, var(--fire-core), transparent);
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 1s;
    opacity: 0;
}

/* Ember Effects */
.ember-container {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    height: 200px;
    pointer-events: none;
}

.ember {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--fire-core);
    border-radius: 50%;
    filter: blur(2px);
    animation: ember-rise 4s infinite ease-out;
}

.ember:nth-child(1) { left: 10%; animation-delay: 0s; }
.ember:nth-child(2) { left: 30%; animation-delay: 0.8s; }
.ember:nth-child(3) { left: 50%; animation-delay: 1.6s; }
.ember:nth-child(4) { left: 70%; animation-delay: 2.4s; }
.ember:nth-child(5) { left: 90%; animation-delay: 3.2s; }

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: fadeIn 1s ease forwards;
    animation-delay: 1.5s;
    opacity: 0;
}

.scroll-indicator span {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--fire-core);
    border-bottom: 2px solid var(--fire-core);
    transform: rotate(45deg);
    animation: scroll-bounce 2s infinite;
}

/* ============================================
   Sections
   ============================================ */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 69, 0, 0.1);
    border: 1px solid rgba(255, 69, 0, 0.2);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--fire-mid);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    letter-spacing: 4px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

/* ============================================
   About Section
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.about-text {
    padding-right: 40px;
}

.about-lead {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.about-lead strong {
    color: var(--fire-core);
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-cards {
    display: grid;
    gap: 20px;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 69, 0, 0.1);
    border-radius: 16px;
    padding: 28px;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.info-card:hover {
    border-color: rgba(255, 69, 0, 0.3);
    transform: translateX(8px);
    box-shadow: -8px 0 30px rgba(255, 69, 0, 0.1);
}

.info-card-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.info-card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.info-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ============================================
   Content Cards Section
   ============================================ */
.content-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 24px;
}

.content-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 280px;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all var(--transition-normal);
}

.content-card-large {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 100%;
}

.content-card-image {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.content-card-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.9) 100%
    );
    transition: background var(--transition-normal);
}

.content-card:hover .content-card-image {
    transform: scale(1.1);
}

.content-card:hover .content-card-overlay {
    background: linear-gradient(
        180deg,
        rgba(255, 69, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.95) 100%
    );
}

.content-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(255, 69, 0, 0.2);
}

.content-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    z-index: 1;
}

.content-card-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 69, 0, 0.2);
    border: 1px solid rgba(255, 69, 0, 0.3);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--fire-mid);
    margin-bottom: 12px;
}

.content-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    letter-spacing: 2px;
    margin-bottom: 8px;
    transition: color var(--transition-fast);
}

.content-card:hover h3 {
    color: var(--fire-mid);
}

.content-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.content-card-large h3 {
    font-size: 28px;
}

.content-card-large p {
    font-size: 16px;
}

@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .content-card-large {
        grid-column: span 2;
        grid-row: span 1;
        min-height: 320px;
    }
}

@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .content-card-large {
        grid-column: span 1;
    }
    
    .content-card {
        min-height: 240px;
    }
}

/* ============================================
   Features Section
   ============================================ */
.features {
    background: linear-gradient(180deg, transparent, rgba(255, 69, 0, 0.02), transparent);
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-card);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.feature-card:hover {
    border-color: rgba(255, 69, 0, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(255, 69, 0, 0.15);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.2), rgba(255, 69, 0, 0.05));
    border-radius: 50%;
    font-size: 36px;
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(255, 69, 0, 0.3);
    animation: pulse-ring 3s infinite;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 12px;
    position: relative;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
}

/* ============================================
   Shop Section
   ============================================ */
.shop {
    background: radial-gradient(ellipse at center, rgba(255, 69, 0, 0.05), transparent 70%);
}

.shop-auth {
    display: flex;
    justify-content: center;
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 69, 0, 0.1);
    border-radius: 24px;
    padding: 64px;
    text-align: center;
    max-width: 480px;
    backdrop-filter: blur(10px);
}

.auth-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.auth-card h3 {
    font-family: var(--font-display);
    font-size: 24px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.auth-card p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.auth-note {
    margin-top: 24px;
    margin-bottom: 0 !important;
    font-size: 12px;
    color: var(--text-muted) !important;
}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
    padding: 24px 32px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 69, 0, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-avatar {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    border: 2px solid var(--fire-core);
}

.user-name {
    display: block;
    font-weight: 600;
    font-size: 18px;
}

.user-steam {
    font-size: 13px;
    color: var(--text-muted);
}

.btn-logout {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    margin-left: 16px;
}

.btn-logout:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
    color: #ef4444;
}

.balance-card {
    text-align: right;
}

.balance-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.balance-value {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--fire-core);
    text-shadow: 0 0 20px rgba(255, 69, 0, 0.5);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.product-card:hover {
    border-color: rgba(255, 69, 0, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(255, 69, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.1), rgba(0, 0, 0, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
}

.product-content {
    padding: 24px;
}

.product-type {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 69, 0, 0.1);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--fire-mid);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.product-name {
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

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

.product-price {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--fire-core);
}

.product-price span {
    font-size: 14px;
    color: var(--text-muted);
}

.btn-buy {
    padding: 10px 24px;
    background: var(--gradient-fire);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn-buy:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(255, 69, 0, 0.4);
}

.btn-buy:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ============================================
   Rules Section
   ============================================ */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.rule-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 32px;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.rule-card:hover {
    border-color: rgba(255, 69, 0, 0.2);
}

.rule-number {
    font-family: var(--font-display);
    font-size: 48px;
    color: rgba(255, 69, 0, 0.15);
    position: absolute;
    top: 16px;
    right: 24px;
    line-height: 1;
}

.rule-card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 12px;
    color: var(--fire-mid);
}

.rule-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

/* ============================================
   Footer
   ============================================ */
.footer {
    background: linear-gradient(180deg, transparent, var(--bg-secondary));
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 69, 0, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
    margin-bottom: 48px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-brand .logo-icon {
    font-size: 40px;
}

.footer-brand .logo-text {
    font-size: 32px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
}

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

.footer-column h4 {
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--fire-mid);
    margin-bottom: 20px;
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-server {
    font-family: var(--font-display);
    color: var(--fire-core) !important;
    letter-spacing: 2px;
}

/* ============================================
   Modal
   ============================================ */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 69, 0, 0.2);
    border-radius: 24px;
    padding: 48px;
    max-width: 440px;
    text-align: center;
    animation: modalSlide 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.modal-content h3 {
    font-family: var(--font-display);
    font-size: 24px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.modal-product {
    font-size: 18px;
    color: var(--fire-mid);
    margin-bottom: 8px;
}

.modal-price {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.modal-price strong {
    color: var(--fire-core);
    font-size: 20px;
}

.modal-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* ============================================
   Toast Notifications
   ============================================ */
.toast-container {
    position: fixed;
    top: 100px;
    right: 24px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    animation: toastSlide 0.3s ease;
}

.toast.success {
    border-color: var(--accent-success);
}

.toast.error {
    border-color: var(--accent-error);
}

.toast-icon {
    font-size: 20px;
}

.toast-message {
    font-size: 14px;
}

/* IP Copied Toast */
.ip-copied {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 16px 32px;
    background: var(--bg-secondary);
    border: 1px solid var(--fire-core);
    border-radius: 12px;
    font-weight: 600;
    color: var(--fire-core);
    box-shadow: 0 8px 30px rgba(255, 69, 0, 0.3);
    transition: transform 0.4s ease;
    z-index: 3000;
}

.ip-copied.show {
    transform: translateX(-50%) translateY(0);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 56px;
    height: 56px;
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 69, 0, 0.3);
    border-radius: 50%;
    color: var(--fire-core);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--fire-core);
    color: white;
    border-color: var(--fire-core);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(255, 69, 0, 0.4);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-text {
        padding-right: 0;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }
    
    .nav-links,
    .nav-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .rules-grid {
        grid-template-columns: 1fr;
    }
    
    .shop-header {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .user-info {
        flex-direction: column;
    }
    
    .balance-card {
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

