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

:root {
    --primary-color: #00ffff;
    --secondary-color: #ff00ff;
    --accent-color: #ffd700;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --text-light: #ffffff;
    --text-gray: #cccccc;
    --gradient-primary: linear-gradient(135deg, #00ffff, #ff00ff);
    --gradient-secondary: linear-gradient(45deg, #ff00ff, #ffd700);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.logo {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 900;
}

.logo-text {
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--primary-color);
}

.logo-accent {
    color: var(--accent-color);
    text-shadow: 0 0 20px var(--accent-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Language Selector */
.language-selector {
    display: flex;
    gap: 0.4rem;
    margin-left: 0.8rem;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(0, 255, 255, 0.3);
    color: var(--text-gray);
    padding: 0.4rem 0.7rem;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 40px;
    text-align: center;
}

.lang-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(0, 255, 255, 0.1);
}

.lang-btn.active {
    background: var(--primary-color);
    color: var(--bg-dark);
    border-color: var(--primary-color);
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 0, 150, 0.3), rgba(0, 255, 255, 0.3), rgba(255, 100, 0, 0.3)), url('images/anime-game-1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
    animation: heroBackgroundSlide 20s infinite;
}

/* Anime game style background animation */
@keyframes heroBackgroundSlide {
    0% {
        background-image: linear-gradient(45deg, rgba(255, 0, 150, 0.3), rgba(0, 255, 255, 0.3), rgba(255, 100, 0, 0.3)), url('images/anime-game-1.jpg');
    }
    25% {
        background-image: linear-gradient(135deg, rgba(0, 255, 255, 0.3), rgba(255, 0, 255, 0.3), rgba(255, 215, 0, 0.3)), url('images/anime-game-2.jpg');
    }
    50% {
        background-image: linear-gradient(225deg, rgba(255, 0, 255, 0.3), rgba(255, 100, 0, 0.3), rgba(0, 255, 150, 0.3)), url('images/anime-game-3.jpg');
    }
    75% {
        background-image: linear-gradient(315deg, rgba(255, 100, 0, 0.3), rgba(255, 0, 150, 0.3), rgba(0, 255, 255, 0.3)), url('images/anime-game-4.jpg');
    }
    100% {
        background-image: linear-gradient(45deg, rgba(255, 0, 150, 0.3), rgba(0, 255, 255, 0.3), rgba(255, 100, 0, 0.3)), url('images/anime-game-1.jpg');
    }
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 0, 150, 0.25) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(0, 255, 255, 0.25) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(255, 100, 0, 0.15) 0%, transparent 70%),
        linear-gradient(45deg, rgba(255, 0, 255, 0.1), rgba(0, 255, 255, 0.1));
    animation: pulse 4s ease-in-out infinite;
}

/* Anime & Tech particles */
.hero-video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(4px 4px at 20px 30px, rgba(255, 0, 150, 1), transparent),
        radial-gradient(3px 3px at 40px 70px, rgba(0, 255, 255, 1), transparent),
        radial-gradient(2px 2px at 90px 40px, rgba(255, 100, 0, 1), transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(255, 0, 255, 1), transparent),
        radial-gradient(4px 4px at 160px 30px, rgba(0, 255, 150, 1), transparent),
        radial-gradient(3px 3px at 200px 60px, rgba(255, 215, 0, 1), transparent),
        radial-gradient(1px 1px at 70px 20px, rgba(255, 255, 255, 1), transparent),
        radial-gradient(2px 2px at 180px 90px, rgba(0, 200, 255, 1), transparent);
    background-repeat: repeat;
    background-size: 280px 140px;
    animation: particleFloat 10s linear infinite;
}

@keyframes particleFloat {
    0% { transform: translateY(0px) translateX(0px); }
    25% { transform: translateY(-20px) translateX(10px); }
    50% { transform: translateY(-40px) translateX(-5px); }
    75% { transform: translateY(-20px) translateX(-10px); }
    100% { transform: translateY(0px) translateX(0px); }
}

/* Anime/Tech scanlines effect */
.hero-video::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 255, 0.03) 2px,
        rgba(0, 255, 255, 0.03) 4px
    );
    animation: scanlines 8s linear infinite;
    pointer-events: none;
}

@keyframes scanlines {
    0% { transform: translateY(0px); }
    100% { transform: translateY(20px); }
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.title-line {
    display: block;
    background: linear-gradient(45deg, #ff0096, #00ffff, #ff6400, #ff00ff, #00ff96, #ffffff);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate, gradientShift 3s ease-in-out infinite;
    text-transform: uppercase;
    letter-spacing: 5px;
    text-shadow:
        0 0 40px rgba(255, 0, 150, 0.9),
        0 0 80px rgba(0, 255, 255, 0.7),
        0 0 120px rgba(255, 100, 0, 0.5),
        0 0 160px rgba(255, 0, 255, 0.3);
    position: relative;
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.8));
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}



.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.5s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 1s both;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--dark-bg);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--primary-color);
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -5px;
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    transform: rotate(45deg);
}

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

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

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about {
    padding: 8rem 0;
    background: var(--darker-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.about-card:hover::before {
    left: 100%;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* Games Section */
.games {
    padding: 8rem 0;
}

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

.game-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.1);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
}

.game-card.featured {
    grid-column: span 2;
}

.game-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.game-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.game-bg-1 {
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.2), rgba(255, 0, 255, 0.2)), url('images/cyberpunk-game.jpg');
    background-size: cover;
    background-position: center;
}

.game-bg-2 {
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.2), rgba(255, 215, 0, 0.2)), url('images/space-strategy.jpg');
    background-size: cover;
    background-position: center;
}

.game-bg-3 {
    background: linear-gradient(225deg, rgba(255, 215, 0, 0.2), rgba(0, 255, 255, 0.2)), url('images/fantasy-rpg.jpg');
    background-size: cover;
    background-position: center;
}

.game-bg-4 {
    background: linear-gradient(315deg, rgba(0, 255, 255, 0.2), rgba(255, 0, 255, 0.2)), url('images/fps-shooter.jpg');
    background-size: cover;
    background-position: center;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(26, 26, 46, 0.8));
    backdrop-filter: blur(2px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.4s ease;
    text-align: center;
    padding: 2rem;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

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

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

.game-overlay h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.game-overlay p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.game-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
}

.game-stats span {
    background: rgba(0, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    color: var(--primary-color);
    font-weight: 600;
}

.game-btn {
    padding: 0.8rem 1.5rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 25px;
    color: var(--dark-bg);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.game-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 255, 255, 0.3);
}

/* Technology Section */
.technology {
    padding: 8rem 0;
    background: var(--darker-bg);
}

.tech-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tech-text h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tech-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.tech-icon {
    font-size: 2rem;
    min-width: 60px;
}

.tech-feature h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.tech-feature p {
    color: var(--text-gray);
}

.tech-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-circle {
    width: 300px;
    height: 300px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: rotate 20s linear infinite;
}

.tech-circle::before {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border: 1px solid var(--secondary-color);
    border-radius: 50%;
    animation: rotate 15s linear infinite reverse;
}

.circle-content {
    text-align: center;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
}

.circle-content span {
    display: block;
    font-size: 1.2rem;
    color: var(--accent-color);
}

/* Contact Section */
.contact {
    padding: 8rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 10px;
    color: var(--text-light);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-gray);
}

/* Footer */
.footer {
    background: var(--darker-bg);
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

/* Animations */
@keyframes glow {
    0% { text-shadow: 0 0 20px rgba(0, 255, 255, 0.5); }
    100% { text-shadow: 0 0 30px rgba(0, 255, 255, 0.8), 0 0 40px rgba(255, 0, 255, 0.3); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 0.8; }
    100% { opacity: 0.5; }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .language-selector {
        margin-left: 0;
        margin-top: 0;
        gap: 0.3rem;
        position: absolute;
        top: 1rem;
        right: 4rem;
    }

    .lang-btn {
        padding: 0.3rem 0.5rem;
        font-size: 0.7rem;
        min-width: 35px;
        border-radius: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .language-selector {
        gap: 0.2rem;
        top: 0.8rem;
        right: 3.5rem;
    }

    .lang-btn {
        padding: 0.25rem 0.4rem;
        font-size: 0.65rem;
        min-width: 30px;
        border-radius: 12px;
    }

    .nav-menu {
        font-size: 0.9rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .game-card.featured {
        grid-column: span 1;
    }

    .tech-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tech-circle {
        width: 200px;
        height: 200px;
    }

    .tech-circle::before {
        width: 220px;
        height: 220px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .about-card,
    .contact-form {
        padding: 2rem 1rem;
    }
}