/* Base Reset & Variables */
:root {
    --bg-color: #0f172a;
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --primary-color: #8b5cf6;
    /* Violet */
    --secondary-color: #06b6d4;
    /* Cyan */
    --accent-glow: 0 0 20px rgba(139, 92, 246, 0.5);
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Effects */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
    animation: float 10s infinite ease-in-out;
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--primary-color), transparent);
}

.orb-2 {
    bottom: -10%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--secondary-color), transparent);
    animation-delay: -5s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, 30px);
    }
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

.highlight {
    color: var(--primary-color);
}

.gradient-text {
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Buttons */
a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5);
}

.btn-glow {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(139, 92, 246, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(139, 92, 246, 0);
    }
}

.btn-secondary {
    display: inline-block;
    padding: 12px 32px;
    color: var(--text-color);
    font-weight: 600;
    margin-left: 10px;
}

.btn-secondary:hover {
    color: var(--primary-color);
}

.btn-outline {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 20px;
    margin-top: 20px;
    font-weight: 600;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    /* subtle border */
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a:not(.btn-primary) {
    color: var(--text-color);
    font-weight: 500;
    opacity: 0.8;
}

.nav-links a:not(.btn-primary):hover {
    opacity: 1;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    position: relative;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 60px;
    padding: 20px 40px;
    display: inline-flex;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item .count {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-item .label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Common */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}


/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

/* Features Cards */
.card {
    padding: 40px;
    text-align: center;
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.card p {
    color: var(--text-muted);
}

/* Decorative Icon BG in Card */
.icon-bg {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 10rem;
    opacity: 0.03;
    transform: rotate(15deg);
    pointer-events: none;
}

/* Product Cards */
.product-card {
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s;
    /* Flexbox for equal height alignment */
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: scale(1.02);
}

.product-header {
    height: 150px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

/* Pattern Backgrounds usually better, but using gradient fallback for now */
.game-bg {
    background: linear-gradient(45deg, #1e1b4b, #4c1d95);
}

.stone-bg {
    background: linear-gradient(45deg, #1f2937, #d97706);
}

/* Amber/Gold for stones */
.sns-bg {
    background: linear-gradient(45deg, #0f172a, #0e7490);
}

.product-header h3 {
    position: relative;
    z-index: 2;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.sub-label {
    font-size: 0.9rem;
    font-weight: 400;
    color: #e2e8f0;
    margin-top: 5px;
}

.product-body {
    padding: 30px;
    text-align: center;
    /* Push button to bottom */
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-body ul {
    list-style: none;
    text-align: left;
    margin: 0 auto 20px;
    /* spacing before button */
    display: inline-block;
}

.product-body ul li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.product-body ul li i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* Payment Cards */
.payment-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    transition: transform 0.3s;
}

.payment-card:hover {
    transform: translateY(-5px);
    background: rgba(30, 41, 59, 0.9);
}

.pay-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    font-weight: bold;
    margin: 0 auto 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    /* Clip image corners */
    background: #1e293b;
    /* Default fallback */
}

.pay-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.paypay-bg {
    background: #ff0033;
}

.kyash-bg {
    background: #00a3ff;
}

.amazon-bg {
    background: #ff9900;
}

.apple-bg {
    background: #000000;
    border: 1px solid #333;
}

.payment-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.fee-text {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
}

.fee-text.free {
    color: #4ade80;
    /* Green */
    background: rgba(74, 222, 128, 0.1);
}

.fee-text.fee {
    color: #f87171;
    /* Red */
    background: rgba(248, 113, 113, 0.1);
}

/* Footer */
footer {
    padding: 50px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    margin-top: 50px;
}

/* Flow Section */
.flow-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 50px;
    position: relative;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0 auto 20px;
    position: relative;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.step-num {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 25px;
    height: 25px;
    background: var(--secondary-color);
    color: var(--bg-color);
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-line {
    flex: 1;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    margin-top: 40px;
    opacity: 0.3;
}

.center-btn {
    text-align: center;
    margin-top: 40px;
}

/* FAQ Section */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-question {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 30px;
    background: rgba(0, 0, 0, 0.2);
}

.faq-answer p {
    padding-bottom: 20px;
    color: var(--text-muted);
}

.faq-item.active {
    border-color: var(--primary-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    /* Approximate max height */
}

/* Enhanced Footer */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    text-align: left;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 15px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: white;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    margin-top: 30px;
    text-align: center;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .navbar {
        width: 100%;
        top: 0;
        border-radius: 0;
        padding: 15px 20px;
        background: rgba(15, 23, 42, 0.9);
    }

    .nav-links a:not(.btn-primary) {
        display: none;
        /* Hide links on mobile for simplicity, keep CTA */
    }

    .stats {
        flex-direction: column;
        gap: 30px;
    }

    .flow-steps {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .step-line {
        display: none;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-grid {
        gap: 40px;
    }

    .social-links {
        justify-content: center;
    }
}