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

:root {
    --primary-color: #00f0ff;
    --secondary-color: #ff00ff;
    --accent-color: #7b00ff;
    --bg-dark: #0a0a0f;
    --bg-card: #12121a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
}

body {
    font-family: 'Segoe UI', 'Rajdhani', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 28px;
    animation: float 3s ease-in-out infinite;
}

.logo-text {
    font-family: 'Orbitron', 'Courier New', monospace;
    font-size: 24px;
    font-weight: 900;
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

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

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

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

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.particle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: particleFloat 10s infinite linear;
}

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

.robot-avatar {
    margin-bottom: 30px;
}

.robot-head {
    width: 120px;
    height: 100px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 50px 50px 20px 20px;
    position: relative;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
    animation: robotGlow 2s ease-in-out infinite;
}

.robot-eye {
    position: absolute;
    top: 35px;
    width: 25px;
    height: 25px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: eyeBlink 3s ease-in-out infinite;
}

.robot-eye.left {
    left: 25px;
}

.robot-eye.right {
    right: 25px;
}

.robot-mouth {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 5px;
    background: var(--primary-color);
    border-radius: 3px;
}

.hero-title {
    font-family: 'Orbitron', 'Courier New', monospace;
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.title-line {
    color: var(--text-secondary);
    letter-spacing: 5px;
}

.title-highlight {
    color: var(--primary-color);
    text-shadow: 0 0 30px var(--primary-color), 0 0 60px var(--primary-color);
    letter-spacing: 8px;
    animation: titleGlow 2s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    letter-spacing: 3px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.btn-primary, .btn-secondary {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 2px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

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

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

.btn-secondary:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 14px;
    letter-spacing: 2px;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: var(--primary-color);
    animation: scrollLine 2s ease-in-out infinite;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.section-title {
    font-family: 'Orbitron', 'Courier New', monospace;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
}

.title-prefix {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 24px;
}

.experiences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.experience-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.experience-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.15);
}

.experience-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.experience-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.experience-card p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.experience-card.expandable {
    cursor: pointer;
    position: relative;
}

.expand-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.expandable.active .expand-icon {
    transform: rotate(45deg);
    background: var(--primary-color);
    color: var(--bg-dark);
}

.expand-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    margin-top: 0;
}

.expandable.active .expand-content {
    max-height: 500px;
    opacity: 1;
    margin-top: 20px;
}

.sport-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.sport-item:hover {
    background: rgba(0, 240, 255, 0.05);
    transform: translateX(5px);
}

.sport-icon {
    font-size: 32px;
}

.sport-info h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.sport-info p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.sport-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 240, 255, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Orbitron', 'Courier New', monospace;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 5px;
}

.game-item,
.inspiration-item,
.tech-item,
.robot-item,
.research-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.game-item:hover,
.inspiration-item:hover,
.tech-item:hover,
.robot-item:hover,
.research-item:hover {
    background: rgba(0, 240, 255, 0.05);
    transform: translateX(5px);
}

.game-icon,
.inspiration-icon,
.tech-icon,
.robot-icon,
.research-icon {
    font-size: 32px;
}

.game-info,
.inspiration-info,
.tech-info,
.robot-info,
.research-info {
    flex: 1;
}

.game-info h4,
.inspiration-info h4,
.tech-info h4,
.robot-info h4,
.research-info h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.game-info p,
.inspiration-info p,
.tech-info p,
.robot-info p,
.research-info p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0, 240, 255, 0.2);
}

.project-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.project-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.snake-gradient {
    background: linear-gradient(135deg, #00ff88, #00f0ff);
}

.detective-gradient {
    background: linear-gradient(135deg, #7b00ff, #ff00ff);
}

.jump-gradient {
    background: linear-gradient(135deg, #ff6b00, #ff00ff);
}

.project-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 64px;
    z-index: 1;
}

.project-info {
    padding: 30px;
}

.project-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.project-info p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.tag {
    padding: 5px 15px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 20px;
    font-size: 12px;
    color: var(--primary-color);
}

.project-link {
    display: inline-block;
    padding: 10px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--bg-dark);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 240, 255, 0.4);
}

.vision-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.vision-text h3 {
    font-family: 'Orbitron', 'Courier New', monospace;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.vision-text p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.vision-highlights {
    margin-top: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.highlight-number {
    font-family: 'Orbitron', 'Courier New', monospace;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.highlight-text {
    font-size: 18px;
    color: var(--text-primary);
    font-weight: 500;
}

.vision-robot {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.future-robot {
    position: relative;
    animation: robotMove 3s ease-in-out infinite;
}

.robot-body {
    position: relative;
}

.robot-arm {
    position: absolute;
    width: 80px;
    height: 15px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
    top: 30px;
}

.robot-arm.left-arm {
    left: -80px;
    transform-origin: right center;
    animation: armMoveLeft 2s ease-in-out infinite;
}

.robot-arm.right-arm {
    right: -80px;
    transform-origin: left center;
    animation: armMoveRight 2s ease-in-out infinite;
}

.robot-core {
    width: 100px;
    height: 120px;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
}

.core-light {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: corePulse 2s ease-in-out infinite;
}

.robot-legs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.robot-leg {
    width: 15px;
    height: 60px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
}

.footer {
    background: var(--bg-card);
    border-top: 1px solid rgba(0, 240, 255, 0.1);
    padding: 50px 20px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-text {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 16px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-copyright {
    font-size: 14px;
    color: var(--text-secondary);
    opacity: 0.6;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes robotGlow {
    0%, 100% { box-shadow: 0 0 30px rgba(0, 240, 255, 0.3); }
    50% { box-shadow: 0 0 50px rgba(0, 240, 255, 0.6); }
}

@keyframes eyeBlink {
    0%, 90%, 100% { height: 25px; }
    95% { height: 3px; }
}

@keyframes titleGlow {
    0%, 100% { text-shadow: 0 0 30px var(--primary-color), 0 0 60px var(--primary-color); }
    50% { text-shadow: 0 0 50px var(--primary-color), 0 0 100px var(--primary-color); }
}

@keyframes scrollLine {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(20px); opacity: 0.5; }
}

@keyframes particleFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) rotate(360deg); opacity: 0; }
}

@keyframes robotMove {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes armMoveLeft {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(-30deg); }
}

@keyframes armMoveRight {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(30deg); }
}

@keyframes corePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px var(--primary-color); }
    50% { transform: scale(1.2); box-shadow: 0 0 40px var(--primary-color); }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 15, 0.95);
        padding: 20px;
        gap: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 28px;
    }

    .title-highlight {
        letter-spacing: 4px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

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

    .vision-content {
        grid-template-columns: 1fr;
    }

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

    .section-title {
        font-size: 28px;
    }

    .footer-links {
        gap: 20px;
    }
}