@property --edge-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
:root { color-scheme: dark; --gold:#ffcf78; --light-gold:#fff0bd; --page-width:1260px; font-family:Arial,"Microsoft YaHei","PingFang SC","Noto Sans CJK SC",sans-serif; color:#fff8e7; background:#140509; }
* { box-sizing:border-box; }
html { min-width:320px; scroll-behavior:smooth; }
body { margin:0; min-height:100vh; isolation:isolate; background:linear-gradient(180deg,rgba(9,3,9,.16),rgba(28,3,5,0) 50%,rgba(20,1,5,.35)),url('../assets/theatre.webp') center top / cover no-repeat; }
body::before { content:""; position:fixed; inset:0; pointer-events:none; z-index:-1; background:radial-gradient(ellipse at 50% 12%,transparent 30%,#0e030722 70%); }
a { color:inherit; text-decoration:none; -webkit-tap-highlight-color:transparent; }
button,select { font:inherit; }
button,a,select { touch-action:manipulation; }
button:focus-visible,a:focus-visible,select:focus-visible { outline:3px solid #fff0bd; outline-offset:5px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link { position:fixed; left:16px; top:12px; z-index:20; background:#ffe3a1; color:#360b02; padding:12px 18px; transform:translateY(-180%); }
.skip-link:focus { transform:none; }
.site-header { max-width:var(--page-width); margin:auto; height:91px; display:flex; align-items:center; justify-content:space-between; gap:24px; padding:0 16px; position:relative; z-index:5; }
.brand { display:inline-flex; flex-direction:column; align-items:center; flex-shrink:0; }
.brand-word { display:flex; align-items:baseline; font-style:italic; font-weight:900; line-height:1; letter-spacing:-1.7px; }
.brand-word b { font-size:45px; background:linear-gradient(#fff 0 49%,#ed1732 51% 100%); color:transparent; background-clip:text; margin-right:7px; }
.brand-word strong { font-size:35px; color:#fff; }
.brand-word sup { font-size:9px; font-style:normal; align-self:flex-start; padding-top:7px; margin-left:5px; }
.brand-tag { font-size:10px; font-weight:600; font-style:italic; letter-spacing:1.5px; margin-top:5px; }
.header-actions { display:flex; align-items:center; gap:28px; font-size:17px; font-weight:700; }
.language-picker { display:flex; align-items:center; gap:7px; border:1px solid #e6b97150; border-radius:6px; padding:7px 8px; background:#15090e80; }
.language-picker svg { width:17px; height:17px; fill:none; stroke:#ffdeb0; stroke-width:1.4; }
.language-picker select { max-width:141px; background:transparent; color:#ffdfac; border:0; font-size:14px; cursor:pointer; padding:3px 1px; }
.language-picker option { background:#250b0c; color:#fff3d5; }
.login { text-shadow:0 2px 6px #000; transition:color .2s; }
.login:hover { color:var(--gold); }
.register { min-width:114px; text-align:center; padding:10px 26px; background:linear-gradient(#ff2350,#f0002f); border:1px solid #ff6680; border-radius:10px; box-shadow:0 0 24px #ed143a44,inset 0 1px #ffffff33; transition:filter .2s,transform .2s; }
.register:hover { filter:brightness(1.18); transform:translateY(-2px); }
main { position:relative; max-width:1440px; margin:auto; padding:0 38px; }
.hero { position:relative; height:286px; display:flex; flex-direction:column; align-items:center; justify-content:flex-end; padding-bottom:24px; }
.hero-art-wrap { position:absolute; inset:-74px 0 50px; display:flex; align-items:center; justify-content:center; pointer-events:none; }
.hero-art { width:min(850px,80vw); height:100%; object-fit:contain; filter:drop-shadow(0 8px 20px #20000080); animation:hero-in 1s ease-out both; }
.hero-message { position:relative; z-index:1; text-align:center; color:var(--light-gold); text-shadow:0 2px 8px #000,0 0 20px #000; }
.hero-message p { margin:0 0 6px; font-size:24px; font-weight:600; letter-spacing:5px; }
.hero-message span { display:block; font-size:11px; letter-spacing:3.5px; }
.hero-note { position:absolute; top:12px; right:5px; transform:rotate(-10deg); color:#ffe9b0; text-shadow:0 3px 12px #000; }
.hero-note p { font-family:"STKaiti","KaiTi","Noto Serif CJK SC",serif; font-size:29px; margin:0; font-style:italic; }
.hero-note p:nth-child(2) { padding-left:30px; border-bottom:1px solid #ffde9b; padding-bottom:7px; }
.hero-note span { display:block; font-size:9px; font-style:normal; letter-spacing:1.4px; padding:12px 0 0 25px; line-height:1.7; }
.celebrations { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:22px; max-width:var(--page-width); margin:0 auto; padding-top:5px; position:relative; z-index:2; }
.event-card { --accent:#ff4525; --surface:#330505; position:relative; border:2px solid #ffc971; border-radius:20px 20px 19px 19px; display:flex; flex-direction:column; min-width:0; background:var(--surface); isolation:isolate; box-shadow:0 0 3px 1px #fff0b7,inset 0 0 5px #ffb444,0 0 15px #ff8a1833,0 10px 22px #0b0009aa; transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s; }
.card-rewards { --accent:#ffad24; --surface:#361700; }
.card-draw { --accent:#45bfff; --surface:#03132a; }
.card-referral { --accent:#e369ff; --surface:#22052c; }
.event-card::before { content:""; position:absolute; pointer-events:none; bottom:-16px; left:-5%; width:110%; height:9px; border-radius:50%; background:linear-gradient(90deg,transparent,#ffd781 30%,#fff2c2 50%,#ffd781 70%,transparent); box-shadow:0 6px 15px #ffb53e66; opacity:.85; z-index:-1; }
.event-card::after { content:""; pointer-events:none; position:absolute; inset:0; border-radius:inherit; border:1px solid #fff8c755; box-shadow:inset 0 0 25px #ffbd3822; }
.edge-light { position:absolute; inset:-3px; padding:3px; border-radius:21px; pointer-events:none; z-index:5; opacity:0; background:conic-gradient(from var(--edge-angle),transparent 0deg,transparent 35deg,#ffb000 64deg,#fff6bc 81deg,#fff 90deg,#fff6bc 99deg,transparent 133deg,transparent 215deg,var(--accent) 246deg,#fff 265deg,transparent 295deg); -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0); -webkit-mask-composite:xor; mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0); mask-composite:exclude; transition:opacity .2s; animation:edge-orbit 3s linear infinite paused; }
.card-number { position:absolute; top:-11px; left:50%; transform:translateX(-50%); width:61px; height:51px; z-index:6; background:linear-gradient(135deg,#d59837,#fff0aa 45%,#8c4616 47%,#ffdb8d); padding:2px; clip-path:polygon(12% 0,88% 0,100% 25%,83% 100%,17% 100%,0 25%); filter:drop-shadow(0 2px 4px #000); }
.card-number span { display:flex; align-items:center; justify-content:center; width:100%; height:100%; padding-bottom:3px; background:linear-gradient(#8a3c0a,var(--surface)); clip-path:inherit; font-size:26px; font-weight:700; color:#fff5c8; }
.card-art { overflow:hidden; position:relative; height:239px; border-radius:17px 17px 0 0; background:var(--surface); }
.card-art img { display:block; width:100%; height:100%; object-fit:cover; object-position:center 43%; transform:scale(1.015); transition:transform .7s cubic-bezier(.2,.7,.2,1),filter .4s; }
.card-art::after { content:""; position:absolute; inset:60% 0 0; background:linear-gradient(transparent,var(--surface)); pointer-events:none; }
.art-shimmer { position:absolute; inset:-30%; background:linear-gradient(110deg,transparent 35%,#fff4c800 44%,#fff4c82e 49%,#fffbe777 50%,#fff4c800 55%,transparent 65%); transform:translateX(-100%); pointer-events:none; mix-blend-mode:screen; }
.card-content { position:relative; margin-top:-22px; z-index:2; text-align:center; padding:0 21px 21px; display:flex; flex:1; flex-direction:column; align-items:stretch; }
.card-content h2 { color:#ffdd8e; font-size:27px; margin:0; font-weight:800; line-height:1.3; text-shadow:0 2px 1px #512900,0 0 15px #e9913a3a; }
.card-eyebrow { color:#ffe5b7; margin:6px 0 0; font-size:12px; line-height:1.4; letter-spacing:1.25px; }
.card-description { margin:15px 0 17px; font-size:17px; line-height:1.62; color:#fff5e8; text-shadow:0 2px 4px #000; }
.card-description span { display:block; }
.gold-button { display:flex; align-items:center; justify-content:center; min-height:46px; position:relative; margin-top:auto; padding:8px 43px 8px 18px; border:1px solid #fff0c6; border-bottom:2px solid #d68a1e; border-radius:50px; color:#330c00; font-size:19px; font-weight:800; background:linear-gradient(180deg,#ffe8ae 0%,#ffca68 43%,#ffa733 100%); box-shadow:inset 0 1px 1px #fff8dd,0 4px 13px #0004; transition:filter .25s,box-shadow .25s; }
.button-arrow { display:flex; align-items:center; justify-content:center; position:absolute; right:7px; width:29px; height:29px; padding-bottom:4px; border-radius:50%; background:linear-gradient(135deg,var(--accent),var(--surface) 80%); color:#ffdc86; font-size:32px; line-height:1; box-shadow:0 1px 1px #fff7; transition:transform .3s; }
.event-card:focus-visible { outline:3px solid white; outline-offset:7px; transform:translateY(-6px); box-shadow:0 0 8px #fff0bc,0 0 30px var(--accent),0 18px 25px #0008; }
.event-card:focus-visible .edge-light { opacity:1; animation-play-state:running; }
@media (hover:hover) and (pointer:fine) {
  .event-card:hover { transform:translateY(-8px); box-shadow:0 0 8px #fff0bc,0 0 28px color-mix(in srgb,var(--accent) 70%,transparent),0 18px 30px #0008; }
  .event-card:hover .edge-light { opacity:1; animation-play-state:running; }
  .event-card:hover .card-art img { transform:scale(1.08) translateY(-3px); filter:brightness(1.1) saturate(1.05); }
  .event-card:hover .art-shimmer { animation:art-sweep .95s ease-out both; }
  .event-card:hover .gold-button { filter:brightness(1.1); box-shadow:inset 0 1px 1px #fff8dd,0 0 20px #ffd36a77; }
  .event-card:hover .button-arrow { transform:translateX(2px); }
}
.event-card:active { transform:translateY(-2px) scale(.99); }
.stage-sign { width:350px; max-width:90%; margin:33px auto 0; text-align:center; color:#ffcf76; text-shadow:0 2px 2px #390800; }
.stage-sign p { font-size:22px; margin:0; padding:10px 15px 6px; border-top:1px solid #dca342; border-bottom:1px solid #e9b44b88; background:linear-gradient(90deg,#8f000022,#a60008b3,#8f000022); }
.stage-sign strong { font-size:23px; }
.stage-sign sup { font-size:10px; vertical-align:super; }
.stage-sign span { display:block; font-size:10px; letter-spacing:5px; padding:9px 0; }
.site-footer { max-width:var(--page-width); padding:43px 12px 30px; margin:auto; position:relative; }
.benefits { margin:0 auto; padding:0; display:flex; gap:35px; align-items:center; justify-content:center; list-style:none; color:#ffdfa3; }
.benefits li { display:flex; gap:12px; align-items:center; }
.benefits svg { width:29px; height:29px; fill:none; stroke:currentColor; stroke-width:1.5; flex-shrink:0; }
.benefits li div { display:flex; flex-direction:column; gap:4px; }
.benefits li span { font-size:13px; letter-spacing:.5px; }
.benefits li small { font-size:10px; letter-spacing:.5px; }
.support-icon { display:flex; align-items:center; justify-content:center; width:31px; height:31px; border:1.5px solid currentColor; border-radius:50%; font-size:11px !important; font-style:italic; font-weight:700; letter-spacing:0 !important; }
.footer-signature { position:absolute; right:0; top:-17px; margin:0; color:#ffe6b0; transform:rotate(-9deg); font-family:"Brush Script MT","Segoe Script",cursive; font-size:24px; font-style:italic; line-height:1.1; }
.footer-signature span { padding-left:23px; }
.ambient { position:fixed; inset:0; pointer-events:none; overflow:hidden; z-index:1; }
.ambient i { position:absolute; width:3px; height:3px; background:#ffdfa0; box-shadow:0 0 7px 2px #ffa63b; border-radius:50%; left:8%; top:80%; animation:spark 9s ease-in-out infinite; opacity:0; }
.ambient i:nth-child(2) { left:20%; top:40%; animation-delay:-4s; animation-duration:12s; }
.ambient i:nth-child(3) { left:35%; top:20%; animation-delay:-7s; }
.ambient i:nth-child(4) { left:47%; top:65%; animation-delay:-2s; animation-duration:11s; }
.ambient i:nth-child(5) { left:62%; top:30%; animation-delay:-6s; }
.ambient i:nth-child(6) { left:77%; top:75%; animation-delay:-3s; animation-duration:13s; }
.ambient i:nth-child(7) { left:88%; top:40%; animation-delay:-1s; }
.ambient i:nth-child(8) { left:95%; top:90%; animation-delay:-8s; animation-duration:12s; }
.notice { position:fixed; z-index:30; bottom:24px; left:50%; transform:translateX(-50%); display:flex; align-items:center; gap:18px; max-width:min(520px,calc(100% - 32px)); width:max-content; padding:16px 18px; border:1px solid #f7c277; border-radius:12px; background:#270a10f5; box-shadow:0 8px 50px #0009; color:#fff0d3; font-size:15px; line-height:1.5; }
.notice[hidden] { display:none; }
.notice button { background:none; border:0; padding:4px 7px; color:#ffdf9a; cursor:pointer; font-size:25px; line-height:1; }
html[lang="en"] .hero-message p,html[lang="ms"] .hero-message p { font-size:22px; letter-spacing:1px; }
html[lang="en"] .card-content h2,html[lang="ms"] .card-content h2 { font-size:24px; min-height:2.6em; display:flex; align-items:center; justify-content:center; }
html[lang="en"] .card-eyebrow,html[lang="ms"] .card-eyebrow { font-size:10px; letter-spacing:.8px; }
html[lang="en"] .card-description,html[lang="ms"] .card-description { font-size:16px; }
html[lang="en"] .hero-note p,html[lang="ms"] .hero-note p { font-size:23px; }
@keyframes edge-orbit { to { --edge-angle:360deg; } }
@keyframes art-sweep { from { transform:translateX(-100%); } to { transform:translateX(100%); } }
@keyframes spark { 0%,100% { opacity:0; transform:translate(0,20px) scale(.6); } 30% { opacity:.8; } 70% { opacity:.1; } 90% { transform:translate(22px,-120px) scale(1); } }
@keyframes hero-in { from { opacity:0; transform:translateY(10px) scale(.96); } to { opacity:1; transform:none; } }
@media(min-width:1600px) { .hero { height:330px; } .hero-art-wrap { top:-64px; } .hero-art { width:930px; } .card-art { height:257px; } .site-footer { padding-top:56px; padding-bottom:42px; } }
@media(max-width:1230px) { main { padding:0 30px; } .hero-note { display:none; } .hero-art { width:800px; } .celebrations { gap:18px; } .card-content { padding:0 13px 18px; } .card-content h2 { font-size:23px; } .card-description { font-size:15px; } .card-eyebrow { font-size:10px; letter-spacing:.9px; } .card-art { height:220px; } .footer-signature { display:none; } }
@media(max-width:980px) { body { background-size:auto 1100px; background-color:#210609; } .site-header { padding:0 25px; } main { padding:0 35px; } .hero { height:295px; } .hero-art-wrap { inset:-55px -18px 50px; } .hero-art { width:760px; max-width:100%; } .celebrations { grid-template-columns:repeat(2,minmax(0,1fr)); gap:39px 26px; max-width:710px; } .card-art { height:275px; } .card-content { padding:0 25px 23px; } .card-content h2 { font-size:27px; } .card-eyebrow { font-size:12px; } .card-description { font-size:18px; } .gold-button { font-size:20px; min-height:49px; } .benefits { gap:22px; flex-wrap:wrap; } .site-footer { padding:30px 28px; } .stage-sign { margin-top:37px; } }
@media(max-width:600px) { body { background-size:auto 810px; } .site-header { height:80px; padding:12px 16px; gap:12px; align-items:flex-start; } .brand-word b { font-size:31px; margin-right:4px; } .brand-word strong { font-size:24px; } .brand-word sup { font-size:7px; } .brand-tag { font-size:7px; letter-spacing:1px; } .header-actions { gap:11px; flex-wrap:wrap; justify-content:flex-end; font-size:13px; } .language-picker { order:3; margin-left:auto; padding:2px 3px; } .language-picker svg { width:13px; height:13px; } .language-picker select { font-size:12px; max-width:124px; } .register { min-width:65px; padding:6px 13px; border-radius:6px; } .login { padding:6px 0; } main { padding:0 16px; } .hero { height:220px; padding-bottom:30px; } .hero-art-wrap { inset:-25px -15px 46px; } .hero-art { width:570px; max-width:100%; } .hero-message p,html[lang="en"] .hero-message p,html[lang="ms"] .hero-message p { font-size:17px; letter-spacing:1.5px; margin-bottom:8px; } .hero-message span { font-size:8px; letter-spacing:1.8px; } .celebrations { gap:27px 13px; } .event-card { border-radius:13px; } .edge-light { border-radius:14px; } .card-art { height:163px; border-radius:11px 11px 0 0; } .card-number { top:-9px; width:43px; height:36px; } .card-number span { font-size:19px; padding-bottom:1px; } .card-content { padding:0 10px 13px; margin-top:-17px; } .card-content h2 { font-size:18px; line-height:1.35; } .card-eyebrow { font-size:10px; letter-spacing:.2px; margin-top:4px; min-height:2.8em; display:flex; align-items:flex-start; justify-content:center; } .card-description { font-size:13px; line-height:1.65; margin:8px 0 12px; } .gold-button { min-height:37px; font-size:15px; padding:7px 31px 7px 9px; } .button-arrow { width:23px; height:23px; right:5px; font-size:27px; } .event-card::before { height:5px; bottom:-10px; } html[lang="en"] .card-content h2,html[lang="ms"] .card-content h2 { font-size:17px; min-height:2.7em; } html[lang="en"] .card-description,html[lang="ms"] .card-description { font-size:13px; } html[lang="en"] .card-eyebrow,html[lang="ms"] .card-eyebrow { font-size:10px; letter-spacing:.2px; } .stage-sign { margin-top:28px; width:280px; } .stage-sign p { font-size:17px; } .stage-sign strong { font-size:18px; } .stage-sign span { font-size:8px; letter-spacing:3.5px; } .site-footer { padding:26px 18px; } .benefits { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 14px; width:max-content; max-width:100%; } .benefits li { gap:8px; } .benefits li span { font-size:12px; } .benefits li small { font-size:9px; letter-spacing:.15px; } .benefits svg { width:24px; height:24px; } .support-icon { width:26px; height:26px; } }
@media(max-width:370px) { main { padding:0 12px; } .celebrations { gap:24px 12px; } .hero { height:196px; } .hero-message p { font-size:15px; } .card-art { height:143px; } .card-content { padding-inline:7px; } .card-content h2 { font-size:16px; } .card-description { font-size:12px; } .gold-button { font-size:14px; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { animation:none !important; transition:none !important; } .ambient { display:none; } .event-card:hover,.event-card:focus-visible { transform:none; } .edge-light { --edge-angle:45deg; } }
