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

:root {
    --primary: #ffffff;
    --secondary: #000000;
    --dark: #000000;
    --light: #ffffff;
    --gray: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--dark);
    color: var(--light);
    overflow-x: hidden;
}

/* Custom Cursor */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.2s ease;
    transition-property: width, height, border;
    will-change: transform;
    mix-blend-mode: difference;
}

.cursor-dot {
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.15s ease;
    will-change: transform;
    mix-blend-mode: difference;
}

.cursor-hover {
    width: 40px;
    height: 40px;
    border-width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.cursor-dot-hover {
    width: 6px;
    height: 6px;
    background: white;
}

/* Navigation */
nav {
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    z-index: 100;
    background: transparent;
    backdrop-filter: none;
}

.logo {
    font-size: 2rem;
}

.flux-text, .studios-text {
    color: var(--light);
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    margin-left: 2rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 1;
    position: relative;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.gradient-text {
    display: block;
    font-size: 5rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--light);
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
    margin-bottom: 1rem;
    transition: text-shadow 0.3s ease;
}

.gradient-text:hover {
    text-shadow: 0 0 20px rgba(255,255,255,0.8);
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--light);
    opacity: 0.8;
    letter-spacing: 2px;
}

.cta-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 30px;
    color: var(--light);
    cursor: pointer;
    transition: transform 0.3s ease;
    animation: pulse 2s infinite;
}

.cta-button:hover {
    transform: scale(1.05);
}

/* Floating Elements */
.floating-elements {
    display: none;
}

/* Games Section */
.games-section {
    display: none;
}

/* Animations */
@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(108, 99, 255, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(108, 99, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(108, 99, 255, 0); }
}

/* Social Buttons */
.social-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.social-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: 2px solid var(--light);
    border-radius: 30px;
    color: var(--light);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease, transform 0.1s ease;
    position: relative;
    overflow: hidden;
    background: transparent;
    transform-origin: center;
}

.social-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--light);
    transition: all 0.3s ease;
    z-index: -1;
}

.social-button:hover {
    color: var(--dark);
    transform: scale(1.05);
}

.social-button:hover::before {
    left: 0;
}

.social-button i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.social-button:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* Add particle animation */
@keyframes particleAnimation {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-100vh);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .gradient-text {
        font-size: 3rem;
    }
    
    .social-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .social-button {
        width: 80%;
    }
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#particles-js:hover {
    opacity: 0.8;
}

/* Media query for touch devices */
@media (hover: none) and (pointer: coarse) {
    .cursor, .cursor-dot {
        display: none !important;
    }
    
    * {
        cursor: auto !important;
    }
}
