/* About Page Specific Styles */

/* Global overflow control */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Gaming Color Palette */
:root {
    --primary-purple: #6C5CE7;
    --primary-cyan: #00D9FF;
    --primary-pink: #E84393;
    --accent-green: #00B894;
    --accent-orange: #FF7675;
    --dark-bg: #0F0F23;
    --darker-bg: #07071A;
    --mid-dark: #1A1A3E;
    --card-bg: #252547;
    --text-primary: #FFFFFF;
    --text-secondary: #A8A8CC;
    --text-muted: #6B6B8A;
    --border-color: #2D2D5F;
    --glow-purple: rgba(108, 92, 231, 0.3);
    --glow-cyan: rgba(0, 217, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--dark-bg);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-cyan));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(108, 92, 231, 0.5);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-cyan);
    text-shadow: 0 0 10px var(--glow-cyan);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-cyan));
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    box-shadow: 0 0 20px var(--glow-purple);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 25px var(--glow-cyan);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.hamburger:hover {
    background: var(--glow-purple);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* About Hero Section */
.about-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: var(--dark-bg);
    padding-top: 120px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, var(--glow-purple) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, var(--glow-cyan) 0%, transparent 50%);
    z-index: -1;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1542751371-adc38448a05e?w=1920&h=1080&fit=crop');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: -2;
}

.about-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.highlight {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-cyan));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px var(--glow-cyan);
}

.about-hero p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-cyan);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Company Story Section */
.company-story {
    padding: 6rem 0;
    background: var(--darker-bg);
    position: relative;
}

.company-story::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1518709268805-4e9042af2176?w=1920&h=1080&fit=crop');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.story-text h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-cyan));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.story-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.gaming-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.gaming-badge {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-cyan));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 0 20px var(--glow-purple);
    transition: all 0.3s ease;
}

.gaming-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 25px var(--glow-cyan);
}

.image-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.image-container img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.3), rgba(0, 217, 255, 0.3));
    border-radius: 16px;
}

/* Company Info Section */
.company-info {
    padding: 6rem 0;
    background: var(--dark-bg);
    position: relative;
}

.company-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1551103782-8ab07afd45c1?w=1920&h=1080&fit=crop');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
}

.company-info h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-cyan));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 1;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.info-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), transparent, rgba(0, 217, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.info-card:hover::before {
    opacity: 1;
}

.info-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-cyan);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: grayscale(1) brightness(1.5);
}

.info-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.info-card p {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.info-detail {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Mission & Vision Section */
.mission-vision {
    padding: 6rem 0;
    background: var(--darker-bg);
    position: relative;
}

.mission-vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1493711662062-fa541adb3fc8?w=1920&h=1080&fit=crop');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.mv-card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-align: center;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), transparent, rgba(0, 217, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.mv-card:hover::before {
    opacity: 1;
}

.mv-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-cyan);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.mv-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: grayscale(1) brightness(1.5);
}

.mv-card h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mv-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Values Section */
.values {
    padding: 6rem 0;
    background: var(--dark-bg);
    position: relative;
}

.values::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1556075798-4825dfaaf498?w=1920&h=1080&fit=crop');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
}

.values h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-cyan));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 1;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.value-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), transparent, rgba(0, 217, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.value-card:hover::before {
    opacity: 1;
}

.value-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-cyan);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    filter: grayscale(1) brightness(1.5);
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* About CTA Section */
.about-cta {
    padding: 6rem 0;
    background: var(--darker-bg);
    position: relative;
}

.about-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, var(--glow-purple) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, var(--glow-cyan) 0%, transparent 50%);
    z-index: 0;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-cta h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-cyan));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-cta p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-cyan);
    border: 2px solid var(--primary-cyan);
}

.btn-secondary:hover {
    background: var(--primary-cyan);
    color: var(--dark-bg);
    box-shadow: 0 0 30px var(--glow-cyan);
}

/* Footer */
.footer {
    background: var(--darker-bg);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-section p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-cyan);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: inline-block;
    padding: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.social-link:hover {
    color: var(--primary-cyan);
    background: var(--glow-purple);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        max-width: 100%;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--card-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.5);
        padding: 2rem 0;
        border-top: 1px solid var(--border-color);
        z-index: 1000;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-menu a {
        padding: 1rem 2rem;
        display: block;
        border-radius: 8px;
        transition: all 0.3s ease;
        min-height: 48px;
    }

    .nav-menu a:hover {
        background: var(--glow-purple);
        color: var(--primary-cyan);
        text-shadow: 0 0 10px var(--glow-cyan);
    }

    .about-hero {
        padding: 100px 0 50px;
        min-height: auto;
    }

    .about-hero h1 {
        font-size: 2.8rem;
        line-height: 1.2;
    }

    .about-hero p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .company-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-top: 3rem;
    }

    .story-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .story-text h2 {
        font-size: 2.5rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .mv-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .company-info h2,
    .values h2,
    .about-cta h2 {
        font-size: 2.5rem;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .about-hero {
        padding: 90px 0 40px;
    }

    .about-hero h1 {
        font-size: 2.2rem;
        line-height: 1.1;
    }

    .about-hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .company-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
    }

    .stat-item {
        padding: 1.2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .story-text h2 {
        font-size: 2rem;
    }

    .story-text p {
        font-size: 1rem;
    }

    .gaming-badges {
        justify-content: center;
    }

    .gaming-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .info-card,
    .value-card {
        padding: 2rem 1.5rem;
    }

    .mv-card {
        padding: 2rem;
    }

    .mv-card h3 {
        font-size: 1.5rem;
    }

    .mv-card p {
        font-size: 1rem;
    }

    .company-info h2,
    .values h2,
    .about-cta h2 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .about-cta p {
        font-size: 1rem;
    }

    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-section {
        margin-bottom: 2rem;
    }
}

/* Performance optimizations for mobile */
@media (max-width: 768px) {
    /* Reduce motion for better performance */
    @media (prefers-reduced-motion: reduce) {
        *,
        *::before,
        *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }

    /* Optimize backgrounds for mobile */
    .hero-background::before,
    .hero-background::after,
    .company-story::before,
    .company-info::before,
    .mission-vision::before,
    .values::before,
    .about-cta::before {
        background-attachment: scroll;
    }

    /* Better touch targets */
    .btn,
    .nav-link,
    .social-link {
        min-height: 48px;
        min-width: 48px;
    }

    /* Form elements touch-friendly */
    input, button, select, textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Loading animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-card,
.value-card,
.mv-card,
.stat-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}
