* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #10b981;
    --dark: #0f172a;
    --dark-card: #1e293b;
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --accent: #f59e0b;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
header {
    position: sticky;
    top: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.hero-trust {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-badges {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

/* Game Picker */
.game-picker {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 2rem;
    background: var(--dark-card);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-picker h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

/* .game-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem 1rem;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
} */

.game-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem 1rem;
    border-radius: 12px;
    text-align: center;

    /* thêm cho <a> */
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;

    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.game-card:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.game-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.game-picker {
    scroll-margin-top: 5rem;
}

/* Features Section */
.features {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--dark-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}


.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* User Insights */
.insights {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 3rem 2rem;
    background: var(--dark-card);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.insights h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2rem;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.insight-section h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.weakness h3 {
    color: var(--accent);
}

.insight-section ul {
    list-style: none;
}

.insight-section li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.insight-section li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--secondary);
}

.weakness {
    grid-column: 1 / -1;
}

.weakness li::before {
    content: "✖";
    color: var(--accent);
}

/* Comparison Table */
.comparison {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.comparison h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.comparison-table {
    background: var(--dark-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 1rem;
    text-align: left;
}

th {
    background: rgba(99, 102, 241, 0.1);
    font-weight: 600;
}

tr:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stars {
    color: var(--accent);
}

/* Pricing */
/* .pricing {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: var(--dark-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.pricing-card:hover {
    transform: scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.price {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary);
    margin: 1rem 0;
}

.price-small {
    font-size: 1rem;
    color: var(--text-muted);
}

.considerations {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 2rem;
  margin: 3rem auto;
  max-width: 900px;
}

.considerations h2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.considerations ul {
  margin-top: 1rem;
  list-style: none;
}

.considerations li {
  padding: 0.5rem 0;
  color: var(--text-muted);
} */


/* Reviews */

/* .reviews {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.reviews h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
} 

.review-card {
    background: var(--dark-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.review-stars {
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.reviews {
    scroll-margin-top: 5rem;
} */

/* Another CSS */
.reviews {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.reviews h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.review-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.review-nav { 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    background: var(--dark-card); 
    border: 1px solid rgba(255,255,255,0.2); 
    color: white; 
    font-size: 2rem; 
    width: 44px; 
    height: 44px; 
    border-radius: 50%; 
    cursor: pointer; 
    z-index: 2; 
} 

.review-nav.left { left: -56px; } 

.review-nav.right { right: -56px; } 

.review-nav:hover { background: var(--accent); }

.reviews-slider {
  position: relative;
  overflow: visible; /*cho nút tràn ra ngoài */
}

.reviews-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* IE/Edge cũ */
}

.reviews-viewport::-webkit-scrollbar {
  display: none;                /* Chrome / Safari */
}

.reviews-grid {
  display: flex;
  gap: 2rem;
  padding: 1rem 0;
}

.review-card {
  flex: 0 0 calc((100% - 4rem) / 3);
  scroll-snap-align: start;

  background: var(--dark-card);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
}

.reviews {
    scroll-margin-top: 5rem;
} 

/* FAQ */
.faq {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.faq h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.faq-item {
    background: var(--dark-card);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
}

.faq-question {
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    margin-top: 1rem;
    color: var(--text-muted);
    /* color:#a0a0a0; */
    display: block;
}

.faq-item.active .faq-answer {
    display: block;
}


/* Final CTA */
.final-cta {
    max-width: 1000px;
    margin: 4rem auto 0;
    padding: 2rem 2rem;
    text-align: center;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.03),
        rgba(255, 255, 255, 0.01)
    );
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}


.final-cta h2 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out;
    margin-bottom: 0.75rem;
}

.final-cta h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.final-cta p {
    font-size: 1rem;
    opacity: 0.85;
    margin-bottom: 2rem;
}

.faq, .final-cta {
    box-sizing: border-box;
}

/* .cta-button {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: var(--primary);
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
} */

/* .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
} */


/* Footer */
footer {
    background: var(--dark);
    padding: 3rem 2rem 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-disclosure {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copy {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .game-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    table {
        font-size: 0.85rem;
    }

    th, td {
        padding: 1rem 0.5rem;
    }
}

@media (max-width: 640px) {
  .review-nav {
    display: none;
  }
}