/* =========================================================
   KARUPAN LOTTERY AGENCY — STYLESHEET
   Design: Modern / Premium / Glassmorphism
   ========================================================= */

/* ---------- CSS VARIABLES ---------- */
:root {
  --color-primary: #0f7b0f;
  --color-primary-dark: #0a5c0a;
  --color-primary-light: #1ea31e;
  --color-gold: #ffd700;
  --color-gold-dark: #d4af00;
  --color-white: #ffffff;
  --color-dark: #1a1a1a;
  --color-bg: #f8fafc;

  --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  --gradient-gold: linear-gradient(135deg, #ffe066 0%, var(--color-gold) 50%, var(--color-gold-dark) 100%);
  --gradient-hero: linear-gradient(160deg, #06280a 0%, #0f7b0f 55%, #146b16 100%);
  --gradient-text: linear-gradient(90deg, var(--color-gold) 0%, #fff3b0 50%, var(--color-gold) 100%);

  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.35);
  --glass-shadow: 0 8px 32px rgba(15, 30, 15, 0.08);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.12);
  --shadow-gold: 0 8px 24px rgba(255, 215, 0, 0.25);
  --shadow-green: 0 8px 24px rgba(15, 123, 15, 0.25);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 999px;

  --font-main: 'Poppins', sans-serif;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);

  --header-height: 84px;
}

/* ---------- RESET ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-main);
  color: var(--color-dark);
  background: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
i[data-lucide] { display: inline-block; width: 1em; height: 1em; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding { padding: 120px 0; }

@media (max-width: 768px) {
  .section-padding { padding: 80px 0; }
}

/* ---------- UTILITIES ---------- */
.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.section-tag {
  display: inline-block;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: rgba(15, 123, 15, 0.08);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
  color: var(--color-dark);
}

.section-desc {
  font-size: 1.05rem;
  color: #555;
  max-width: 560px;
}

.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-header .section-desc { margin-left: auto; margin-right: auto; }

/* ---------- BUTTONS ---------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  white-space: nowrap;
}

.btn i { width: 18px; height: 18px; }

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-green);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(15, 123, 15, 0.35);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.6);
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  backdrop-filter: blur(10px);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-3px);
}

.btn-lg { padding: 17px 34px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

.ripple { position: relative; overflow: hidden; }
.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transform: scale(0);
  animation: ripple-anim 0.6s linear;
  pointer-events: none;
}
@keyframes ripple-anim {
  to { transform: scale(3); opacity: 0; }
}

/* ---------- LOADING SCREEN ---------- */
#loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loading-screen.loaded { opacity: 0; visibility: hidden; }

.loader-content { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.loader-logo {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  object-fit: cover;
  animation: pulse-logo 1.4s ease-in-out infinite;
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.5);
}
@keyframes pulse-logo {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.loader-bar {
  width: 180px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.loader-bar span {
  display: block;
  height: 100%;
  width: 40%;
  background: var(--gradient-gold);
  border-radius: var(--radius-full);
  animation: loading-slide 1.2s ease-in-out infinite;
}
@keyframes loading-slide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ---------- SCROLL PROGRESS BAR ---------- */
#scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient-gold);
  z-index: 1001;
  transition: width 0.1s ease-out;
}

/* ---------- HEADER ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: transparent;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  height: 72px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}
.logo-text {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-white);
  transition: var(--transition);
}
.logo-text span { color: var(--color-gold); }
.header.scrolled .logo-text { color: var(--color-dark); }
.logo-text.light { color: var(--color-white) !important; }

.nav-menu ul {
  display: flex;
  gap: 40px;
}
.nav-link {
  position: relative;
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  padding: 8px 0;
  transition: var(--transition);
}
.header.scrolled .nav-link { color: var(--color-dark); }
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-gold);
  border-radius: var(--radius-full);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--color-gold); }
.header.scrolled .nav-link:hover, .header.scrolled .nav-link.active { color: var(--color-primary); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 20px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  z-index: 1100;
}
.hamburger span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--color-white);
  border-radius: var(--radius-full);
  transition: var(--transition);
}
.header.scrolled .hamburger span { background: var(--color-dark); }
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); background: var(--color-dark); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); background: var(--color-dark); }

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }

@media (max-width: 900px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 80%);
    height: 100vh;
    background: var(--color-white);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 120px 32px 40px;
  }
  .nav-menu.active { right: 0; }
  .nav-menu ul { flex-direction: column; gap: 28px; }
  .nav-link { color: var(--color-dark) !important; font-size: 1.1rem; }
  .header-actions .btn-primary span { display: none; }
  .header-actions .btn-primary { padding: 12px; }
  .hamburger { display: flex; }
}

@media (max-width: 480px) {
  .header-actions .btn-primary { display: none; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: var(--header-height);
}

#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.floating-ball {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-gold);
  animation: float-y 6s ease-in-out infinite;
}
.ball-1 { width: 70px; height: 70px; top: 18%; left: 6%; font-size: 1.6rem; animation-delay: 0s; }
.ball-2 { width: 56px; height: 56px; top: 68%; left: 12%; font-size: 1.3rem; animation-delay: 1s; }
.ball-3 { width: 64px; height: 64px; top: 25%; right: 8%; font-size: 1.5rem; animation-delay: 2s; }
.ball-4 { width: 46px; height: 46px; top: 78%; right: 20%; font-size: 1.1rem; animation-delay: 3s; }
.ball-5 { width: 52px; height: 52px; top: 50%; left: 3%; font-size: 1.2rem; animation-delay: 1.5s; }

@keyframes float-y {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-24px) rotate(8deg); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 60px 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.35);
  color: var(--color-gold);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
}
.hero-badge i { width: 16px; height: 16px; }

.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 14px;
}

.hero-subtitle {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
}

.hero-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 56px;
}

.hero-buttons .btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
}
.hero-buttons .btn-outline:hover {
  background: var(--color-white);
  color: var(--color-primary-dark);
  border-color: var(--color-white);
}

.hero-stats {
  display: flex;
  gap: 48px;
}
.stat-item { color: var(--color-white); }
.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-gold);
}
.stat-plus { font-size: 1.4rem; font-weight: 700; color: var(--color-gold); }
.stat-item p { font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); margin-top: 4px; }

/* hero visual ticket card */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.ticket-card {
  position: relative;
  width: 320px;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 215, 0, 0.08) inset;
  animation: float-y 5s ease-in-out infinite;
  overflow: hidden;
  z-index: 2;
}

.ticket-glow {
  position: absolute;
  top: -60%;
  left: -20%;
  width: 160%;
  height: 160%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

.ticket-top {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-gold);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 24px;
}
.clover-icon { width: 22px; height: 22px; }

.ticket-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 3px;
  margin-bottom: 24px;
}

.ticket-divider {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}
.ticket-divider span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.4);
}

.ticket-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ticket-bottom .label { font-size: 0.75rem; color: rgba(255, 255, 255, 0.6); margin-bottom: 4px; }
.ticket-bottom .value { font-size: 1.3rem; font-weight: 800; color: var(--color-gold); }
.rupee-icon { width: 34px; height: 34px; color: var(--color-gold); opacity: 0.7; }

.golden-shine {
  position: absolute;
  top: 0;
  left: -150%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  animation: shine-sweep 4s ease-in-out infinite;
}
@keyframes shine-sweep {
  0% { left: -150%; }
  50%, 100% { left: 150%; }
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(255, 215, 0, 0.25);
  animation: spin 30s linear infinite;
}
.ring-1 { width: 400px; height: 400px; }
.ring-2 { width: 480px; height: 480px; border-color: rgba(255, 255, 255, 0.08); animation-duration: 45s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-down-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--color-gold);
  animation: bounce-down 2s ease-in-out infinite;
}
@keyframes bounce-down {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { margin-top: 20px; min-height: 340px; }
  .ring-1 { width: 340px; height: 340px; }
  .ring-2 { width: 400px; height: 400px; }
}
@media (max-width: 480px) {
  .hero-stats { gap: 28px; }
  .stat-number { font-size: 1.7rem; }
  .ring-1 { width: 260px; height: 260px; }
  .ring-2 { width: 300px; height: 300px; }
}

/* ---------- ABOUT ---------- */
.about-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.about-visual { position: relative; }
.about-image-frame {
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-img {
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0 auto;
}

.about-badge {
  position: absolute;
  bottom: -24px;
  right: -16px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
}
.about-badge i { width: 32px; height: 32px; color: var(--color-primary); }
.about-badge strong { display: block; font-size: 1.1rem; color: var(--color-dark); }
.about-badge span { font-size: 0.8rem; color: #666; }

.about-text { color: #555; margin-bottom: 18px; }

.owner-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  margin: 28px 0;
}
.owner-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  flex-shrink: 0;
}
.owner-avatar i { width: 26px; height: 26px; }
.owner-info h3 { font-size: 1.1rem; font-weight: 700; }
.owner-info p { font-size: 0.9rem; color: #666; }
.owner-verified { margin-left: auto; color: var(--color-gold); }
.owner-verified i { width: 24px; height: 24px; }

.about-points { display: flex; flex-direction: column; gap: 12px; }
.about-point {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--color-dark);
}
.about-point i { width: 20px; height: 20px; color: var(--color-primary); flex-shrink: 0; }

@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-visual { margin-bottom: 40px; max-width: 400px; margin-left: auto; margin-right: auto; }
}

/* ---------- WEEKLY SCHEDULE ---------- */
.schedule { background: linear-gradient(180deg, #f8fafc 0%, #eef6ee 100%); }

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}

.schedule-card {
  position: relative;
  padding: 32px 22px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
  cursor: default;
  overflow: hidden;
}
.schedule-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
  z-index: 0;
}
.schedule-card > * { position: relative; z-index: 1; }

.schedule-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-lg);
}
.schedule-card:hover::before { opacity: 1; }
.schedule-card:hover .schedule-day,
.schedule-card:hover .schedule-name { color: var(--color-white); }
.schedule-card:hover .schedule-day-icon,
.schedule-card:hover .schedule-lottery-icon { background: rgba(255, 255, 255, 0.2); color: var(--color-gold); }
.schedule-card:hover .schedule-tag { background: rgba(255, 215, 0, 0.2); color: var(--color-gold); }

.schedule-card.featured {
  border: 1.5px solid var(--color-gold);
}

.schedule-day-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(15, 123, 15, 0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.schedule-day-icon i { width: 24px; height: 24px; }

.schedule-day {
  display: block;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-dark);
  margin-bottom: 18px;
  transition: var(--transition);
}

.schedule-lottery-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  border-radius: 12px;
  background: rgba(255, 215, 0, 0.12);
  color: var(--color-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.schedule-lottery-icon i { width: 20px; height: 20px; }

.schedule-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-dark);
  transition: var(--transition);
}

.schedule-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(15, 123, 15, 0.08);
  color: var(--color-primary);
  transition: var(--transition);
}

/* ---------- PRICING ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 780px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  padding: 44px 36px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
  overflow: hidden;
}
.pricing-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.pricing-card.popular {
  border: 1.5px solid var(--color-gold);
  transform: scale(1.04);
}
.pricing-card.popular:hover { transform: scale(1.04) translateY(-8px); }

.popular-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--gradient-gold);
  color: var(--color-dark);
  font-size: 0.75rem;
  font-weight: 700;
}
.popular-badge i { width: 13px; height: 13px; }

.ribbon {
  position: absolute;
  top: 22px;
  left: -42px;
  width: 160px;
  background: var(--gradient-primary);
  color: var(--color-white);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  padding: 6px 0;
  transform: rotate(-45deg);
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.5px;
}

.pricing-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 16px;
  background: rgba(15, 123, 15, 0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pricing-icon i { width: 28px; height: 28px; }

.pricing-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 6px; }
.pricing-caption { color: #666; font-size: 0.9rem; margin-bottom: 20px; }

.pricing-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 28px;
}
.pricing-amount .currency { font-size: 1.6rem; vertical-align: top; margin-right: 2px; }

.pricing-features {
  text-align: left;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #444;
  font-size: 0.95rem;
}
.pricing-features li i {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  background: rgba(15, 123, 15, 0.1);
  border-radius: 50%;
  padding: 3px;
  box-sizing: content-box;
  flex-shrink: 0;
}

/* ---------- WHY CHOOSE US ---------- */
.why-us { background: linear-gradient(180deg, #eef6ee 0%, #f8fafc 100%); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.feature-card {
  padding: 40px 30px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  position: relative;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--gradient-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: var(--shadow-green);
}
.feature-icon i { width: 28px; height: 28px; }

.feature-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: #666; font-size: 0.92rem; }

/* ---------- CONTACT ---------- */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  transition: var(--transition);
}
.contact-card:hover { transform: translateX(6px); }

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(15, 123, 15, 0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon i { width: 20px; height: 20px; }

.contact-card h4 { font-size: 0.9rem; color: #888; font-weight: 500; margin-bottom: 2px; }
.contact-card p { font-weight: 600; color: var(--color-dark); }
.contact-card a:hover { color: var(--color-primary); }

.contact-socials { display: flex; gap: 14px; margin-top: 24px; }
.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 123, 15, 0.08);
  color: var(--color-primary);
  transition: var(--transition);
}
.social-icon:hover {
  background: var(--gradient-primary);
  color: var(--color-white);
  transform: translateY(-4px);
}
.social-icon i, .social-icon svg { width: 18px; height: 18px; }

.contact-map { border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; }
.map-placeholder {
  height: 100%;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #777;
  text-align: center;
  padding: 40px;
  background: repeating-linear-gradient(45deg, rgba(15,123,15,0.03), rgba(15,123,15,0.03) 10px, transparent 10px, transparent 20px);
}
.map-placeholder i { width: 48px; height: 48px; color: var(--color-primary); opacity: 0.5; }
.map-placeholder p { font-weight: 600; color: var(--color-dark); }
.map-placeholder span { font-size: 0.85rem; max-width: 320px; }

@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; }
}

/* ---------- FOOTER ---------- */
.footer { background: #0d1f0d; color: rgba(255, 255, 255, 0.8); }

.footer-top { padding: 72px 0 48px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 48px;
}

.footer-brand p { margin: 18px 0 20px; color: rgba(255, 255, 255, 0.55); font-size: 0.92rem; max-width: 320px; }
.footer-brand .social-icon { background: rgba(255, 255, 255, 0.06); color: var(--color-gold); }
.footer-brand .social-icon:hover { background: var(--gradient-gold); color: var(--color-dark); }

.footer-links h4, .footer-contact h4 {
  color: var(--color-white);
  font-size: 1.05rem;
  margin-bottom: 20px;
  font-weight: 600;
}
.footer-links ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: rgba(255, 255, 255, 0.6); transition: var(--transition); font-size: 0.92rem; }
.footer-links a:hover { color: var(--color-gold); padding-left: 4px; }

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer-contact i { width: 18px; height: 18px; color: var(--color-gold); flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-credit { display: flex; align-items: center; gap: 6px; }
.footer-credit i { width: 14px; height: 14px; color: #e25555; }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- BACK TO TOP ---------- */
#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-green);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 900;
}
#back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#back-to-top:hover { transform: translateY(-4px) scale(1.05); }
#back-to-top i { width: 22px; height: 22px; }

/* ---------- SCROLL REVEAL (AOS fallback friendly) ---------- */
[data-aos] { transition-property: opacity, transform; }

/* ---------- RESPONSIVE TWEAKS ---------- */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }
}

@media (max-width: 480px) {
  .section-title { font-size: 1.7rem; }
  .ticket-card { width: 260px; padding: 26px 20px; }
  .pricing-amount { font-size: 2.4rem; }
}
