/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: rgba(15, 153, 200, 1);
    --primary-light: rgba(15, 153, 200, 0.8);
    --primary-dark: rgba(15, 153, 200, 0.6);
    --secondary-color: rgba(147, 220, 63, 1);
    --secondary-light: rgba(147, 220, 63, 0.8);
    --secondary-dark: rgba(147, 220, 63, 0.6);
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Fredoka', 'Comic Neue', cursive, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

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

/* Game Navigation Bar */
.navbar.game-nav {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 0 0 30px 30px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: visible;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.navbar.game-nav::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #f9ca24);
    border-radius: 0 0 30px 30px;
    z-index: -1;
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.game-logo {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.game-logo:hover {
    transform: translateY(-2px) scale(1.05);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.game-logo i {
    color: #ffd700;
    font-size: 1.5rem;
    margin-right: 10px;
    animation: iconBounce 2s ease-in-out infinite;
}

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

.logo-sparkle {
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 1.2rem;
    animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.5; transform: scale(1) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.2) rotate(180deg); }
}

.game-menu {
    display: flex;
    gap: 15px;
    align-items: center;
}

.game-item {
    position: relative;
}

.game-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.game-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

.game-link:hover::before {
    width: 100%;
    height: 100%;
    border-radius: 25px;
}

.game-link:hover {
    transform: translateY(-3px) scale(1.05);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.link-icon {
    font-size: 1.2rem;
    z-index: 1;
    position: relative;
}

.link-text {
    z-index: 1;
    position: relative;
}

.link-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    pointer-events: none;
}

.game-link:hover .link-glow {
    width: 30px;
    height: 30px;
}

.game-hamburger {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.game-hamburger:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

.game-hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.burger-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.6) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    pointer-events: none;
}

.game-hamburger:hover .burger-glow {
    width: 40px;
    height: 40px;
}

.nav-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.nav-particles .particle {
    position: absolute;
    font-size: 1rem;
    animation: floatParticle 4s ease-in-out infinite;
    opacity: 0.7;
}

.nav-particles .particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.nav-particles .particle:nth-child(2) { left: 30%; animation-delay: 0.5s; }
.nav-particles .particle:nth-child(3) { left: 50%; animation-delay: 1s; }
.nav-particles .particle:nth-child(4) { left: 70%; animation-delay: 1.5s; }
.nav-particles .particle:nth-child(5) { left: 90%; animation-delay: 2s; }

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

/* Mobile responsive for game nav */
@media (max-width: 768px) {
    .game-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem;
        gap: 20px;
        transition: left 0.3s ease;
        z-index: 1000;
    }
    
    .game-menu.active {
        left: 0;
    }
    
    .game-item {
        width: 100%;
    }
    
    .game-link {
        width: 100%;
        justify-content: center;
        padding: 15px 20px;
        font-size: 1.1rem;
    }
}

/* Navigation */
.navbar {
    background: var(--bg-white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-logo i {
    margin-right: 10px;
    font-size: 2rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    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;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 100px 0;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(15, 153, 200, 0.05) 0%, 
        rgba(147, 220, 63, 0.05) 50%,
        rgba(15, 153, 200, 0.02) 100%);
}

/* Hero Background Elements */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.animated-bg-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: shapeFloat 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    background: linear-gradient(180deg, var(--secondary-color), var(--primary-color));
    top: 30%;
    right: 30%;
    animation-delay: 6s;
}

.shape-5 {
    width: 180px;
    height: 180px;
    background: linear-gradient(270deg, var(--primary-color), var(--secondary-color));
    bottom: 30%;
    right: 10%;
    animation-delay: 8s;
}

@keyframes shapeFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    25% { transform: translate(30px, -30px) rotate(90deg) scale(1.1); }
    50% { transform: translate(-20px, 20px) rotate(180deg) scale(0.9); }
    75% { transform: translate(20px, 30px) rotate(270deg) scale(1.05); }
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    animation: particleFloat 15s infinite linear;
}

.particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 30%; right: 20%; animation-delay: 2s; }
.particle:nth-child(3) { bottom: 40%; left: 30%; animation-delay: 4s; }
.particle:nth-child(4) { bottom: 20%; right: 10%; animation-delay: 6s; }
.particle:nth-child(5) { top: 50%; left: 50%; animation-delay: 8s; }
.particle:nth-child(6) { top: 70%; right: 30%; animation-delay: 10s; }
.particle:nth-child(7) { bottom: 60%; left: 20%; animation-delay: 12s; }
.particle:nth-child(8) { top: 10%; right: 40%; animation-delay: 14s; }

@keyframes particleFloat {
    0% { transform: translateY(0px) translateX(0px); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(50px); opacity: 0; }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    min-height: 80vh;
}

/* Hero Content Enhancements */
.hero-content {
    position: relative;
    z-index: 3;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: badgePulse 2s infinite;
    box-shadow: 0 10px 25px rgba(15, 153, 200, 0.3);
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.badge-icon {
    font-size: 1.2rem;
    animation: iconBounce 2s infinite;
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-family: 'Comic Neue', cursive;
    line-height: 1.6;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(15, 153, 200, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(15, 153, 200, 0.2);
    border-color: var(--primary-color);
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-family: 'Comic Neue', cursive;
}

/* Enhanced Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 35px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    font-family: 'Fredoka', cursive;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 15px 35px rgba(15, 153, 200, 0.3);
}

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

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(15, 153, 200, 0.4);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--primary-color);
    border: 3px solid var(--primary-color);
    box-shadow: 0 10px 25px rgba(15, 153, 200, 0.2);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(15, 153, 200, 0.3);
}

.btn-icon {
    font-size: 1.3rem;
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(5px);
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.95rem;
    font-family: 'Comic Neue', cursive;
}

.trust-item i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* Hero Visual Enhancements */
.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Code Rain Effect */
.code-rain {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    overflow: hidden;
    opacity: 0.3;
}

.code-line {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--primary-color);
    animation: codeFall 10s infinite linear;
    white-space: nowrap;
}

.code-line:nth-child(1) { left: 10%; animation-delay: 0s; }
.code-line:nth-child(2) { left: 30%; animation-delay: 2s; }
.code-line:nth-child(3) { left: 50%; animation-delay: 4s; }
.code-line:nth-child(4) { left: 70%; animation-delay: 6s; }
.code-line:nth-child(5) { left: 90%; animation-delay: 8s; }

@keyframes codeFall {
    0% { transform: translateY(-100px); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(600px); opacity: 0; }
}

/* Enhanced Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.code-block {
    position: absolute;
    padding: 12px 18px;
    border-radius: 12px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    animation: codeBlockFloat 4s infinite ease-in-out;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.html-block {
    background: linear-gradient(45deg, #e34c26, #f06529);
    color: white;
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.css-block {
    background: linear-gradient(45deg, #1572b6, #33a9dc);
    color: white;
    top: 25%;
    right: 10%;
    animation-delay: 0.8s;
}

.js-block {
    background: linear-gradient(45deg, #f7df1e, #323330);
    color: #323330;
    bottom: 35%;
    left: 15%;
    animation-delay: 1.6s;
}

.python-block {
    background: linear-gradient(45deg, #3776ab, #ffd43b);
    color: white;
    bottom: 25%;
    right: 5%;
    animation-delay: 2.4s;
}

.java-block {
    background: linear-gradient(45deg, #007396, #5382a1);
    color: white;
    top: 45%;
    left: 25%;
    animation-delay: 3.2s;
}

@keyframes codeBlockFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(2deg); }
    50% { transform: translateY(-8px) rotate(-1deg); }
    75% { transform: translateY(-20px) rotate(1deg); }
}

/* Enhanced Robot Character */
.character-container {
    position: relative;
    z-index: 2;
}

.character {
    position: relative;
    animation: characterFloat 4s infinite ease-in-out;
}

@keyframes characterFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(-2deg); }
    75% { transform: translateY(-15px) rotate(2deg); }
}

.robot {
    position: relative;
}

.robot-head {
    width: 140px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 70px 70px 50px 50px;
    position: relative;
    margin: 0 auto;
    box-shadow: 0 15px 40px rgba(15, 153, 200, 0.4);
    overflow: visible;
}

.robot-antenna {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 20px;
    background: var(--secondary-color);
    border-radius: 2px;
    animation: antennaGlow 2s infinite alternate;
}

.antenna-ball {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--secondary-color);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--secondary-color);
    animation: antennaPulse 1.5s infinite;
}

@keyframes antennaGlow {
    from { box-shadow: 0 0 5px var(--secondary-color); }
    to { box-shadow: 0 0 15px var(--secondary-color); }
}

@keyframes antennaPulse {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.2); }
}

.robot-eyes {
    display: flex;
    justify-content: space-around;
    padding: 30px 25px 0;
}

.eye {
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

.pupil {
    position: absolute;
    width: 15px;
    height: 15px;
    background: #333;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: eyeMovement 4s infinite;
}

@keyframes eyeMovement {
    0%, 100% { transform: translate(-50%, -50%); }
    25% { transform: translate(-30%, -50%); }
    75% { transform: translate(-70%, -50%); }
}

.robot-mouth {
    width: 50px;
    height: 25px;
    background: #333;
    border-radius: 0 0 25px 25px;
    margin: 15px auto;
    position: relative;
    animation: mouthTalk 3s infinite;
}

@keyframes mouthTalk {
    0%, 100% { height: 25px; }
    50% { height: 15px; }
}

.robot-body {
    width: 170px;
    height: 140px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    border-radius: 25px;
    margin: 15px auto 0;
    position: relative;
    box-shadow: 0 15px 40px rgba(147, 220, 63, 0.4);
    overflow: visible;
}

.robot-screen {
    width: 120px;
    height: 80px;
    background: #1a1a2e;
    border-radius: 15px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Courier New', monospace;
    font-size: 1.8rem;
    color: var(--secondary-color);
    border: 3px solid var(--secondary-color);
    overflow: hidden;
}

.screen-text {
    position: relative;
    z-index: 2;
    animation: screenGlow 2s infinite alternate;
}

.screen-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
    opacity: 0.3;
    animation: glowPulse 2s infinite;
}

@keyframes screenGlow {
    from { text-shadow: 0 0 10px var(--secondary-color); }
    to { text-shadow: 0 0 20px var(--secondary-color), 0 0 30px var(--secondary-color); }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.robot-arms {
    position: absolute;
    width: 100%;
    top: 20px;
}

.arm {
    position: absolute;
    width: 25px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    top: 0;
}

.arm.left {
    left: -35px;
    transform: rotate(-15deg);
    animation: leftArmWave 3s infinite;
}

.arm.right {
    right: -35px;
    transform: rotate(15deg);
    animation: rightArmWave 3s infinite 1.5s;
}

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

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

.robot-legs {
    position: absolute;
    width: 100%;
    bottom: -40px;
    display: flex;
    justify-content: space-around;
    padding: 0 35px;
}

.leg {
    width: 30px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 15px;
    animation: legMove 2s infinite alternate;
}

.leg.left {
    animation-delay: 0s;
}

.leg.right {
    animation-delay: 1s;
}

@keyframes legMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(-5px); }
}

.character-shadow {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 20px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: shadowMove 4s infinite ease-in-out;
}

@keyframes shadowMove {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.1); }
}

/* Interactive Floating Icons */
.interactive-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    animation: iconFloat 6s infinite ease-in-out;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.floating-icon:hover {
    transform: scale(1.3) rotate(10deg);
}

.icon-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.icon-2 {
    top: 20%;
    right: 15%;
    animation-delay: 1.2s;
}

.icon-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 2.4s;
}

.icon-4 {
    bottom: 15%;
    right: 25%;
    animation-delay: 3.6s;
}

.icon-5 {
    top: 50%;
    right: 10%;
    animation-delay: 4.8s;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(5deg); }
    50% { transform: translateY(-10px) rotate(-5deg); }
    75% { transform: translateY(-30px) rotate(3deg); }
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced Features Section */
.features {
    padding: 60px 0 120px 0;
    background: linear-gradient(135deg, 
        rgba(147, 220, 63, 0.03) 0%, 
        rgba(15, 153, 200, 0.03) 50%,
        rgba(147, 220, 63, 0.02) 100%);
    position: relative;
    overflow: hidden;
}

/* Features Background */
.features-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.feature-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.feature-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    animation: featureShapeFloat 25s infinite ease-in-out;
}

.feature-shape.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.feature-shape.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    bottom: -50px;
    right: -50px;
    animation-delay: 5s;
}

.feature-shape.shape-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    top: 50%;
    right: 10%;
    animation-delay: 10s;
}

@keyframes featureShapeFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    33% { transform: translate(30px, -30px) rotate(120deg) scale(1.1); }
    66% { transform: translate(-20px, 20px) rotate(240deg) scale(0.9); }
}

/* Features Header */
.features-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: badgePulse 2s infinite;
    box-shadow: 0 10px 25px rgba(15, 153, 200, 0.3);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-family: 'Comic Neue', cursive;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Enhanced Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid rgba(15, 153, 200, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(15, 153, 200, 0.15);
    border-color: var(--primary-color);
}

.feature-card[data-feature="gaming"]:hover {
    border-color: #e34c26;
}

.feature-card[data-feature="rewards"]:hover {
    border-color: #ffd700;
}

.feature-card[data-feature="community"]:hover {
    border-color: #3776ab;
}

.feature-card[data-feature="learning"]:hover {
    border-color: var(--secondary-color);
}

/* Feature Visual */
.feature-visual {
    position: relative;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(15, 153, 200, 0.05) 0%, 
        rgba(147, 220, 63, 0.05) 100%);
    overflow: hidden;
}

.feature-icon-wrapper {
    position: relative;
    z-index: 2;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 20px rgba(15, 153, 200, 0.3);
}

.feature-card[data-feature="gaming"] .feature-icon {
    background: linear-gradient(45deg, #e34c26, #f06529);
}

.feature-card[data-feature="rewards"] .feature-icon {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
}

.feature-card[data-feature="community"] .feature-icon {
    background: linear-gradient(45deg, #3776ab, #4a90e2);
}

.feature-card[data-feature="learning"] .feature-icon {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
}

.icon-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    opacity: 0.1;
    z-index: 1;
    animation: iconBgPulse 3s infinite;
}

@keyframes iconBgPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

.icon-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.icon-particles .particle {
    position: absolute;
    font-size: 1.2rem;
    animation: particleFloat 4s infinite ease-in-out;
    opacity: 0.7;
}

.icon-particles .particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.icon-particles .particle:nth-child(2) {
    top: 30%;
    right: 20%;
    animation-delay: 1s;
}

.icon-particles .particle:nth-child(3) {
    bottom: 20%;
    left: 50%;
    animation-delay: 2s;
}

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

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 15px 40px rgba(15, 153, 200, 0.4);
}

/* Feature Content */
.feature-content {
    padding: 1.2rem;
    text-align: left;
}

.feature-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.feature-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-family: 'Comic Neue', cursive;
    line-height: 1.4;
    font-size: 0.9rem;
}

/* Feature Stats */
.feature-stats {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.feature-stats .stat {
    flex: 1;
    text-align: center;
    padding: 0.5rem;
    background: rgba(15, 153, 200, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(15, 153, 200, 0.1);
}

.stat-number {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.2rem;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-light);
    font-family: 'Comic Neue', cursive;
}

/* Feature Button */
.feat.course-btn {
    width: 100%;
    padding: 12px 24px;
    margin-top: auto;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Fredoka', cursive;
    display: inline-block;
    text-decoration: none;
    font-size: 0.9rem;
    text-align: center;
}

.feature-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(15, 153, 200, 0.3);
}

/* Features CTA Section */
.features-cta {
    margin-top: 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 30px;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    box-shadow: 0 20px 50px rgba(15, 153, 200, 0.3);
    position: relative;
    overflow: hidden;
}

.features-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    background-size: 100px 100px;
    animation: float 20s infinite linear;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-family: 'Comic Neue', cursive;
}

.cta-primary, .cta-secondary {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Fredoka', cursive;
    margin-right: 1rem;
}

.cta-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.cta-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.cta-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.cta-visual {
    position: relative;
    z-index: 2;
}

.cta-icons {
    display: flex;
    gap: 1rem;
}

.cta-icon {
    font-size: 2.5rem;
    animation: ctaIconFloat 3s infinite ease-in-out;
}

.cta-icon:nth-child(1) { animation-delay: 0s; }
.cta-icon:nth-child(2) { animation-delay: 0.5s; }
.cta-icon:nth-child(3) { animation-delay: 1s; }
.cta-icon:nth-child(4) { animation-delay: 1.5s; }

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

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    font-size: 1.1rem;
    font-family: 'Comic Neue', cursive;
}

/* Courses Section */
.courses {
    padding: 80px 0;
    background: linear-gradient(135deg, 
        rgba(147, 220, 63, 0.05) 0%, 
        rgba(15, 153, 200, 0.05) 100%);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
    align-items: stretch;
}

.course-card {
    background: var(--bg-white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 153, 200, 0.15);
    border-color: rgba(15, 153, 200, 0.2);
}

.course-card.html { border-top: 5px solid #e34c26; }
.course-card.css { border-top: 5px solid #1572b6; }
.course-card.python { border-top: 5px solid #3776ab; }
.course-card.javascript { border-top: 5px solid #f7df1e; }
.course-card.java { border-top: 5px solid #007396; }
.course-card.scratch { border-top: 5px solid #4a4a4a; }

.course-header {
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, rgba(15, 153, 200, 0.03), rgba(147, 220, 63, 0.03));
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.course-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 8px 16px rgba(15, 153, 200, 0.2);
    flex-shrink: 0;
}

.course-card.html .course-icon { background: linear-gradient(45deg, #e34c26, #f06529); }
.course-card.css .course-icon { background: linear-gradient(45deg, #1572b6, #33a9dc); }
.course-card.python .course-icon { background: linear-gradient(45deg, #3776ab, #ffd43b); }
.course-card.javascript .course-icon { background: linear-gradient(45deg, #f7df1e, #323330); color: #323330; }
.course-card.java .course-icon { background: linear-gradient(45deg, #007396, #5382a1); }
.course-card.scratch .course-icon { background: linear-gradient(45deg, #4a4a4a, #8a8a8a); }

.course-header h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    flex: 1;
}

.course-level {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.course-content {
    padding: 0.75rem 2.5rem 0.75rem 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-content p {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-family: 'Comic Neue', cursive;
    padding: 0.1rem 0;
    line-height: 1.4;
}

.course-topics {
    list-style: none;
    margin-bottom: 0.75rem;
    padding: 0.1rem 0;
}

.course-topics li {
    padding: 6px 0 6px 25px;
    color: var(--text-dark);
    font-size: 1rem;
    position: relative;
    margin-bottom: 0.1rem;
}

.course-topics li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.course-stats {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    padding: 0.1rem 0;
    width: 100%;
}

.course-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.course-btn {
    width: calc(100% - 5rem);
    padding: 12px 24px;
    margin: 0.1rem 2.5rem 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Fredoka', cursive;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 12px rgba(15, 153, 200, 0.3);
    position: relative;
    overflow: hidden;
}

.course-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(15, 153, 200, 0.4);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

/* Games Section */
.games {
    padding: 80px 0;
    background: var(--bg-white);
}

/* Games Header */
.games-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.interactive-title {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.title-word {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.title-word:hover {
    transform: translateY(-5px) scale(1.1);
    filter: brightness(1.2);
}

.title-word::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.title-word:hover::after {
    transform: scaleX(1);
}

/* Title Game Container */
.title-game-container {
    max-width: 600px;
    margin: 0 auto 3rem;
    background: linear-gradient(135deg, 
        rgba(15, 153, 200, 0.05) 0%, 
        rgba(147, 220, 63, 0.05) 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(15, 153, 200, 0.1);
    position: relative;
    overflow: hidden;
}

.title-game-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(15, 153, 200, 0.1)"/><circle cx="80" cy="80" r="1" fill="rgba(147, 220, 63, 0.1)"/><circle cx="50" cy="50" r="1" fill="rgba(15, 153, 200, 0.1)"/></svg>') repeat;
    background-size: 50px 50px;
    animation: float 20s infinite linear;
}

.game-instructions {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.game-instructions h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.game-instructions p {
    color: var(--text-light);
    font-family: 'Comic Neue', cursive;
    font-size: 1rem;
}

/* Word Scramble Game */
.word-scramble-game {
    position: relative;
    z-index: 2;
}

.scrambled-word {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.letter-tile {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(15, 153, 200, 0.3);
    font-family: 'Fredoka', cursive;
    position: relative;
    overflow: hidden;
}

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

.letter-tile:hover::before {
    left: 100%;
}

.letter-tile:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(15, 153, 200, 0.4);
}

.letter-tile.selected {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    transform: scale(0.9);
    opacity: 0.7;
}

.letter-tile.used {
    opacity: 0.3;
    cursor: not-allowed;
    transform: scale(0.8);
}

.word-display {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.letter-slot {
    width: 50px;
    height: 50px;
    border: 3px dashed var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    background: rgba(255, 255, 255, 0.8);
    font-family: 'Fredoka', cursive;
    transition: all 0.3s ease;
}

.letter-slot.filled {
    background: linear-gradient(45deg, rgba(15, 153, 200, 0.1), rgba(147, 220, 63, 0.1));
    border-color: var(--secondary-color);
    animation: slotFilled 0.5s ease;
}

@keyframes slotFilled {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.game-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.game-btn-small {
    padding: 10px 20px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Fredoka', cursive;
    box-shadow: 0 5px 15px rgba(15, 153, 200, 0.3);
}

.game-btn-small:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(15, 153, 200, 0.4);
}

.game-btn-small:active {
    transform: translateY(-1px);
}

.game-message {
    text-align: center;
    margin-bottom: 1rem;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-family: 'Comic Neue', cursive;
    font-size: 1.1rem;
}

.game-message.success {
    color: var(--secondary-color);
    animation: messageSuccess 0.5s ease;
}

.game-message.error {
    color: #e74c3c;
    animation: messageError 0.5s ease;
}

.game-message.hint {
    color: var(--primary-color);
    animation: messageHint 0.5s ease;
}

@keyframes messageSuccess {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes messageError {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

@keyframes messageHint {
    0% { transform: translateY(-10px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.game-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-weight: 600;
    font-family: 'Fredoka', cursive;
}

.score, .streak {
    background: rgba(15, 153, 200, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 2px solid rgba(15, 153, 200, 0.2);
    color: var(--text-dark);
}

.score span, .streak span {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

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

.game-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.game-card[data-game="puzzle"]:hover {
    border-top: 5px solid #e74c3c;
}

.game-card[data-game="bug"]:hover {
    border-top: 5px solid #f39c12;
}

.game-card[data-game="robot"]:hover {
    border-top: 5px solid #9b59b6;
}

.game-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.game-preview {
    font-size: 4rem;
    color: white;
    animation: gameFloat 3s infinite ease-in-out;
}

@keyframes gameFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.game-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.game-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-family: 'Comic Neue', cursive;
}

.game-btn {
    width: calc(100% - 2rem);
    margin: 0 1rem 1.5rem;
    padding: 12px 20px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Fredoka', cursive;
}

.game-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(15, 153, 200, 0.3);
}

/* Mini Game Containers */
.mini-game-container {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 10;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.game-card.active .mini-game-container {
    display: block;
    max-height: 600px;
    overflow-y: auto;
}

.game-header {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(15, 153, 200, 0.05), rgba(147, 220, 63, 0.05));
}

.game-header h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.game-header p {
    color: var(--text-light);
    font-family: 'Comic Neue', cursive;
    font-size: 0.9rem;
}

/* Code Puzzle Game */
.puzzle-workspace {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.code-blocks-source {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.draggable-block {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem;
    border-radius: 10px;
    cursor: move;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(15, 153, 200, 0.3);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.draggable-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(15, 153, 200, 0.4);
}

.draggable-block.dragging {
    opacity: 0.5;
    transform: scale(1.05);
}

.draggable-block.selected {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.6);
    border: 3px solid #ff6b6b;
}

.drop-zone {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.drop-slot {
    width: 150px;
    min-height: 60px;
    border: 3px dashed var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-family: 'Comic Neue', cursive;
    transition: all 0.3s ease;
    background: rgba(15, 153, 200, 0.05);
}

.drop-slot.drag-over {
    background: rgba(15, 153, 200, 0.2);
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

.drop-slot.filled {
    border-style: solid;
    background: linear-gradient(45deg, rgba(15, 153, 200, 0.1), rgba(147, 220, 63, 0.1));
    color: var(--text-dark);
}

/* Bug Hunter Game */
.bug-workspace {
    padding: 1.5rem;
}

.code-editor {
    background: #1a1a2e;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #fff;
    overflow-x: auto;
}

.code-line {
    display: block;
    line-height: 1.5;
}

.bug {
    background: rgba(231, 76, 60, 0.3);
    border: 2px solid #e74c3c;
    border-radius: 3px;
    padding: 2px 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.bug:hover {
    background: rgba(231, 76, 60, 0.5);
    transform: scale(1.05);
}

.bug.fixed {
    background: rgba(46, 204, 113, 0.3);
    border-color: #2ecc71;
    text-decoration: line-through;
    cursor: default;
}

.bug::before {
    content: '🐛';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 0.8rem;
    animation: bugWiggle 2s infinite;
}

@keyframes bugWiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

.bug-found {
    text-align: center;
    font-weight: 600;
    color: var(--text-dark);
    font-family: 'Fredoka', cursive;
}

/* Robot Commander Game */
.robot-workspace {
    padding: 1.5rem;
}

.robot-grid {
    display: grid;
    grid-template-columns: repeat(4, 60px);
    grid-template-rows: repeat(3, 60px);
    gap: 5px;
    margin: 0 auto 1.5rem;
    background: rgba(15, 153, 200, 0.1);
    padding: 10px;
    border-radius: 10px;
    width: fit-content;
}

.grid-cell {
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.grid-cell.start {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-color: var(--secondary-color);
}

.grid-cell.goal {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    border-color: var(--primary-color);
}

.grid-cell.obstacle {
    background: #95a5a6;
    border-color: #7f8c8d;
}

.grid-cell.robot-path {
    background: rgba(15, 153, 200, 0.2);
    border-color: var(--secondary-color);
}

.command-panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
    max-width: 300px;
    margin: 0 auto 1rem;
}

.command-btn {
    padding: 0.8rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Fredoka', cursive;
}

.command-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(15, 153, 200, 0.3);
}

.command-btn.execute {
    grid-column: span 2;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
}

.command-btn.reset {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
}

.command-sequence {
    margin-bottom: 1rem;
}

.sequence-display {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(15, 153, 200, 0.05);
    border-radius: 10px;
    min-height: 50px;
    align-items: center;
}

.empty-slot, .command-slot {
    width: 40px;
    height: 40px;
    border: 2px dashed var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: white;
    transition: all 0.3s ease;
}

.command-slot {
    border-style: solid;
    background: linear-gradient(45deg, rgba(15, 153, 200, 0.1), rgba(147, 220, 63, 0.1));
}

/* Game Controls */
.puzzle-controls, .bug-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 0 1.5rem 1.5rem;
    flex-wrap: wrap;
}

/* About Section */
.about {
    padding: 80px 0;
    background: linear-gradient(135deg, 
        rgba(15, 153, 200, 0.05) 0%, 
        rgba(147, 220, 63, 0.05) 100%);
}

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

.about-text p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-family: 'Comic Neue', cursive;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-light);
    font-size: 1rem;
    font-family: 'Comic Neue', cursive;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.classroom-scene {
    position: relative;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: rotate 20s infinite linear;
}

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

.kid, .teacher {
    position: absolute;
    font-size: 3rem;
    animation: bounce 2s infinite ease-in-out;
}

.kid1 { top: 20%; left: 20%; animation-delay: 0s; }
.kid2 { top: 20%; right: 20%; animation-delay: 0.5s; }
.kid3 { bottom: 20%; left: 30%; animation-delay: 1s; }
.teacher { bottom: 20%; right: 30%; animation-delay: 1.5s; }

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--text-dark), #1a252f);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.footer-section p {
    color: #b8c5d6;
    margin-bottom: 1rem;
    font-family: 'Comic Neue', cursive;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #b8c5d6;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Comic Neue', cursive;
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
    display: inline-block;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: 'Fredoka', cursive;
}

.newsletter-form input::placeholder {
    color: #b8c5d6;
}

.newsletter-form button {
    padding: 10px 20px;
    background: var(--secondary-color);
    color: var(--text-dark);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Fredoka', cursive;
}

.newsletter-form button:hover {
    background: var(--primary-color);
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #b8c5d6;
    font-family: 'Comic Neue', cursive;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .courses-grid,
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .features-cta {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .cta-primary, .cta-secondary {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .features,
    .courses,
    .games,
    .about {
        padding: 60px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Clean Features Showcase */
.features {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.features-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.section-badge .badge-icon {
    font-size: 1.2rem;
}

.features-header .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-family: 'Fredoka', sans-serif;
}

.features-header .section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.features-showcase {
    margin-bottom: 60px;
}

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

.showcase-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.card-visual {
    position: relative;
    margin-bottom: 20px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    z-index: 2;
    position: relative;
}

.icon-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0.1;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.floating-particles .particle {
    position: absolute;
    font-size: 1rem;
    animation: particleFloat 3s ease-in-out infinite;
}

.floating-particles .particle:nth-child(1) { top: 0; left: 20%; animation-delay: 0s; }
.floating-particles .particle:nth-child(2) { top: 10px; right: 20%; animation-delay: 0.5s; }
.floating-particles .particle:nth-child(3) { bottom: 0; left: 50%; animation-delay: 1s; }

@keyframes particleFloat {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(-10px); opacity: 1; }
}

.card-content h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: 'Fredoka', sans-serif;
}

.card-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.feature-tag {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.course-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    font-size: 0.9rem;
    text-align: center;
}

.card-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    width: 100%;
}

.card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(15, 153, 200, 0.3);
}

.features-cta {
    text-align: center;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cta-content h3 {
    color: var(--text-dark);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: 'Fredoka', sans-serif;
}

.cta-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(15, 153, 200, 0.3);
}

.cta-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.cta-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Mobile responsive for features showcase */
@media (max-width: 768px) {
    .features {
        padding: 60px 0;
    }
    
    .features-header .section-title {
        font-size: 2rem;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-primary,
    .cta-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Simple Contact Section */
.contact {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-header .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-family: 'Fredoka', sans-serif;
}

.contact-header .section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form-container {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.enquiry-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
    background: white;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    padding-right: 40px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

.form-message {
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    margin-top: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
}

.form-message.show {
    opacity: 1;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.info-item span {
    color: var(--text-dark);
    font-weight: 500;
}

/* Mobile responsive for simple contact */
@media (max-width: 768px) {
    .contact {
        padding: 60px 0;
    }
    
    .contact-header .section-title {
        font-size: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Course Detail Page */
.course-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 120px 0 80px 0;
    position: relative;
    overflow: hidden;
}

.course-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.course-hero-content {
    position: relative;
    z-index: 2;
}

.course-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.course-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.course-breadcrumb a:hover {
    color: white;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-current {
    color: white;
    font-weight: 600;
}

.course-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 25px;
    margin-bottom: 20px;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
}

.course-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    font-family: 'Fredoka', sans-serif;
    line-height: 1.2;
}

.course-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 800px;
}

.course-meta {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-weight: 500;
}

.meta-item i {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

.course-detail-content {
    padding: 80px 0;
    background: #f8f9fa;
}

.course-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.course-main {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.course-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    border-bottom: 2px solid #e1e8ed;
    padding-bottom: 10px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-pane h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-family: 'Fredoka', sans-serif;
}

.learning-outcomes {
    margin-bottom: 40px;
}

.outcome-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.outcome-item:hover {
    transform: translateX(5px);
}

.outcome-item i {
    color: var(--success-color);
    font-size: 1.2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.feature-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
transform: translateY(-5px);
}

.feat.course-icon {
width: 64px;
height: 64px;
background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
border-radius: 18px;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 1.8rem;
box-shadow: 0 8px 16px rgba(15, 153, 200, 0.2);
flex-shrink: 0;
}

.feature-text h4 {
font-size: 1.1rem;
font-weight: 600;
color: var(--text-dark);
margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.feature-text p {
    color: var(--text-light);
    line-height: 1.5;
}

.curriculum-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.curriculum-module {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
}

.module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.module-header h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

.module-duration {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
}

.module-lessons {
    list-style: none;
    padding: 20px 25px;
    margin: 0;
}

.module-lessons li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #e1e8ed;
    color: var(--text-dark);
}

.module-lessons li:last-child {
    border-bottom: none;
}

.module-lessons i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

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

.project-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.project-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.project-content p {
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 20px;
}

.project-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    background: #e3f2fd;
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.reviews-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.review-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.reviewer-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.reviewer-details p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.review-rating {
    color: #ffd700;
}

.review-content {
    color: var(--text-dark);
    line-height: 1.6;
}

.course-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.enrollment-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 100px;
}

.course-price {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
}

.price-original {
    font-size: 1.2rem;
    color: var(--text-light);
    text-decoration: line-through;
    margin-right: 10px;
}

.price-current {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ff6b6b;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.enroll-btn {
    width: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

.enroll-btn:hover {
    transform: translateY(-2px);
}

.enrollment-features {
    margin-bottom: 25px;
}

.enroll-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: var(--text-dark);
    font-weight: 500;
}

.enroll-feature i {
    color: var(--success-color);
}

.course-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid #e1e8ed;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
}

.related-courses {
    padding: 80px 0;
    background: white;
}

.related-courses h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 50px;
    font-family: 'Fredoka', sans-serif;
}

.related-courses .course-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.related-courses .course-image {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem auto;
}

.related-courses .course-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.related-courses .course-card p {
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
}

.related-courses .course-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.related-courses .course-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-family: 'Fredoka', cursive;
}

.related-courses .course-btn:hover {
    transform: translateY(-2px);
}

/* Team Section */
.team {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(15, 153, 200, 0.05), rgba(147, 220, 63, 0.05));
}

.team .section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    font-family: 'Comic Neue', cursive;
}

.team-grid {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.team-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.team-member {
    min-width: 320px;
    flex-shrink: 0;
    scroll-snap-align: center;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(15, 153, 200, 0.2);
}

.member-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    position: relative;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.member-info h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-family: 'Fredoka', cursive;
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.member-bio {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-family: 'Comic Neue', cursive;
}

.member-skills {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.member-skills span {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Blogs Section */
.blogs {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(15, 153, 200, 0.02), rgba(147, 220, 63, 0.02));
}

.blogs .section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    font-family: 'Comic Neue', cursive;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

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

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(15, 153, 200, 0.2);
}

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

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Fredoka', cursive;
}

.blog-content {
    padding: 2rem;
}

.blog-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-family: 'Fredoka', cursive;
    line-height: 1.4;
}

.blog-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-family: 'Comic Neue', cursive;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.blog-author {
    color: var(--primary-color);
    font-weight: 600;
}

.blog-date {
    color: var(--text-light);
}

.blog-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-family: 'Fredoka', cursive;
    transition: all 0.3s ease;
    position: relative;
}

.blog-link::after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.blog-link:hover::after {
    transform: translateX(5px);
}

.blog-cta {
    text-align: center;
    margin-top: 3rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Fredoka', cursive;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(15, 153, 200, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(15, 153, 200, 0.4);
}

/* Mobile responsive for course detail */
@media (max-width: 768px) {
    .course-hero {
        padding: 100px 0 60px 0;
    }
    
    .course-title {
        font-size: 2rem;
    }
    
    .course-description {
        font-size: 1rem;
    }
    
    .course-meta {
        gap: 15px;
    }
    
    .course-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .course-main {
        padding: 25px;
    }
    
    .course-tabs {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .tab-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .features-grid,
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .enrollment-card {
        position: static;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

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

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(15, 153, 200, 0.3);
}
