:root {
    --primary: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #0ea5e9;
    --accent: #f43f5e;
    --success: #059669;
    --text-dark: #0F172A;
    --text-muted: #64748B;
    --bg-light: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.85);
    --border: rgba(0, 0, 0, 0.05);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Background */
.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 10% 10%, rgba(79, 70, 229, 0.04) 0%, transparent 40%),
                radial-gradient(circle at 90% 90%, rgba(14, 165, 233, 0.04) 0%, transparent 40%);
    background-color: #fff;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 0;
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.6);
}

.navbar.scrolled {
    padding: 14px 0;
    background: var(--glass);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 42px;
    border-radius: 12px;
}

.logo span {
    font-size: 26px;
    font-weight: 900;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1.5px;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    margin: 0 20px;
    font-weight: 600;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-btn {
    padding: 12px 28px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.2);
    transition: all 0.3s;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(79, 70, 229, 0.3);
}

/* Hero Section */
.hero {
    padding: 160px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(79, 70, 229, 0.05);
    color: var(--primary);
    border-radius: 100px;
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: clamp(44px, 6vw, 84px);
    line-height: 1.05;
    font-weight: 950;
    margin-bottom: 28px;
    letter-spacing: -2.5px;
    color: #1a1a40;
}

.hero h1 span {
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 21px;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 22px 52px;
    border-radius: 20px;
    font-weight: 850;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 12px 35px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(79, 70, 229, 0.4);
}

.trust-pill {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-avatars {
    display: flex;
    padding-left: 10px;
}

.user-avatars img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 3px solid white;
    margin-left: -12px;
}

.trust-pill span {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-muted);
}

/* Visuals */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: 320px;
    height: 640px;
    background: #0D0D14;
    border: 14px solid #1c1c28;
    border-radius: 54px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 50px 100px rgba(0,0,0,0.18);
    z-index: 2;
}

.phone-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 18px 28px;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
    font-weight: 850;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
    font-size: 15px;
    border: 1px solid var(--border);
}

.floating-card i {
    color: var(--primary);
    width: 24px;
}

.c1 { top: 120px; right: -40px; animation: float 6s ease-in-out infinite; }
.c2 { bottom: 120px; left: -60px; animation: float 6s ease-in-out infinite 3s; }

/* Games Section */
.games-section {
    padding: 140px 0;
    background: #fdfdff;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 52px;
    font-weight: 900;
    margin-bottom: 16px;
}

.section-header h2 span {
    color: var(--primary);
}

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

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

.game-card-v2 {
    background: white;
    padding: 50px 40px;
    border-radius: 40px;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
}

.game-card-v2:hover {
    transform: translateY(-20px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.06);
    border-color: var(--primary);
}

.game-icon-box {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    color: white;
}

.g1 { background: linear-gradient(135deg, #6366F1, #A855F7); }
.g2 { background: linear-gradient(135deg, #FF3D68, #FF8E53); }
.g3 { background: linear-gradient(135deg, #10B981, #34D399); }

.game-card-v2 i {
    width: 32px;
    height: 32px;
}

.game-card-v2 h3 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 20px;
}

.game-card-v2 p {
    color: var(--text-muted);
    font-size: 19px;
    line-height: 1.7;
}

/* Refer Section */
.refer-section {
    padding: 140px 0;
}

.refer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.refer-box {
    background: #0f172a;
    padding: 80px 40px;
    border-radius: 50px;
    color: white;
    text-align: center;
}

.refer-box i {
    color: var(--secondary);
    margin-bottom: 30px;
    width: 64px;
    height: 64px;
}

.refer-box h3 { font-size: 36px; font-weight: 900; margin-bottom: 16px; }
.refer-box p { font-size: 20px; opacity: 0.8; }

.refer-text h2 { font-size: 48px; font-weight: 900; margin-bottom: 30px; }
.refer-text h2 span { color: var(--primary); }
.refer-text p { font-size: 21px; color: var(--text-muted); margin-bottom: 40px; }

.refer-list { list-style: none; }
.refer-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 19px;
    font-weight: 700;
}

.refer-list i { color: var(--success); }

/* Trust Banner */
.trust-banner {
    padding: 80px 0;
    background: #f8fafc;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.trust-item { text-align: center; }
.trust-item i { color: var(--primary); margin-bottom: 20px; width: 40px; height: 40px; }
.trust-item h4 { font-size: 22px; font-weight: 900; margin-bottom: 8px; }
.trust-item p { color: var(--text-muted); font-weight: 600; }

/* Final CTA */
.final-cta { padding: 140px 0; }
.cta-inner {
    background: linear-gradient(135deg, #1e1b4b, #0c0a09);
    padding: 100px 40px;
    border-radius: 60px;
    color: white;
    text-align: center;
}

.cta-inner h2 { font-size: 56px; font-weight: 950; margin-bottom: 24px; }
.cta-inner h2 span { color: var(--secondary); }
.cta-inner p { font-size: 22px; opacity: 0.8; margin-bottom: 48px; }

.install-steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    opacity: 0.6;
    font-weight: 700;
}

/* Footer */
footer { padding: 80px 0 40px; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 40px;
}

.footer-info h3 { font-size: 28px; font-weight: 900; color: var(--primary); }
.footer-info p { color: var(--text-muted); font-size: 18px; margin-top: 8px; }

.footer-nav a {
    color: var(--text-dark);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 700;
}

.sub-footer {
    text-align: center;
    padding-top: 30px;
    color: #94a3b8;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 960px) {
    .hero-grid, .refer-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-text, .refer-text { order: 1; }
    .hero-visual, .refer-visual { order: 2; margin-top: 40px; }
    .hero p, .refer-text p { margin-left: auto; margin-right: auto; }
    .hero-actions { align-items: center; }
    .trust-grid { grid-template-columns: 1fr; gap: 60px; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 40px; }
    .footer-nav a { margin: 0 15px; }
}
