/* 
    PixelPulse - Prism Neon Design System 
    Theme: Deep Space with Prism Accents
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800;900&display=swap');

:root {
    --bg-color: #05070a;
    --card-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.05);
    --accent-violet: #8a2be2;
    --accent-cyan: #00f5ff;
    --accent-crimson: #ff0055;
    --text-primary: #ffffff;
    --text-secondary: #8a8d91;
    --nav-height: 80px;
    --prism-gradient: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    margin: 0;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Enhanced Glassmorphism */
.glass-effect {
    background: var(--card-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 0.5px solid var(--glass-border);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.glass-effect:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    letter-spacing: -1px;
}

.gradient-text {
    background: var(--prism-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.fw-900 { font-weight: 900 !important; }

/* Navbar */
.navbar {
    height: var(--nav-height);
    background: rgba(5, 7, 10, 0.7) !important;
    backdrop-filter: blur(30px);
    border-bottom: 0.5px solid var(--glass-border);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 900;
    font-size: 1.6rem;
    letter-spacing: -2px;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary) !important;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: #fff !important;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* Game Card */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    padding: 30px 0;
}

.game-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--card-bg);
}

.game-card img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.game-card:hover img {
    transform: scale(1.1);
}

.game-card .info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(5, 7, 10, 0.95), transparent);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
}

.game-card:hover .info-overlay {
    transform: translateY(0);
    opacity: 1;
}

/* Fullscreen Game Area */
.game-container {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    border: 0.5px solid var(--glass-border);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Hero Section */
.hero-v2 {
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-v2::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.15), transparent 70%);
    z-index: -1;
}

.hero-v2::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.1), transparent 70%);
    z-index: -1;
}

/* Buttons */
.btn-prism {
    background: var(--prism-gradient);
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.2);
}

.btn-prism:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(138, 43, 226, 0.4);
    color: #fff;
}

/* Badge */
.badge-new {
    background: var(--accent-cyan);
    color: #000;
    font-weight: 800;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 4px;
}

/* Footer */
.footer-v2 {
    border-top: 0.5px solid var(--glass-border);
    padding: 80px 0 40px;
    background: linear-gradient(to bottom, transparent, rgba(138, 43, 226, 0.03));
}

/* Responsive */
@media (max-width: 768px) {
    .game-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
}

/* Icon Box */
.icon-box {
    background: var(--card-bg);
    border: 0.5px solid var(--glass-border);
    transition: all 0.3s ease;
}

.icon-box:hover {
    border-color: var(--accent-cyan);
    transform: scale(1.1) rotate(5deg);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

section {
    animation: fadeIn 0.8s ease-out forwards;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.1);
}

