/* ============================================
   GiantVapesDiscountCode.com — Global Styles
   ============================================ */

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

:root {
  --primary: #00d4ff;
  --accent:  #7cffa4;
  --orange:  #ff6b35;
  --dark:    #0a0e1a;
  --dark2:   #111827;
  --card:    #151c2c;
  --border:  #1e2d4a;
  --text:    #e2e8f0;
  --muted:   #8892a2;
  --gradient: linear-gradient(135deg, #00d4ff 0%, #7cffa4 100%);
  --gradient-hero: linear-gradient(135deg, #040b1a 0%, #0a1628 50%, #071320 100%);
  --radius:  12px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; display: block; }

h1,h2,h3,h4,h5 { font-weight: 800; line-height: 1.2; color: #fff; }

/* ── Container ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 20px; }

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1160px;
  margin: 0 auto;
}
.logo img { height: 48px; width: auto; }
.logo-text {
  font-size: 1.2rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

nav { display: flex; align-items: center; gap: 6px; }
nav a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  transition: all .2s;
  white-space: nowrap;
}
nav a:hover, nav a.active {
  color: var(--primary);
  background: rgba(0, 212, 255, 0.08);
}

.nav-cta {
  background: var(--gradient) !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  border-radius: 50px !important;
  padding: 8px 18px !important;
  font-weight: 700 !important;
}
.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 20px 16px;
  border-top: 1px solid var(--border);
  background: rgba(10, 14, 26, 0.98);
}
.mobile-nav a { color: var(--muted); font-weight: 600; padding: 10px 14px; border-radius: 8px; display: block; }
.mobile-nav a:hover { color: var(--primary); background: rgba(0,212,255,0.07); }
.mobile-nav.open { display: flex; }

/* ── HERO BANNER ── */
.hero {
  background: var(--gradient-hero);
  padding: 80px 20px 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,212,255,0.12) 0%, transparent 70%),
              radial-gradient(ellipse at 80% 80%, rgba(124,255,164,0.07) 0%, transparent 60%);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,107,53,0.15);
  border: 1px solid rgba(255,107,53,0.4);
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
  animation: pulse-badge 2s infinite;
}
@keyframes pulse-badge {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,107,53,0.4); }
  50%      { box-shadow: 0 0 0 8px rgba(255,107,53,0); }
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 900;
  margin-bottom: 18px;
  position: relative;
}
.hero h1 .highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 32px;
  position: relative;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 40px;
  position: relative;
}
.hero-stat {
  text-align: center;
}
.hero-stat .num {
  font-size: 2rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat .label { font-size: 0.82rem; color: var(--muted); margin-top: 2px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  transition: all .25s;
  text-decoration: none;
}
.btn-primary {
  background: var(--gradient);
  color: #000;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,212,255,0.3); color: #000; }
.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover { background: rgba(0,212,255,0.1); }
.btn-orange {
  background: linear-gradient(135deg, #ff6b35, #ff9500);
  color: #fff;
}
.btn-orange:hover { opacity:0.88; transform:translateY(-2px); box-shadow:0 10px 30px rgba(255,107,53,0.35); color:#fff; }
.btn-green {
  background: linear-gradient(135deg, #00c97a, #7cffa4);
  color: #000;
}
.btn-green:hover { opacity:0.88; transform:translateY(-2px); color:#000; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ── COUPON CARDS ── */
.section { padding: 60px 0; }
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  text-align: center;
  margin-bottom: 10px;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 44px;
  font-size: 1rem;
}

.coupon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 22px; }

.coupon-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.coupon-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
}
.coupon-card:hover { transform: translateY(-4px); border-color: rgba(0,212,255,0.4); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }

.coupon-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.badge-hot { background: rgba(255,107,53,0.15); color: #ff6b35; border: 1px solid rgba(255,107,53,0.3); }
.badge-verified { background: rgba(0,201,122,.15); color: #00c97a; border: 1px solid rgba(0,201,122,.3); }
.badge-new { background: rgba(0,212,255,.15); color: var(--primary); border: 1px solid rgba(0,212,255,.3); }

.coupon-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.coupon-card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; }

.coupon-row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.code-box {
  flex: 1;
  background: rgba(0,212,255,0.07);
  border: 2px dashed rgba(0,212,255,0.35);
  border-radius: 10px;
  padding: 13px 16px;
  font-family: 'Courier New', monospace;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  cursor: pointer;
  transition: all .2s;
  letter-spacing: 1px;
}
.code-box:hover { background: rgba(0,212,255,0.12); }

.copy-btn {
  background: var(--gradient);
  color: #000;
  border: none;
  border-radius: 10px;
  padding: 13px 20px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all .25s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.copy-btn:hover { opacity: 0.85; transform: translateY(-1px); }
.copy-btn.copied { background: linear-gradient(135deg,#00c97a,#7cffa4); }

.coupon-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.meta-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--muted);
  background: rgba(255,255,255,0.04);
  padding: 4px 10px;
  border-radius: 50px;
}

/* ── TRUST BAR ── */
.trust-bar {
  background: rgba(0,201,122,0.07);
  border: 1px solid rgba(0,201,122,0.2);
  border-radius: var(--radius);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #7cffa4;
}

/* ── HOW TO USE ── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 40px; }
.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: transform .3s;
}
.step-card:hover { transform: translateY(-4px); }
.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  color: #000;
  font-weight: 900;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step-card h4 { margin-bottom: 8px; font-size: 1rem; }
.step-card p { color: var(--muted); font-size: 0.88rem; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.97rem;
  transition: background .2s;
  gap: 12px;
}
.faq-q:hover { background: rgba(255,255,255,0.03); }
.faq-icon { font-size: 1.3rem; color: var(--primary); transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
  padding: 0 22px;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 22px 18px; }

/* ── INFO GRID ── */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 32px; }
.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .3s, border-color .3s;
}
.info-card:hover { transform: translateY(-3px); border-color: rgba(0,212,255,0.3); }
.info-icon { font-size: 2rem; margin-bottom: 12px; }
.info-card h4 { margin-bottom: 8px; font-size: 1rem; }
.info-card p { color: var(--muted); font-size: 0.88rem; line-height: 1.6; }

/* ── CTA SECTION ── */
.cta-section {
  background: linear-gradient(135deg, rgba(0,212,255,0.1) 0%, rgba(124,255,164,0.07) 100%);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: var(--radius-lg);
  padding: 56px 32px;
  text-align: center;
  margin: 60px 0;
}
.cta-section h2 { font-size: clamp(1.6rem,3vw,2.4rem); margin-bottom: 14px; }
.cta-section p { color: var(--muted); max-width: 520px; margin: 0 auto 28px; }

/* ── FOOTER ── */
.site-footer {
  background: rgba(8,12,22,0.98);
  border-top: 1px solid var(--border);
  padding: 60px 20px 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1160px;
  margin: 0 auto;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-brand p { color: var(--muted); font-size: 0.9rem; margin-top: 14px; line-height: 1.7; }
.footer-col h5 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 16px;
}
.footer-col a { display: block; color: var(--muted); font-size: 0.9rem; padding: 4px 0; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  max-width: 1160px;
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--muted);
}
.footer-logo-text {
  font-size: 1rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.disclaimer-notice {
  background: rgba(255,107,53,0.07);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.8rem;
  color: #ff9d70;
  margin-top: 12px;
  line-height: 1.6;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--gradient-hero);
  border-bottom: 1px solid var(--border);
  padding: 60px 20px 50px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.8rem,4vw,3rem); margin-bottom: 14px; }
.page-hero p { color: var(--muted); max-width: 600px; margin: 0 auto; }

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted);
  padding: 14px 0;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--border); }
.breadcrumb span { color: var(--text); }

/* ── PROSE ── */
.prose h2 { font-size: 1.5rem; margin: 32px 0 12px; color: #fff; }
.prose h3 { font-size: 1.15rem; margin: 24px 0 10px; color: var(--accent); }
.prose p { color: var(--muted); margin-bottom: 14px; line-height: 1.8; }
.prose ul { padding-left: 22px; margin-bottom: 14px; }
.prose li { color: var(--muted); margin-bottom: 7px; line-height: 1.7; }
.prose strong { color: var(--text); }
.prose a { color: var(--primary); }

/* ── CONTACT FORM ── */
.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 640px;
  margin: 0 auto;
}
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; color: var(--text); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--primary);
  background: rgba(0,212,255,0.04);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--muted); }

/* ── TABLE OF CODES (main page table) ── */
.codes-table { width: 100%; border-collapse: collapse; margin-top: 28px; }
.codes-table thead th {
  background: var(--card);
  padding: 14px 16px;
  text-align: left;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.codes-table tbody tr { border-bottom: 1px solid rgba(255,255,255,0.04); transition: background .2s; }
.codes-table tbody tr:hover { background: rgba(255,255,255,0.02); }
.codes-table td { padding: 16px; font-size: 0.92rem; color: var(--muted); vertical-align: middle; }
.codes-table td:first-child { font-weight: 600; color: var(--text); }
.table-code { font-family: monospace; color: var(--primary); font-weight: 700; font-size: 1rem; letter-spacing: 1px; }
.table-discount { font-weight: 700; color: #7cffa4; }

/* ── RATINGS ── */
.rating-stars { color: #fbbf24; letter-spacing: 2px; }
.rating-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.bar-track { flex: 1; height: 8px; background:rgba(255,255,255,0.08); border-radius:50px; overflow:hidden; }
.bar-fill { height: 100%; background: var(--gradient); border-radius: 50px; transition: width 1s ease; }

/* ── ANIMATIONS ── */
@keyframes slideUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:none} }
.animate-up { animation: slideUp .5s ease forwards; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  nav { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .coupon-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .coupon-row { flex-direction: column; }
  .copy-btn { width: 100%; justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-form { padding: 24px; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
}
