/* သီတင်းကျွတ် — a decorative Festival of Lights layer.
   Brand colors, page content, ad units and contact functionality stay intact. */
:root {
  --bg: #29162b;
  --bg-elevated: #352139;
  --card: rgba(39, 27, 46, .88);
  --card-soft: rgba(51, 32, 51, .9);
  --muted: #c6b9c8;
  --line: rgba(255, 213, 155, .15);
}
body {
  background:
    radial-gradient(ellipse at 5% 8%, #f09b3b29, transparent 34%),
    radial-gradient(ellipse at 95% 26%, #df66532b, transparent 38%),
    radial-gradient(ellipse at 50% 85%, #d7933320, transparent 48%),
    linear-gradient(160deg, #29162b, #35203a 48%, #251b32);
}
.ambient-3d-canvas { display: none; }
.thadingyut-sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  contain: strict;
  background:
    radial-gradient(circle at 12% 18%, #ffd68d8c 0 1px, transparent 2px),
    radial-gradient(circle at 86% 34%, #ffd68d80 0 1px, transparent 2px),
    radial-gradient(circle at 7% 72%, #ffd68d66 0 1px, transparent 2px),
    radial-gradient(circle at 93% 81%, #ffd68d80 0 1px, transparent 2px);
  background-size: 237px 317px, 337px 277px, 283px 383px, 397px 239px;
}
.festival-lantern {
  --size: 52px;
  --drift: 22px;
  --duration: 38s;
  position: absolute;
  width: var(--size);
  height: calc(var(--size) * 1.35);
  border-radius: 38% 38% 27% 27%;
  border: 1px solid #ffda9999;
  background:
    repeating-linear-gradient(90deg, transparent 0 18%, #9d3f2b3b 19% 20%),
    radial-gradient(ellipse at 50% 70%, #fff5c5, #ffc56e 38%, #e78b55 76%, #b44f45);
  box-shadow: inset 0 0 18px #fff0b469, 0 0 32px #ffb54c45, 0 0 90px #f99b3424;
  opacity: .65;
  top: 0;
  animation: festival-rise var(--duration) linear infinite;
  will-change: transform;
}
.festival-lantern::before {
  content: '';
  position: absolute;
  inset: auto 18% -4px;
  height: 7px;
  border: 1px solid #ffd48f;
  border-radius: 50%;
  background: #7e4233;
}
.festival-lantern::after {
  content: '';
  position: absolute;
  left: 44%;
  bottom: 6px;
  width: 12%;
  height: 23%;
  border-radius: 80% 20% 65% 35%;
  background: #fff9d7;
  box-shadow: 0 0 14px 5px #ffe094bb;
  transform-origin: 50% 100%;
  animation: lantern-flame 3.7s ease-in-out infinite alternate;
}
.lantern-one { left: 3%; animation-delay: -29s; }
.lantern-two { left: 10%; --size: 28px; --duration: 49s; opacity: .3; animation-delay: -19s; }
.lantern-three { right: 4%; --size: 64px; --drift: -20px; --duration: 43s; animation-delay: -27s; }
.lantern-four { right: 13%; --size: 34px; --duration: 55s; opacity: .3; animation-delay: -9s; }
.lantern-five { left: 1%; --size: 40px; --duration: 46s; animation-delay: -6s; }
.lantern-six { right: 1%; --size: 26px; --drift: -12px; --duration: 36s; opacity: .4; animation-delay: -4s; }
.festival-lights {
  position: absolute;
  inset: auto 0 0;
  height: 100px;
  opacity: .45;
  background:
    radial-gradient(ellipse at 50% 86%, #fff4c3 0 2px, #ffcb7866 3px, transparent 14px) 0 0 / 90px 100%,
    linear-gradient(transparent, #d8942a15);
}
.festival-candles {
  position: absolute;
  bottom: max(16px, env(safe-area-inset-bottom));
  display: flex;
  align-items: flex-end;
  gap: 15px;
  opacity: .8;
}
.candles-left { left: 22px; }
.candles-right { right: 22px; flex-direction: row-reverse; }
.festival-candle {
  --height: 46px;
  --flicker: 2.7s;
  position: relative;
  display: block;
  width: 18px;
  height: var(--height);
  border-radius: 5px 5px 3px 3px;
  background: linear-gradient(90deg, #ab7048, #f6d7a0 35%, #ffe9ba 58%, #b78555);
  border: 1px solid #ffda9b73;
  box-shadow: inset -3px 0 5px #8a4d3338, 0 5px 10px #120a223b;
}
.festival-candle:nth-child(2) { --height: 64px; --flicker: 3.3s; width: 22px; }
.festival-candle:nth-child(3) { --height: 35px; --flicker: 2.1s; }
.candles-right .festival-candle { --flicker: 3.1s; }
.candles-right .festival-candle:nth-child(2) { --flicker: 2.4s; }
.festival-candle::before {
  content: '';
  position: absolute;
  width: 2px;
  height: 8px;
  top: -7px;
  left: calc(50% - 1px);
  background: #472819;
}
.festival-candle::after {
  content: '';
  position: absolute;
  left: calc(50% - 6px);
  top: -28px;
  width: 12px;
  height: 25px;
  border-radius: 65% 35% 52% 48% / 75% 65% 35% 25%;
  background: radial-gradient(ellipse at 50% 85%, #fffbed 12%, #ffe8a4 35%, #ffc66c 62%, #f19a49 90%);
  box-shadow: 0 0 12px 4px #ffcd6d66, 0 0 36px 14px #e79b4326;
  transform-origin: 50% 100%;
  animation: candle-flicker var(--flicker) ease-in-out infinite;
}
.section-muted {
  background: linear-gradient(180deg, #2a1b33b8, #25182bd6);
  border-color: #edbf7924;
}
.site-header, .site-header.scrolled { background: #29192bed; border-bottom-color: #edbf7929; }
.hero { background-color: transparent; }
.hero::before { background: radial-gradient(ellipse at 65% 85%, #f0ac3d17, transparent 72%); }
.hero-glow { opacity: .25; }
.site-footer { background: #241629e8; border-top-color: #edbf7929; }
.site-loader { background: radial-gradient(circle at 50% 40%, #4a2b3b, #29162b 75%); }
@keyframes festival-rise {
  0% { transform: translate3d(0, calc(100vh + 130px), 0) rotate(-5deg); }
  25% { transform: translate3d(var(--drift), 72vh, 0) rotate(4deg); }
  50% { transform: translate3d(0, 44vh, 0) rotate(-4deg); }
  75% { transform: translate3d(var(--drift), 16vh, 0) rotate(3deg); }
  100% { transform: translate3d(0, -150px, 0) rotate(-5deg); }
}
@keyframes lantern-flame {
  from { transform: scale(.9, 1) rotate(-4deg); opacity: .8; }
  to { transform: scale(1.05, .92) rotate(5deg); opacity: 1; }
}
@keyframes candle-flicker {
  0%, 100% { transform: rotate(-3deg) scale(.98, 1); opacity: .92; }
  19% { transform: rotate(4deg) scale(1.04, .93); opacity: .85; }
  41% { transform: rotate(-5deg) scale(.93, 1.07); opacity: 1; }
  67% { transform: rotate(2deg) scale(1.03, .96); opacity: .88; }
  83% { transform: rotate(-1deg) scale(.98, 1.03); opacity: .96; }
}
@media (max-width: 900px) {
  .festival-lantern { opacity: .32; --size: 36px; --drift: 7px; }
  .lantern-two, .lantern-four, .lantern-six { display: none; }
  .lantern-three { right: 7px; }
  .lantern-one { left: 7px; }
  .lantern-five { left: 15px; --size: 26px; opacity: .24; }
  .mobile-menu.open, .mobile-action-bar { background: #29192bf5; }
}
@media (max-width: 640px) {
  .festival-candles { bottom: calc(90px + env(safe-area-inset-bottom)); gap: 9px; opacity: .5; transform: scale(.72); transform-origin: bottom left; }
  .candles-left { left: 8px; }
  .candles-right { right: 8px; transform-origin: bottom right; }
  .festival-candle:nth-child(3) { display: none; }
  .festival-lights { bottom: calc(80px + env(safe-area-inset-bottom)); height: 60px; opacity: .22; }
}
@media (prefers-reduced-motion: reduce) {
  .festival-lantern, .festival-lantern::after, .festival-candle::after { animation: none; will-change: auto; }
  .lantern-one { top: 17%; }
  .lantern-two { top: 55%; }
  .lantern-three { top: 24%; }
  .lantern-four { top: 69%; }
  .lantern-five { top: 83%; }
  .lantern-six { top: 87%; }
}
