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

:root {
  --gold: #f5c518;
  --gold2: #e0a800;
  --dark: #0d0720;
  --dark2: #1a0f35;
  --card-bg: rgba(26, 10, 46, 0.85);
  --text: #f0ecff;
  --accent: #8b5cf6;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background-color: var(--dark);
  color: var(--text);
  min-height: 100vh;
}

/* ===== TOP REDIRECT BAR ===== */
.top-redirect-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 52px;
  background: linear-gradient(90deg, #c8960a 0%, #f5c518 50%, #c8960a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.redirect-text {
  color: #1a0a2e;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
}

.redirect-text strong {
  font-size: 1.15rem;
  font-weight: 900;
  display: inline-block;
  min-width: 18px;
  text-align: center;
}

.redirect-now-btn {
  display: inline-block;
  background: #1a0a2e;
  color: #f5c518;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 7px 20px;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid #1a0a2e;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.3px;
}

.redirect-now-btn:hover {
  background: #f5c518;
  color: #1a0a2e;
}

@media (max-width: 480px) {
  .top-redirect-bar { gap: 10px; }
  .redirect-text { font-size: 0.8rem; }
  .redirect-now-btn { font-size: 0.8rem; padding: 6px 14px; }
}

/* ===== HEADER / NAV ===== */
.main-nav {
  position: fixed;
  top: 52px; left: 0; right: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 70px;
  background: rgba(9, 4, 28, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(245, 197, 24, 0.18);
  box-shadow: 0 2px 24px rgba(0,0,0,0.5);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-icon {
  font-size: 2rem;
  line-height: 1;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-text .brand {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-logo-text .sub {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}

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

.nav-cta {
  background: linear-gradient(90deg, #f5c518, #e0a800);
  color: #1a0a2e !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  padding: 10px 26px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,197,24,0.45);
  color: #1a0a2e !important;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 100px 20px 40px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('images/dragonmani.jpg') center center / cover no-repeat;
  filter: brightness(0.32) saturate(1.3);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,7,32,0.35) 0%, rgba(13,7,32,0.9) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  color: #1a0a2e;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 50px;
  margin-bottom: 22px;
}

.hero-badge::before { content: '●'; font-size: 0.5rem; }

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 18px;
  color: #fff;
  text-shadow: 0 2px 40px rgba(0,0,0,0.9);
}

.hero h1 .gold { color: var(--gold); }

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,0.8);
  margin-bottom: 38px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 16px 42px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(90deg, #f5c518, #e0a800);
  color: #1a0a2e;
  box-shadow: 0 4px 24px rgba(245,197,24,0.38);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 32px rgba(245,197,24,0.55);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-outline:hover {
  background: rgba(245,197,24,0.1);
  transform: translateY(-3px);
}

/* hero stats strip */
.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 40px;
  margin-top: 52px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stat {
  text-align: center;
}

.hero-stat strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold);
}

.hero-stat span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== SCROLL HINT ===== */
.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.5;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.scroll-hint .line {
  display: block;
  width: 2px;
  height: 32px;
  background: var(--gold);
  animation: scrollAnim 1.4s infinite;
}

@keyframes scrollAnim {
  0%, 100% { opacity: 0; transform: scaleY(0.4); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ===== SECTIONS ===== */
section { padding: 76px 20px; }

.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.section-title span { color: var(--gold); }

.section-sub {
  text-align: center;
  color: rgba(255,255,255,0.55);
  font-size: 1rem;
  margin-bottom: 52px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ===== FEATURES ===== */
.features { background: var(--dark2); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background: rgba(13, 7, 32, 0.7);
  border: 1px solid rgba(245,197,24,0.13);
  border-radius: 18px;
  padding: 34px 26px;
  text-align: center;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
  transform: translateY(-7px);
  border-color: rgba(245,197,24,0.4);
  box-shadow: 0 8px 32px rgba(245,197,24,0.1);
}

.feature-icon { font-size: 2.8rem; margin-bottom: 18px; display: block; }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--gold); margin-bottom: 10px; }
.feature-card p { font-size: 0.9rem; color: rgba(255,255,255,0.65); line-height: 1.65; }

/* ===== GALLERY / IMAGE CARDS ===== */
.gallery { background: var(--dark); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 26px;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-card {
  border-radius: 18px;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid rgba(245,197,24,0.12);
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

.gallery-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 16px 48px rgba(245,197,24,0.18);
}

.gallery-card-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.gallery-card:hover .gallery-card-img { transform: scale(1.04); }

.gallery-card-img-wrap {
  overflow: hidden;
  position: relative;
  height: 210px;
}

.gallery-card-label {
  position: absolute;
  top: 12px;
  left: 14px;
  background: rgba(13,7,32,0.82);
  border: 1px solid rgba(245,197,24,0.35);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
}

.gallery-card-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.gallery-card-body h3 { font-size: 1.08rem; font-weight: 800; color: #fff; margin-bottom: 10px; }
.gallery-card-body p { font-size: 0.88rem; color: rgba(255,255,255,0.66); line-height: 1.65; flex: 1; }

.card-cta {
  display: inline-block;
  margin-top: 18px;
  background: linear-gradient(90deg, #f5c518, #e0a800);
  color: #1a0a2e;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 24px;
  border-radius: 50px;
  text-align: center;
  transition: box-shadow 0.2s;
}

.gallery-card:hover .card-cta {
  box-shadow: 0 4px 16px rgba(245,197,24,0.4);
}

/* ===== SEO TEXT ===== */
.seo-section { background: var(--dark2); }

.seo-inner {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(13, 7, 32, 0.65);
  border: 1px solid rgba(245,197,24,0.13);
  border-radius: 22px;
  padding: 50px 56px;
}

.seo-inner h2 {
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 8px;
  font-weight: 900;
}

.seo-inner h3 {
  font-size: 1.1rem;
  color: rgba(245,197,24,0.85);
  font-weight: 700;
  margin: 28px 0 8px;
}

.seo-inner p {
  font-size: 0.97rem;
  line-height: 1.95;
  color: rgba(255,255,255,0.75);
  margin-bottom: 14px;
}

.seo-inner p:last-child { margin-bottom: 0; }

/* ===== FAQ ===== */
.faq-section { background: var(--dark); }

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid rgba(245,197,24,0.13);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s;
}

.faq-item.open {
  border-color: rgba(245,197,24,0.38);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 26px;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  line-height: 1.4;
  transition: color 0.2s;
  font-family: inherit;
}

.faq-q:hover { color: var(--gold); }

.faq-item.open .faq-q { color: var(--gold); }

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(245,197,24,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--gold);
  transition: transform 0.3s, background 0.3s;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: rgba(245,197,24,0.15);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 26px;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 26px 22px;
}

.faq-a p {
  font-size: 0.93rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
  border-top: 1px solid rgba(245,197,24,0.1);
  padding-top: 16px;
}

/* ===== TELEGRAM ===== */
.tg-section {
  background: var(--dark2);
  padding: 56px 20px;
}

.tg-inner {
  max-width: 860px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(26,10,46,0.9) 0%, rgba(22,60,100,0.6) 100%);
  border: 1px solid rgba(41,182,246,0.25);
  border-radius: 20px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.tg-icon {
  font-size: 3.2rem;
  flex-shrink: 0;
}

.tg-text { flex: 1; min-width: 200px; }

.tg-text h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.tg-text p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}

.tg-btn {
  display: inline-block;
  background: linear-gradient(135deg, #29b6f6, #0288d1);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(41,182,246,0.3);
  flex-shrink: 0;
}

.tg-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(41,182,246,0.45);
}

@media (max-width: 600px) {
  .tg-inner { padding: 28px 22px; flex-direction: column; text-align: center; }
  .tg-btn { width: 100%; text-align: center; }
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, #1a0f35 0%, #2d1060 100%);
  border-top: 1px solid rgba(245,197,24,0.2);
  border-bottom: 1px solid rgba(245,197,24,0.2);
  text-align: center;
  padding: 80px 20px;
}

.cta-banner h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
}

.cta-banner h2 span { color: var(--gold); }
.cta-banner p { color: rgba(255,255,255,0.65); font-size: 1.05rem; margin-bottom: 38px; }

/* ===== FOOTER ===== */
footer {
  background: #09041c;
  padding: 44px 20px 30px;
  text-align: center;
  border-top: 1px solid rgba(245,197,24,0.1);
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.footer-logo span { color: #fff; }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 18px 0;
  list-style: none;
}

.footer-links a {
  color: rgba(255,255,255,0.42);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-disclaimer {
  font-size: 0.79rem;
  color: rgba(255,255,255,0.28);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .main-nav { padding: 0 18px; }
  .nav-links { display: none; }
  .seo-inner { padding: 32px 22px; }
  .hero-stats { gap: 24px; }
}

@media (max-width: 480px) {
  .btn { padding: 14px 28px; font-size: 0.95rem; }
  .hero-btns { flex-direction: column; align-items: center; }
}
