/* Arcane Ink Productions – Homepage Styles */

/* ================= ANIMATED BACKGROUNDS ================= */

.hero-particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.floating-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: linear-gradient(45deg, #8b5cf6, #a78bfa);
    border-radius: 50%;
    animation: floatUp 8s linear infinite;
    opacity: 0.7;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

@keyframes floatUp {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 0.7; }
    90% { opacity: 0.7; }
    100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

.hero-matrix-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    background: linear-gradient(135deg, #0f1419 0%, #1e2330 100%);
}

.matrix-column {
    position: absolute;
    top: -100%;
    color: #8b5cf6;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.2;
    animation: matrixDrop 6s linear infinite;
    text-shadow: 0 0 5px rgba(139, 92, 246, 0.7);
    opacity: 0.8;
}

@keyframes matrixDrop {
    0% { top: -100%; opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { top: 100%; opacity: 0; }
}

.hero-waves-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    background: linear-gradient(135deg, #0f1419 0%, #1e2330 50%, #2d1b69 100%);
}

.energy-wave {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(139, 92, 246, 0.3);
    animation: waveExpand 4s ease-out infinite;
}

@keyframes waveExpand {
    0% { 
        transform: scale(0); 
        opacity: 1; 
        border-color: rgba(139, 92, 246, 0.8);
    }
    100% { 
        transform: scale(3); 
        opacity: 0; 
        border-color: rgba(139, 92, 246, 0);
    }
}

.hero-geometric-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    background: linear-gradient(135deg, #0f1419 0%, #1e2330 50%, #2d1b69 100%);
}

.geometric-shape {
    position: absolute;
    border: 1px solid rgba(139, 92, 246, 0.3);
    animation: geometricFloat 8s ease-in-out infinite;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 26px solid rgba(139, 92, 246, 0.2);
}

.shape-square {
    width: 20px;
    height: 20px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.4);
}

.shape-circle {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: rgba(167, 139, 250, 0.1);
    border: 1px solid rgba(167, 139, 250, 0.4);
}

@keyframes geometricFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
    25% { transform: translateY(-20px) rotate(90deg); opacity: 0.7; }
    50% { transform: translateY(-10px) rotate(180deg); opacity: 0.5; }
    75% { transform: translateY(-30px) rotate(270deg); opacity: 0.8; }
}

.hero-constellation-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
}

.constellation-star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    animation: starTwinkle 3s ease-in-out infinite;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
}

.constellation-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.4), transparent);
    animation: lineGlow 4s ease-in-out infinite;
    transform-origin: left center;
}

@keyframes starTwinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

@keyframes lineGlow {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.8; }
}

.hero-runes-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
}

.rune-symbol {
    position: absolute;
    color: rgba(139, 92, 246, 0.4);
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 0 0 15px rgba(139, 92, 246, 0.8);
    animation: runeGlow 6s ease-in-out infinite;
}

@keyframes runeGlow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.8) rotate(0deg);
        text-shadow: 0 0 15px rgba(139, 92, 246, 0.8);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.2) rotate(5deg);
        text-shadow: 0 0 25px rgba(139, 92, 246, 1), 0 0 40px rgba(139, 92, 246, 0.6);
    }
}

.hero-portals-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #2d1b69 100%);
}

.arcane-portal {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, rgba(168, 85, 247, 0.1) 50%, transparent 100%);
    border: 2px solid rgba(139, 92, 246, 0.6);
    animation: portalPulse 8s ease-in-out infinite;
}

@keyframes portalPulse {
    0%, 100% {
        transform: scale(0.8);
        opacity: 0.4;
        border-color: rgba(139, 92, 246, 0.6);
    }
    50% {
        transform: scale(1.5);
        opacity: 0.8;
        border-color: rgba(168, 85, 247, 0.9);
    }
}

.hero-crystals-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    background: linear-gradient(135deg, #0f1419 0%, #1e2330 50%, #2d1b69 100%);
}

.floating-crystal {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 35px solid rgba(139, 92, 246, 0.6);
    animation: crystalFloat 10s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.8));
}

.crystal-glow::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 40px;
    height: 45px;
    background: radial-gradient(ellipse, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: crystalGlow 10s ease-in-out infinite;
}

@keyframes crystalFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(0.8);
        opacity: 0.5;
    }
    25% {
        transform: translateY(-30px) rotate(90deg) scale(1.1);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-60px) rotate(180deg) scale(0.9);
        opacity: 0.6;
    }
    75% {
        transform: translateY(-30px) rotate(270deg) scale(1.2);
        opacity: 0.9;
    }
}

@keyframes crystalGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.hero-shadows-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 30%, #1a1a2e 70%, #2d1b69 100%);
}

.shadow-entity {
    position: absolute;
    width: 80px;
    height: 120px;
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.2) 0%, rgba(139, 92, 246, 0.1) 50%, transparent 100%);
    border-radius: 40px 40px 20px 20px;
    animation: shadowDrift 12s ease-in-out infinite;
    clip-path: ellipse(50% 70% at 50% 30%);
}

@keyframes shadowDrift {
    0%, 100% {
        transform: translateX(0) translateY(0) scale(0.8);
        opacity: 0.3;
    }
    33% {
        transform: translateX(50px) translateY(-20px) scale(1.1);
        opacity: 0.6;
    }
    66% {
        transform: translateX(-30px) translateY(10px) scale(0.9);
        opacity: 0.4;
    }
}

.hero-aurora-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
}

.aurora-wave {
    position: absolute;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(139, 92, 246, 0.8) 20%,
        rgba(168, 85, 247, 0.9) 40%,
        rgba(139, 92, 246, 0.8) 60%,
        rgba(196, 181, 253, 0.7) 80%,
        transparent 100%);
    animation: auroraFlow 8s ease-in-out infinite;
    opacity: 0.7;
}

@keyframes auroraFlow {
    0%, 100% {
        transform: translateX(-100%) scaleY(0.8);
        opacity: 0.3;
    }
    50% {
        transform: translateX(0%) scaleY(1.5);
        opacity: 0.8;
    }
}

/* ================= ENHANCED HERO ================= */

.enhanced-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0f1419 0%, #1e2330 25%, #2d1b69 50%, #1e1b4b 75%, #0f1419 100%);
}

.enhanced-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.enhanced-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="enhanced-dots" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="0.3" fill="%23ffffff" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23enhanced-dots)"/></svg>');
    pointer-events: none;
    z-index: 1;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    opacity: 0.3;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border: 1px solid rgba(139, 92, 246, 0.3);
    animation: floatShape 20s ease-in-out infinite;
}

.particle:nth-child(1) { 
    top: 15%; left: 10%; 
    width: 80px; height: 80px;
    border-radius: 50%;
    animation-delay: 0s;
}
.particle:nth-child(2) { 
    top: 60%; left: 85%; 
    width: 40px; height: 40px;
    border-radius: 8px;
    transform: rotate(45deg);
    animation-delay: -5s;
}
.particle:nth-child(3) { 
    top: 70%; left: 15%; 
    width: 60px; height: 60px;
    border-radius: 50%;
    animation-delay: -10s;
}
.particle:nth-child(4) { 
    top: 25%; left: 80%; 
    width: 30px; height: 30px;
    border-radius: 6px;
    animation-delay: -15s;
}
.particle:nth-child(5) { 
    top: 45%; left: 5%; 
    width: 50px; height: 50px;
    border-radius: 50%;
    animation-delay: -8s;
}

@keyframes floatShape {
    0%, 100% { 
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
        opacity: 0.5;
    }
    50% { 
        transform: translateY(-10px) rotate(0deg);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-30px) rotate(-5deg);
        opacity: 0.5;
    }
}

/* ===== HERO CONTENT ===== */

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 5rem 2rem 4rem;
}

.hero-content-layout {
    position: relative;
}

.hero-main-column {
    max-width: 900px;
    margin: 0 auto;
}

.hero-promo-rail {
    position: absolute;
    right: -420px;
    top: 50%;
    transform: translateY(-50%);
    width: 390px;
    z-index: 5;
}

.arcane-deals-panel {
    background: linear-gradient(160deg, rgba(19, 17, 35, 0.92) 0%, rgba(35, 20, 80, 0.82) 100%);
    border: 1px solid rgba(139, 92, 246, 0.35);
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.08) inset,
                0 20px 50px rgba(13, 10, 30, 0.45),
                0 0 40px rgba(139, 92, 246, 0.14);
    backdrop-filter: blur(12px);
    position: relative;
    animation: arcaneDealsPulse 4.8s ease-in-out infinite;
}

.arcane-deals-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(150deg, rgba(167, 139, 250, 0.35), rgba(139, 92, 246, 0.05), rgba(167, 139, 250, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

@keyframes arcaneDealsPulse {
    0%, 100% {
        border-color: rgba(139, 92, 246, 0.3);
        box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.07) inset,
                    0 20px 50px rgba(13, 10, 30, 0.42),
                    0 0 36px rgba(139, 92, 246, 0.12);
    }
    50% {
        border-color: rgba(167, 139, 250, 0.58);
        box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.12) inset,
                    0 22px 56px rgba(18, 12, 40, 0.52),
                    0 0 54px rgba(139, 92, 246, 0.28);
    }
}

.arcane-deals-header {
    text-align: left;
    margin-bottom: 0.85rem;
    padding: 0.2rem 0.2rem 0.35rem;
}

.arcane-deals-title {
    display: block;
    font-family: 'Marcellus SC', serif;
    color: #e9ddff;
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.arcane-deals-subtitle {
    display: block;
    font-size: 0.74rem;
    color: #9f88d4;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 0.2rem;
}

.hero-text-container {
    margin-bottom: 3rem;
    position: relative;
}

.hero-text-container::before,
.hero-text-container::after {
    display: none;
}

/* Arcane Symbol */
.hero-arcane-symbol {
    width: 160px;
    height: 160px;
    margin: 0 auto 2rem;
    position: relative;
}

.hero-tagline {
    font-family: 'Marcellus SC', serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: #c4b5fd;
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}

.hero-subtitle-static {
    font-size: 1rem;
    color: #94a3b8;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

.arcane-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.4));
}

.ring-outer {
    animation: ringRotate 25s linear infinite;
    transform-origin: 50% 50%;
}

.ring-mid {
    animation: ringRotate 18s linear infinite reverse;
    transform-origin: 50% 50%;
}

.ring-inner {
    animation: ringRotate 12s linear infinite;
    transform-origin: 50% 50%;
    stroke-dasharray: 8 4;
}

.hex-up {
    animation: hexRotate 30s linear infinite;
    transform-origin: 50% 50%;
}

.hex-down {
    animation: hexRotate 30s linear infinite reverse;
    transform-origin: 50% 50%;
}

.core-glow {
    animation: corePulse 3s ease-in-out infinite;
    transform-origin: 50% 50%;
}

.core-center {
    animation: corePulse 3s ease-in-out infinite 0.5s;
    transform-origin: 50% 50%;
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes hexRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes corePulse {
    0%, 100% { opacity: 0.5; r: 7; }
    50% { opacity: 0.9; r: 9; }
}

@media (max-width: 768px) {
    .hero-arcane-symbol {
        width: 120px;
        height: 120px;
        margin-bottom: 1.5rem;
    }
    .hero-subtitle-static {
        font-size: 0.9rem;
    }
}

/* Welcome Message */
.hero-welcome-message {
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 50px;
}

.welcome-text {
    font-size: 0.9rem;
    color: #c4b5fd;
}

.welcome-name {
    color: #ffffff;
    font-weight: 600;
}

/* CTA & Buttons */
.hero-cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-btn {
    position: relative;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.5px;
    overflow: hidden;
}

.hero-btn--primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-btn--primary::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: left 0.5s;
}

.hero-btn--primary:hover::before {
    left: 100%;
}

.hero-btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.5);
    color: white;
}

.hero-btn--secondary {
    background: rgba(15, 15, 25, 0.6);
    color: #c4b5fd;
    border: 1px solid rgba(139, 92, 246, 0.3);
    backdrop-filter: blur(10px);
}

.hero-btn--secondary:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.6);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.2);
}

/* Stats */
.hero-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-stat {
    text-align: center;
    padding: 1.25rem 1.75rem;
    background: linear-gradient(145deg, rgba(20, 20, 35, 0.8), rgba(10, 10, 20, 0.9));
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 16px;
    min-width: 100px;
    position: relative;
    transition: all 0.3s ease;
}

.hero-stat::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), transparent, rgba(139, 92, 246, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.hero-stat:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15);
}

.hero-stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #c4b5fd, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.hero-stat-label {
    font-size: 0.7rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

/* ===== FEATURED DEALS ===== */

.featured-deals-row {
    margin-top: 2.5rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.featured-deals-row--rail {
    margin-top: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
}

.featured-deal-strip {
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(20, 20, 35, 0.9), rgba(45, 27, 105, 0.4));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
}

.featured-deal-strip:hover {
    transform: translateY(-3px);
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.25);
}

.featured-deal-strip::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    animation: dealShimmer 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes dealShimmer {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.deal-badge {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.deal-badge.flash { background: linear-gradient(135deg, #f59e0b, #d97706); }
.deal-badge.limited { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.deal-badge.bundle { background: linear-gradient(135deg, #10b981, #059669); }
.deal-badge.seasonal { background: linear-gradient(135deg, #06b6d4, #0891b2); }

.deal-image {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(139, 92, 246, 0.2);
    flex-shrink: 0;
}

.deal-image-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.deal-info {
    min-width: 0;
}

.deal-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #eae6ff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.2rem;
    max-width: 180px;
}

.featured-deals-row--rail .featured-deal-strip {
    flex-wrap: nowrap;
    gap: 0.6rem;
}

.featured-deals-row--rail .deal-badge {
    font-size: 0.6rem;
    padding: 0.25rem 0.5rem;
}

.featured-deals-row--rail .deal-title {
    max-width: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.featured-deals-row--rail .deal-info {
    flex: 1;
    min-width: 0;
}

.featured-deals-row--rail .deal-prices {
    font-size: 0.72rem;
}

.featured-deals-row--rail .deal-cta {
    padding: 0.4rem 0.65rem;
    font-size: 0.72rem;
}

.deal-prices {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    flex-wrap: nowrap;
}

.deal-cta {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-left: auto;
}

.featured-deal-strip:hover .deal-cta {
    background: linear-gradient(135deg, #a78bfa, #8b5cf6);
}

.deal-original {
    color: #64748b;
    text-decoration: line-through;
}

.deal-sale {
    color: #22c55e;
    font-weight: 700;
}

.deal-percent {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

@media (max-width: 700px) {
    .featured-deals-row {
        flex-direction: column;
        align-items: center;
    }
    .featured-deal-strip {
        width: 100%;
        max-width: 360px;
    }
}

@media (max-width: 1100px) {
    .hero-content-layout.has-deals {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    .hero-promo-rail {
        max-width: 540px;
        margin: 0 auto;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #8b5cf6;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    color: #a78bfa;
}

.scroll-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
}

.scroll-arrow {
    width: 24px;
    height: 40px;
    border: 2px solid currentColor;
    border-radius: 12px;
    position: relative;
    opacity: 0.6;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: currentColor;
    border-radius: 2px;
    animation: scrollDot 1.5s ease-in-out infinite;
}

@keyframes scrollDot {
    0%, 100% { 
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    50% { 
        opacity: 0.3;
        transform: translateX(-50%) translateY(12px);
    }
}

/* Responsive promo rail breakpoints */
@media(max-width: 1540px) {
    .hero-promo-rail {
        right: -380px;
        width: 360px;
    }
}

@media(max-width: 1440px) {
    .hero-promo-rail {
        right: -340px;
        width: 320px;
    }
}

@media(max-width: 1280px) {
    .hero-promo-rail {
        position: static;
        transform: none;
        width: 100%;
        max-width: 420px;
        margin: 2rem auto 0;
    }
}

@media(max-width: 768px) {
    .hero-content-wrapper {
        padding: 4rem 1.5rem 3rem;
    }
    .hero-main-column {
        max-width: 100%;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
    }
    .hero-btn {
        width: 100%;
        justify-content: center;
    }
    .hero-stats {
        gap: 1.5rem;
    }
    .hero-stat {
        padding: 0.75rem 1rem;
    }
    .hero-promo-rail {
        max-width: 100%;
    }
    .arcane-deals-panel {
        padding: 0.85rem;
    }
}

/* ================= FEATURED GAMES ================= */

.featured-games-section {
    padding: 0 !important;
    background: linear-gradient(180deg, #080b12 0%, #0d1117 50%, #080b12 100%);
}

.featured-games-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.featured-games-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 2rem;
    position: relative;
}

.featured-games-header {
    text-align: center;
    margin-bottom: 3rem;
}

.featured-games-title {
    font-size: 2.5rem;
    font-family: 'Marcellus SC', serif;
    color: #eae6ff;
    margin-bottom: 0.75rem;
    position: relative;
}

.featured-games-title::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #8b5cf6, transparent);
    border-radius: 2px;
}

.featured-games-subtitle {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.featured-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.featured-game-card {
    background: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.featured-game-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.2);
}

.new-release-highlight .featured-game-card {
    border-color: rgba(239, 68, 68, 0.4) !important;
}

.new-release-highlight .featured-game-card:hover {
    box-shadow: 0 20px 50px rgba(239, 68, 68, 0.2);
}

.game-image-container {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0c29 100%);
    display: block;
    text-decoration: none;
}

.game-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.featured-game-card:hover .game-image {
    transform: scale(1.08);
}

.game-overlay {
    display: none;
}

.game-play-overlay {
    display: none;
}

.game-rating-overlay {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    border-radius: 8px;
    padding: 0.4rem 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: #fbbf24;
}

.game-rating-overlay span:last-child {
    color: #94a3b8;
    font-size: 0.75rem;
}

.new-release-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: none !important;
}

.new-release-glow { display: none; }

.game-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.game-header {
    margin-bottom: 1rem;
}

.game-title {
    font-family: 'Marcellus SC', serif;
    font-size: 1.3rem;
    color: #eae6ff;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.game-title .badge {
    font-size: 0.65rem;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-family: sans-serif;
    font-weight: 600;
    text-transform: uppercase;
}

.badge--in-production { background: #22c55e; color: #fff; }
.badge--finished { background: #8b5cf6; color: #fff; }
.badge--coming-soon { background: #f59e0b; color: #000; }

.game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.game-tag {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-tag--genre { background: rgba(139, 92, 246, 0.15); color: #a78bfa; border-color: rgba(139, 92, 246, 0.3); }
.game-tag--platform { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border-color: rgba(59, 130, 246, 0.3); }
.game-tag--warning { background: rgba(239, 68, 68, 0.15); color: #f87171; border-color: rgba(239, 68, 68, 0.3); }
.game-tag--feature { background: rgba(34, 197, 94, 0.15); color: #4ade80; border-color: rgba(34, 197, 94, 0.3); }

.game-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #94a3b8;
    font-size: 0.85rem;
}

.game-description {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex: 1;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.game-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-top: auto;
}

.play-btn {
    flex: 1;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    border: none;
    color: white;
    padding: 0.875rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
    color: white;
}

.wishlist-btn {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.wishlist-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.see-all-section {
    text-align: center;
    padding: 3rem 2rem;
    margin-top: 1rem;
}

.see-all-section h3 {
    display: none;
}

.see-all-section p {
    display: none;
}

.see-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: #a78bfa;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.see-all-btn:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.6);
    color: #c4b5fd;
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

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

.reveal:nth-child(1) { transition-delay: 0.1s; }
.reveal:nth-child(2) { transition-delay: 0.2s; }
.reveal:nth-child(3) { transition-delay: 0.3s; }

@media (max-width: 768px) {
    .featured-games-container {
        padding: 3rem 1rem;
    }
    .featured-games-grid {
        grid-template-columns: 1fr;
    }
    .featured-games-title {
        font-size: 2rem;
    }
}

/* Loading shimmer */
.game-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 2s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.new-release-highlight {
    position: relative;
    overflow: visible;
}

@media(max-width: 480px) {
    .game-content { padding: 1rem; }
    .featured-games-title { font-size: 1.8rem; }
    .game-title { font-size: 1.1rem; }
}

/* ================ CUSTOM ARCANE SCROLLBARS ================= */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 20, 25, 0.4);
    border-radius: 10px;
    border: 1px solid rgba(139, 92, 246, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #8b5cf6, #6d28d9);
    border-radius: 10px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow: 
        0 0 6px rgba(139, 92, 246, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #a78bfa, #8b5cf6);
    box-shadow: 
        0 0 12px rgba(139, 92, 246, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, #c4b5fd, #a78bfa);
    box-shadow: 
        0 0 8px rgba(139, 92, 246, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.modal::-webkit-scrollbar,
.overlay::-webkit-scrollbar,
.game-modal::-webkit-scrollbar,
.modal-content::-webkit-scrollbar,
.overlay-content::-webkit-scrollbar {
    width: 6px;
}

.modal::-webkit-scrollbar-track,
.overlay::-webkit-scrollbar-track,
.game-modal::-webkit-scrollbar-track,
.modal-content::-webkit-scrollbar-track,
.overlay-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.modal::-webkit-scrollbar-thumb,
.overlay::-webkit-scrollbar-thumb,
.game-modal::-webkit-scrollbar-thumb,
.modal-content::-webkit-scrollbar-thumb,
.overlay-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #8b5cf6, #6d28d9);
    border-radius: 8px;
    box-shadow: 
        0 0 4px rgba(139, 92, 246, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.modal::-webkit-scrollbar-thumb:hover,
.overlay::-webkit-scrollbar-thumb:hover,
.game-modal::-webkit-scrollbar-thumb:hover,
.modal-content::-webkit-scrollbar-thumb:hover,
.overlay-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #a78bfa, #8b5cf6);
    box-shadow: 
        0 0 8px rgba(139, 92, 246, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

html {
    scrollbar-width: thin;
    scrollbar-color: #8b5cf6 rgba(15, 20, 25, 0.4);
}

/* ================= NEWS SECTION ================= */

.news-section {
    background: linear-gradient(180deg, #0a0d12 0%, #12161d 100%);
    padding: 5rem 0;
    position: relative;
}

.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.news-header {
    text-align: center;
    margin-bottom: 3rem;
}

.news-title {
    font-family: 'Marcellus SC', serif;
    font-size: 2.5rem;
    color: #eae6ff;
    margin-bottom: 0.5rem;
}

.news-subtitle {
    color: #64748b;
    font-size: 1rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.news-card {
    background: linear-gradient(145deg, rgba(20, 25, 35, 0.9) 0%, rgba(15, 18, 25, 0.95) 100%);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.news-card:hover {
    transform: translateY(-6px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15), 0 0 0 1px rgba(139, 92, 246, 0.1);
}

.news-card-image {
    height: 160px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(59, 130, 246, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.news-card-image::before {
    content: '📰';
    font-size: 3rem;
    opacity: 0.4;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.news-card-date {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(139, 92, 246, 0.9);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
}

.news-card-badge.badge--new {
    background: #22c55e;
    color: white;
}

.news-card-badge.badge--important {
    background: #ef4444;
    color: white;
}

.news-card-badge.badge--announcement {
    background: #8b5cf6;
    color: white;
}

.news-card-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-title {
    font-family: 'Marcellus SC', serif;
    font-size: 1.1rem;
    color: #eae6ff;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-card:hover .news-card-title {
    color: #c4b5fd;
}

.news-card-excerpt {
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.5;
    flex: 1;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.news-card-read {
    color: #8b5cf6;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
}

.news-card:hover .news-card-read {
    color: #a78bfa;
    gap: 0.6rem;
}

.news-cta {
    text-align: center;
    padding: 2rem;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 16px;
}

.news-cta-text {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 1.25rem;
}

.news-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.news-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    color: white;
}

.empty-news {
    text-align: center;
    padding: 3rem;
    color: #64748b;
}

.empty-news-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    .news-title {
        font-size: 2rem;
    }
    .news-card-image {
        height: 140px;
    }
}

/* ================= UTILITY KEYFRAMES ================= */

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}
