/* ===== YaarWin CMS Modern UI ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg, #0a0e27);
  color: var(--text, #fff);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: .3s; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .3s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 8px 25px rgba(255,107,0,.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(255,107,0,.6); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); }
.btn-success {
  background: linear-gradient(135deg, #00c853, #1de9b6);
  color: #fff;
  box-shadow: 0 8px 25px rgba(0,200,83,.4);
}
.btn-success:hover { transform: translateY(-3px); }
.btn-lg { padding: 16px 36px; font-size: 17px; }

/* === Top Banner === */
.top-banner {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: #fff;
  padding: 10px 0;
  text-align: center;
  font-weight: 500;
  font-size: 14px;
  position: relative;
  z-index: 100;
}
.top-banner strong { background: rgba(255,255,255,.2); padding: 3px 10px; border-radius: 5px; }

/* === Header === */
/* ===== Header ===== */

.main-header {
    background: rgba(10,14,39,.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 24px;
    color: var(--primary);
    flex-shrink: 0;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    font-weight: 500;
    position: relative;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* ===== Tablet ===== */

@media (max-width: 968px) {

    .navbar {
        gap: 10px;
    }

    .logo {
        flex: 1;
        min-width: 0;
    }

    .logo img {
        height: 34px;
    }

    .logo span {
        font-size: 18px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav-menu {
        position: fixed;
        top: 75px;
        left: 0;
        width: 100%;
        background: rgba(10,14,39,.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        gap: 20px;
        padding: 25px;
        display: none;
        z-index: 9999;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-actions {
        gap: 6px;
        flex-shrink: 0;
    }

    .nav-actions .btn {
        padding: 8px 12px;
        font-size: 12px;
    }

    .menu-toggle {
        display: block;
        font-size: 22px;
    }
}

/* ===== Mobile ===== */

@media (max-width: 600px) {

    .main-header {
        padding: 10px 0;
    }

    .logo img {
        height: 30px;
    }

    .logo span {
        font-size: 16px;
        max-width: 120px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav-actions .btn-outline {
        display: none;
    }

    .nav-actions .btn-primary {
        padding: 7px 10px;
        font-size: 11px;
    }

    .menu-toggle {
        font-size: 20px;
    }
}

/* ===== Small Mobile ===== */

@media (max-width: 420px) {

    .logo span {
        max-width: 90px;
        font-size: 14px;
    }

    .nav-actions .btn-primary {
        padding: 6px 8px;
        font-size: 10px;
    }

    .menu-toggle {
        font-size: 18px;
    }
}

/* === Hero === */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background: linear-gradient(135deg, rgba(255,107,0,.1), rgba(233,30,99,.1));
  overflow: hidden;
}
.hero-bg-animation { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; z-index: 0; }
.hero-bg-animation span {
  position: absolute;
  display: block;
  width: 20px; height: 20px;
  background: var(--primary);
  border-radius: 50%;
  opacity: .1;
  animation: float 15s linear infinite;
}
.hero-bg-animation span:nth-child(1){ left:10%; animation-delay:0s; width:80px; height:80px; }
.hero-bg-animation span:nth-child(2){ left:30%; animation-delay:3s; width:40px; height:40px; }
.hero-bg-animation span:nth-child(3){ left:50%; animation-delay:6s; width:60px; height:60px; }
.hero-bg-animation span:nth-child(4){ left:70%; animation-delay:9s; width:30px; height:30px; }
.hero-bg-animation span:nth-child(5){ left:90%; animation-delay:12s; width:50px; height:50px; }
@keyframes float {
  0% { transform: translateY(100vh) rotate(0); }
  100% { transform: translateY(-100vh) rotate(720deg); }
}
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-badge {
  display: inline-block;
  background: rgba(255,107,0,.15);
  color: var(--primary);
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 20px;
  border: 1px solid var(--primary);
}
.hero h1 {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #fff, var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle { font-size: 22px; color: var(--secondary); font-weight: 600; margin-bottom: 15px; }
.hero-desc { font-size: 17px; color: rgba(255,255,255,.85); margin-bottom: 25px; }
.hero-stats { display: flex; gap: 30px; margin-bottom: 30px; flex-wrap: wrap; }
.stat-item { display: flex; flex-direction: column; }
.stat-item strong { font-size: 28px; color: var(--secondary); font-weight: 800; }
.stat-item span { color: rgba(255,255,255,.7); font-size: 13px; }
.hero-buttons { display: flex; gap: 12px; margin-bottom: 25px; flex-wrap: wrap; }
.hero-invite {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.05);
  padding: 12px 20px;
  border-radius: 50px;
  border: 1px dashed var(--primary);
}
.hero-invite strong { color: var(--secondary); font-size: 20px; letter-spacing: 1px; }
.copy-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
}

/* === Phone Mockup === */
.hero-visual { display: flex; justify-content: center; position: relative; }
.phone-mockup {
  width: 320px;
  height: 600px;
  background: linear-gradient(135deg, #1a1f3a, #0a0e27);
  border-radius: 40px;
  border: 8px solid #1a1f3a;
  box-shadow: 0 30px 80px rgba(255,107,0,.3);
  position: relative;
  padding: 30px 20px;
}
.phone-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 22px;
  background: #1a1f3a;
  border-radius: 0 0 15px 15px;
}
.phone-screen { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 30px; }
.game-icon {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 25px 15px;
  border-radius: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(255,107,0,.3);
  animation: bounce 3s ease-in-out infinite;
}
.game-icon:nth-child(2) { animation-delay: .5s; background: linear-gradient(135deg, #e91e63, #9c27b0); }
.game-icon:nth-child(3) { animation-delay: 1s; background: linear-gradient(135deg, #00bcd4, #2196f3); }
.game-icon:nth-child(4) { animation-delay: 1.5s; background: linear-gradient(135deg, #ffc107, #ff9800); }
.game-icon i { font-size: 36px; }
.game-icon span { font-size: 13px; }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.floating-coin {
  position: absolute;
  width: 60px; height: 60px;
  background: linear-gradient(135deg, #ffd700, #ffaa00);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(255,215,0,.5);
  animation: floatCoin 4s ease-in-out infinite;
}
.coin1 { top: 10%; left: -30px; }
.coin2 { bottom: 20%; right: -30px; animation-delay: 1s; }
.coin3 { top: 50%; left: -50px; animation-delay: 2s; }
@keyframes floatCoin { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-20px) rotate(180deg); } }

/* === Sections === */
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-tag {
  display: inline-block;
  background: rgba(255,107,0,.15);
  color: var(--primary);
  padding: 6px 18px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.section-header h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff, var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-header p { color: rgba(255,255,255,.7); font-size: 17px; }

/* === Features Table === */
.section-features { background: rgba(255,255,255,.02); }
.features-table-wrap { max-width: 800px; margin: 0 auto; }
.features-table {
  width: 100%;
  background: rgba(255,255,255,.03);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,107,0,.2);
}
.features-table th {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  padding: 18px 25px;
  text-align: left;
  font-size: 17px;
}
.features-table td {
  padding: 16px 25px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  font-size: 15px;
}
.features-table td i { color: var(--secondary); margin-right: 10px; }
.features-table tr:hover td { background: rgba(255,107,0,.05); }

/* === About === */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-content h2 { font-size: 38px; margin-bottom: 20px; }
.about-content p { color: rgba(255,255,255,.8); margin-bottom: 25px; }
.about-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.about-card {
  background: linear-gradient(135deg, rgba(255,107,0,.1), rgba(233,30,99,.1));
  padding: 30px 25px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.05);
  transition: .3s;
}
.about-card:hover { transform: translateY(-10px); border-color: var(--primary); }
.about-card i { font-size: 40px; color: var(--secondary); margin-bottom: 15px; }
.about-card h3 { font-size: 19px; margin-bottom: 8px; }
.about-card p { font-size: 14px; color: rgba(255,255,255,.7); }

/* === Steps === */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 25px; }
.step-card {
  background: rgba(255,255,255,.03);
  padding: 40px 25px;
  border-radius: 20px;
  text-align: center;
  position: relative;
  border: 1px solid rgba(255,255,255,.05);
  transition: .3s;
}
.step-card:hover { transform: translateY(-10px); border-color: var(--primary); }
.step-num {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 22px;
  margin-bottom: 20px;
}
.step-card i { font-size: 48px; color: var(--secondary); margin-bottom: 15px; }
.step-card h3 { margin-bottom: 10px; }

/* === Why Choose === */
.section-why { background: rgba(255,255,255,.02); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.why-card {
  background: linear-gradient(135deg, rgba(255,107,0,.08), rgba(233,30,99,.08));
  padding: 30px 20px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.05);
  transition: .3s;
}
.why-card:hover { transform: scale(1.05); }
.why-card i { font-size: 40px; color: var(--primary); margin-bottom: 15px; }
.why-card h3 { font-size: 17px; margin-bottom: 5px; }
.why-card p { font-size: 13px; color: rgba(255,255,255,.7); }

/* === Reviews === */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.review-card {
  background: rgba(255,255,255,.03);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.05);
  transition: .3s;
}
.review-card:hover { transform: translateY(-5px); border-color: var(--primary); }
.review-stars { color: var(--secondary); margin-bottom: 15px; font-size: 16px; }
.review-stars span { color: #fff; margin-left: 8px; font-weight: 600; }
.review-card p { color: rgba(255,255,255,.85); margin-bottom: 20px; font-style: italic; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar {
  width: 45px; height: 45px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
}
.reviewer strong { display: block; }
.reviewer span { font-size: 13px; color: rgba(255,255,255,.6); }

/* === FAQ === */
.section-faq { background: rgba(255,255,255,.02); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: rgba(255,255,255,.03);
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid rgba(255,255,255,.05);
  overflow: hidden;
}
.faq-q {
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
}
.faq-q i { transition: .3s; color: var(--primary); }
.faq-item.active .faq-q i { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  color: rgba(255,255,255,.8);
  transition: .4s;
}
.faq-item.active .faq-a { max-height: 300px; padding: 0 25px 20px; }

/* === Download CTA === */
.section-download { padding: 60px 0; }
.download-card {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 50px;
  border-radius: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  box-shadow: 0 20px 60px rgba(255,107,0,.3);
}
.download-card h2 { color: #fff; font-size: 32px; margin-bottom: 10px; }
.download-card p { color: rgba(255,255,255,.9); }
.download-card .btn-primary { background: #fff; color: var(--primary); }

/* === Blog === */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.blog-card {
  background: rgba(255,255,255,.03);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.05);
  transition: .3s;
}
.blog-card:hover { transform: translateY(-10px); border-color: var(--primary); }
.blog-img {
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  background-size: cover;
  background-position: center;
  position: relative;
}
.blog-cat {
  position: absolute;
  top: 15px; left: 15px;
  background: rgba(0,0,0,.7);
  color: #fff;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.blog-body { padding: 25px; }
.blog-body h3 { font-size: 19px; margin-bottom: 10px; }
.blog-body h3 a:hover { color: var(--primary); }
.blog-body p { color: rgba(255,255,255,.7); font-size: 14px; margin-bottom: 15px; }
.read-more { color: var(--primary); font-weight: 600; font-size: 14px; }
.read-more:hover { gap: 10px; }

/* === SEO Content === */
.section-seo {
  background: rgba(255,255,255,.02);
  padding: 40px 0;
}
.section-seo h2 { font-size: 24px; margin-bottom: 10px; }
.section-seo h3 { font-size: 17px; color: var(--secondary); margin-bottom: 15px; }
.seo-content {
  color: rgba(255,255,255,.6);
  font-size: 14px;
  line-height: 1.8;
}

/* === Footer === */
.main-footer {
  background: #050816;
  padding: 60px 0 20px;
  border-top: 1px solid rgba(255,255,255,.05);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.footer-logo img { height: 40px; }
.footer-logo h3 { color: var(--primary); }
.footer-col h4 { color: var(--secondary); margin-bottom: 20px; font-size: 17px; }
.footer-col p { color: rgba(255,255,255,.7); font-size: 14px; margin-bottom: 15px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: rgba(255,255,255,.7); font-size: 14px; display: flex; align-items: center; gap: 8px; }
.footer-col ul a i { font-size: 10px; color: var(--primary); }
.footer-col ul a:hover { color: var(--primary); }
.social-icons { display: flex; gap: 10px; margin-top: 15px; }
.social-icons a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: .3s;
}
.social-icons a:hover { background: var(--primary); transform: translateY(-3px); }
.contact-list { list-style: none; }
.contact-list li { margin-bottom: 10px; color: rgba(255,255,255,.8); font-size: 14px; }
.contact-list i { color: var(--primary); margin-right: 8px; }
.invite-code-footer {
  background: rgba(255,107,0,.15);
  color: var(--secondary);
  padding: 4px 10px;
  border-radius: 5px;
  font-weight: 700;
  letter-spacing: 1px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.05);
  padding-top: 20px;
  text-align: center;
  color: rgba(255,255,255,.5);
  font-size: 13px;
}

/* === WhatsApp Float === */
.whatsapp-float {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 60px; height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 8px 25px rgba(37,211,102,.4);
  z-index: 999;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  50% { box-shadow: 0 0 0 20px rgba(37,211,102,0); }
}

/* === Responsive === */
@media (max-width: 968px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .nav-menu {
    position: fixed;
    top: 70px; left: 0;
    width: 100%;
    background: rgba(10,14,39,.98);
    flex-direction: column;
    padding: 20px;
    display: none;
  }
  .nav-menu.active { display: flex; }
  .menu-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-header h2 { font-size: 30px; }
  .download-card { flex-direction: column; text-align: center; padding: 30px; }
  .download-card h2 { font-size: 24px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .phone-mockup { width: 260px; height: 480px; }
}
