/* ==========================================================================
   COLOR PALETTE & CSS VARIABLES (91 CLUB RED THEME)
   ========================================================================== */
:root {
    --bg-main: #f4f7f9; /* Soft light gray background */
    --bg-card: #ffffff; /* Pure white cards */
    --bg-card-hover: #fff5f5;
    --primary-red: #D32F2F; /* Darker red for readable text/hover */
    --electric-red: #F44336; /* Standard 91 Club Red */
    --accent-red: #B71C1C; /* Deep red for accents */
    --text-main: #1e293b; /* Dark slate for main text */
    --text-gray: #64748b; /* Medium gray for secondary text */
    --border-color: #e2e8f0; /* Light gray borders */
    --gradient-red: linear-gradient(135deg, #EF5350 0%, #C62828 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
}

a {
    color: var(--electric-red);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--primary-red);
    text-decoration: underline;
}

/* NAVBAR */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo a:hover {
    text-decoration: none;
}

.logo-img {
    height: 38px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(244, 67, 54, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.logo-img:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 16px rgba(244, 67, 54, 0.45);
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--text-main);
}

.highlight {
    color: var(--electric-red);
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: var(--text-gray);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary-red);
    text-decoration: none;
}

.header-actions {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-block;
    text-decoration: none !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 14px rgba(244, 67, 54, 0.35);
}

.btn-login {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-login:hover {
    background: #f1f5f9;
}

.btn-register {
    background: var(--electric-red);
    color: #fff !important;
    border: none;
}

.btn-register:hover {
    background: var(--primary-red);
}

/* FLOATING BAR (MOBILE) */
.floating-bar {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    width: 90%;
    max-width: 400px;
    display: none;
}

.float-btn {
    display: block;
    text-align: center;
    background: var(--gradient-red);
    color: #fff !important;
    padding: 14px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
    text-decoration: none !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.float-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(244, 67, 54, 0.45);
}

/* LAYOUT CONTAINER */
.main-content {
    max-width: 1000px;
    margin: 30px auto;
    padding: 0 20px;
}

/* HERO CARD */
.hero-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 30px;
}

.main-title {
    font-size: 2.4rem;
    color: var(--text-main);
    margin-bottom: 15px;
    font-weight: 800;
}

.intro-description {
    color: var(--text-gray);
    font-size: 1.05rem;
    max-width: 800px;
    margin: 0 auto 25px auto;
}

.badge {
    background: #ffebee;
    color: var(--primary-red);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid #ffcdd2;
    font-size: 0.85rem;
}

/* LOGO GLOW CARD */
.logo-hero-wrapper {
    display: flex;
    justify-content: center;
    margin: 25px 0;
}

.logo-glow-card {
    position: relative;
    background: var(--bg-main);
    padding: 20px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 15px rgba(244, 67, 54, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-glow-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 25px rgba(244, 67, 54, 0.45);
}

.hero-app-logo {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    display: block;
}

/* BUTTON GROUPS */
.hero-btn-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.cta-banner-btn {
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-banner-btn:hover {
    transform: translateY(-3px);
}

.register-glow {
    background: var(--gradient-red);
    color: white !important;
    box-shadow: 0 4px 10px rgba(211, 47, 47, 0.2);
}

.register-glow:hover {
    box-shadow: 0 6px 18px rgba(244, 67, 54, 0.45);
}

.login-glow {
    background: var(--bg-main);
    color: var(--electric-red) !important;
    border: 1px solid var(--electric-red);
}

.login-glow:hover {
    box-shadow: 0 6px 18px rgba(244, 67, 54, 0.3);
}

.warning-box {
    background: #ffebee;
    border-left: 4px solid var(--electric-red);
    padding: 15px;
    border-radius: 4px;
    text-align: left;
    display: flex;
    gap: 12px;
    font-size: 0.9rem;
    color: #b71c1c;
}

.warning-box i {
    color: var(--electric-red);
    font-size: 1.2rem;
    margin-top: 2px;
}

/* SECTION BLOCKS */
.content-block {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.section-banner {
    background: #f8fafc;
    color: var(--text-main);
    padding: 12px 18px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-banner i {
    color: var(--electric-red);
}

/* STYLED TABLES */
.table-responsive {
    overflow-x: auto;
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.styled-table th, .styled-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.styled-table th {
    background: #f1f5f9;
    color: var(--text-main);
    font-weight: 700;
}

.styled-table td i {
    color: var(--electric-red);
    margin-right: 8px;
}

.invite-code {
    background: #ffebee;
    color: var(--primary-red);
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 700;
    border: 1px solid #ffcdd2;
}

/* TABLE OF CONTENTS */
.toc-box {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
}

.toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.toc-header h3 {
    color: var(--text-main);
    font-size: 1.1rem;
}

#toc-toggle {
    background: none;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
}

.toc-box ol {
    padding-left: 20px;
    color: var(--text-main);
}

.toc-box li {
    margin-bottom: 6px;
}

.toc-box a {
    color: var(--text-main);
}

.toc-box a:hover {
    color: var(--electric-red);
}

/* MOCKUP & GUIDE GRIDS */
.guide-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 25px;
    align-items: center;
}

.guide-grid.reverse {
    grid-template-columns: 1fr 280px;
}

.mockup-frame {
    text-align: center;
}

.phone-img {
    width: 100%;
    max-width: 260px;
    border-radius: 18px;
    border: 4px solid #f1f5f9;
    box-shadow: 0 0 15px rgba(244, 67, 54, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phone-img:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 25px rgba(244, 67, 54, 0.45);
}

.styled-steps {
    padding-left: 20px;
}

.styled-steps li {
    margin-bottom: 15px;
    color: var(--text-main);
}

/* APK CARD */
.apk-download-card {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.apk-icon {
    font-size: 2.2rem;
    color: #22c55e;
}

.btn-download {
    background: var(--electric-red);
    color: white !important;
    margin-left: auto;
    border: none;
}

/* FEATURES LIST */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--electric-red);
    border-radius: 8px;
    padding: 18px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-num {
    background: #ffebee;
    color: var(--primary-red);
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-text h3 {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

/* PROOF & CONTACT */
.proof-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.contact-card {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.contact-btn {
    padding: 10px 20px;
    border-radius: 6px;
    color: white !important;
    font-weight: 600;
    text-decoration: none !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 14px rgba(244, 67, 54, 0.35);
}

.contact-btn.telegram { background: #0284c7; }
.contact-btn.whatsapp { background: #16a34a; }

/* VIP TABLE SPECIFICS */
.vip-table tr.grand-prize {
    background: #fff5f5;
}

.vip-table tr.grand-prize td {
    color: var(--accent-red);
    font-weight: 700;
}

.event-note {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-top: 10px;
}

/* ALTERNATIVES TAGS */
.alt-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.alt-tag {
    background: #f1f5f9;
    color: var(--text-main);
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
}

/* FAQ ACCORDION */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-header {
    width: 100%;
    padding: 15px 20px;
    background: #f8fafc;
    border: none;
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.faq-header:hover {
    background-color: #f1f5f9;
}

.faq-header i {
    color: var(--text-gray);
    transition: transform 0.3s ease;
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--bg-card);
}

.faq-body p {
    padding: 15px 20px;
    color: var(--text-gray);
    font-size: 0.95rem;
    border-top: 1px solid var(--border-color);
}

.faq-item.active .faq-header i {
    transform: rotate(45deg);
}

/* CONCLUSION & RATING */
.conclusion-block {
    text-align: center;
}

/* PROFESSIONAL DARK FOOTER */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    border-top: none;
    padding: 60px 20px 30px 20px;
    margin-top: 60px;
    box-shadow: 0 -15px 30px rgba(0, 0, 0, 0.04);
}

.footer-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1.5fr;
    gap: 40px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cbd5e1;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: var(--electric-red);
    padding-left: 6px;
    text-decoration: none;
}

.footer-bottom {
    max-width: 1000px;
    margin: 40px auto 0 auto;
    border-top: 1px solid #1e293b;
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.85rem;
}

/* BLOG SECTION STYLES */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    padding: 0 !important;
    box-shadow: 0 0 12px rgba(244, 67, 54, 0.15);
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 22px rgba(244, 67, 54, 0.35);
}

.blog-img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid var(--border-color);
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

.blog-content {
    padding: 20px;
}

.blog-date {
    display: block;
    color: var(--text-gray);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.blog-title {
    font-size: 1.15rem;
    color: var(--text-main);
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-excerpt {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.blog-read-more {
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .floating-bar { display: block; }
    .guide-grid, .guide-grid.reverse { grid-template-columns: 1fr; gap: 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 25px; text-align: center; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; padding-bottom: 40px; }
    .main-title { font-size: 1.8rem; line-height: 1.3; }
    .intro-description { font-size: 0.95rem; }
    .section-banner { font-size: 1.05rem; flex-direction: column; text-align: center; gap: 6px; }
    .hero-btn-group { flex-direction: column; width: 100%; gap: 12px; }
    .cta-banner-btn { width: 100%; box-sizing: border-box; text-align: center; }
    .phone-img { margin: 0 auto; max-width: 80%; display: block; }
    .content-block { padding: 20px 15px; margin-bottom: 20px; }
    .hero-card { padding: 25px 15px; }
    .features-list { gap: 12px; }
    .feature-card { flex-direction: column; align-items: center; text-align: center; padding: 15px; }
    .table-responsive { -webkit-overflow-scrolling: touch; }
    .styled-table th, .styled-table td { padding: 10px 12px; font-size: 0.85rem; }
    .guide-steps { text-align: left; }
    .apk-download-card { flex-direction: column; text-align: center; gap: 10px; }
    .btn-download { margin-left: 0; width: 100%; text-align: center; }
    .contact-links { flex-direction: column; }
    .contact-btn { width: 100%; box-sizing: border-box; text-align: center; }
    .blog-grid { grid-template-columns: 1fr; }
}

.webstories-section {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.webstories-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.webstories-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 10px 0;
}

.ws-card {
  flex: 0 0 auto;
  width: 160px;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
}

.ws-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.ws-card p {
  margin-top: 6px;
  font-size: 14px;
  text-align: center;
}

.ws-arrow {
  background: #ffffffcc;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 18px;
  cursor: pointer;
  z-index: 2;
}

.ws-arrow-left { margin-right: -20px; }
.ws-arrow-right { margin-left: -20px; }