/* Arena — Game Room (website), styled like the app */
.gr { max-width: 760px; margin: 0 auto; padding: 10px 0 40px; font-family: 'Inter', system-ui, -apple-system, sans-serif; color: #fff; letter-spacing: normal; }
.gr, .gr * { box-sizing: border-box; word-spacing: normal !important; }
.gr-marquee { position: relative; text-align: center; padding: 34px 20px 36px; border-radius: 20px;
  background: radial-gradient(ellipse 90% 80% at 50% 40%, #2c5a45, #1b3b2f 70%, #142d24);
  box-shadow: 0 0 0 5px #6e4b2a, 0 0 0 7px #3d2918, 0 0 30px rgba(242,190,58,.25), 0 18px 40px rgba(0,0,0,.45); }
.gr-bulbs { position: absolute; left: 30px; right: 30px; display: flex; justify-content: space-between; }
.gr-bulbs.top { top: 12px; } .gr-bulbs.bot { bottom: 12px; }
.gr-bulbs i { width: 9px; height: 9px; border-radius: 50%; background: #e9c25a; box-shadow: 0 0 9px rgba(242,190,58,.9); animation: gr-glow 2s infinite; }
.gr-bulbs i:nth-child(3n) { animation-delay: .7s; } .gr-bulbs i:nth-child(3n+1) { animation-delay: 1.3s; }
@keyframes gr-glow { 0%,100% { opacity: 1; } 50% { opacity: .5; } }
@media (prefers-reduced-motion: reduce) { .gr-bulbs i { animation: none; } }
.gr-kicker { font-size: 13px; font-weight: 800; letter-spacing: .32em; color: #e8e0c8; }
.gr-title { font-size: clamp(34px, 7vw, 48px); font-weight: 900; letter-spacing: .06em; margin: 6px 0 4px; color: #f2be3a; text-shadow: 0 0 18px rgba(242,190,58,.45), 0 2px 0 #7a5214; }
.gr-sub { color: #e2e7ea; font-size: 16px; }

.gr-section { margin-top: 34px; }
.gr-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.gr-head::before, .gr-head::after { content: ""; flex: 1; height: 2px; background: var(--c); opacity: .9; }
.gr-head span { font-size: 19px; font-weight: 900; letter-spacing: .2em; color: var(--c); text-shadow: 0 0 12px color-mix(in srgb, var(--c) 45%, transparent); }
.gr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gr-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gr-tile { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 16px 20px; border-radius: 16px; text-decoration: none !important; color: #fff !important;
  background: linear-gradient(160deg, #2b231b, #17130f 70%); box-shadow: 0 0 0 2px var(--c), 0 10px 22px rgba(0,0,0,.35); overflow: hidden; transition: transform .12s ease, box-shadow .12s ease; }
.gr-tile::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--c); }
.gr-tile:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--c), 0 0 22px color-mix(in srgb, var(--c) 40%, transparent), 0 14px 26px rgba(0,0,0,.4); }
.gr-tile strong { font-size: 19px; font-weight: 900; line-height: 1.15; }
.gr-tile em { font-style: normal; font-size: 14px; color: #c9c3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gr-enter { align-self: flex-start; margin-top: 10px; padding: 7px 14px; border-radius: 9px; font-size: 13px; font-weight: 900; letter-spacing: .14em; color: #f3ead2;
  background: #1f3b2a; box-shadow: 0 0 0 2px #c9a24a, inset 0 1px 0 rgba(255,255,255,.12); }
.gr-enter.brown { background: #3a2a17; }
.gr-enter::after { content: " ›"; font-size: 16px; }
.gr-note { margin-top: 28px; text-align: center; color: #a9bad3; font-size: 14px; }
.gr-note a { color: #f2be3a !important; font-weight: 700; }
@media (max-width: 560px) {
  .gr-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .gr-grid { gap: 10px; }
  .gr-tile { padding: 12px 10px 12px 14px; }
  .gr-tile strong { font-size: 16px; }
  .gr-tile em { font-size: 12px; }
  .gr-enter { font-size: 11px; padding: 6px 10px; }
  .gr-head span { font-size: 15px; }
}

/* ---- Pools & Brackets / Duels / Trivia rooms ---- */
.gr-room { max-width: 980px; }
.gr-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gr-room .gr-grid:not(.three):not(.four) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.gr-ic { font-size: 26px; line-height: 1; margin-bottom: 6px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.4)); }
.gr-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gr-steps li { position: relative; padding: 18px 18px 18px 64px; border-radius: 16px; background: rgba(10, 26, 48, .55); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.gr-steps b { position: absolute; left: 16px; top: 16px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: #10131a; background: var(--c); box-shadow: 0 0 14px color-mix(in srgb, var(--c) 50%, transparent); }
.gr-steps strong { display: block; font-size: 17px; font-weight: 900; }
.gr-steps em { display: block; margin-top: 4px; font-style: normal; font-size: 14px; line-height: 1.45; color: #b9c4d4; }
.gr-arena-link { margin-top: 34px; display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 18px; text-decoration: none !important; color: #fff !important;
  background: radial-gradient(ellipse 80% 120% at 0% 50%, rgba(44,90,69,.9), rgba(20,45,36,.9)); box-shadow: 0 0 0 2px #6e4b2a, 0 0 0 4px #3d2918, 0 12px 26px rgba(0,0,0,.35); transition: transform .12s; }
.gr-arena-link:hover { transform: translateY(-2px); }
.gr-al-ic { font-size: 30px; }
.gr-arena-link span:nth-child(2) { flex: 1; min-width: 0; }
.gr-arena-link strong { display: block; font-size: 18px; font-weight: 900; color: #f2be3a; letter-spacing: .04em; }
.gr-arena-link em { display: block; font-style: normal; font-size: 14px; color: #d5dde6; }
.gr-arena-link b { flex: none; padding: 8px 14px; border-radius: 10px; font-size: 13px; letter-spacing: .12em; background: #1f3b2a; box-shadow: 0 0 0 2px #c9a24a; }
@media (max-width: 760px) {
  .gr-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gr-steps { grid-template-columns: minmax(0, 1fr); }
  .gr-arena-link b { display: none; }
}
@media (max-width: 560px) {
  .gr-room .gr-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gr-ic { font-size: 22px; }
}
@media (max-width: 560px) { .gr-room .gr-grid.three > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
