:root {
  --bg: #06070d;
  --bg-soft: #0b0d17;
  --panel: rgba(13, 16, 28, .78);
  --panel-strong: rgba(16, 18, 31, .92);
  --purple: #78639c;
  --purple-bright: #9a83bd;
  --purple-soft: #5f4d7e;
  --blue: #536f91;
  --blue-soft: #405875;
  --text: #eeeaf4;
  --muted: #9999a8;
  --border: rgba(145, 151, 178, .16);
  --glow: rgba(93, 105, 140, .16);
}
* { box-sizing: border-box; user-select: none; -webkit-user-select: none; }
img { -webkit-user-drag: none; user-drag: none; user-select: none; -webkit-user-select: none; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; color: var(--text);
  background: radial-gradient(circle at 58% 0%, #171522 0%, #080910 42%, #040509 100%);
  font-family: Inter, system-ui, sans-serif; overflow-x: hidden;
}
.space { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: #040509; }
.space::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 75% 15%, rgba(67, 83, 112, .12), transparent 34%),
    radial-gradient(ellipse at 20% 80%, rgba(78, 56, 91, .10), transparent 38%);
}
.space::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 35%, transparent 0, rgba(5,6,12,.12) 45%, rgba(2,3,6,.78) 100%);
}
.stars { position: absolute; inset: -50%; background-repeat: repeat; animation: drift 110s linear infinite; opacity: .58; }
.stars-one { background-image: radial-gradient(1px 1px at 8% 18%, #d8dbe2, transparent), radial-gradient(1px 1px at 28% 74%, #c8ccd5, transparent), radial-gradient(1px 1px at 52% 36%, #e1e2e6, transparent), radial-gradient(1px 1px at 79% 12%, #c8ccd5, transparent), radial-gradient(1px 1px at 91% 82%, #d8dbe2, transparent); background-size: 240px 240px; }
.stars-two { background-image: radial-gradient(1.5px 1.5px at 12% 52%, #7d91ad, transparent), radial-gradient(1.5px 1.5px at 66% 65%, #a7b0bd, transparent), radial-gradient(1px 1px at 42% 10%, #778ca7, transparent); background-size: 330px 330px; animation-duration: 150s; opacity: .35; }
.stars-three { background-image: radial-gradient(1px 1px at 16% 80%, #d1d4da, transparent), radial-gradient(2px 2px at 73% 43%, #8999ad, transparent), radial-gradient(1px 1px at 87% 27%, #d1d4da, transparent); background-size: 470px 470px; animation-duration: 190s; opacity: .25; }
@keyframes drift { from { transform: translate3d(0,0,0); } to { transform: translate3d(12%, 8%, 0); } }
.shooting { position: absolute; width: 130px; height: 1px; border-radius: 99px; background: linear-gradient(90deg, transparent, #9baac0, #d8dbe0); box-shadow: 0 0 8px rgba(103,125,153,.45); transform: rotate(-35deg); opacity: 0; animation: shoot 8s linear infinite; }
.shooting-one { top: 17%; left: 70%; animation-delay: 1s; }
.shooting-two { top: 39%; left: 20%; animation-delay: 4s; animation-duration: 10s; }
.shooting-three { top: 65%; left: 78%; animation-delay: 6s; animation-duration: 9s; }
@keyframes shoot { 0%, 75% { transform: translate(0,0) rotate(-35deg); opacity: 0; } 78% { opacity: .65; } 90% { transform: translate(-420px, 280px) rotate(-35deg); opacity: 0; } 100% { opacity: 0; } }

.navbar {
  position: sticky; top: 0; z-index: 10; height: 76px; padding: 0 5vw;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(4,5,9,.72); border-bottom: 1px solid rgba(255,255,255,.055);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 10px; color: white; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -.04em; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(135deg, #5d536d, #3d536c); box-shadow: 0 0 20px rgba(72,86,110,.18); }
.brand-mark img { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: inherit; image-rendering: pixelated; }
.nav-links { display: flex; gap: 8px; }
.nav-link { color: #92939f; text-decoration: none; padding: 10px 15px; border-radius: 10px; font-size: 14px; transition: .2s; }
.nav-link:hover, .nav-link.active { color: #eeeef2; background: rgba(77,91,117,.13); }
button, a { font: inherit; }
.discord-button, .ghost-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
  text-decoration: none; color: white; padding: 13px 20px; border-radius: 12px; font-weight: 700;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.discord-button { background: linear-gradient(135deg, #5f6f88, #4a3f60); box-shadow: 0 10px 30px rgba(59,67,87,.22); }
.discord-button:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(63,73,96,.3); }
.discord-button.small { padding: 9px 14px; font-size: 13px; }
.ghost-button { border: 1px solid var(--border); background: rgba(255,255,255,.028); }
main { width: min(1120px, 90%); margin: auto; }
.page { display: none; min-height: calc(100vh - 150px); padding: 90px 0 70px; }
.active-page { display: block; animation: fade-in .35s ease; }
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hero { max-width: 760px; padding: 55px 0 95px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 11px; border: 1px solid var(--border); background: rgba(77,64,96,.10); border-radius: 99px; color: #aaa1b7; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #7f8fa4; box-shadow: 0 0 8px rgba(127,143,164,.5); }
h1 { margin: 24px 0 20px; font-size: clamp(52px, 8vw, 92px); line-height: .98; letter-spacing: -.07em; }
h1 span { color: #8794a8; text-shadow: 0 0 35px rgba(74,91,115,.18); }
.hero-copy { max-width: 630px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.glass-card { border: 1px solid var(--border); background: linear-gradient(145deg, rgba(20,21,32,.80), rgba(8,9,15,.72)); backdrop-filter: blur(15px); box-shadow: inset 0 1px rgba(255,255,255,.028), 0 25px 80px rgba(0,0,0,.25); border-radius: 18px; }
.feature-grid .glass-card { padding: 26px; }
.card-icon { color: #7f7193; font-size: 24px; margin-bottom: 22px; }
h3 { margin: 0 0 9px; font-size: 18px; }
.feature-grid p, .discord-info p, .profile-card p { margin: 0; color: var(--muted); line-height: 1.65; font-size: 14px; }
.section-heading { max-width: 680px; margin-bottom: 35px; }
.section-heading h2 { font-size: clamp(38px, 6vw, 64px); margin: 20px 0 10px; letter-spacing: -.06em; }
.section-heading p { color: var(--muted); }
.discord-panel { display: flex; align-items: center; gap: 28px; padding: 32px; }
.discord-symbol { flex: 0 0 76px; height: 76px; display: grid; place-items: center; border-radius: 22px; background: #4d5874; font-size: 32px; font-weight: 800; box-shadow: 0 15px 40px rgba(55,64,86,.2); }
.discord-info { flex: 1; }
.server-label { color: #81758e; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.discord-info h3 { font-size: 25px; margin-top: 7px; }
.server-stats { display: flex; gap: 22px; margin-top: 18px; color: #858691; font-size: 12px; }
.server-stats b { color: #c9c9d0; }
.profile-card { padding: 34px; display: flex; gap: 24px; align-items: center; max-width: 720px; }
.profile-avatar { width: 92px; height: 92px; flex: 0 0 92px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(105,112,137,.3); box-shadow: 0 0 28px rgba(72,83,108,.16); }
.placeholder-avatar { display: grid; place-items: center; background: #11131d; color: #8a8295; font-size: 32px; font-weight: 800; }
.profile-card h3 { font-size: 25px; margin: 7px 0; }
.profile-card .discord-button { margin-top: 18px; }
footer { width: min(1120px,90%); margin: auto; padding: 24px 0 32px; display:flex; justify-content:space-between; color:#686a75; font-size:12px; border-top:1px solid rgba(255,255,255,.05); }
@media (max-width: 760px) {
  .navbar { padding: 0 4%; } .nav-links { gap: 0; } .nav-link { padding: 9px 8px; font-size: 12px; } .navbar .discord-button { display:none; }
  .page { padding-top: 55px; } .hero { padding-top: 20px; } .feature-grid { grid-template-columns: 1fr; }
  .discord-panel, .profile-card { align-items: flex-start; flex-direction: column; } .discord-panel .discord-button { width:100%; }
  footer { flex-direction: column; gap:8px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; } }

/* Subtle Halloween atmosphere */
.space .halloween-moon {
  position: absolute; width: 150px; height: 150px; right: 9%; top: 12%;
  border-radius: 50%; background: #c0b8a4; opacity: .10;
  box-shadow: 0 0 45px rgba(181,174,153,.10);
}
.space .halloween-moon::after {
  content: ""; position: absolute; width: 145px; height: 145px; left: 25px; top: -8px;
  border-radius: 50%; background: #080910;
}
.space .halloween-fog {
  position: absolute; left: -10%; right: -10%; bottom: 4%; height: 180px;
  background: radial-gradient(ellipse at 30% 50%, rgba(91,82,101,.09), transparent 55%),
              radial-gradient(ellipse at 70% 45%, rgba(67,82,104,.08), transparent 55%);
  filter: blur(18px);
}
.space .bat {
  position: absolute; width: 34px; height: 12px; opacity: .13;
}
.space .bat::before, .space .bat::after {
  content: ""; position: absolute; top: 2px; width: 17px; height: 9px;
  background: #111019; border-radius: 100% 0 100% 0;
}
.space .bat::before { left: 0; transform: rotate(20deg); }
.space .bat::after { right: 0; transform: scaleX(-1) rotate(20deg); }
.bat-one { top: 27%; left: 18%; transform: scale(.8); }
.bat-two { top: 58%; right: 22%; transform: scale(.55); }
.bat-three { top: 72%; left: 62%; transform: scale(.65); }

/* Authentication gate */
body.auth-pending > header,
body.auth-pending > main,
body.auth-pending > footer { visibility: hidden; }
#loginGate {
  position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 24px;
  background: rgba(3,4,8,.62); backdrop-filter: blur(10px);
}
body.auth-required #loginGate { display: grid; }
.login-gate-card {
  width: min(460px, 100%); padding: 42px 34px; text-align: center;
  border: 1px solid var(--border); border-radius: 22px; background: var(--panel-strong);
  box-shadow: 0 30px 100px rgba(0,0,0,.5), 0 0 45px rgba(70,78,102,.12);
}
.login-gate-card .brand-mark { margin: 0 auto 20px; }
.login-gate-card h1 { margin: 0 0 10px; font-size: clamp(28px, 6vw, 42px); }
.login-gate-card p { margin: 0 auto 26px; max-width: 360px; color: var(--muted); line-height: 1.7; }
.login-gate-card .discord-button { width: 100%; }


/* Shop */
.shop-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.shop-card { overflow:hidden; }
.shop-art { min-height:180px; display:grid; place-items:center; font-size:42px; font-weight:800; letter-spacing:-.05em; color:#c6c9d4; background:linear-gradient(145deg,rgba(62,70,91,.34),rgba(47,38,61,.22)); border-bottom:1px solid var(--border); }
.shop-card-content { padding:26px; }
.shop-card h3 { font-size:26px; margin:8px 0 10px; }
.shop-card p { color:var(--muted); line-height:1.65; font-size:14px; }
.shop-price { margin:22px 0 16px; font-size:18px; font-weight:700; color:#d2ced9; }
.redeem-box { display:flex; gap:10px; margin-top:16px; }
.redeem-box input, #developerLoginForm input { width:100%; min-width:0; padding:13px 14px; border:1px solid var(--border); border-radius:10px; outline:none; background:rgba(255,255,255,.035); color:var(--text); font:inherit; }
.redeem-box input:focus, #developerLoginForm input:focus { border-color:rgba(120,99,156,.5); }
.redeem-message { min-height:20px; margin-top:10px !important; font-size:13px !important; }
.developer-login { max-width:720px; margin-top:22px; padding:28px 34px; }
.section-heading.compact { margin-bottom:22px; }
.section-heading.compact h3 { font-size:25px; margin:12px 0 7px; }
#developerLoginForm { display:grid; grid-template-columns:1fr 1fr auto; gap:10px; align-items:center; }
#developerLoginForm .discord-button { white-space:nowrap; }
@media (max-width:760px) {
  .shop-grid { grid-template-columns:1fr; }
  .redeem-box { flex-direction:column; }
  #developerLoginForm { grid-template-columns:1fr; }
  #developerLoginForm .discord-button { width:100%; }
}

.shop-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.shop-card{overflow:hidden}.shop-art{min-height:180px;display:grid;place-items:center;font-size:42px;font-weight:800;color:#c6c9d4;background:linear-gradient(145deg,rgba(62,70,91,.34),rgba(47,38,61,.22));border-bottom:1px solid var(--border)}.shop-card-content{padding:26px}.shop-card h3{font-size:26px;margin:8px 0 10px}.shop-card p{color:var(--muted);line-height:1.65;font-size:14px}.shop-price{margin:22px 0 16px;font-size:18px;font-weight:700;color:#d2ced9}.redeem-box{display:flex;gap:10px}.redeem-box input,#developerLoginForm input{width:100%;min-width:0;padding:13px 14px;border:1px solid var(--border);border-radius:10px;outline:none;background:rgba(255,255,255,.035);color:var(--text);font:inherit}.redeem-message{min-height:20px;margin-top:10px!important;font-size:13px!important}.developer-login{max-width:720px;margin-top:22px;padding:28px 34px}.section-heading.compact{margin-bottom:22px}.section-heading.compact h3{font-size:25px;margin:12px 0 7px}#developerLoginForm{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:center}#developerLoginForm .discord-button{white-space:nowrap}@media(max-width:760px){.shop-grid{grid-template-columns:1fr}.redeem-box{flex-direction:column}#developerLoginForm{grid-template-columns:1fr}#developerLoginForm .discord-button{width:100%}}.redeem-panel{margin-top:22px;padding:28px 34px}.redeem-panel .section-heading{margin-bottom:20px}
.developer-panel{max-width:720px;margin-top:22px;padding:28px 34px}.developer-panel[hidden]{display:none}.developer-panel form{display:grid;gap:14px}.developer-panel label{display:grid;gap:8px;color:#aaa1b7;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.developer-panel input,.developer-panel textarea{width:100%;padding:13px 14px;border:1px solid var(--border);border-radius:10px;outline:none;background:rgba(255,255,255,.035);color:var(--text);font:inherit;text-transform:none;letter-spacing:normal}.developer-panel textarea{resize:vertical;line-height:1.5}.developer-panel input:focus,.developer-panel textarea:focus{border-color:rgba(120,99,156,.5)}.code-editor-label{margin-top:4px}

.discord-panel{position:relative;overflow:hidden;display:grid;grid-template-columns:76px 1fr auto;align-items:center}
.discord-server-banner{position:absolute;inset:0 0 auto 0;height:150px;overflow:hidden;background:linear-gradient(135deg,rgba(70,58,92,.45),rgba(53,72,94,.38))}
.discord-server-banner::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,6,12,.08),rgba(8,9,15,.9))}
.discord-server-banner img{width:100%;height:100%;object-fit:cover;display:block;opacity:.72}
.discord-server-banner-fallback{width:100%;height:100%;background:radial-gradient(circle at 70% 20%,rgba(120,99,156,.28),transparent 35%),linear-gradient(135deg,#252334,#18202c)}
.discord-panel>.discord-symbol{position:relative;z-index:1;margin-top:92px}
.discord-panel>.discord-info,.discord-panel>.discord-button{position:relative;z-index:1;margin-top:92px}
.discord-symbol{overflow:hidden}
.discord-symbol img{width:100%;height:100%;object-fit:cover;display:block}
@media(max-width:760px){.discord-panel{display:flex;padding-top:24px}.discord-server-banner{height:125px}.discord-panel>.discord-symbol,.discord-panel>.discord-info,.discord-panel>.discord-button{margin-top:72px}.discord-panel>.discord-info{margin-top:72px}}


/* Developer portal */
.developer-badge {
  color: #aaa1b7;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.ghost-button.small { padding: 9px 14px; font-size: 13px; }
.developer-page { padding-top: 72px; }
.developer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.developer-grid .developer-panel {
  max-width: none;
  margin-top: 0;
  padding: 30px;
}
.developer-panel form { display: grid; gap: 14px; }
.developer-panel label {
  display: grid;
  gap: 8px;
  color: #aaa1b7;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.developer-panel input,
.developer-panel textarea,
.developer-panel select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
  background: rgba(255,255,255,.035);
  color: var(--text);
  font: inherit;
  text-transform: none;
  letter-spacing: normal;
}
.developer-panel textarea { resize: vertical; line-height: 1.5; }
.developer-panel input:focus,
.developer-panel textarea:focus,
.developer-panel select:focus {
  border-color: rgba(120,99,156,.5);
}
.developer-account-form { margin-bottom: 18px; }
.developer-user-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}
.developer-user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,.025);
}
.developer-user strong { display: block; font-size: 14px; }
.developer-user span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}
.developer-user .user-remove { padding: 8px 11px; font-size: 12px; }
.owner-label {
  color: #aaa1b7 !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
@media (max-width: 760px) {
  .developer-grid { grid-template-columns: 1fr; }
  .developer-badge { display: none; }
  .developer-page { padding-top: 48px; }
}


.profile-name{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.profile-role-icon{width:22px;height:22px;object-fit:contain;display:inline-block;image-rendering:auto;}
.profile-server-status{margin-top:6px;}
.profile-server-member{opacity:.8;}
.profile-server-missing{color:#fff;opacity:.85;}


.youtube-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 76px 1fr auto;
  align-items: center;
  gap: 28px;
  margin-top: 22px;
  padding: 32px;
}
.youtube-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(130,110,155,.14), transparent 34%);
  pointer-events: none;
}
.youtube-symbol {
  position: relative;
  z-index: 1;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(135deg, #5f536d, #463d59);
  box-shadow: 0 15px 40px rgba(55,64,86,.2);
  font-size: 28px;
  color: #eeeaf4;
}
.youtube-info {
  position: relative;
  z-index: 1;
}
.youtube-info h3 {
  font-size: 25px;
  margin-top: 7px;
}
.youtube-info p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}
.youtube-panel > .discord-button {
  position: relative;
  z-index: 1;
}
@media(max-width:760px) {
  .youtube-panel {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
  }
  .youtube-panel > .discord-button {
    width: 100%;
  }
}


.youtube-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 76px 1fr auto;
  align-items: center;
  gap: 28px;
  margin-top: 22px;
  padding: 32px;
  border-color: rgba(255, 70, 70, .22);
  background: linear-gradient(115deg, rgba(38, 8, 12, .96), rgba(92, 11, 20, .9) 48%, rgba(31, 6, 12, .96));
}
.youtube-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 35, 35, .13), transparent 42%, rgba(255, 65, 65, .08));
  pointer-events: none;
}
.youtube-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: .7;
}
.youtube-red-streak {
  position: absolute;
  width: 55%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 70, 70, .9), rgba(255, 160, 160, .35), transparent);
  filter: blur(.2px);
  transform: rotate(-12deg);
  animation: youtube-streak 5.5s linear infinite;
}
.youtube-red-streak-one { top: 25%; left: -60%; animation-delay: 0s; }
.youtube-red-streak-two { top: 52%; left: -75%; width: 42%; animation-delay: 2s; opacity: .65; }
.youtube-red-streak-three { top: 76%; left: -50%; width: 65%; animation-delay: 3.6s; opacity: .45; }
@keyframes youtube-streak {
  from { transform: translateX(0) rotate(-12deg); opacity: 0; }
  12% { opacity: .9; }
  65% { opacity: .65; }
  to { transform: translateX(230% ) rotate(-12deg); opacity: 0; }
}
.youtube-symbol {
  position: relative;
  z-index: 1;
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: #6e111b;
  border: 1px solid rgba(255, 120, 120, .22);
  box-shadow: 0 15px 40px rgba(110, 17, 27, .32);
}
.youtube-symbol img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.youtube-info {
  position: relative;
  z-index: 1;
}
.youtube-info .server-label { color: #ff9b9b; }
.youtube-info h3 {
  font-size: 25px;
  margin-top: 7px;
}
.youtube-info p {
  margin: 0;
  color: rgba(255, 225, 225, .72);
  line-height: 1.65;
  font-size: 14px;
}
.youtube-subscribe-button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 12px;
  color: white;
  background: linear-gradient(135deg, #ff4545, #b51222);
  box-shadow: 0 10px 30px rgba(190, 25, 38, .3);
  text-decoration: none;
  font-weight: 700;
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.youtube-subscribe-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 13px 36px rgba(220, 30, 45, .42);
}
@media(max-width:760px) {
  .youtube-panel {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
  }
  .youtube-subscribe-button {
    width: 100%;
  }
}


.click-effect {
  position: fixed;
  z-index: 9999;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(154, 131, 189, .9);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(.4);
  box-shadow: 0 0 14px rgba(120, 99, 156, .5);
  animation: click-effect .5s ease-out forwards;
}
@keyframes click-effect {
  0% {
    opacity: .9;
    transform: translate(-50%, -50%) scale(.4);
  }
  55% {
    opacity: .65;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(3.2);
  }
}


.click-burst {
  position: fixed;
  z-index: 10000;
  width: 4px;
  height: 4px;
  left: var(--click-x, 0);
  top: var(--click-y, 0);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  box-shadow:
    -9px -5px 0 0 rgba(255, 255, 255, .75),
    9px -4px 0 0 rgba(255, 255, 255, .65),
    -7px 7px 0 0 rgba(255, 255, 255, .55),
    8px 6px 0 0 rgba(255, 255, 255, .65);
  animation: click-burst .42s ease-out forwards;
}
@keyframes click-burst {
  0% { opacity: .9; transform: translate(-50%, -50%) scale(.4); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.8); }
}

.game-panel{width:100%;height:min(720px,72vh);min-height:480px;padding:0;overflow:hidden;border-radius:18px;background:#000}.game-panel iframe{display:block;width:100%;height:100%;border:0;background:#000}@media(max-width:760px){.game-panel{height:70vh;min-height:420px}}


/* MineLoot Arcade */
.game-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.mini-game{padding:28px;overflow:hidden}.game-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:10px}.game-card-heading h3{font-size:25px;margin:7px 0 0}.game-balance{font-size:25px;font-weight:800;white-space:nowrap}.game-score{color:var(--muted);font-size:12px;white-space:nowrap}.game-score span{color:var(--text);font-weight:800}.game-description{color:var(--muted);font-size:14px;line-height:1.65;margin:0 0 20px}.double-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.game-button{border:1px solid var(--border);border-radius:12px;background:rgba(255,255,255,.035);color:var(--text);padding:15px 10px;cursor:pointer;transition:.2s}.game-button:hover:not(:disabled){transform:translateY(-2px);background:rgba(120,99,156,.12);border-color:rgba(154,131,189,.35)}.game-button:disabled{cursor:wait;opacity:.55}.game-button strong,.game-button span{display:block}.game-button strong{font-size:22px}.game-button span{font-size:10px;color:var(--muted);margin-top:5px}.game-status{min-height:22px;margin-top:16px;color:#aaa1b7;font-size:13px;line-height:1.5}.game-reset{margin-top:8px}.snake-wrap{width:min(420px,100%);aspect-ratio:1;margin:14px auto 0;border:1px solid var(--border);border-radius:12px;overflow:hidden;background:#0b0d17}.snake-wrap canvas{width:100%;height:100%;display:block}.game-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}.game-controls>span{color:var(--muted);font-size:11px}.reaction-area{width:100%;min-height:170px;border:1px solid var(--border);border-radius:14px;background:rgba(255,255,255,.035);color:var(--text);font-size:28px;font-weight:800;cursor:pointer;transition:background .15s,transform .15s}.reaction-area:hover{transform:translateY(-1px)}.reaction-area.reaction-go{background:#657d67}.memory-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:14px}.memory-card{aspect-ratio:1;border:1px solid var(--border);border-radius:10px;background:rgba(255,255,255,.035);color:var(--text);font-size:22px;font-weight:800;cursor:pointer;transition:.15s}.memory-card:hover{background:rgba(120,99,156,.12)}.memory-card.revealed,.memory-card.matched{background:rgba(120,99,156,.18);border-color:rgba(154,131,189,.35)}.memory-card.matched{cursor:default}.target-area{position:relative;height:230px;margin-top:14px;border:1px solid var(--border);border-radius:14px;background:rgba(255,255,255,.025);overflow:hidden}.target{position:absolute;width:36px;height:36px;border:3px solid #eeeaf4;border-radius:50%;background:#78639c;box-shadow:0 0 18px rgba(154,131,189,.5);cursor:pointer}.target:hover{transform:scale(1.08)}
@media(max-width:760px){.game-grid{grid-template-columns:1fr}.double-buttons{grid-template-columns:1fr}.game-controls{align-items:flex-start;flex-direction:column}.target-area{height:200px}}

/* Wordle */
.wordle-board{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;width:min(310px,100%);margin:14px auto 18px}.wordle-tile{aspect-ratio:1;border:1px solid rgba(255,255,255,.16);border-radius:7px;display:grid;place-items:center;background:rgba(255,255,255,.035);color:var(--text);font-size:24px;font-weight:800}.wordle-filled{border-color:rgba(154,131,189,.55);background:rgba(120,99,156,.08)}.wordle-correct{background:#5d795f;border-color:#789b7b}.wordle-present{background:#827044;border-color:#a28d57}.wordle-absent{background:#34343d;border-color:#45454e;color:#aaa}.wordle-keyboard{display:grid;gap:6px;width:min(430px,100%);margin:0 auto}.wordle-key-row{display:flex;justify-content:center;gap:5px}.wordle-key{min-width:30px;height:42px;padding:0 7px;border:1px solid var(--border);border-radius:7px;background:rgba(255,255,255,.055);color:var(--text);font-weight:700;font-size:12px;cursor:pointer}.wordle-key:hover{background:rgba(120,99,156,.16)}.wordle-wide{min-width:54px;font-size:10px}.wordle-key-correct{background:#5d795f;border-color:#789b7b}.wordle-key-present{background:#827044;border-color:#a28d57}.wordle-key-absent{background:#34343d;border-color:#45454e;color:#999}.wordle-game .game-reset{display:block;margin-left:auto;margin-right:auto}
@media(max-width:760px){.wordle-tile{font-size:20px}.wordle-key{min-width:27px;height:40px;padding:0 5px}.wordle-wide{min-width:48px}}
