/* Mobile Styles - Futuristic Arcade Theme */

/* Tablet Styles */
@media (max-width: 1400px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .custom-dev-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Keep header border full width */
    .header {
        border-bottom: 1px solid var(--neon-cyan) !important;
    }
    
    /* Remove any container padding that might cause gaps */
    .nav-container {
        padding: 0 1.5rem !important;
        /* Extra safety for very small screens */
        min-height: 70px;
    }
    
    /* Ensure logo doesn't break on very small screens */
    .logo-image {
        max-height: 60px !important;
        width: auto !important;
    }
    
    /* Force nav buttons to stay in place */
    .nav-buttons {
        flex-shrink: 0 !important;
        min-width: fit-content !important;
    }
    
    /* Emergency breakpoint for very narrow screens */
    @media (max-width: 350px) {
        .nav-container {
            padding: 0 0.75rem !important;
        }
        
        .logo-image {
            max-height: 45px !important;
        }
        
        .nav-toggle {
            width: 25px;
            height: 25px;
        }
        
        .nav-toggle .bar {
            width: 20px;
            height: 2px;
        }
    }
    
    /* Override desktop nav styles completely */
    .nav-menu .nav-list {
        flex-direction: column !important;
        position: static !important;
        width: 100% !important;
        height: auto !important;
        background: none !important;
        backdrop-filter: none !important;
        border: none !important;
        box-shadow: none !important;
        top: auto !important;
        left: auto !important;
        gap: 1.5rem !important;
        margin: 0 !important;
        align-items: center !important;
        list-style: none !important;
        padding: 0 !important;
        max-width: 300px !important;
        margin-bottom: 2rem !important;
    }
    
    /* Show hamburger menu button */
    .nav-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 30px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
        position: relative;
        margin-right: 10px;
    }
    
    .nav-toggle .bar {
        width: 25px;
        height: 3px;
        background: var(--white);
        transition: 0.3s;
        border-radius: 2px;
    }
    
    /* Hamburger animation when active */
    .nav-toggle.active .bar:nth-child(1) {
        
        transform: rotate(45deg) translate(10px, 6px);
        background: var(--neon-pink);
        box-shadow: 0 0 10px var(--neon-pink);
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(11px, -7px);
        background: var(--neon-pink);
        box-shadow: 0 0 10px var(--neon-pink);
    }
    
    /* Hide nav menu by default */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100vw;
        width: 75vw;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        transition: left 0.3s ease;
        z-index: 1001;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem 0;
        margin: 0;
        overflow: hidden;
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.5);
        /* Prevent menu from being blocked */
        will-change: transform;
    }
    
    /* Show nav menu when active - position exactly at left edge with no gap */
    .nav-menu.active {
        left: 0;
        transform: translateX(0);
    }
    
    /* Add vertical border that goes downward from header bottom */
    .nav-menu::before {
        content: '';
        position: absolute;
        top: 100px;
        right: 0;
        width: 1px;
        height: calc(100vh - 100px);
        background: var(--neon-cyan);
        opacity: 0;
        transition: opacity 0.3s ease;
        box-shadow: 1px 0 5px rgba(0, 255, 255, 0.3);
    }
    
    /* Add horizontal connecting line at header bottom - only to menu edge */
    .nav-menu::after {
        content: '';
        position: absolute;
        top: 100px;
        right: 0;
        width: 0;
        height: 1px;
        background: var(--neon-cyan);
        opacity: 0;
        transition: opacity 0.3s ease 0.1s;
        box-shadow: 0 1px 5px rgba(0, 255, 255, 0.3);
    }
    
    .nav-menu.active::before,
    .nav-menu.active::after {
        opacity: 1;
    }
    
    /* Mobile menu logo - much bigger */
    .mobile-nav-logo {
        display: block !important; /* Override desktop hide rule */
        margin-bottom: 3rem;
        margin-top: 0;
    }
    
    .mobile-nav-logo img {
        height: 200px;
        width: auto;
        filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.8));
        transform: scale(2);
    }
    
    /* Navigation list styling */
    .nav-list {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 1.5rem !important;
        margin-bottom: 2rem !important;
        width: 100% !important;
        max-width: 300px !important;
    }
    
    .nav-menu .nav-list .nav-item {
        width: 100% !important;
        text-align: center !important;
        display: block !important;
        flex: none !important;
        margin: 0 !important;
    }
    
    .nav-menu .nav-list .nav-item .nav-link {
        display: inline-block !important;
        color: var(--white) !important;
        text-decoration: none !important;
        font-size: 1.2rem !important;
        padding: 1rem 2rem !important;
        border: 1px solid transparent !important;
        border-radius: var(--radius-lg) !important;
        transition: all var(--transition-normal) !important;
        width: 100% !important;
        max-width: 250px !important;
        text-align: center !important;
        box-sizing: border-box !important;
        white-space: nowrap !important;
        margin: 0 !important;
        flex: none !important;
    }
    
    .nav-menu .nav-list .nav-item .nav-link:hover {
        background: rgba(0, 255, 255, 0.1) !important;
        border-color: var(--neon-cyan) !important;
        box-shadow: var(--glow-cyan) !important;
        color: var(--white) !important;
    }
    
    .nav-menu .nav-list .nav-item.active .nav-link {
        background: rgba(0, 255, 255, 0.15) !important;
        border-color: var(--neon-cyan) !important;
        box-shadow: var(--glow-cyan) !important;
        color: var(--neon-cyan) !important;
    }
    
    /* Navigation buttons */
    .nav-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 280px;
        align-items: center;
    }
    
    /* Hide logout button from nav-buttons on mobile (only when user is logged in) */
    .nav-buttons button.btn:last-child {
        display: none;
    }
    
    /* Style nav buttons */
    .nav-buttons .btn {
        width: 100%;
        max-width: 250px;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        text-align: center;
        justify-content: center;
    }
    
    /* Mobile logout button */
    .mobile-logout {
        margin-top: 1rem;
        padding: 0.75rem 2rem;
        background: var(--gradient-accent);
        color: var(--bg-primary);
        border: none;
        border-radius: var(--radius-lg);
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all var(--transition-normal);
        min-width: 200px;
        max-width: 250px;
    }
    
    .mobile-logout:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(255, 20, 147, 0.4);
    }
    
    /* Smaller sticky banner */
    .build-banner {
        margin-top: 0px;
    }

    .build-banner.sticky-banner {
        position: fixed;
        top: -100px; /* Match header height when hidden */
        left: 0;
        right: 0;
        z-index: 998;
        transition: top 0.3s ease;
        opacity: 0;
        visibility: hidden;
        padding: 0.75rem 0; /* Optimized padding for 100px height */
        max-height: 100px; /* Match header height exactly */
        overflow: hidden;
    }
    
    .build-banner.sticky-banner.show-on-scroll {
        top: 0;
        opacity: 1;
        visibility: visible;
    }
    
    /* Compact banner content - single row layout */
    .build-banner .banner-content {
        flex-direction: row;
        gap: 0.75rem;
        text-align: left;
        align-items: center;
        justify-content: space-between;
        height: 100%;
        max-height: 100px;
        padding: 0 1rem; /* Add horizontal padding for mobile */
    }
    
    /* Icon next to title layout */
    .build-banner .banner-text {
        flex-direction: row;
        gap: 0.5rem;
        text-align: left;
        align-items: center;
        flex: 1;
    }
    
    .build-banner .banner-text h3 {
        font-size: 0.85rem;
        margin: 0;
        line-height: 1.2;
        font-weight: 600;
        max-width: none;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .build-banner .banner-text p {
        font-size: 0.7rem;
        margin: 0;
        display: none; /* Hide subtitle on mobile to save space */
    }
    
    .build-banner .banner-icon {
        font-size: 1rem;
        margin-right: 0.25rem;
        flex-shrink: 0;
    }
    
    .build-banner .banner-cta {
        gap: 0.5rem;
        flex-shrink: 0;
    }
    
    .build-banner .btn-small {
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
        min-height: auto;
        white-space: nowrap;
    }
    
    /* Typography */
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    p {
        font-size: 1rem;
    }
    
    /* Hero Section - Reduced spacing */
    .hero {
        padding: 2rem 0;
        text-align: center;
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.25rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    
    /* Reduce spacing between major sections */
    .hero + .features,
    .features + .pricing,
    .pricing + .features,
    .features + .cta-section,
    .cta-section + .footer {
        margin-top: -1rem;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .hero .image-container {
        order: -1;
        margin-bottom: 1.5rem;
    }
    
    .image-container.hero-image,
    .image-container.gaming-setup-image,
    .image-container.vr-image {
        height: 250px;
        max-height: 250px;
        width: 100%;
        max-width: 100%;
    }
    
    .image-container.arcade-image {
        height: 200px;
        max-height: 200px;
        width: 100%;
        max-width: 100%;
    }
    
    .image-container.game-thumbnail {
        height: 150px;
        max-height: 150px;
        width: 100%;
        max-width: 100%;
    }
    
    /* Sections - Reduced vertical spacing */
    .section-padding {
        --section-padding: 2rem 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Features - Reduced spacing */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-top: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem 1.25rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    /* Pricing - Reduced spacing */
    .pricing {
        padding-top: 1.5rem !important;
        margin-top: 0 !important;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-top: 1.5rem;
    }
    
    .pricing-card {
        padding: 1.25rem;
        margin: 0;
    }
    
    .pricing-card.popular {
        transform: none;
        order: -1;
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
    
    .popular-badge {
        top: -10px;
        padding: 0.4rem 1.5rem;
        font-size: 0.8rem;
    }
    
    .price {
        margin-bottom: 1rem;
    }
    
    .amount {
        font-size: 2.5rem;
    }
    
    .currency {
        font-size: 1.2rem;
    }
    
    .token-highlight {
        padding: 0.75rem;
        margin-bottom: 1rem;
        background: rgba(0, 0, 0, 0.9) !important;
        border: 2px solid var(--neon-green) !important;
        backdrop-filter: blur(10px) !important;
    }
    
    .token-highlight span {
        font-size: 1rem;
        font-weight: 700 !important;
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.5) !important;
    }
    
    .token-highlight small {
        font-size: 0.8rem;
        font-weight: 700 !important;
        text-shadow: 0 0 10px var(--neon-green) !important;
    }
    
    .pricing-features li {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    /* Custom Development - Reduced spacing */
    .custom-dev-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-top: 1.5rem;
    }
    
    .custom-dev-card {
        padding: 1.5rem 1.25rem;
    }
    
    .custom-dev-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    /* Process Grid - Reduced spacing */
    .process-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-top: 1.5rem;
    }
    
    .process-step {
        padding: 1.25rem;
    }
    
    .process-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    /* Contact - Reduced spacing */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-form {
        padding: 1.25rem;
    }
    
    .contact-method {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .contact-details h3 {
        font-size: 1.1rem;
    }
    
    .contact-details p {
        font-size: 0.9rem;
    }
    
    /* FAQ - Reduced spacing */
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-top: 1.5rem;
    }
    
    .faq-question {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .faq-question i {
        font-size: 1rem;
        margin-right: 0.5rem;
    }
    
    .faq-answer {
        padding: 1rem;
    }
    
    /* Footer - Reduced spacing */
    .footer {
        padding: 1.5rem 0 0.75rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
        margin-bottom: 0.75rem;
    }
    
    .social-links {
        justify-content: center;
        margin-bottom: 1.5rem;
    }
    
    .footer-section h4 {
        margin-bottom: 1rem;
        font-size: 1rem;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-links li {
        margin-bottom: 0.75rem;
    }
    
    /* Forms */
    .form-input {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .form-label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-height: 48px; /* Touch-friendly */
    }
    
    .btn-large {
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
        min-height: 52px;
    }
    
    /* Utility adjustments */
    .container {
        padding: 0 1rem;
    }
    
    /* Animations - Reduce motion for mobile */
    .feature-card:hover,
    .pricing-card:hover,
    .custom-dev-card:hover,
    .process-step:hover,
    .stat-item:hover {
        transform: translateY(-5px);
    }
    
    /* Reduce glow effects on mobile for performance */
    .btn:hover,
    .feature-card:hover,
    .pricing-card:hover {
        box-shadow: var(--shadow-lg);
    }
    
    /* Force single column layouts on mobile */
    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    /* Pricing cards */
    .pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .pricing-card.popular {
        transform: none !important;
        margin: 0 !important;
    }
    
    .pricing-card {
        padding: 1.5rem !important;
    }
    
    .popular-badge {
        font-size: 0.75rem !important;
        padding: 0.4rem 1rem !important;
    }
    
    .amount {
        font-size: 2.5rem !important;
    }
    
    .token-highlight {
        flex-direction: column !important;
        gap: 0.25rem !important;
        text-align: center !important;
    }
    
    .token-highlight small {
        margin-left: 0 !important;
    }
    
    /* FAQ items */
    .faq-item {
        padding: 1rem !important;
    }
    
    .faq-question {
        font-size: 1rem !important;
        gap: 0.5rem !important;
    }
    
    .faq-answer p {
        font-size: 0.9rem !important;
    }
    
    /* Custom development cards */
    .custom-dev-card {
        padding: 1.5rem !important;
    }
    
    .custom-dev-icon {
        width: 50px !important;
        height: 50px !important;
    }
    
    .custom-dev-icon i {
        font-size: 1.25rem !important;
    }
    
    /* Images on mobile */
    img[style*="height: 400px"] {
        height: 250px !important;
    }
    
    img[style*="height: 500px"] {
        height: 300px !important;
    }
    
    img[style*="height: 350px"] {
        height: 250px !important;
    }
    
    /* Table improvements on mobile */
    table {
        font-size: 0.8rem !important;
    }
    
    th, td {
        padding: 0.75rem 0.5rem !important;
    }
    
    .section-title {
        font-size: 2rem !important;
    }
    
    .section-subtitle {
        font-size: 1rem !important;
    }
    
    /* CTA section mobile */
    .cta-section div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }
    
    .hero-cta {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .btn-large {
        width: 100% !important;
        max-width: 300px !important;
    }
    
    /* Mobile game cards */
    .games-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .game-card {
        max-width: 100%;
    }
    
    /* Responsive image adjustments */
    .responsive-image {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }
    
    /* Mobile overlay adjustments */
    .image-overlay {
        border-radius: var(--radius-lg);
    }
    
    /* Ensure proper spacing on mobile */
    .features .container > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .cta-section .container > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* Mobile Logo Image Styles */
    .logo-image {
        height: 60px;
        max-height: 60px;
        width: auto;
        max-width: 250px;
        object-fit: contain;
    }
    
    .footer-logo-image {
        width: 50vw;
        max-width: 50vw;
        height: auto;
        object-fit: contain;
    }
    
    .dashboard-logo-image {
        height: 55px;
        max-height: 55px;
        width: auto;
        max-width: 220px;
        object-fit: contain;
    }
    
    /* Global mobile logo constraints */
    img[src*="logo"], 
    img[alt*="logo"], 
    img[alt*="Logo"],
    .logo img,
    .nav-logo img,
    .header-logo img {
        max-height: 65px !important;
        width: auto !important;
        max-width: 260px !important;
        object-fit: contain !important;
        vertical-align: middle !important;
    }
    
    /* Footer logo gets special treatment */
    .footer-logo img {
        width: 50vw !important;
        max-width: 50vw !important;
        height: auto !important;
        object-fit: contain !important;
        vertical-align: middle !important;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    /* Extra small banner optimizations */
    .build-banner .banner-text h3 {
        font-size: 0.75rem !important;
    }
    
    .build-banner .banner-icon {
        font-size: 0.9rem !important;
    }
    
    .build-banner .btn-small {
        padding: 0.3rem 0.5rem !important;
        font-size: 0.65rem !important;
    }
    
    .build-banner .banner-content {
        gap: 0.5rem !important;
        padding: 0 0.75rem !important;
    }

    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    
    /* Hero */
    .hero h1 {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    /* Navigation */
    .nav-logo a {
        font-size: 1.25rem;
    }
    
    .nav-logo i {
        font-size: 1.5rem;
    }
    
    /* Mobile Logo Image Styles */
    .logo-image {
        height: 32px;
        max-height: 32px;
        width: auto;
        max-width: 150px;
        object-fit: contain;
    }
    
    .footer-logo-image {
        width: 50vw;
        max-width: 50vw;
        height: auto;
        object-fit: contain;
    }
    
    .dashboard-logo-image {
        height: 28px;
        max-height: 28px;
        width: auto;
        max-width: 140px;
        object-fit: contain;
    }
    
    /* Global mobile logo constraints */
    img[src*="logo"], 
    img[alt*="logo"], 
    img[alt*="Logo"],
    .logo img,
    .nav-logo img,
    .header-logo img {
        width: auto !important;
        object-fit: contain !important;
        vertical-align: middle !important;
    }
    
    /* Footer logo gets special treatment */
    .footer-logo img {
        width: 50vw !important;
        max-width: 50vw !important;
        height: auto !important;
        object-fit: contain !important;
        vertical-align: middle !important;
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    /* Pricing */
    .amount {
        font-size: 2rem;
    }
    
    .currency {
        font-size: 1rem;
    }
    
    .pricing-card {
        padding: 1rem;
    }
    
    .token-highlight {
        padding: 0.5rem;
    }
    
    .token-highlight span {
        font-size: 0.9rem;
    }
    
    /* Cards */
    .feature-card,
    .custom-dev-card,
    .process-step {
        padding: 1.5rem 1rem;
    }
    
    .feature-icon,
    .custom-dev-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .process-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Contact */
    .contact-form {
        padding: 1rem;
    }
    
    .contact-method {
        padding: 0.75rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .contact-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        margin: 0 auto;
    }
    
    /* FAQ */
    .faq-question {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .faq-answer {
        padding: 0.75rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Reduce container padding */
    .container {
        padding: 0 0.75rem;
    }
    
    /* Section padding - Extra compact for small screens */
    .section-padding {
        --section-padding: 1.5rem 0;
    }
    
    /* Extra small screens */
    .pricing-card {
        padding: 1rem !important;
    }
    
    .amount {
        font-size: 2rem !important;
    }
    
    .faq-question {
        font-size: 0.95rem !important;
    }
    
    .custom-dev-card {
        padding: 1rem !important;
    }
    
    /* Hide some decorative elements on very small screens */
    div[style*="background: linear-gradient(45deg"] {
        display: none !important;
    }
    
    /* Reduce glow effects on small screens for performance */
    .pricing-card,
    .faq-item,
    .custom-dev-card {
        box-shadow: none !important;
        border-width: 1px !important;
    }
    
    .pricing-card:hover,
    .faq-item:hover,
    .custom-dev-card:hover {
        box-shadow: none !important;
        transform: none !important;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .nav-list {
        height: calc(100vh - 60px);
        top: 60px;
        padding: 1rem 0;
    }
    
    .nav-list li {
        margin: 0.5rem 0;
    }
    
    .nav-buttons {
        margin-top: 1rem;
    }
    
    .section-padding {
        --section-padding: 2rem 0;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Optimize for retina displays */
    .feature-icon,
    .custom-dev-icon,
    .process-number,
    .contact-icon {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Accessibility - Reduce motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
    
    .nav-list li {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* Dark mode support for mobile */
@media (prefers-color-scheme: dark) {
    /* Already using dark theme, but ensure consistency */
    .nav-list {
        background: rgba(10, 10, 15, 0.98);
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices */
    .btn:hover,
    .feature-card:hover,
    .pricing-card:hover,
    .custom-dev-card:hover,
    .process-step:hover,
    .stat-item:hover,
    .contact-method:hover,
    .faq-item:hover {
        transform: none;
        box-shadow: inherit;
    }
    
    /* Increase touch targets */
    .btn {
        min-height: 48px;
        min-width: 48px;
    }
    
    .nav-link {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .social-link {
        min-width: 48px;
        min-height: 48px;
    }
}

/* Force all images to be properly constrained */
.responsive-image {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* Override any problematic inline styles */
img {
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
}

/* Ensure image containers don't overflow */
.image-container {
    overflow: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
    flex-shrink: 0 !important;
}

/* Mobile Development Page Styles */

/* Page Header */
.page-header {
    margin: 0;
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.05), rgba(255, 0, 255, 0.05));
}

.page-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.page-title-section h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 0.5rem 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    color: var(--gray-300);
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

.page-stats {
    display: flex;
    gap: 2rem;
}

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

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-cyan);
    line-height: 1;
}

.stat-label {
    color: var(--gray-400);
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* Service Features */
.service-features {
    padding: 3rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.features-header {
    text-align: center;
    margin-bottom: 3rem;
}

.features-header h2 {
    color: var(--white);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
}

.features-header p {
    color: var(--gray-300);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition-normal);
}

.feature-card:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.1);
    transform: translateY(-2px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: mediumaquamarine;
    margin-bottom: 1.5rem;
}

.feature-content h3 {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
}

.feature-content p {
    color: var(--gray-300);
    margin: 0 0 1.5rem 0;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    color: var(--gray-300);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-list li i {
    color: var(--neon-green);
    font-size: 0.8rem;
}

/* Development Process */
.development-process {
    padding: 3rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.process-header {
    text-align: center;
    margin-bottom: 3rem;
}

.process-header h2 {
    color: var(--white);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
}

.process-header p {
    color: var(--gray-300);
    font-size: 1.1rem;
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.step-content {
    flex: 1;
    padding-top: 0.5rem;
}

.step-content h3 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.step-content p {
    color: var(--gray-300);
    margin: 0;
    line-height: 1.6;
}

.step-connector {
    position: absolute;
    left: 24px;
    top: 50px;
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, var(--neon-cyan), rgba(0, 255, 255, 0.3));
    z-index: 1;
}

/* Quote Request Form */
.quote-request {
    padding: 3rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.request-header {
    text-align: center;
    margin-bottom: 3rem;
}

.request-header h2 {
    color: var(--white);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
}

.request-header p {
    color: var(--gray-300);
    font-size: 1.1rem;
}

.request-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.mobile-request-form {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.form-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section h3 {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section h3 i {
    color: var(--neon-cyan);
}

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

.form-group label {
    display: block;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 0.75rem;
    color: var(--white);
    font-size: 0.9rem;
    transition: all var(--transition-normal);
}

.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 0 2px rgba(0, 255, 255, 0.1);
}

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

.char-counter {
    text-align: right;
    color: var(--gray-400);
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

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

/* Game Preview */
.game-preview {
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.game-preview img {
    width: 80px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.game-info h4 {
    color: var(--white);
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
}

.game-info p {
    color: var(--gray-400);
    margin: 0;
    font-size: 0.8rem;
}

/* No Games Notice */
.no-games-notice {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 193, 7, 0.05);
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: var(--radius-lg);
}

.no-games-notice i {
    font-size: 2rem;
    color: #ffc107;
    margin-bottom: 1rem;
}

.no-games-notice p {
    color: var(--gray-300);
    margin: 0 0 1.5rem 0;
    font-size: 1.1rem;
}

/* Service Options */
.service-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.service-option {
    position: relative;
}

.service-option input[type="radio"] {
    display: none;
}

.service-option label {
    display: block;
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: center;
}

.service-option label:hover {
    border-color: rgba(0, 255, 255, 0.5);
    background: rgba(0, 255, 255, 0.02);
}

.service-option input[type="radio"]:checked + label {
    border-color: var(--neon-cyan);
    background: rgba(0, 255, 255, 0.05);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
}

.service-option label i {
    font-size: 2rem;
    color: var(--neon-cyan);
    margin-bottom: 0.75rem;
}

.option-title {
    display: block;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.option-desc {
    display: block;
    color: var(--gray-400);
    font-size: 0.9rem;
}

/* Feature Checkboxes */
.feature-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1rem;
    transition: all var(--transition-normal);
}

.checkbox-group:hover {
    border-color: rgba(0, 255, 255, 0.3);
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.checkbox-group input[type="checkbox"]:checked {
    background: var(--neon-cyan);
    border-color: var(--neon-cyan);
}

.checkbox-group label {
    color: var(--white);
    font-weight: 500;
    cursor: pointer;
    margin: 0;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Pricing Information */
.pricing-info {
    padding: 3rem 2rem;
}

.pricing-header {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-header h2 {
    color: var(--white);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
}

.pricing-header p {
    color: var(--gray-300);
    font-size: 1.1rem;
}

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

.pricing-tier {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    transition: all var(--transition-normal);
}

.pricing-tier:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.1);
    transform: translateY(-2px);
}

.pricing-tier.recommended {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.15);
}

.tier-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.tier-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.tier-header h3 {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.tier-timeline {
    color: var(--neon-cyan);
    font-weight: 600;
    font-size: 0.9rem;
}

.tier-content p {
    color: var(--gray-300);
    margin: 0 0 1.5rem 0;
    line-height: 1.6;
}

.tier-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.tier-content ul li {
    color: var(--gray-300);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tier-content ul li::before {
    content: '✓';
    color: var(--neon-green);
    font-weight: bold;
    font-size: 0.8rem;
}

.tier-price {
    text-align: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    padding: 1rem;
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: var(--radius-md);
}

.pricing-note {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 193, 7, 0.05);
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: var(--radius-lg);
}

.pricing-note p {
    color: var(--gray-300);
    margin: 0;
    font-size: 0.9rem;
}

.pricing-note i {
    color: #ffc107;
    margin-right: 0.5rem;
}

/* Success Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.modal-content {
    background: var(--dark-secondary);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.modal-header h3 {
    color: var(--white);
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.text-success {
    color: var(--neon-green) !important;
}

.modal-body p {
    color: var(--gray-300);
    margin: 0 0 1.5rem 0;
    line-height: 1.6;
}

.request-details {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.request-details p {
    margin: 0 0 1rem 0;
}

.request-details ul {
    margin: 0;
    padding-left: 1.5rem;
}

.request-details li {
    color: var(--gray-300);
    margin-bottom: 0.5rem;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-tiers {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto 2rem auto;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 1.5rem;
    }
    
    .page-header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .service-features,
    .development-process,
    .quote-request,
    .pricing-info {
        padding: 2rem 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .service-options {
        grid-template-columns: 1fr;
    }
    
    .feature-checkboxes {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .step-connector {
        display: none;
    }
}

@media (max-width: 480px) {
    .page-header,
    .service-features,
    .development-process,
    .quote-request,
    .pricing-info {
        padding: 1.5rem 1rem;
    }
    
    .mobile-request-form {
        padding: 1.5rem;
    }
    
    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }
} 