:root {
    --bg-dark: #07070a;
    --bg-card: rgba(20, 20, 25, 0.6);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-main: #f0f0f5;
    --text-muted: #9ba1a6;
    --primary: #c5a880;
    --primary-glow: rgba(197, 168, 128, 0.4);
    --secondary: #8a2be2;
    --secondary-glow: rgba(138, 43, 226, 0.4);
    
    /* Game Colors */
    --arceus: #d4af37;
    --sword: #00a8ff;
    --shield: #e84118;
    --scarlet: #ff4757;
    --violet: #5352ed;
    --pearl-diamond: #ff9ff3;
    --go: #fbbc05;
    --za: #4cd137;
    --champions: #e67e22;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .logo {
    font-family: 'Outfit', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Background Effects */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
}

.bg-glow-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 70%);
}

.bg-glow-2 {
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    background: rgba(7, 7, 10, 0.5);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
}

.logo i {
    color: var(--primary);
}

.logo span {
    color: var(--primary);
    font-weight: 300;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-main);
}

/* Buttons */
.btn-primary-sm {
    background: linear-gradient(135deg, var(--primary), #a68452);
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--primary-glow);
    color: #fff;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #a68452);
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--primary-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    animation: slowZoom 20s infinite alternate ease-in-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(7, 7, 10, 0.95) 0%, rgba(7, 7, 10, 0.7) 50%, rgba(7, 7, 10, 0.3) 100%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 700px;
    margin-left: 10%;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(197, 168, 128, 0.15);
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.glitch-text {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #c5a880);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* About Section */
.about-section {
    padding: 6rem 2rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.about-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.about-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-content h2 span {
    color: var(--primary);
}

.about-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Games Section */
.games-section {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-header h2 span {
    color: var(--primary);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.games-swiper {
    padding: 1rem 1rem 4rem 1rem;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.swiper-slide {
    height: auto;
}

.swiper-pagination-bullet {
    background: var(--text-muted);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--primary);
    opacity: 1;
}

.game-card {
    background: rgba(20, 20, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 350px;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    cursor: pointer;
}

.game-logo-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.game-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 15px rgba(0,0,0,0.6));
    transition: transform 0.4s ease;
}

.fallback-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-main);
}

.game-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    filter: none;
    opacity: 0.6;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
}

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

.game-card:hover .game-glow {
    opacity: 1;
}

/* Specific Glow Colors */
.arceus-glow { background: linear-gradient(135deg, transparent 0%, var(--arceus) 180%); }
.sword-glow { background: linear-gradient(135deg, transparent 0%, var(--sword) 180%); }
.shield-glow { background: linear-gradient(135deg, transparent 0%, var(--shield) 180%); }
.scarlet-glow { background: linear-gradient(135deg, transparent 0%, var(--scarlet) 180%); }
.violet-glow { background: linear-gradient(135deg, transparent 0%, var(--violet) 180%); }
.pearl-diamond-glow { background: linear-gradient(135deg, transparent 0%, var(--pearl-diamond) 180%); }
.go-glow { background: linear-gradient(135deg, transparent 0%, var(--go) 180%); }
.za-glow { background: linear-gradient(135deg, transparent 0%, var(--za) 180%); }
.champions-glow { background: linear-gradient(135deg, transparent 0%, var(--champions) 180%); }

/* Contact Section */
.contact-section {
    padding: 6rem 2rem 8rem;
    background: linear-gradient(to top, rgba(7, 7, 10, 1), rgba(7, 7, 10, 0));
    position: relative;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 4rem;
    text-align: center;
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
}

.contact-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info h2 span {
    color: var(--secondary);
}

.contact-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.social-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.social-card {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-align: left;
    transition: all 0.3s ease;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin-right: 1rem;
}

.ig-card .social-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.shopee-card .social-icon {
    background: #ee4d2d;
    color: white;
}

.social-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.social-text span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.social-arrow {
    margin-left: auto;
    color: var(--text-muted);
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-5px);
}

.ig-card:hover { border-color: #dc2743; }
.shopee-card:hover { border-color: #ee4d2d; }

.social-card:hover .social-arrow {
    transform: translateX(5px);
    color: white;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 3rem 2rem;
    text-align: center;
    background: #040406;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.footer-logo i {
    color: var(--primary);
}

footer p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.footer-disclaimer {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Animations */
@keyframes slowZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}

/* Responsive Design */
@media (max-width: 900px) {
    .hero-content {
        margin-left: 0;
        text-align: center;
    }
    
    .hero-overlay {
        background: linear-gradient(to top, rgba(7, 7, 10, 1) 0%, rgba(7, 7, 10, 0.7) 100%);
    }

    .hero-buttons {
        justify-content: center;
    }

    .social-links {
        grid-template-columns: 1fr;
    }

    .contact-container {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* simple mobile nav */
    }
    
    .glitch-text {
        font-size: 3rem;
    }
    
    .hero-desc {
        font-size: 1.1rem;
    }
}
