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

:root {
    --primary-blue: #2563eb;
    --accent-orange: #ff6b35;
    --accent-purple: #8b5cf6;
    --pure-white: #ffffff;
    --light-gray: #f8fafc;
    --lighter-gray: #f1f5f9;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --soft-blue: #dbeafe;
    --soft-orange: #fed7aa;
    /* Updated Orange Gradients */
    --gradient-bright: linear-gradient(135deg, #ff8a50 0%, #ff6b35 50%, #ff5722 100%);
    --gradient-soft: linear-gradient(135deg, #ffe0b3 0%, #ffcc80 100%);
    --gradient-gaming: linear-gradient(45deg, #ff6b35, #ff8a50, #ff9800);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 10px 40px rgba(0, 0, 0, 0.12);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--pure-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation */
nav {
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 1rem 5%;
    transition: var(--transition);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-gaming);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-links a:hover {
    color: var(--accent-orange);
    background: var(--light-gray);
}

.nav-links a.active {
    color: var(--accent-orange) !important;
    background: var(--light-gray) !important;
}

.nav-cta {
    background: var(--gradient-gaming) !important;
    color: white !important;
    padding: 0.7rem 1.8rem !important;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    background: var(--light-gray) !important;
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--pure-white) 0%, var(--light-gray) 50%, #fff3e0 100%);
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -20%;
    width: 60%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 152, 80, 0.15) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    opacity: 0.6;
    animation: floatShapes 20s ease-in-out infinite;
}

.shape:nth-child(1) {
    top: 20%;
    left: 10%;
    color: #ff6b35;
    font-size: 2rem;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    top: 60%;
    right: 15%;
    color: #ff8a50;
    font-size: 1.5rem;
    animation-delay: 3s;
}

.shape:nth-child(3) {
    bottom: 30%;
    left: 20%;
    color: #ff9800;
    font-size: 2.5rem;
    animation-delay: 6s;
}

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

@keyframes floatShapes {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(20px) rotate(240deg); }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-text .highlight {
    background: var(--gradient-gaming);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    color: var(--text-light);
}

.button-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: var(--gradient-gaming);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.4);
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: var(--pure-white);
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--accent-orange);
    border-radius: 30px;
    transition: var(--transition);
}

.secondary-button:hover {
    background: var(--accent-orange);
    color: white;
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
    animation: fadeInRight 1s ease-out;
}

.hero-card {
    background: var(--pure-white);
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: var(--shadow-medium);
    position: relative;
    border: 1px solid rgba(255, 152, 80, 0.2);
}

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

.dashboard-preview {
    height: 150px;
    background: var(--gradient-soft);
    border-radius: 15px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d84315;
    font-size: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat {
    text-align: center;
    padding: 1rem;
    background: var(--gradient-soft);
    border-radius: 12px;
}

.stat h3 {
    font-size: 2rem;
    color: #e65100;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

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

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

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

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

/* About Section */
.about {
    padding: 6rem 5%;
    background: var(--pure-white);
}

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

.about-text h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-features {
    list-style: none;
    margin-top: 2rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--text-dark);
}

.about-features i {
    background: var(--gradient-gaming);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.about-visual {
    background: var(--gradient-soft);
    padding: 3rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: var(--shadow-light);
}

.about-visual i {
    font-size: 4rem;
    color: #e65100;
    margin-bottom: 1rem;
}

.about-visual h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.about-visual p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Services Section */
.services {
    padding: 6rem 5%;
    background: var(--pure-white);
}

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

.service-card {
    background: var(--gradient-gaming);
    padding: 2.5rem;
    border-radius: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    background: linear-gradient(45deg, #ff8a65, #ff6b35, #ff5722);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 600;
}

.service-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

/* Games Section */
.games {
    padding: 6rem 5%;
    background: var(--light-gray);
}

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

.game-card {
    background: var(--pure-white);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(255, 152, 80, 0.2);
}

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

.game-image {
    height: 200px;
    background: var(--gradient-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.game-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.2));
}

.game-info {
    padding: 2rem;
}

.game-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-weight: 600;
}

.game-info p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.game-stats {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.game-stat {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.game-stat i {
    color: var(--accent-orange);
}
/* Video Showcase Section */
.video-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.video-description {
    flex: 1;
    min-width: 300px;
}

.video-description h3 {
    font-size: 1.8rem;
    color: #FF6B35;
    margin-bottom: 1rem;
}

.video-description p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

.video-box {
    flex: 1;
    min-width: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.15);
    background: #000;
}

.video-box video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 15px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .video-row {
        flex-direction: column;
    }

    .video-description, .video-box {
        width: 100%;
    }

    .video-description h3 {
        font-size: 1.5rem;
    }

    .video-description p {
        font-size: 0.95rem;
    }
}

/* Educational Content Section */
.educational-content {
    padding: 6rem 5%;
    background: var(--gradient-soft);
}

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

.educational-text h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.educational-text p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.educational-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--pure-white);
    border-radius: 15px;
    box-shadow: var(--shadow-light);
}

.feature-item i {
    background: var(--gradient-gaming);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

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

.feature-item p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

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

.character-showcase {
    background: var(--pure-white);
    padding: 3rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(255, 152, 80, 0.2);
}

.character-showcase i {
    font-size: 5rem;
    color: #e65100;
    margin-bottom: 1.5rem;
    display: block;
}

.character-showcase h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.character-showcase p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--gradient-gaming);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 25px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* Projects Portfolio Section */
.projects-portfolio {
    padding: 6rem 5%;
    background: var(--light-gray);
}

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

.project-card {
    background: var(--pure-white);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(255, 152, 80, 0.2);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.project-image {
    height: 180px;
    background: var(--gradient-gaming);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    position: relative;
}

.project-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.2));
}

.project-info {
    padding: 2rem;
}

.project-info h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.project-info p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    background: var(--gradient-soft);
    color: #e65100;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255, 152, 80, 0.3);
}

/* Contact Section */
.contact {
    padding: 6rem 5%;
    background: var(--light-gray);
}

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

.contact-info {
    background: var(--pure-white);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: var(--shadow-light);
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--gradient-soft);
    border-radius: 15px;
}

.contact-item i {
    background: var(--gradient-gaming);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

.contact-form {
    background: var(--pure-white);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: var(--shadow-light);
}

.contact-form h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--lighter-gray);
    border-radius: 12px;
    background: var(--pure-white);
    color: var(--text-dark);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

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

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.submit-btn {
    background: var(--gradient-gaming);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Footer */
footer {
    padding: 4rem 5% 2rem;
    background: var(--text-dark);
    color: white;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

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

.footer-section p {
    opacity: 0.9;
    line-height: 1.7;
}

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

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

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-section a:hover {
    opacity: 1;
    color: var(--accent-orange);
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--gradient-gaming);
    border-radius: 50%;
    color: white !important;
    opacity: 1 !important;
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Animations */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease-out;
}

.fade-in.hidden {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.section-hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.section-visible {
    opacity: 1;
    transform: translateY(0);
}

.skip-link:focus {
    top: 6px !important;
}

*:focus {
    outline: 2px solid var(--accent-orange);
    outline-offset: 2px;
}

.nav-links a:focus,
.primary-button:focus,
.secondary-button:focus,
.submit-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.3);
}

/* MOBILE RESPONSIVE STYLES - ADDED WITHOUT CHANGING DESKTOP */

/* Large Mobile / Tablet Responsive */
@media (max-width: 968px) {
    .mobile-toggle {
        display: block;
        min-height: 44px;
        min-width: 44px;
        padding: 0.5rem;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--pure-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-medium);
        border-radius: 0 0 20px 20px;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: 1rem;
        text-align: center;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-bottom: 1px solid var(--lighter-gray);
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }
    
    .nav-cta {
        margin-top: 1rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .about-content,
    .contact-content,
    .educational-content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .about-features li {
        justify-content: center;
        text-align: left;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .video-grid,
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .video-row {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info h2,
    .contact-form h2 {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Medium Mobile Responsive */
@media (max-width: 768px) {
    nav {
        padding: 0.75rem 3%;
    }
    
    .hero {
        padding: 100px 3% 4rem;
        min-height: 100vh;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    .button-group {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .primary-button,
    .secondary-button {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        min-height: 44px;
        padding: 0.75rem 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .game-image {
        height: 180px;
    }
    
    .game-info {
        padding: 1.5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-info {
        padding: 1.5rem;
    }
    
    .about,
    .services,
    .games,
    .educational-content,
    .projects-portfolio,
    .contact {
        padding: 4rem 3%;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .contact-info,
    .contact-form {
        padding: 2rem;
    }
    
    .hero-card {
        padding: 2rem;
    }
    
    .dashboard-preview {
        height: 120px;
        font-size: 2.5rem;
    }
    
    .character-showcase {
        padding: 2rem;
    }
    
    .feature-item {
        padding: 1.5rem;
    }
}

/* Small Mobile Responsive */
@media (max-width: 640px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat {
        padding: 0.75rem;
    }
    
    .stat h3 {
        font-size: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .about-text h2,
    .contact-info h2,
    .contact-form h2 {
        font-size: 2rem;
    }
    
    .educational-text h2 {
        font-size: 2rem;
    }
    
    .social-links {
        justify-content: center;
        gap: 1rem;
    }
    
    .social-links a {
        width: 44px;
        height: 44px;
    }
}

/* Extra Small Mobile Responsive */
@media (max-width: 480px) {
    nav {
        padding: 0.5rem 1rem;
    }
    
    .nav-container {
        padding: 0;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 100px 1rem 3rem;
    }
    
    .hero-text h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .hero-text p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-card {
        padding: 1.5rem;
    }
    
    .dashboard-preview {
        height: 100px;
        font-size: 2rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .service-card h3 {
        font-size: 1.25rem;
    }
    
    .game-info {
        padding: 1rem;
    }
    
    .game-info h3 {
        font-size: 1.2rem;
    }
    
    .project-info {
        padding: 1rem;
    }
    
    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .about,
    .services,
    .games,
    .educational-content,
    .projects-portfolio,
    .contact {
        padding: 3rem 1rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .character-showcase {
        padding: 1.5rem;
    }
    
    .character-showcase i {
        font-size: 3.5rem;
        margin-bottom: 1rem;
    }
    
    .about-visual {
        padding: 2rem;
    }
    
    .about-visual i {
        font-size: 3rem;
    }
    
    .feature-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .feature-item i {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Touch-friendly improvements for all mobile devices */
@media (max-width: 768px) {
    /* Ensure all interactive elements are touch-friendly */
    .nav-links a,
    .primary-button,
    .secondary-button,
    .cta-button,
    .submit-btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .mobile-toggle {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Better form experience on mobile */
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 1rem;
        border-radius: 8px;
    }
    
    .form-group textarea {
        min-height: 120px;
        resize: vertical;
    }
    
    /* Mobile performance optimizations */
    * {
        -webkit-tap-highlight-color: rgba(255, 107, 53, 0.2);
        -webkit-touch-callout: none;
    }
    
    a, button {
        -webkit-tap-highlight-color: rgba(255, 107, 53, 0.3);
    }
    
    /* Prevent text selection on UI elements */
    nav,
    .mobile-toggle,
    .nav-links,
    button {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    
    /* Mobile image optimization */
    .game-image img,
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Mobile video improvements */
    .video-box video {
        width: 100%;
        height: auto;
        max-height: 60vh;
    }
}

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 80px 2rem 2rem;
    }
    
    .hero-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        align-items: center;
        text-align: left;
    }
    
    .button-group {
        flex-direction: row;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .primary-button,
    .secondary-button {
        min-width: 140px;
        width: auto;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }
    
    .stat {
        padding: 0.5rem;
    }
    
    .stat h3 {
        font-size: 1rem;
    }
    
    .stat p {
        font-size: 0.7rem;
    }
}

/* Performance optimizations for mobile */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.3);
        --shadow-medium: 0 10px 40px rgba(0, 0, 0, 0.4);
    }
}

/* Print styles */
@media print {
    nav,
    .floating-shapes,
    .mobile-toggle {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    * {
        box-shadow: none !important;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}