/*
Theme Name: eDorkari
Theme URI: https://edorkari.com/
Author: eDorkari
Author URI: https://edorkari.com/
Description: eDorkari - Bangladesh's #1 OTT Subscription Provider. Dark theme with red accents.
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: edorkari
Tags: dark, one-page, custom-menu, responsive-layout
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #000000;
  --fg: #ffffff;
  --card: #141414;
  --card-fg: #ffffff;
  --primary: #c81e3b;
  --primary-fg: #ffffff;
  --secondary: #141414;
  --secondary-fg: #ffffff;
  --muted: #242424;
  --muted-fg: #a3a3a3;
  --border: #2e2e2e;
  --accent: #c81e3b;
  --radius: 0.75rem;
  --shadow-card: 0 8px 32px -8px rgba(200,30,59,0.15);
  --shadow-card-hover: 0 16px 48px -8px rgba(200,30,59,0.3);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 { font-family: 'Poppins', sans-serif; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.text-primary { color: var(--primary); }
.bg-primary { background: var(--primary); }
.text-muted { color: var(--muted-fg); }
.bg-card { background: var(--card); }
.bg-secondary { background: var(--secondary); }

/* ===== NOTICE BANNER ===== */
.notice-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  background: var(--primary); height: 32px;
  overflow: hidden; display: flex; align-items: center;
}
.notice-banner.hidden { display: none; }
.notice-marquee {
  display: flex; white-space: nowrap;
  animation: marquee 80s linear infinite;
  color: var(--primary-fg); font-size: 14px; font-weight: 600;
  letter-spacing: 0.025em;
}
.notice-marquee span { margin: 0 64px; }
.notice-close {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.2); border: none; color: #fff;
  width: 22px; height: 22px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; line-height: 1;
}
.notice-close:hover { background: rgba(255,255,255,0.4); }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 32px; left: 0; right: 0; z-index: 50;
  background: rgba(0,0,0,0.8); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(46,46,46,0.5);
  transition: top 0.3s;
}
.navbar.no-banner { top: 0; }
.navbar-inner {
  max-width: 1152px; margin: 0 auto; padding: 0 16px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.navbar-logo {
  font-family: 'Poppins', sans-serif; font-size: 20px;
  font-weight: 700; color: var(--primary);
}
.navbar-links { display: flex; align-items: center; gap: 24px; }
.navbar-links a {
  font-size: 14px; color: var(--muted-fg);
  transition: color 0.2s;
}
.navbar-links a:hover { color: var(--primary); }
.navbar-btn {
  padding: 8px 20px; border-radius: 8px;
  background: var(--primary); color: #fff;
  font-size: 14px; font-weight: 600; border: none; cursor: pointer;
  transition: filter 0.2s;
}
.navbar-btn:hover { filter: brightness(1.1); }

/* Mobile menu */
.menu-toggle {
  display: none; background: none; border: none;
  color: #fff; font-size: 24px; cursor: pointer;
}
.mobile-menu {
  display: none; background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 16px; flex-direction: column; gap: 12px;
}
.mobile-menu.active { display: flex; }
.mobile-menu a {
  font-size: 14px; color: var(--muted-fg); padding: 4px 0;
}
.mobile-menu a:hover { color: var(--primary); }
.mobile-menu .navbar-btn {
  text-align: center; display: block; width: 100%;
}

@media (max-width: 768px) {
  .navbar-links { display: none; }
  .menu-toggle { display: block; }
}

/* ===== SECTIONS ===== */
.section-padding { padding: 64px 16px; }
@media (min-width: 768px) { .section-padding { padding: 96px 32px; } }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  justify-content: center; text-align: center;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #000 0%, #0f0f0f 50%, #1a0a0e 100%);
}
.hero-badge {
  display: inline-block; padding: 6px 16px;
  border-radius: 9999px; border: 1px solid rgba(200,30,59,0.3);
  background: rgba(200,30,59,0.1); color: var(--primary);
  font-size: 14px; font-weight: 500; margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2rem, 6vw, 4rem); font-weight: 800;
  line-height: 1.1; margin-bottom: 24px;
}
.hero p {
  color: var(--muted-fg); font-size: 18px;
  max-width: 640px; margin: 0 auto 40px;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.hero-buttons a {
  padding: 16px 32px; border-radius: 8px;
  font-family: 'Poppins', sans-serif; font-weight: 600;
  font-size: 18px; transition: all 0.3s;
}
.btn-buy {
  background: var(--primary); color: #fff;
  box-shadow: 0 0 20px rgba(200,30,59,0.4);
}
.btn-buy:hover { filter: brightness(1.1); box-shadow: 0 0 30px rgba(200,30,59,0.6); }
.btn-view {
  background: var(--secondary); color: var(--secondary-fg);
  border: 1px solid var(--border);
}
.btn-view:hover { background: var(--muted); }
.hero-features { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.hero-features .feat { display: flex; align-items: center; gap: 8px; color: var(--muted-fg); font-size: 14px; font-weight: 500; }
.hero-features .feat svg { width: 20px; height: 20px; color: var(--primary); }

/* ===== PLANS ===== */
.plans-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(1, 1fr);
  max-width: 1280px; margin: 0 auto;
}
@media (min-width: 640px) { .plans-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .plans-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .plans-grid { grid-template-columns: repeat(4, 1fr); } }

.plan-card {
  position: relative; border-radius: 12px; border: 1px solid var(--border);
  background: var(--card); padding: 20px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: all 0.5s;
}
.plan-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-8px);
}
.plan-card.popular { border-color: rgba(200,30,59,0.6); box-shadow: 0 0 0 1px rgba(200,30,59,0.2), var(--shadow-card); }
.popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff;
  font-size: 10px; font-weight: 700; padding: 4px 12px;
  border-radius: 9999px; text-transform: uppercase; letter-spacing: 0.05em;
}
.plan-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.plan-emoji { font-size: 30px; }
.plan-name { font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 700; line-height: 1.2; }
.plan-type { font-size: 12px; color: var(--muted-fg); }

.duration-selector { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.duration-btn {
  font-size: 11px; padding: 4px 10px; border-radius: 6px;
  font-weight: 500; border: none; cursor: pointer;
  transition: all 0.2s;
  background: var(--muted); color: var(--muted-fg);
}
.duration-btn.active { background: var(--primary); color: #fff; }

.plan-price {
  font-family: 'Poppins', sans-serif; font-size: 30px;
  font-weight: 800; color: var(--primary); margin-bottom: 16px;
}

.toggle-btn {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; color: var(--muted-fg);
  background: none; border: none; cursor: pointer;
  margin-bottom: 8px; padding: 0;
}
.toggle-btn.primary-color { color: var(--primary); font-weight: 500; }
.toggle-btn svg { width: 14px; height: 14px; transition: transform 0.2s; }
.toggle-btn.open svg { transform: rotate(180deg); }

.screen-plans { margin-bottom: 12px; }
.screen-plan-item {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; background: rgba(36,36,36,0.5);
  border-radius: 8px; padding: 8px 12px; margin-bottom: 6px;
  transition: background 0.2s; cursor: pointer;
  color: rgba(255,255,255,0.8);
}
.screen-plan-item:hover { background: var(--muted); }
.screen-plan-item .price { font-weight: 700; color: var(--primary); }

.features-list { list-style: none; margin-bottom: 16px; }
.features-list li {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: rgba(255,255,255,0.75);
  margin-bottom: 6px;
}
.features-list li svg { width: 14px; height: 14px; color: var(--primary); flex-shrink: 0; }

.buy-btn {
  margin-top: auto; display: flex; align-items: center; justify-content: center;
  gap: 8px; width: 100%; padding: 12px; border-radius: 8px;
  font-weight: 600; font-size: 14px; border: none; cursor: pointer;
  background: var(--primary); color: #fff;
  box-shadow: 0 0 20px rgba(200,30,59,0.4);
  transition: all 0.3s;
}
.buy-btn:hover { filter: brightness(0.9); box-shadow: 0 0 30px rgba(200,30,59,0.6); }

/* ===== WHY CHOOSE US ===== */
.why-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(1, 1fr);
  max-width: 1152px; margin: 0 auto;
}
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }

.why-card {
  text-align: center; padding: 24px; border-radius: 12px;
  background: var(--card); border: 1px solid var(--border);
  transition: border-color 0.3s;
}
.why-card:hover { border-color: rgba(200,30,59,0.3); }
.why-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(200,30,59,0.1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.why-icon svg { width: 28px; height: 28px; color: var(--primary); }
.why-card h3 { font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--muted-fg); }

/* ===== ABOUT ===== */
.about-content { max-width: 768px; margin: 0 auto; text-align: center; }
.about-content p { color: var(--muted-fg); font-size: 18px; line-height: 1.7; }

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 32px; text-align: center;
  max-width: 640px; margin: 0 auto;
}
.stars { display: flex; justify-content: center; gap: 4px; margin-bottom: 16px; }
.stars svg { width: 20px; height: 20px; fill: var(--primary); color: var(--primary); }
.testimonial-card .review { color: rgba(255,255,255,0.8); font-size: 18px; font-style: italic; margin-bottom: 24px; }
.testimonial-card .reviewer { font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--primary); }
.testimonial-nav { display: flex; justify-content: center; gap: 16px; margin-top: 24px; }
.testimonial-nav button {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--border);
  color: #fff; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  transition: background 0.2s;
}
.testimonial-nav button:hover { background: var(--muted); }

/* ===== FAQ ===== */
.faq-list { max-width: 640px; margin: 0 auto; }
.faq-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 8px; padding: 0 24px; margin-bottom: 12px;
  overflow: hidden; transition: border-color 0.3s;
}
.faq-item.open { border-color: rgba(200,30,59,0.3); }
.faq-question {
  width: 100%; background: none; border: none; color: #fff;
  font-family: 'Poppins', sans-serif; font-weight: 600;
  font-size: 15px; text-align: left; padding: 20px 0;
  cursor: pointer; display: flex; align-items: center;
  justify-content: space-between;
}
.faq-question:hover { color: var(--primary); }
.faq-question svg { width: 16px; height: 16px; transition: transform 0.2s; }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s;
  color: var(--muted-fg); font-size: 14px; line-height: 1.6;
}
.faq-item.open .faq-answer { max-height: 200px; padding-bottom: 20px; }

/* ===== CONTACT ===== */
.contact-form { max-width: 560px; margin: 0 auto; }
.contact-form label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 12px 16px; border-radius: 8px;
  background: var(--card); border: 1px solid var(--border);
  color: #fff; font-size: 14px; margin-bottom: 16px;
  outline: none; transition: box-shadow 0.2s;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--muted-fg); }
.contact-form input:focus, .contact-form textarea:focus {
  box-shadow: 0 0 0 2px rgba(200,30,59,0.5);
}
.contact-form textarea { resize: none; }
.contact-form button {
  width: 100%; padding: 14px; border-radius: 8px;
  background: var(--primary); color: #fff;
  font-family: 'Poppins', sans-serif; font-weight: 600;
  font-size: 18px; border: none; cursor: pointer;
  box-shadow: 0 0 20px rgba(200,30,59,0.4);
  transition: all 0.3s;
}
.contact-form button:hover { filter: brightness(1.1); }

/* ===== DISCLAIMER ===== */
.disclaimer-box {
  max-width: 896px; margin: 0 auto; padding: 0 16px;
}
.disclaimer-inner {
  display: flex; align-items: flex-start; gap: 12px;
  background: rgba(0,0,0,0.5); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px;
}
.disclaimer-inner svg { width: 24px; height: 24px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.disclaimer-inner h3 {
  font-family: 'Poppins', sans-serif; font-weight: 600;
  font-size: 14px; color: var(--accent); margin-bottom: 8px;
}
.disclaimer-inner p { color: var(--muted-fg); font-size: 12px; line-height: 1.6; }
.disclaimer-inner a { color: var(--primary); }
.disclaimer-inner a:hover { text-decoration: underline; }

/* ===== FOOTER ===== */
.footer { border-top: 1px solid var(--border); background: var(--secondary); }
.footer-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 32px; max-width: 1152px; margin: 0 auto; padding: 48px 16px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer h3 { font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.footer h4 { font-family: 'Poppins', sans-serif; font-weight: 600; margin-bottom: 12px; }
.footer p, .footer li { font-size: 14px; color: var(--muted-fg); }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a:hover { color: var(--primary); }
.footer-payment {
  border-top: 1px solid var(--border); margin-top: 40px; padding-top: 24px;
  text-align: center;
}
.footer-payment p { font-size: 14px; color: var(--muted-fg); margin-bottom: 16px; }
.footer-payment img { height: 64px; width: auto; margin: 0 auto; }
.footer-copy {
  border-top: 1px solid var(--border); margin-top: 24px; padding-top: 24px;
  text-align: center; font-size: 14px; color: var(--muted-fg);
}

/* ===== LIVE ORDER POPUP ===== */
.live-popup {
  position: fixed; bottom: 64px; left: 16px; z-index: 70;
  max-width: 280px; opacity: 0; transform: translateY(30px);
  transition: opacity 0.4s, transform 0.4s; pointer-events: none;
}
.live-popup.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.live-popup-inner {
  background: var(--card); border: 1px solid rgba(46,46,46,0.6);
  border-radius: 12px; padding: 12px; box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  position: relative;
}
.live-popup-close {
  position: absolute; top: -6px; right: -6px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--muted); border: none; color: var(--muted-fg);
  cursor: pointer; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}
.live-popup-content { display: flex; align-items: flex-start; gap: 12px; }
.live-popup-emoji { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.live-popup-badge {
  display: inline-block; padding: 2px 6px;
  font-size: 10px; font-weight: 700; border-radius: 4px;
  background: rgba(34,197,94,0.2); color: #4ade80;
  text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.live-popup-text { font-size: 14px; line-height: 1.4; }
.live-popup-text strong { font-weight: 600; }
.live-popup-text .product { font-weight: 600; color: var(--primary); }
.live-popup-time { font-size: 11px; color: var(--muted-fg); margin-top: 4px; }

.sound-toggle {
  position: fixed; bottom: 16px; left: 16px; z-index: 70;
  padding: 8px; border-radius: 50%;
  background: var(--card); border: 1px solid rgba(46,46,46,0.5);
  color: var(--muted-fg); cursor: pointer;
  opacity: 0.4; transition: opacity 0.2s;
}
.sound-toggle:hover { opacity: 1; color: #fff; }
.sound-toggle svg { width: 14px; height: 14px; }

/* ===== SECTION TITLES ===== */
.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700; text-align: center; margin-bottom: 48px;
}

/* ===== TERMS & REFUND PAGES ===== */
.page-content {
  max-width: 768px; margin: 0 auto; padding: 64px 16px;
}
.page-content .back-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--primary); font-size: 14px; margin-bottom: 32px;
}
.page-content .back-link:hover { text-decoration: underline; }
.page-content h1 {
  font-family: 'Poppins', sans-serif; font-size: 30px;
  font-weight: 700; margin-bottom: 8px;
}
.page-content .date { color: var(--muted-fg); font-size: 14px; margin-bottom: 32px; }
.page-content section { margin-bottom: 24px; }
.page-content h2 {
  font-family: 'Poppins', sans-serif; font-size: 18px;
  font-weight: 600; margin-bottom: 8px;
}
.page-content p, .page-content li {
  color: var(--muted-fg); font-size: 14px; line-height: 1.6;
}
.page-content ul { list-style: disc; padding-left: 20px; }
.page-content li { margin-bottom: 4px; }

/* ===== UTILITY ===== */
@media (max-width: 640px) {
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 15px; }
  .hero-buttons a { padding: 12px 24px; font-size: 16px; }
  .live-popup { max-width: 260px; bottom: 56px; }
}
