/* ===================== Base / Reset ===================== */
:root {
  --ink: #FDFBF9;
  --slate: #B9AFAE;
  --bg: #200604;
  --amber: #FFB454;
  --amber-dark: #C2410C;
  --amber-soft: #3F150C;
  --border: #4A180F;
  --ink-strong: #2A0805;
  --ink-muted: #6B5850;
  --red: #F4523A;
  --orange: #FB8B24;
  --yellow: #FFD65A;
  --green: #22C55E;
  --saffron: #FF9933;
  --deep-red: #4A0E02;
  --header-gradient: linear-gradient(115deg, #300A03 0%, #7A1A05 45%, #C2410C 85%, #FFB454 130%);
  --footer-gradient: linear-gradient(165deg, #170302 0%, #330902 40%, #6B1705 75%, #8A220A 100%);
  --sunrise-gradient: linear-gradient(135deg, var(--red) 0%, var(--orange) 45%, var(--yellow) 100%);
  --font-head: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--slate);
  -webkit-font-smoothing: antialiased;
  opacity: 1;
  transition: opacity 0.5s ease;
}

body.preload {
  opacity: 0;
}

h1, h2, h3, .brand-name, .section-title, .btn {
  font-family: var(--font-head);
}

/* ===================== Page loader ===================== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo-wrap {
  position: relative;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-glow {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255, 214, 90, 0.95) 0%,
    rgba(251, 139, 36, 0.55) 35%,
    rgba(244, 82, 58, 0.15) 60%,
    rgba(244, 82, 58, 0) 75%);
  filter: blur(6px);
  opacity: 0;
  transform: scale(0.5);
  animation: loader-glow-in 3s ease-out forwards;
}

.loader-glow-ring {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(255, 214, 90, 0.5);
  opacity: 0;
  transform: scale(0.6);
  animation: loader-ring-in 3s ease-out forwards;
}

.loader-logo-img {
  position: relative;
  z-index: 2;
  width: 200px;
  height: 200px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255, 214, 90, 0.5), 0 0 34px 8px rgba(255, 180, 84, 0.55);
  image-rendering: -webkit-optimize-contrast;
  opacity: 0;
  transform: scale(0.75);
  filter: drop-shadow(0 0 18px rgba(255, 214, 90, 0.8));
  animation: loader-logo-in 3s ease-out forwards;
}

@keyframes loader-glow-in {
  0%   { opacity: 0;    transform: scale(0.4); }
  25%  { opacity: 1;    transform: scale(1.1); }
  45%  { opacity: 0.85; transform: scale(0.95); }
  65%  { opacity: 1;    transform: scale(1.05); }
  85%  { opacity: 0.9;  transform: scale(1); }
  100% { opacity: 0;    transform: scale(1.2); }
}

@keyframes loader-ring-in {
  0%   { opacity: 0;   transform: scale(0.5) rotate(0deg); }
  20%  { opacity: 0.9; transform: scale(1) rotate(60deg); }
  100% { opacity: 0;   transform: scale(1.6) rotate(220deg); }
}

@keyframes loader-logo-in {
  0%   { opacity: 0; transform: scale(0.7); }
  18%  { opacity: 1; transform: scale(1.05); }
  25%  { opacity: 1; transform: scale(1); }
  88%  { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.92); }
}

/* ===================== Scroll reveal ===================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

img, svg {
  display: block;
}

.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 1rem;
}

@media (min-width: 640px) {
  .section { padding: 5rem 1.5rem; }
}
@media (min-width: 1024px) {
  .section { padding: 5rem 2rem; }
}

.section-heading {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber);
  margin: 0;
}

.section-title {
  margin-top: 0.75rem;
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

@media (min-width: 640px) {
  .section-title { font-size: 2.25rem; }
}

.section-description {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--slate);
}

.field-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-strong);
  margin: 0 0 0.75rem 0;
}

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.65rem 1.3rem;
  transition: transform 0.15s ease, background-color 0.15s ease, opacity 0.15s ease;
}

.btn-primary {
  background: var(--sunrise-gradient);
  color: #fff;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.45);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(148, 163, 184, 0.4);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-buy {
  background: linear-gradient(135deg, var(--orange), var(--red));
  color: #fff;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}

.btn-buy:hover {
  filter: brightness(1.08);
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.45);
}

.btn-contact {
  background: linear-gradient(135deg, var(--green), #16a34a);
  color: #fff;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
}

.btn-contact:hover {
  filter: brightness(1.08);
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(34, 197, 94, 0.45);
}

.btn-lg {
  padding: 0.9rem 1.75rem;
  font-size: 0.9rem;
}

/* ===================== Header / Navbar ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 153, 51, 0.35);
  background: var(--header-gradient);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

.navbar {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
}

@media (min-width: 640px) {
  .navbar { padding: 0.75rem 1.5rem; }
}
@media (min-width: 1024px) {
  .navbar { padding: 0.75rem 2rem; }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.25rem;
  width: 2.25rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--amber);
  font-size: 1rem;
  overflow: hidden;
}

.logo-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.logo-mark {
  box-shadow: 0 0 0 2px rgba(255, 180, 84, 0.25), 0 2px 10px rgba(239, 68, 68, 0.35);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
  animation: logo-pulse 3.5s ease-in-out infinite;
}

.brand:hover .logo-mark {
  transform: rotate(-8deg) scale(1.08);
  box-shadow: 0 0 0 3px rgba(255, 214, 90, 0.4), 0 4px 16px rgba(239, 68, 68, 0.5);
}

@keyframes logo-pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(255, 180, 84, 0.25), 0 2px 10px rgba(239, 68, 68, 0.35); }
  50% { box-shadow: 0 0 0 4px rgba(255, 214, 90, 0.35), 0 2px 16px rgba(249, 115, 22, 0.55); }
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate);
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--amber);
}

.nav-cta {
  display: none;
}

.menu-toggle {
  background: none;
  border: none;
  padding: 0.5rem;
  border-radius: 0.375rem;
  color: var(--ink);
  font-size: 1.25rem;
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-cta { display: block; }
  .menu-toggle { display: none; }
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  border-top: 1px solid rgba(255, 153, 51, 0.25);
  background: var(--header-gradient);
  padding: 0.5rem 1rem 1.25rem;
}

.mobile-menu.open {
  display: flex;
}

.mobile-link {
  padding: 0.65rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate);
}

.mobile-link:hover {
  background: #f1f5f9;
  color: var(--amber);
}

.mobile-cta {
  margin-top: 0.5rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .mobile-menu { display: none !important; }
}

/* ===================== Hero ===================== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(239, 68, 68, 0.35), transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(255, 153, 51, 0.3), transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(194, 65, 12, 0.3), transparent 55%),
    linear-gradient(135deg, #2A0805 0%, #4A0E02 45%, #2A0805 100%);
}

.hero-motif {
  pointer-events: none;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.22;
}

.mandala {
  height: 140%;
  width: 140%;
  max-width: none;
  animation: spin 120s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===================== Hero dynamic layers ===================== */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  opacity: 0.5;
}

.hero-glow-1 {
  width: 380px;
  height: 380px;
  top: -80px;
  left: -80px;
  background: radial-gradient(circle, rgba(244, 82, 58, 0.55), transparent 70%);
  animation: drift-1 14s ease-in-out infinite;
}

.hero-glow-2 {
  width: 420px;
  height: 420px;
  bottom: -120px;
  right: -100px;
  background: radial-gradient(circle, rgba(255, 214, 90, 0.4), transparent 70%);
  animation: drift-2 18s ease-in-out infinite;
}

@keyframes drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.15); }
}

@keyframes drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, -40px) scale(1.1); }
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  bottom: -10px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0.55;
  animation: float-up linear infinite;
}

@keyframes float-up {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-110vh) translateX(var(--drift, 20px)); opacity: 0; }
}

.hero-in {
  opacity: 0;
  transform: translateY(24px);
  animation: hero-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--d, 0) * 0.14s + 0.2s);
}

@keyframes hero-rise {
  to { opacity: 1; transform: translateY(0); }
}

.hero-content {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 6rem 1rem;
  text-align: center;
}

@media (min-width: 640px) {
  .hero-content { padding: 8rem 1.5rem; }
}
@media (min-width: 1024px) {
  .hero-content { padding: 8rem 2rem; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(250, 204, 21, 0.35);
  background: rgba(249, 115, 22, 0.12);
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--yellow);
  position: relative;
  overflow: hidden;
}

.eyebrow::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: shimmer 3.2s ease-in-out infinite;
}

@keyframes shimmer {
  0% { left: -60%; }
  60%, 100% { left: 130%; }
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
}

@media (min-width: 640px) {
  .hero-title { font-size: 3rem; }
}
@media (min-width: 1024px) {
  .hero-title { font-size: 3.75rem; }
}

.accent-text {
  background: var(--sunrise-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  max-width: 640px;
  margin: 1.5rem auto 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #cbd5e1;
}

@media (min-width: 640px) {
  .hero-subtitle { font-size: 1.125rem; }
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-actions { flex-direction: row; }
}

.hero-actions .btn {
  width: 100%;
}

@media (min-width: 640px) {
  .hero-actions .btn { width: auto; }
}

/* ===================== Videos ===================== */
.video-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .video-grid { grid-template-columns: repeat(3, 1fr); }
}

.video-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.video-card:hover {
  box-shadow: 0 10px 28px rgba(255, 153, 51, 0.35);
  transform: translateY(-4px);
}

.video-more-btn {
  margin-top: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  border: none;
  border-radius: 999px;
  background: var(--amber-soft);
  color: var(--amber);
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.video-more-btn:hover {
  background: var(--amber);
  color: #fff;
  transform: translateY(-1px);
}

/* ===================== Video Subpage ===================== */
.video-subpage {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  overflow-y: auto;
  background: linear-gradient(165deg, #1C0402 0%, #2A0805 50%, #4A0E02 100%);
}

.video-subpage.open {
  display: block;
}

.video-subpage-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1rem 5rem;
}

@media (min-width: 640px) {
  .video-subpage-inner { padding: 2.5rem 1.5rem 5rem; }
}
@media (min-width: 1024px) {
  .video-subpage-inner { padding: 2.5rem 2rem 5rem; }
}

.video-subpage-close {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 153, 51, 0.4);
  background: rgba(255, 153, 51, 0.12);
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.video-subpage-close:hover {
  background: rgba(255, 153, 51, 0.25);
  transform: rotate(90deg);
}

.video-subpage-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 1rem;
}

.video-subpage-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ink), var(--ink) 60%, #1e293b);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-thumb .thumb-icon {
  font-size: 2.25rem;
  color: rgba(217, 119, 6, 0.5);
}

.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0);
  border: none;
  transition: background 0.15s ease;
}

.video-card:hover .video-play-btn {
  background: rgba(0,0,0,0.2);
}

.video-play-btn span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3.5rem;
  width: 3.5rem;
  border-radius: 999px;
  background: var(--amber);
  color: #fff;
  box-shadow: 0 8px 16px rgba(0,0,0,0.25);
  transition: transform 0.15s ease;
}

.video-card:hover .video-play-btn span {
  transform: scale(1.1);
}

.video-length {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  border-radius: 0.25rem;
  background: rgba(0,0,0,0.7);
  padding: 0.15rem 0.4rem;
  font-size: 0.7rem;
  font-weight: 500;
  color: #fff;
}

.video-pinned-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  color: #1a0500;
  padding: 0.25rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 2;
}

/* ===================== Video Player Modal ===================== */
.video-player-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.video-player-modal.open {
  display: flex;
}

.video-player-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 2, 1, 0.92);
}

.video-player-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
}

.video-player-el {
  width: auto;
  max-width: 100%;
  height: 80vh;
  max-height: 80vh;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  border-radius: 0.75rem;
  background: #000;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  display: block;
  object-fit: contain;
}

.video-player-title {
  margin: 0.9rem 0 0;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
}

.video-player-close {
  position: absolute;
  top: -3rem;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 153, 51, 0.4);
  background: rgba(255, 153, 51, 0.15);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.video-player-close:hover {
  background: rgba(255, 153, 51, 0.3);
  transform: rotate(90deg);
}

.video-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem;
}

.video-title {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink-strong);
  margin: 0;
}

.video-description {
  margin-top: 0.5rem;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--ink-muted);
}

/* ===================== Gallery ===================== */
.gallery-section {
  text-align: center;
}

.gallery-add-wrap {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

/* Add-photos control is admin-only — hidden from public visitors by default,
   revealed via script.js only after the admin passcode is entered. */
.admin-only {
  display: none;
}

.admin-mode .admin-only {
  display: inline-flex;
}

.btn-gallery {
  background: linear-gradient(135deg, var(--yellow), var(--green));
  color: #0B0F19;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.3);
}

.btn-gallery:hover {
  filter: brightness(1.06);
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(250, 204, 21, 0.4);
}

.gallery-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--bg-card, #131C2E);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item-pinned {
  border-color: var(--amber);
  box-shadow: 0 0 0 2px var(--amber-soft, rgba(217, 119, 6, 0.25));
}

.gallery-pinned-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: var(--amber);
  color: #1a1206;
  font-size: 0.7rem;
  font-weight: 700;
  z-index: 2;
}

.gallery-item-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 0.6rem 0.65rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
}

.gallery-item-remove {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  height: 1.75rem;
  width: 1.75rem;
  border-radius: 999px;
  border: none;
  background: rgba(15, 23, 42, 0.75);
  color: #fff;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.15s ease, background-color 0.15s ease;
}

.gallery-item:hover .gallery-item-remove {
  opacity: 1;
}

.gallery-item-remove:hover {
  background: var(--red);
}

.gallery-empty {
  margin-top: 2.5rem;
  padding: 3rem 1.5rem;
  border-radius: 1rem;
  border: 1px dashed var(--border);
  color: var(--slate);
  font-size: 0.9rem;
}

/* Photos are clickable — signal it visually */
.gallery-item img {
  cursor: zoom-in;
}

.gallery-item-zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.35);
  color: #fff;
  font-size: 1.3rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1;
}

.gallery-item-zoom i {
  height: 2.5rem;
  width: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.75);
}

.gallery-item:hover .gallery-item-zoom {
  opacity: 1;
}

/* ===================== Gallery Lightbox ===================== */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.gallery-lightbox.open {
  display: flex;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 2, 1, 0.92);
}

.gallery-lightbox-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-lightbox-img {
  width: auto;
  max-width: 100%;
  height: 80vh;
  max-height: 80vh;
  margin: 0 auto;
  border-radius: 0.75rem;
  background: #000;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  display: block;
  object-fit: contain;
}

.gallery-lightbox-caption {
  margin: 0.9rem 0 0;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
}

.gallery-lightbox-close {
  position: absolute;
  top: -3rem;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 153, 51, 0.4);
  background: rgba(255, 153, 51, 0.15);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
  z-index: 2;
}

.gallery-lightbox-close:hover {
  background: rgba(255, 153, 51, 0.3);
  transform: rotate(90deg);
}

.gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  width: 2.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 153, 51, 0.4);
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
  z-index: 2;
}

.gallery-lightbox-nav:hover {
  background: rgba(255, 153, 51, 0.3);
}

.gallery-lightbox-prev {
  left: -0.5rem;
}

.gallery-lightbox-next {
  right: -0.5rem;
}

@media (max-width: 640px) {
  .gallery-lightbox-prev { left: 0.25rem; }
  .gallery-lightbox-next { right: 0.25rem; }
  .gallery-lightbox-close { top: 0.25rem; right: 0.25rem; }
}

/* ===================== Gita Classes ===================== */
.classes-section {
  max-width: 1120px;
}

.classes-intro {
  max-width: 720px;
  margin: 1.5rem auto 0;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--slate);
}

.classes-note-grid {
  margin-top: 1.5rem;
}

.class-contact-card {
  max-width: 480px;
  margin: 2.5rem auto 0;
  text-align: center;
}

.class-contact-list {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.class-contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.9rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-strong);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.class-contact-item:hover {
  border-color: var(--amber);
  background: var(--amber-soft);
  color: var(--amber);
}

.class-contact-item i {
  color: var(--amber);
  font-size: 1rem;
}

/* ===================== Donate ===================== */
.donate-section {
  max-width: 896px;
}

.donate-card {
  margin-top: 3rem;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

@media (min-width: 640px) {
  .donate-card { padding: 2.5rem; }
}

.payment-method-wrap {
  margin-top: 2rem;
}

.payment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .payment-grid { grid-template-columns: repeat(3, 1fr); }
  .payment-grid.single-payment { grid-template-columns: 1fr; max-width: 260px; }
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  padding: 0.85rem 1rem;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.payment-option:hover {
  border-color: rgba(217, 119, 6, 0.5);
}

.payment-option.active {
  border-color: var(--amber);
  background: var(--amber-soft);
}

.payment-option input {
  accent-color: var(--amber);
  height: 1rem;
  width: 1rem;
}

.payment-option i {
  color: var(--ink-strong);
  font-size: 0.9rem;
}

.payment-option span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.payment-option.active i,
.payment-option.active span {
  color: var(--amber);
}

.upi-qr-panel {
  margin-top: 1rem;
}

.upi-qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--amber-soft, rgba(217, 119, 6, 0.06));
}

.upi-qr-img {
  width: 200px;
  max-width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
}

.upi-qr-id {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.upi-qr-note {
  font-size: 0.78rem;
  color: var(--slate);
  max-width: 320px;
  line-height: 1.4;
}

.bank-details-panel {
  margin-top: 1.5rem;
}

.bank-details-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--amber-soft, rgba(217, 119, 6, 0.06));
}

.bank-details-list {
  width: 100%;
  max-width: 360px;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bank-details-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--border);
}

.bank-details-list li:last-child {
  border-bottom: none;
}

.bank-details-label {
  font-size: 0.85rem;
  color: var(--ink);
  font-weight: 700;
}

.bank-details-value {
  font-size: 1rem;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: 0.02em;
}

.bank-details-note {
  font-size: 0.78rem;
  color: var(--slate);
  max-width: 340px;
  line-height: 1.4;
}

.bank-details-note a {
  color: var(--amber);
  font-weight: 600;
}

.btn-donate {
  margin-top: 2rem;
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  box-shadow: 0 6px 16px rgba(120, 53, 15, 0.2);
}

.btn-donate:hover {
  transform: scale(1.01);
}

.fund-breakdown {
  margin-top: 2.5rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.fund-breakdown-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink-strong);
}

/* ===================== Footer ===================== */
.site-footer {
  background: var(--footer-gradient);
  border-top: 1px solid rgba(255, 153, 51, 0.3);
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 4rem 1rem;
}

@media (min-width: 640px) {
  .footer-grid { padding: 4rem 1.5rem; }
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .footer-grid { padding: 4rem 2rem; }
}

.footer-brand-icon {
  background: rgba(255,255,255,0.1);
}

.footer-brand-name {
  color: #fff;
}

.footer-tagline {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: #94a3b8;
}

.social-links {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.25rem;
  width: 2.25rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: #cbd5e1;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.social-link:hover {
  background: var(--amber);
  color: #fff;
}

.footer-heading {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.footer-list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-list.plain li {
  font-size: 0.875rem;
  color: #94a3b8;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  color: #94a3b8;
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: var(--amber);
}

.footer-link i {
  font-size: 0.7rem;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact-list li i {
  font-size: 0.8rem;
  color: var(--amber);
  width: 1rem;
  text-align: center;
}

.footer-link-plain {
  color: #94a3b8;
  font-size: 0.875rem;
  transition: color 0.15s ease;
}

.footer-link-plain:hover {
  color: var(--amber);
}

.newsletter-form {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.newsletter-field {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  padding: 0.6rem 0.9rem;
}

.newsletter-field i {
  color: #94a3b8;
  font-size: 0.85rem;
}

.newsletter-field input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.875rem;
  color: #fff;
}

.newsletter-field input::placeholder {
  color: #64748b;
}

.newsletter-submit {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  width: 2.5rem;
  border: none;
  border-radius: 999px;
  background: var(--amber);
  color: #fff;
  transition: transform 0.15s ease;
}

.newsletter-submit:hover {
  transform: scale(1.05);
}

.newsletter-success {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--amber);
}

.footer-bottom {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 2rem 1rem;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; flex-wrap: wrap; padding: 2rem 1.5rem; }
}
@media (min-width: 1024px) {
  .footer-bottom { padding: 2rem 2rem; }
}

.footer-bottom p {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0;
}

.footer-credit {
  width: 100%;
  text-align: center;
  order: 3;
}

/* ===================== Acharya's Note ===================== */
.acharya-note-section {
  max-width: 1100px;
  margin: 0 auto;
}

.acharya-photo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 1.5rem;
}

.acharya-photo-frame {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 720 / 293;
  border-radius: 14px;
  padding: 5px;
  background: linear-gradient(135deg, var(--yellow), var(--orange) 55%, var(--red));
  box-shadow: 0 0 0 1px rgba(255, 214, 90, 0.25), 0 10px 30px rgba(0, 0, 0, 0.35);
}

.acharya-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  border: 3px solid var(--bg);
  display: block;
  background: var(--bg);
}

.acharya-photo-name {
  margin: 1rem 0 0.25rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
}

.acharya-photo-caption {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-muted);
  font-style: italic;
}

.acharya-note-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 900px) {
  .acharya-note-grid { grid-template-columns: 1fr 1fr; }
}

.acharya-note-block {
  background: var(--surface, rgba(255,255,255,0.03));
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  border-left: 4px solid var(--yellow, #FFD65A);
  border-radius: 16px;
  padding: 2rem 2.25rem;
}

.acharya-note-lang-title {
  font-family: var(--font-heading, inherit);
  font-weight: 700;
  color: var(--yellow, #FACC15);
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.acharya-note-text {
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.85;
  color: var(--ink, #FDFBF9);
  letter-spacing: 0.01em;
}

.acharya-note-block:first-child .acharya-note-text {
  font-family: "Noto Sans Devanagari", var(--font-body);
}

/* ===================== Regular Posts Dropdown ===================== */
.regular-posts-dropdown {
  position: relative;
  display: inline-block;
}

.regular-posts-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 260px;
  background: var(--surface, #11151f);
  border: 1px solid var(--border, rgba(255,255,255,0.1));
  border-radius: 12px;
  padding: 0.5rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  z-index: 20;
}

.regular-posts-dropdown.open .regular-posts-menu {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.regular-posts-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--ink-strong, #f1f5f9);
  font-size: 0.9rem;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
}

.regular-posts-item:hover {
  background: rgba(250, 204, 21, 0.12);
}
