/* ===================================
   GameUp - Mobile Optimized Styles
   Professional Mobile View with Green Theme
   =================================== */

/* Mobile-only styles (max-width: 768px) */
@media (max-width: 768px) {
    
    /* === Body & Background === */
    body {
        background: linear-gradient(180deg, #0d1f14 0%, #1a1a1a 50%, #0d1f14 100%);
        background-attachment: fixed;
    }

    /* === Container === */
    .container {
        padding: 0 15px;
    }

    /* === Navigation Mobile === */
    .navbar {
        padding: 0;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(10px);
    }

    .nav-wrapper {
        padding: 0.8rem 0;
    }

    .logo {
        font-size: 1.3rem;
        z-index: 1001;
    }

    .logo i {
        font-size: 1.5rem;
    }

    .nav-menu {
        background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
        padding: 3rem 1.5rem;
        gap: 0;
    }

    .nav-menu.active {
        border-top: 3px solid var(--primary-color);
    }

    .nav-link {
        width: 100%;
        padding: 1rem;
        text-align: center;
        border-bottom: 1px solid rgba(34, 197, 94, 0.1);
        font-size: 1.1rem;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link.active {
        background: rgba(34, 197, 94, 0.1);
        border-radius: 8px;
    }

    .nav-menu .btn-primary {
        width: 100%;
        margin-top: 1rem;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    /* === Hero Section Mobile === */
    .hero {
        padding: 100px 0 50px;
        min-height: 90vh;
        background: linear-gradient(180deg, #0a0a0a 0%, #0d1f14 50%, #1a1a1a 100%);
    }

    .hero-overlay {
        background: radial-gradient(circle at 50% 30%, rgba(34, 197, 94, 0.15) 0%, transparent 60%);
    }

    .hero-content {
        padding: 0 10px;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1.05rem;
    }

    .hero-tagline {
        margin-top: 2rem;
    }

    .tagline-text {
        font-size: 1.3rem;
        padding: 0.8rem 1.5rem;
        border-width: 2px;
    }

    /* === Sections Mobile === */
    section {
        padding: 50px 0;
        background: transparent;
    }

    .section-header {
        margin-bottom: 2.5rem;
        padding: 0 10px;
    }

    .section-title {
        font-size: 1.8rem;
        line-height: 1.3;
        color: var(--primary-light);
    }

    .section-subtitle {
        font-size: 1rem;
        color: #d1d5db;
    }

    /* === Features Section Mobile === */
    .features {
        background: linear-gradient(180deg, #0d1f14 0%, #1a1a1a 50%, #0d1f14 100%);
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(13, 31, 20, 0.95));
        border: 1px solid rgba(34, 197, 94, 0.2);
        padding: 1.5rem;
        backdrop-filter: blur(10px);
    }

    .feature-card:hover {
        transform: translateY(-5px);
        border-color: var(--primary-color);
    }

    .feature-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1rem;
    }

    .feature-icon i {
        font-size: 1.8rem;
    }

    .feature-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
        color: var(--primary-light);
    }

    .feature-card p {
        font-size: 0.95rem;
        color: #d1d5db;
        line-height: 1.6;
    }

    /* === Games Section Mobile === */
    .games {
        background: linear-gradient(180deg, #0d1f14 0%, #1a1a1a 100%);
    }

    .games-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .game-card {
        background: rgba(26, 26, 26, 0.95);
        border: 1px solid rgba(34, 197, 94, 0.2);
    }

    .game-card:hover {
        transform: translateY(-5px);
    }

    .game-image {
        height: 180px;
    }

    .game-image i {
        font-size: 3.5rem;
    }

    .game-info {
        padding: 1.2rem;
    }

    .game-info h3 {
        font-size: 1.2rem;
    }

    /* === CTA Section Mobile === */
    .cta-section {
        padding: 40px 0;
        background: linear-gradient(135deg, #0a0a0a 0%, #16a34a 100%);
    }

    .cta-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .cta-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .cta-buttons .btn {
        width: 100%;
        padding: 1rem 2rem;
    }

    /* === Page Header Mobile === */
    .page-header {
        padding: 100px 0 50px;
        background: linear-gradient(135deg, #0a0a0a 0%, #0d1f14 100%);
    }

    .page-header h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .page-header p {
        font-size: 1rem;
    }

    /* === About Page Mobile === */
    .about-section {
        background: linear-gradient(180deg, #0d1f14 0%, #1a1a1a 50%, #0d1f14 100%);
    }

    .about-intro {
        padding: 0 10px;
    }

    .about-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 1.5rem;
    }

    .about-icon i {
        font-size: 2.5rem;
    }

    .about-intro h2 {
        font-size: 2rem;
        color: var(--primary-light);
    }

    .lead-text {
        font-size: 1.1rem;
        color: #d1d5db;
    }

    .about-content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .content-card {
        background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(13, 31, 20, 0.95));
        border: 1px solid rgba(34, 197, 94, 0.2);
        padding: 1.5rem;
    }

    .content-card h3 {
        font-size: 1.3rem;
        color: var(--primary-light);
    }

    .content-card p {
        color: #d1d5db;
    }

    .mission-statement {
        padding: 2.5rem 1.5rem;
        margin-bottom: 3rem;
    }

    .mission-content h2 {
        font-size: 2rem;
    }

    .mission-content p {
        font-size: 1rem;
    }

    .tagline-box {
        padding: 1rem 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .tagline-box .tagline {
        font-size: 1.4rem;
    }

    /* === Values Section Mobile === */
    .values-section {
        margin-bottom: 3rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .value-card {
        background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(13, 31, 20, 0.8));
        border: 1px solid rgba(34, 197, 94, 0.15);
        border-radius: 12px;
        padding: 1.5rem;
    }

    .value-icon {
        background: rgba(34, 197, 94, 0.1);
        border: 1px solid rgba(34, 197, 94, 0.3);
    }

    .value-card h3 {
        color: var(--primary-light);
    }

    .value-card p {
        color: #d1d5db;
    }

    /* === Stats Section Mobile === */
    .stats-section {
        background: linear-gradient(135deg, #0a0a0a 0%, #0d1f14 100%);
        padding: 2.5rem 1.5rem;
        border: 1px solid rgba(34, 197, 94, 0.2);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* === How It Works Mobile === */
    .how-it-works-section {
        background: linear-gradient(180deg, #0d1f14 0%, #1a1a1a 50%, #0d1f14 100%);
        padding: 50px 0;
    }

    .step-card {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .step-number {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
        margin: 0 auto;
    }

    .step-content {
        background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(13, 31, 20, 0.95));
        border: 1px solid rgba(34, 197, 94, 0.2);
        padding: 1.5rem;
    }

    .step-icon {
        background: rgba(34, 197, 94, 0.1);
        border: 1px solid rgba(34, 197, 94, 0.3);
    }

    .step-content h3 {
        font-size: 1.5rem;
        color: var(--primary-light);
    }

    .step-content p {
        font-size: 0.95rem;
        color: #d1d5db;
    }

    .step-details li {
        font-size: 0.9rem;
        color: #d1d5db;
    }

    .step-connector {
        width: 3px;
        height: 40px;
        margin: 0.5rem auto;
        background: linear-gradient(180deg, var(--primary-color), transparent);
    }

    /* === Key Points Mobile === */
    .key-points-section {
        background: linear-gradient(180deg, #0d1f14 0%, #1a1a1a 100%);
    }

    .key-points-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .key-point-card {
        background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(13, 31, 20, 0.95));
        border: 2px solid rgba(34, 197, 94, 0.3);
        padding: 1.5rem;
    }

    .key-point-card h3 {
        font-size: 1.3rem;
        color: var(--primary-light);
    }

    .key-point-card p {
        color: #d1d5db;
    }

    /* === Info Section Mobile === */
    .info-section {
        background: transparent;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .info-card {
        background: linear-gradient(135deg, #0a0a0a 0%, #0d1f14 100%);
        border: 1px solid rgba(34, 197, 94, 0.2);
        padding: 1.5rem;
    }

    /* === Terms Page Mobile === */
    .terms-section {
        background: linear-gradient(180deg, #0d1f14 0%, #1a1a1a 50%, #0d1f14 100%);
    }

    .terms-section .container {
        grid-template-columns: 1fr;
    }

    .term-block {
        background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(13, 31, 20, 0.95));
        border: 1px solid rgba(34, 197, 94, 0.2);
        padding: 1.5rem;
    }

    .term-block h2 {
        font-size: 1.5rem;
        color: var(--primary-light);
    }

    .term-block p,
    .terms-list li {
        color: #d1d5db;
        font-size: 0.95rem;
    }

    .highlight-term {
        border: 2px solid var(--primary-color);
        background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.15));
    }

    .important-notice {
        background: linear-gradient(135deg, #0a0a0a 0%, #0d1f14 100%);
        border: 1px solid rgba(34, 197, 94, 0.3);
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
    }

    .important-notice i {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .terms-sidebar {
        position: static;
    }

    .sidebar-card {
        background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(13, 31, 20, 0.95));
        border: 1px solid rgba(34, 197, 94, 0.2);
    }

    .sidebar-card h3 {
        color: var(--primary-light);
    }

    .sidebar-links a {
        color: #d1d5db;
    }

    .sidebar-links a:hover {
        background: rgba(34, 197, 94, 0.1);
    }

    /* === Contact Page Mobile === */
    .contact-section {
        background: linear-gradient(180deg, #0d1f14 0%, #1a1a1a 50%, #0d1f14 100%);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form-wrapper {
        background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(13, 31, 20, 0.95));
        border: 1px solid rgba(34, 197, 94, 0.2);
        padding: 1.5rem;
    }

    .form-header h2 {
        font-size: 1.8rem;
        color: var(--primary-light);
    }

    .form-header p {
        color: #d1d5db;
    }

    .form-group label {
        color: var(--primary-light);
        font-size: 0.95rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        background: rgba(10, 10, 10, 0.5);
        border: 1px solid rgba(34, 197, 94, 0.3);
        color: #ffffff;
        font-size: 1rem;
        padding: 0.9rem;
    }

    .form-group input::placeholder,
    .form-group textarea::placeholder {
        color: #9ca3af;
    }

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        background: rgba(13, 31, 20, 0.5);
        border-color: var(--primary-color);
    }

    .contact-info-card,
    .social-card,
    .faq-card {
        background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(13, 31, 20, 0.95));
        border: 1px solid rgba(34, 197, 94, 0.2);
    }

    .contact-info-card h3,
    .social-card h3,
    .faq-card h3 {
        color: var(--primary-light);
    }

    .contact-info-card p,
    .social-card p,
    .faq-card p {
        color: #d1d5db;
    }

    .contact-icon {
        background: rgba(34, 197, 94, 0.1);
        border: 1px solid rgba(34, 197, 94, 0.3);
    }

    .contact-text h4 {
        color: var(--primary-light);
    }

    .contact-text p {
        color: #d1d5db;
    }

    .social-link {
        background: rgba(34, 197, 94, 0.1);
        border: 1px solid rgba(34, 197, 94, 0.3);
        color: #ffffff;
    }

    .social-link:hover {
        background: var(--primary-color);
    }

    /* === FAQ Preview Mobile === */
    .faq-preview-section {
        background: linear-gradient(180deg, #0d1f14 0%, #1a1a1a 100%);
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .faq-card {
        background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(13, 31, 20, 0.95));
        border: 1px solid rgba(34, 197, 94, 0.2);
        padding: 1.2rem;
    }

    .faq-card h3 {
        font-size: 1rem;
        color: var(--primary-light);
    }

    .faq-card p {
        font-size: 0.9rem;
        color: #d1d5db;
    }

    /* === Footer Mobile === */
    .footer {
        background: linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
        padding: 40px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .footer-section {
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-section h4 {
        font-size: 1.1rem;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        font-size: 0.9rem;
        padding-top: 1.5rem;
    }

    /* === Buttons Mobile === */
    .btn {
        font-size: 1rem;
        padding: 0.9rem 1.5rem;
        border-radius: 10px;
    }

    .btn-lg {
        padding: 1.1rem 2rem;
        font-size: 1.1rem;
    }

    /* === Better Touch Targets === */
    a, button, .btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* === Improved Readability === */
    p {
        font-size: 1rem;
        line-height: 1.7;
    }

    h1, h2, h3, h4, h5, h6 {
        line-height: 1.3;
    }

    /* === Optimized Spacing === */
    .container {
        max-width: 100%;
    }

    /* === Remove Unnecessary Animations on Mobile === */
    .floating-card {
        display: none;
    }

    /* === Better Form Experience === */
    textarea {
        min-height: 150px;
        resize: vertical;
    }

    /* === Loading States === */
    .btn:active {
        transform: scale(0.98);
    }

    /* === Scroll Improvements === */
    html {
        -webkit-overflow-scrolling: touch;
    }

    /* === Status Bar Safe Area (for iOS) === */
    @supports (padding-top: env(safe-area-inset-top)) {
        .navbar {
            padding-top: env(safe-area-inset-top);
        }
    }
}

/* === Extra Small Phones === */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.9rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .tagline-text {
        font-size: 1.2rem;
        padding: 0.7rem 1.2rem;
    }

    .hero-buttons .btn,
    .cta-buttons .btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* === Large Phones/Small Tablets === */
@media (min-width: 481px) and (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
