/* ============================================
   ASHFALL - Dark Fantasy Cataclysm Theme
   ============================================ */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Crimson+Text:wght@400;600;700&display=swap');

/* CSS Variables */
:root {
    --primary: #ff6a00;
    --primary-dark: #cc5500;
    --primary-glow: rgba(255, 106, 0, 0.5);
    --secondary: #ffd700;
    --accent: #8b0000;
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --bg-card: rgba(15, 15, 25, 0.9);
    --bg-card-hover: rgba(25, 25, 40, 0.95);
    --text-primary: #f0e6d2;
    --text-secondary: #c8aa6e;
    --text-muted: #8b8b8b;
    --border-gold: #c8aa6e;
    --border-dark: #2a2a3a;
    --success: #00ff88;
    --danger: #ff4444;
    --alliance: #0078ff;
    --horde: #ff2020;
    --shadow-glow: 0 0 30px rgba(255, 106, 0, 0.3);
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Crimson Text', Georgia, serif;
    background-color: var(--bg-darker);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Background with animated particles */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(139, 0, 0, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(255, 106, 0, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.8) 0%, var(--bg-darker) 100%);
    z-index: -2;
}

/* Animated ember particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary), 0 0 30px rgba(255, 200, 0, 0.5);
    animation: float-up 8s infinite;
    opacity: 0;
}

.particle:nth-child(3n) {
    background: #ff9500;
    box-shadow: 0 0 10px #ff9500, 0 0 20px #ff6600;
}

.particle:nth-child(5n) {
    background: #ffcc00;
    box-shadow: 0 0 10px #ffcc00, 0 0 20px #ff9900;
    width: 3px;
    height: 3px;
}

@keyframes float-up {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0) rotate(0deg);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) scale(1) rotate(180deg);
    }
}

/* Flame divider */
.flame-divider {
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--accent) 20%, 
        var(--primary) 40%, 
        var(--secondary) 50%, 
        var(--primary) 60%, 
        var(--accent) 80%, 
        transparent 100%);
    margin: 60px 0;
    position: relative;
    border-radius: 2px;
    box-shadow: 0 0 20px var(--primary-glow);
}

.flame-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--primary), 0 0 40px var(--primary-glow);
}

/* News image placeholders */
.news-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.8) 0%, rgba(255, 106, 0, 0.6) 50%, rgba(200, 50, 0, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.news-image-placeholder::before {
    content: 'ASHFALL';
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 5px;
}

.news-image-placeholder.arena {
    background: linear-gradient(135deg, rgba(100, 50, 150, 0.8) 0%, rgba(200, 100, 50, 0.6) 100%);
}

.news-image-placeholder.arena::before {
    content: 'ARENA';
}

.news-image-placeholder.raid {
    background: linear-gradient(135deg, rgba(50, 0, 0, 0.9) 0%, rgba(200, 50, 0, 0.8) 50%, rgba(255, 150, 0, 0.6) 100%);
}

.news-image-placeholder.raid::before {
    content: 'RAID';
}

/* Decorative corners for panels */
.panel-decorated {
    position: relative;
}

.panel-decorated::before,
.panel-decorated::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--primary);
}

.panel-decorated::before {
    top: -2px;
    left: -2px;
    border-right: none;
    border-bottom: none;
}

.panel-decorated::after {
    bottom: -2px;
    right: -2px;
    border-left: none;
    border-top: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
    text-shadow: 0 0 10px var(--primary-glow);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-dark);
    padding: 0;
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), var(--primary), transparent);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(255, 106, 0, 0.5));
    transition: var(--transition);
}

.logo-img:hover {
    filter: drop-shadow(0 0 20px rgba(255, 106, 0, 0.8));
    transform: scale(1.05);
}

.logo-text {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--primary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine 3s linear infinite;
    text-shadow: none;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.nav-menu {
    display: flex;
    gap: 5px;
    list-style: none;
}

.nav-link {
    display: block;
    padding: 12px 20px;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: var(--transition);
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 60%;
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(255, 106, 0, 0.1);
}

.nav-auth {
    display: flex;
    gap: 10px;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 106, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 106, 0, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--border-gold);
}

.btn-secondary:hover {
    background: var(--border-gold);
    color: var(--bg-dark);
}

.btn-large {
    padding: 18px 45px;
    font-size: 1.1rem;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    position: relative;
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(139, 0, 0, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(255, 106, 0, 0.2) 0%, transparent 40%),
        linear-gradient(180deg, rgba(20, 10, 5, 1) 0%, rgba(10, 10, 15, 1) 100%);
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--bg-darker) 0%, transparent 100%);
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, var(--bg-darker) 70%);
}

/* Dragon silhouette overlay */
.dragon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 30%, rgba(255, 100, 0, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 70% 40%, rgba(200, 50, 0, 0.1) 0%, transparent 35%);
    pointer-events: none;
}

/* Hero badge */
.hero-badge {
    display: inline-block;
    padding: 8px 25px;
    background: linear-gradient(135deg, rgba(255, 106, 0, 0.3) 0%, rgba(139, 0, 0, 0.3) 100%);
    border: 1px solid var(--primary);
    border-radius: 30px;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    animation: badge-glow 2s ease-in-out infinite;
}

@keyframes badge-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 106, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 106, 0, 0.6), 0 0 60px rgba(255, 106, 0, 0.3);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #fff 0%, var(--secondary) 50%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(255, 106, 0, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(255, 106, 0, 0.8));
    }
}

.hero-subtitle {
    font-family: 'Crimson Text', serif;
    font-size: 1.8rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-style: italic;
}

.hero-expansion {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 60px;
    justify-content: center;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    display: block;
    text-shadow: 0 0 20px var(--primary-glow);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
    padding: 100px 20px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* Features section with lava glow */
.features-section {
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 50%, rgba(139, 0, 0, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(255, 106, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* ============================================
   FEATURES GRID
   ============================================ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-icon-img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 2px solid var(--border-gold);
    box-shadow: 0 0 20px rgba(255, 106, 0, 0.3);
    transition: var(--transition);
}

.feature-card:hover .feature-icon-img {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 106, 0, 0.6);
}

/* Feature icon boxes */
.feature-icon-box {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border: 2px solid var(--border-gold);
    box-shadow: 0 0 25px rgba(255, 106, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    transition: var(--transition);
    position: relative;
}

.feature-card:hover .feature-icon-box {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 40px rgba(255, 106, 0, 0.7);
}

/* Sword icon */
.feature-icon-box.sword::before {
    content: '';
    width: 8px;
    height: 35px;
    background: linear-gradient(180deg, #fff 0%, #c0c0c0 100%);
    border-radius: 2px;
    position: absolute;
}
.feature-icon-box.sword::after {
    content: '';
    width: 30px;
    height: 8px;
    background: var(--border-gold);
    border-radius: 2px;
    position: absolute;
    top: 45px;
}

/* Chat icon */
.feature-icon-box.chat::before {
    content: '';
    width: 35px;
    height: 25px;
    border: 3px solid #fff;
    border-radius: 5px;
    position: absolute;
}
.feature-icon-box.chat::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #fff;
    position: absolute;
    bottom: 12px;
    left: 10px;
}

/* Trophy icon */
.feature-icon-box.trophy::before {
    content: '';
    width: 30px;
    height: 25px;
    background: var(--secondary);
    border-radius: 5px 5px 50% 50%;
    position: absolute;
    top: 15px;
}
.feature-icon-box.trophy::after {
    content: '';
    width: 12px;
    height: 15px;
    background: var(--secondary);
    position: absolute;
    bottom: 10px;
}

/* Bolt icon */
.feature-icon-box.bolt::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 35px solid var(--secondary);
    position: absolute;
    top: 12px;
    transform: skewX(-10deg);
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-desc {
    color: var(--text-muted);
    line-height: 1.8;
}

/* ============================================
   SERVER STATUS
   ============================================ */

.status-bar {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 15px;
}

.status-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-dot.online {
    background: var(--success);
    box-shadow: 0 0 20px var(--success);
}

.status-dot.offline {
    background: var(--danger);
    box-shadow: 0 0 20px var(--danger);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-info {
    display: flex;
    gap: 40px;
}

.status-item {
    text-align: center;
}

.status-value {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.status-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* ============================================
   REALMLIST BOX
   ============================================ */

.realmlist-box {
    background: var(--bg-card);
    border: 2px solid var(--border-gold);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    position: relative;
}

.realmlist-box::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-dark);
    padding: 5px 15px;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.realmlist-code {
    font-family: 'Courier New', monospace;
    font-size: 1.3rem;
    color: var(--secondary);
    background: var(--bg-darker);
    padding: 15px 30px;
    border-radius: 4px;
    display: inline-block;
    margin: 15px 0;
    cursor: pointer;
    transition: var(--transition);
}

.realmlist-code:hover {
    background: var(--primary);
    color: #fff;
}

.realmlist-hint {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ============================================
   NEWS SECTION
   ============================================ */

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 25px;
}

.news-date {
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.news-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-excerpt {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================
   FORMS
   ============================================ */

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    font-family: 'Crimson Text', serif;
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--bg-darker);
    border: 2px solid var(--border-dark);
    border-radius: 4px;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(255, 106, 0, 0.2);
}

.form-input::placeholder {
    color: var(--text-muted);
}

/* ============================================
   CARDS & PANELS
   ============================================ */

.panel {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    padding: 30px;
}

.panel-header {
    border-bottom: 1px solid var(--border-dark);
    padding-bottom: 20px;
    margin-bottom: 25px;
}

.panel-title {
    font-size: 1.3rem;
}

/* ============================================
   CHARACTER/ARMORY CARDS
   ============================================ */

.character-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

.character-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.character-card.alliance {
    border-left: 4px solid var(--alliance);
}

.character-card.horde {
    border-left: 4px solid var(--horde);
}

.character-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--border-gold);
}

.character-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.character-details {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ============================================
   SHOP ITEMS
   ============================================ */

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.shop-item {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.shop-item:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
}

.shop-item-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: var(--bg-darker);
}

.shop-item-content {
    padding: 20px;
}

.shop-item-name {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.shop-item-price {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: var(--secondary);
}

.shop-item-price .coins {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-dark);
    padding: 60px 20px 30px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    max-width: 1400px;
    margin: 40px auto 0;
    padding-top: 30px;
    border-top: 1px solid var(--border-dark);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.7;
    margin-top: 15px;
}

/* ============================================
   ALERTS & MESSAGES
   ============================================ */

.alert {
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    border-left: 4px solid;
}

.alert-success {
    background: rgba(0, 255, 136, 0.1);
    border-color: var(--success);
    color: var(--success);
}

.alert-danger {
    background: rgba(255, 68, 68, 0.1);
    border-color: var(--danger);
    color: var(--danger);
}

.alert-warning {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--secondary);
    color: var(--secondary);
}

/* ============================================
   UTILITIES
   ============================================ */

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

.hidden { display: none; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-value {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px;
        gap: 15px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero {
        padding-top: 180px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .status-bar {
        flex-direction: column;
        text-align: center;
    }
    
    .status-info {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
}

/* ============================================
   LOADING SPINNER
   ============================================ */

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-dark);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--border-dark);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}
