:root {
            --mg-primary: #6a11cb;
            --mg-secondary: #2575fc;
            --mg-dark: #1a1a2e;
            --mg-light: #f8f9fa;
            --mg-accent: #ff6b6b;
            --mg-gradient: linear-gradient(135deg, var(--mg-primary) 0%, var(--mg-secondary) 100%);
        }
        body {
            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
            color: #333;
            line-height: 1.7;
            overflow-x: hidden;
        }
        .mg-gradient-bg {
            background: var(--mg-gradient);
        }
        .mg-section-title {
            position: relative;
            padding-bottom: 20px;
            margin-bottom: 50px;
        }
        .mg-section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 80px;
            height: 4px;
            background: var(--mg-gradient);
            border-radius: 2px;
        }
        .mg-section-title.text-center::after {
            left: 50%;
            transform: translateX(-50%);
        }
        .mg-card {
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
            border: none;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            height: 100%;
        }
        .mg-card:hover {
            transform: translateY(-12px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        }
        .mg-btn {
            padding: 14px 32px;
            border-radius: 50px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            transition: all 0.3s ease;
            border: none;
            background: var(--mg-gradient);
            color: white;
        }
        .mg-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 10px 20px rgba(106, 17, 203, 0.3);
            color: white;
        }
        .mg-btn-outline {
            background: transparent;
            border: 2px solid var(--mg-primary);
            color: var(--mg-primary);
        }
        .mg-btn-outline:hover {
            background: var(--mg-gradient);
            color: white;
            border-color: transparent;
        }
        .mg-navbar {
            background-color: rgba(26, 26, 46, 0.95);
            backdrop-filter: blur(10px);
            padding-top: 20px;
            padding-bottom: 20px;
            transition: all 0.3s ease;
        }
        .mg-navbar.scrolled {
            padding-top: 12px;
            padding-bottom: 12px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        }
        .mg-hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            background: linear-gradient(rgba(26, 26, 46, 0.85), rgba(26, 26, 46, 0.9)), url('https://images.unsplash.com/photo-1550745165-9bc0b252726f?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') no-repeat center center/cover;
            color: white;
            padding-top: 100px;
        }
        .mg-game-card {
            position: relative;
            border-radius: 12px;
            overflow: hidden;
            aspect-ratio: 16/9;
        }
        .mg-game-card img {
            transition: transform 0.7s ease;
        }
        .mg-game-card:hover img {
            transform: scale(1.1);
        }
        .mg-game-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
            padding: 30px 20px 20px;
            transform: translateY(10px);
            opacity: 0;
            transition: all 0.5s ease;
        }
        .mg-game-card:hover .mg-game-overlay {
            transform: translateY(0);
            opacity: 1;
        }
        .mg-friendlink {
            display: inline-flex;
            align-items: center;
            padding: 12px 24px;
            background: #f8f9fa;
            border-radius: 10px;
            color: #495057;
            text-decoration: none;
            transition: all 0.3s ease;
            margin: 8px;
            border: 1px solid #e9ecef;
        }
        .mg-friendlink:hover {
            background: var(--mg-light);
            color: var(--mg-primary);
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            text-decoration: none;
        }
        .mg-footer {
            background: var(--mg-dark);
            color: #adb5bd;
        }
        .mg-footer a {
            color: #dee2e6;
            text-decoration: none;
            transition: color 0.3s ease;
        }
        .mg-footer a:hover {
            color: white;
            text-decoration: underline;
        }
        .mg-stats-number {
            font-size: 3.5rem;
            font-weight: 800;
            background: var(--mg-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            line-height: 1;
        }
        @media (max-width: 768px) {
            .mg-hero {
                text-align: center;
                padding-top: 120px;
                min-height: 90vh;
            }
            .mg-stats-number {
                font-size: 2.8rem;
            }
        }
        .mg-testimonial-card {
            background: white;
            border-radius: 16px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            height: 100%;
            border-left: 5px solid var(--mg-primary);
        }
        .mg-feature-icon {
            width: 80px;
            height: 80px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: var(--mg-gradient);
            border-radius: 20px;
            color: white;
            font-size: 2rem;
            margin-bottom: 25px;
        }
