* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --accent-primary: #00ff88;
    --accent-secondary: #7b2cbf;
    --accent-tertiary: #ff006e;
    --accent-quaternary: #3a86ff;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #606070;
    --border-color: #1a1a25;
    --glow-primary: rgba(0, 255, 136, 0.3);
    --glow-secondary: rgba(123, 44, 191, 0.3);
    --glow-tertiary: rgba(255, 0, 110, 0.3);
    --glow-quaternary: rgba(58, 134, 255, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particles::before,
.particles::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.1;
    animation: float 15s ease-in-out infinite;
}

.particles::before {
    background: var(--accent-primary);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.particles::after {
    background: var(--accent-secondary);
    bottom: 10%;
    right: 10%;
    animation-delay: 5s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, -50px) scale(1.2); }
}

/* Navigation */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 2rem 0;
    backdrop-filter: blur(10px);
    background: rgba(10, 10, 15, 0.8);
    border-bottom: 1px solid var(--border-color);
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 0.2em;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--glow-primary);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 4rem 4rem;
    position: relative;
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-label {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 600;
}

.hero-title {
    margin-bottom: 2rem;
}

.title-line {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { filter: drop-shadow(0 0 20px var(--glow-primary)); }
    50% { filter: drop-shadow(0 0 40px var(--glow-primary)); }
}

.title-subtitle {
    display: block;
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 0.1em;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    width: 120px;
    height: 120px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    overflow: hidden;
    transition: all 0.3s;
}

.floating-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity 0.3s;
}

.floating-card:hover::before {
    opacity: 1;
}

.card-glow {
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary), var(--accent-quaternary));
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: glowRotate 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

.floating-card:hover .card-glow {
    opacity: 1;
}

@keyframes glowRotate {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.card-1 {
    top: 10%;
    left: 10%;
    animation: floatCard1 6s ease-in-out infinite;
    color: var(--accent-primary);
}

.card-2 {
    top: 50%;
    right: 20%;
    animation: floatCard2 7s ease-in-out infinite;
    color: var(--accent-secondary);
}

.card-3 {
    bottom: 20%;
    left: 30%;
    animation: floatCard3 8s ease-in-out infinite;
    color: var(--accent-tertiary);
}

.card-4 {
    top: 30%;
    right: 10%;
    animation: floatCard4 6.5s ease-in-out infinite;
    color: var(--accent-quaternary);
}

@keyframes floatCard1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(20px, -30px) rotate(5deg); }
}

@keyframes floatCard2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-25px, 25px) rotate(-5deg); }
}

@keyframes floatCard3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, 20px) rotate(5deg); }
}

@keyframes floatCard4 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-20px, -25px) rotate(-5deg); }
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-primary), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(10px); }
}

/* Games Section */
.games-section {
    padding: 8rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-number {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    color: var(--accent-primary);
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-primary) 50%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.game-card {
    position: relative;
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.game-card:hover {
    transform: translateY(-10px);
}

.game-card-bg {
    position: absolute;
    inset: 0;
    background: var(--bg-secondary);
    opacity: 0.8;
    transition: opacity 0.3s;
}

.game-card:hover .game-card-bg {
    opacity: 1;
}

.game-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0;
    transition: opacity 0.3s;
    mix-blend-mode: overlay;
}

.game-card:hover .game-card-overlay {
    opacity: 0.1;
}

.game-card-content {
    position: relative;
    height: 100%;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
}

.game-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.game-name {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.game-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.4rem 1rem;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--accent-primary);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--accent-primary);
    letter-spacing: 0.1em;
}

.game-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

.game-card[data-game="rocket-league"] {
    border: 2px solid var(--accent-primary);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.2);
}

.game-card[data-game="valorant"] {
    border: 2px solid var(--accent-secondary);
    box-shadow: 0 0 30px rgba(123, 44, 191, 0.2);
}

.game-card[data-game="fortnite"] {
    border: 2px solid var(--accent-tertiary);
    box-shadow: 0 0 30px rgba(255, 0, 110, 0.2);
}

.game-card[data-game="counter-strike"] {
    border: 2px solid var(--accent-quaternary);
    box-shadow: 0 0 30px rgba(58, 134, 255, 0.2);
}

/* Development Section */
.dev-section {
    padding: 8rem 4rem;
    background: var(--bg-secondary);
    position: relative;
}

.dev-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.code-window {
    background: var(--bg-primary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.code-header {
    background: var(--bg-secondary);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.code-dots {
    display: flex;
    gap: 0.5rem;
}

.code-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-muted);
}

.code-dots span:nth-child(1) { background: #ff5f56; }
.code-dots span:nth-child(2) { background: #ffbd2e; }
.code-dots span:nth-child(3) { background: #27c93f; }

.code-title {
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
}

.code-content {
    padding: 2rem;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    line-height: 1.8;
}

.code-line {
    margin-bottom: 0.5rem;
}

.code-keyword {
    color: #c792ea;
}

.code-var {
    color: #82aaff;
}

.code-property {
    color: #7fdbca;
}

.code-string {
    color: #c3e88d;
}

.code-cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background: var(--accent-primary);
    animation: blink 1s infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.dev-content {
    padding-left: 2rem;
}

.dev-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.skills-grid {
    display: grid;
    gap: 2rem;
}

.skill-item {
    padding: 2rem;
    background: var(--bg-primary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.skill-item:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.2);
    transform: translateX(10px);
}

.skill-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.skill-item h4 {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--accent-primary);
}

.skill-item p {
    color: var(--text-secondary);
}

/* Contact Section */
.contact-section {
    padding: 8rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-container {
    text-align: center;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.contact-card {
    padding: 3rem 2rem;
    background: var(--bg-secondary);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.contact-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.2);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.contact-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.contact-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: color 0.3s;
}

.contact-link:hover {
    color: var(--text-primary);
}

/* Footer */
.footer {
    padding: 3rem 4rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--accent-primary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content,
    .dev-container {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        height: 300px;
        margin-top: 3rem;
    }
    
    .title-line {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-content {
        padding: 0 2rem;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .hero,
    .games-section,
    .dev-section,
    .contact-section {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .title-line {
        font-size: 3rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

