#094 style dark mobile: high Playful & Hand-Drawn

Meow Wolf Psychedelic Collage

Maximalist psychedelic sticker-bombed art portal with acid-lime accents, tilted ticket stubs, and dimension switching.

Inspired by Meow Wolf ↗

Download .html
Fullscreen ↗

WHY THIS AESTHETIC IS UNIQUE

Embraces unapologetic maximalist surrealism—layering hypnotic portal rings, perforated holographic ticket stubs, and acid-lime sticker badges over a deep cosmic-violet canvas.

BEST FOR

Immersive art exhibitions & experiential venuesMusic festivals & underground event portalsExperimental indie games & ARGsBold youth-culture streetwear & merch drops

TAGS

COLOR PALETTE (CLICK TO COPY HEX)

TYPOGRAPHY

Display
Syne, sans-serif
Body
Space Grotesk, -apple-system, sans-serif
Mono
Space Mono, ui-monospace, monospace
Scale
Wide, distorted-energy Syne display titles (38–68px) paired with punchy Space Grotesk copy and perforated-ticket monospace serial codes.

Google Fonts Stylesheet ↗

ARCHITECTURE & MOBILE NOTES

LAYOUT

Centered hypnotic concentric portal centerpiece surrounded by tilted sticker badges, perforated ticket-stub cards, and a dimension-coordinate status strip.

INTERACTION

Interactive Dimension Switcher (House of Eternal Return, Omega Mart, Convergence Station) dynamically shifts CSS accent themes, portal ring geometry, and surreal destination coordinates.

MOBILE

Layered stickers tuck neatly inside safe viewport bounds at 390px with >=44px dimension buttons and full-width perforated ticket cards.

AI AGENT GUARDRAILS

DO

  • Maintain crisp high contrast (white/acid-lime on deep #120824 void) even amid maximalist layering.
  • Use perforated ticket borders, sticker tilts, and hypnotic geometric rings to build tactile surrealism.
  • Keep interactive state changes dramatic and immediately rewarding.

DON'T

  • Do not let decorative stickers overlap or obscure primary buttons or readable text.
  • Do not default to timid muted gray cards—commit to the surrealist color energy.
STANDALONE SOURCE · demos/meowwolf-psychedelic-collage.html (23.7 KB)
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>PORTALWOLF — Maximalist Multiverse &amp; Immersive Art Tickets</title>
  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  <link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&family=Space+Mono:wght@400;700&family=Syne:wght@700;800&display=swap" rel="stylesheet">
  <style>
    :root {
      --bg: #120824;
      --surface: #221042;
      --ink: #FDF4FF;
      --accent: #D9FF00;
      --accent-2: #FF2E93;
      --accent-3: #00F0FF;
      --muted: #B39AD9;
    }

    *, *::before, *::after {
      box-sizing: border-box;
    }

    html, body {
      margin: 0;
      padding: 0;
      background-color: var(--bg);
      color: var(--ink);
      font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
      line-height: 1.5;
      overflow-x: hidden;
    }

    body {
      background-image:
        radial-gradient(560px 360px at 14% 12%, color-mix(in srgb, var(--accent-2) 26%, transparent), transparent 65%),
        radial-gradient(520px 380px at 88% 18%, color-mix(in srgb, var(--accent-3) 22%, transparent), transparent 65%),
        linear-gradient(rgba(253, 244, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(253, 244, 255, 0.03) 1px, transparent 1px);
      background-size: auto, auto, 32px 32px, 32px 32px;
      transition: background 0.4s ease;
    }

    h1, h2, h3, .syne {
      font-family: 'Syne', system-ui, sans-serif;
      margin: 0;
      line-height: 1.02;
      letter-spacing: -0.02em;
    }

    .mono {
      font-family: 'Space Mono', ui-monospace, monospace;
    }

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

    button {
      font-family: inherit;
      cursor: pointer;
      border: none;
      background: transparent;
      color: inherit;
    }

    .container {
      width: 100%;
      max-width: 1120px;
      margin: 0 auto;
      padding: 0 20px;
    }

    /* Header */
    header {
      position: sticky;
      top: 0;
      z-index: 60;
      background: rgba(18, 8, 36, 0.9);
      backdrop-filter: blur(10px);
      border-bottom: 2px solid var(--accent);
    }

    .nav-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      min-height: 74px;
      gap: 16px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-family: 'Syne', sans-serif;
      font-size: 1.45rem;
      font-weight: 800;
      letter-spacing: 0.03em;
    }

    .brand-glitch {
      background: var(--accent);
      color: #120824;
      padding: 3px 10px;
      transform: skewX(-10deg);
      box-shadow: 3px 3px 0 var(--accent-2);
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 20px;
    }

    .nav-links a {
      font-family: 'Space Mono', monospace;
      font-size: 0.82rem;
      text-transform: uppercase;
      color: var(--muted);
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      padding: 0 6px;
      transition: color 0.16s;
    }

    .nav-links a:hover {
      color: var(--accent);
    }

    .neon-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      min-height: 46px;
      min-width: 46px;
      padding: 10px 20px;
      background: var(--accent);
      color: #120824;
      font-family: 'Space Mono', monospace;
      font-weight: 700;
      font-size: 0.84rem;
      text-transform: uppercase;
      border: 2px solid var(--ink);
      box-shadow: 4px 4px 0 var(--accent-2);
      transition: transform 0.12s, box-shadow 0.12s;
    }

    .neon-btn:hover {
      transform: translate(-1px, -1px);
      box-shadow: 6px 6px 0 var(--accent-2);
    }

    .neon-btn.outline {
      background: var(--surface);
      color: var(--ink);
      border-color: var(--accent);
      box-shadow: 4px 4px 0 var(--accent-3);
    }

    .menu-btn {
      display: none;
      width: 44px;
      height: 44px;
      border: 2px solid var(--accent);
      background: var(--surface);
      align-items: center;
      justify-content: center;
    }

    .mobile-nav {
      display: none;
      flex-direction: column;
      gap: 10px;
      padding: 14px 20px 20px;
      background: var(--surface);
      border-bottom: 2px solid var(--accent);
    }

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

    .mobile-nav a {
      min-height: 44px;
      display: flex;
      align-items: center;
      padding: 8px 14px;
      border: 1.5px solid rgba(253, 244, 255, 0.2);
      font-family: 'Space Mono', monospace;
      text-transform: uppercase;
      font-size: 0.85rem;
    }

    /* Hero + Interactive Portal Canvas */
    .hero {
      padding: 40px 0 50px;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.05fr 0.95fr;
      gap: 32px;
      align-items: center;
    }

    .sticker-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 18px;
    }

    .glitch-sticker {
      display: inline-block;
      padding: 4px 12px;
      font-family: 'Space Mono', monospace;
      font-size: 0.74rem;
      font-weight: 700;
      text-transform: uppercase;
      border: 2px solid var(--ink);
      transform: rotate(-2deg);
    }

    .glitch-sticker.lime { background: var(--accent); color: #120824; }
    .glitch-sticker.pink { background: var(--accent-2); color: #FFF; transform: rotate(2.5deg); }
    .glitch-sticker.cyan { background: var(--accent-3); color: #120824; transform: rotate(-1deg); }

    .hero h1 {
      font-size: clamp(2.5rem, 6vw, 4.5rem);
      text-transform: uppercase;
      margin-bottom: 16px;
      text-shadow: 3px 3px 0 var(--accent-2);
    }

    .hero p {
      color: var(--muted);
      font-size: 1.08rem;
      max-width: 50ch;
      margin: 0 0 24px;
    }

    /* Dimension Switcher Bar */
    .dimension-panel {
      background: var(--surface);
      border: 2px solid var(--accent);
      padding: 18px;
      box-shadow: 6px 6px 0 var(--accent-2);
      margin-bottom: 22px;
    }

    .dim-tabs {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 10px;
    }

    .dim-btn {
      min-height: 44px;
      padding: 8px 14px;
      border: 2px solid rgba(253, 244, 255, 0.35);
      background: rgba(18, 8, 36, 0.65);
      color: var(--ink);
      font-family: 'Space Mono', monospace;
      font-size: 0.78rem;
      font-weight: 700;
      text-transform: uppercase;
      transition: all 0.16s;
    }

    .dim-btn.active {
      background: var(--accent);
      color: #120824;
      border-color: var(--ink);
      box-shadow: 3px 3px 0 var(--accent-2);
    }

    .coord-strip {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 8px;
      margin-top: 14px;
      padding-top: 12px;
      border-top: 1px dashed rgba(253, 244, 255, 0.25);
      font-family: 'Space Mono', monospace;
      font-size: 0.78rem;
      color: var(--accent);
    }

    /* Portal Canvas Frame */
    .portal-box {
      position: relative;
      background: #0A0416;
      border: 3px solid var(--accent);
      border-radius: 28px;
      overflow: hidden;
      box-shadow: 0 0 40px color-mix(in srgb, var(--accent-2) 40%, transparent), 8px 8px 0 var(--accent-3);
      aspect-ratio: 1 / 1;
      max-width: 420px;
      width: 100%;
      margin: 0 auto;
    }

    #portalCanvas {
      display: block;
      width: 100%;
      height: 100%;
    }

    .portal-overlay-badge {
      position: absolute;
      bottom: 14px;
      left: 14px;
      right: 14px;
      background: rgba(18, 8, 36, 0.85);
      border: 2px solid var(--accent);
      padding: 8px 12px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-family: 'Space Mono', monospace;
      font-size: 0.74rem;
    }

    /* Holographic Ticket-Stub Cards */
    .section {
      padding: 46px 0;
    }

    .section-head {
      display: flex;
      flex-wrap: wrap;
      align-items: flex-end;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 28px;
    }

    .tickets-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
      gap: 26px;
    }

    .ticket-card {
      position: relative;
      background: linear-gradient(135deg, rgba(255, 46, 147, 0.22), rgba(0, 240, 255, 0.16) 50%, rgba(217, 255, 0, 0.18));
      background-color: var(--surface);
      border: 2.5px solid var(--ink);
      border-radius: 18px;
      padding: 22px;
      box-shadow: 6px 6px 0 var(--accent);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 16px;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .ticket-card:nth-child(1) { transform: rotate(-1.2deg); }
    .ticket-card:nth-child(2) { transform: rotate(1.1deg); }
    .ticket-card:nth-child(3) { transform: rotate(-0.8deg); }

    .ticket-card:hover {
      transform: rotate(0deg) translateY(-4px);
      box-shadow: 8px 8px 0 var(--accent-2);
    }

    .ticket-card.punched {
      border-color: var(--accent);
      box-shadow: 6px 6px 0 var(--accent-3);
    }

    .ticket-perf {
      border-top: 2px dashed rgba(253, 244, 255, 0.35);
      padding-top: 14px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .ticket-city {
      font-family: 'Space Mono', monospace;
      font-size: 0.74rem;
      color: var(--accent);
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .ticket-card h3 {
      font-size: 1.55rem;
      margin: 6px 0 8px;
    }

    .ticket-card p {
      margin: 0;
      color: var(--muted);
      font-size: 0.94rem;
    }

    footer {
      margin-top: 44px;
      border-top: 2px solid var(--accent-2);
      background: #0B0417;
      padding: 34px 0 46px;
    }

    .footer-inner {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
    }

    @media (max-width: 820px) {
      .hero-grid {
        grid-template-columns: 1fr;
      }
      .nav-links, .nav-cta {
        display: none;
      }
      .menu-btn {
        display: inline-flex;
      }
      .ticket-card:nth-child(n) {
        transform: rotate(0deg);
      }
    }
  </style>
</head>
<body>
  <header>
    <div class="container nav-bar">
      <a href="#top" class="brand">
        <span class="brand-glitch">PORTAL</span>
        <span>WOLF</span>
      </a>

      <nav class="nav-links" aria-label="Main">
        <a href="#portal-zone">Dimensions</a>
        <a href="#tickets">Holographic Passes</a>
      </nav>

      <div class="nav-cta">
        <a href="#tickets" class="neon-btn">Claim Stub</a>
      </div>

      <button class="menu-btn" id="menuBtn" aria-expanded="false" aria-controls="mobileNav" aria-label="Open Menu">
        <svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="#D9FF00" stroke-width="2.5">
          <path d="M4 7h16M4 12h16M4 17h16"/>
        </svg>
      </button>
    </div>

    <div class="mobile-nav" id="mobileNav">
      <a href="#portal-zone">Dimensions</a>
      <a href="#tickets">Holographic Passes</a>
    </div>
  </header>

  <main id="top">
    <section class="hero" id="portal-zone">
      <div class="container hero-grid">
        <div>
          <div class="sticker-row">
            <span class="glitch-sticker lime">ANOMALY DETECTED</span>
            <span class="glitch-sticker pink">OPEN THE FRIDGE</span>
            <span class="glitch-sticker cyan">MULTIVERSE PASS</span>
          </div>
          <h1 id="dimHeading">STEP INSIDE THE REFRIGERATOR.</h1>
          <p id="dimCopy">
            Step through a seemingly ordinary Victorian house in Santa Fe and tumble into 70 rooms of glowing neon forests, secret dryer chutes, and interdimensional lore.
          </p>

          <div class="dimension-panel">
            <span class="mono" style="font-size:0.76rem; color:var(--muted);">DIMENSION SWITCHER &bull; RE-TUNES PORTAL FREQUENCY</span>
            <div class="dim-tabs" role="tablist" aria-label="Switch art dimension">
              <button class="dim-btn active" data-dim="eternal" role="tab" aria-selected="true">House of Eternal Return</button>
              <button class="dim-btn" data-dim="omega" role="tab" aria-selected="false">Omega Mart</button>
              <button class="dim-btn" data-dim="convergence" role="tab" aria-selected="false">Convergence Station</button>
            </div>
            <div class="coord-strip">
              <span id="coordText">SECTOR: SANTA FE // 35.65° N, 105.99° W</span>
              <span id="freqText">FREQ: 432.8 MHz</span>
            </div>
          </div>

          <a href="#tickets" class="neon-btn">Punch Your Multiverse Ticket &darr;</a>
        </div>

        <div class="portal-box">
          <canvas id="portalCanvas" aria-label="Animated psychedelic neon portal rings"></canvas>
          <div class="portal-overlay-badge">
            <span id="portalLabel" style="color:var(--accent);">PORTAL 01 // ETERNAL RETURN</span>
            <span style="color:var(--ink);">STABLE</span>
          </div>
        </div>
      </div>
    </section>

    <section class="section" id="tickets">
      <div class="container">
        <div class="section-head">
          <div>
            <span class="mono" style="color:var(--accent); font-size:0.8rem;">ADMIT ONE ANOMALY</span>
            <h2 style="font-size:clamp(2rem, 4.5vw, 3rem); margin-top:4px;">Holographic Ticket Stubs</h2>
          </div>
          <span class="mono" style="color:var(--muted); font-size:0.82rem;">Tap any stub to punch &amp; tune its dimension</span>
        </div>

        <div class="tickets-grid">
          <article class="ticket-card" data-ticket-dim="eternal">
            <div>
              <div class="ticket-city">SANTA FE, NM &bull; PORTAL 01</div>
              <h3>House of Eternal Return</h3>
              <p>Crawl through a glowing fireplace, play a laser harp inside a woolly mammoth, and solve the Selig family disappearance.</p>
            </div>
            <div class="ticket-perf">
              <svg width="76" height="32" viewBox="0 0 76 32" fill="none" aria-hidden="true">
                <rect x="0" y="2" width="4" height="28" fill="#FDF4FF"/>
                <rect x="7" y="2" width="2" height="28" fill="#FDF4FF"/>
                <rect x="12" y="2" width="6" height="28" fill="#FDF4FF"/>
                <rect x="21" y="2" width="3" height="28" fill="#FDF4FF"/>
                <rect x="27" y="2" width="5" height="28" fill="#FDF4FF"/>
                <rect x="36" y="2" width="2" height="28" fill="#FDF4FF"/>
                <rect x="42" y="2" width="6" height="28" fill="#FDF4FF"/>
                <rect x="52" y="2" width="3" height="28" fill="#FDF4FF"/>
                <rect x="59" y="2" width="5" height="28" fill="#FDF4FF"/>
                <rect x="68" y="2" width="4" height="28" fill="#FDF4FF"/>
              </svg>
              <button class="neon-btn outline punch-btn">Punch Stub</button>
            </div>
          </article>

          <article class="ticket-card" data-ticket-dim="omega">
            <div>
              <div class="ticket-city">LAS VEGAS, NV &bull; PORTAL 02</div>
              <h3>Omega Mart</h3>
              <p>You have no idea what's in store for you. Shop surreal grocery aisles for Tattoo Chicken and climb into a neon desert factory.</p>
            </div>
            <div class="ticket-perf">
              <svg width="76" height="32" viewBox="0 0 76 32" fill="none" aria-hidden="true">
                <rect x="0" y="2" width="5" height="28" fill="#FDF4FF"/>
                <rect x="8" y="2" width="3" height="28" fill="#FDF4FF"/>
                <rect x="14" y="2" width="2" height="28" fill="#FDF4FF"/>
                <rect x="20" y="2" width="6" height="28" fill="#FDF4FF"/>
                <rect x="30" y="2" width="4" height="28" fill="#FDF4FF"/>
                <rect x="38" y="2" width="2" height="28" fill="#FDF4FF"/>
                <rect x="44" y="2" width="5" height="28" fill="#FDF4FF"/>
                <rect x="53" y="2" width="4" height="28" fill="#FDF4FF"/>
                <rect x="61" y="2" width="2" height="28" fill="#FDF4FF"/>
                <rect x="67" y="2" width="6" height="28" fill="#FDF4FF"/>
              </svg>
              <button class="neon-btn outline punch-btn">Punch Stub</button>
            </div>
          </article>

          <article class="ticket-card" data-ticket-dim="convergence">
            <div>
              <div class="ticket-city">DENVER, CO &bull; PORTAL 03</div>
              <h3>Convergence Station</h3>
              <p>Board a four-story quantum transit hub where four alien worlds collided into one kaleidoscopic cathedral of memories.</p>
            </div>
            <div class="ticket-perf">
              <svg width="76" height="32" viewBox="0 0 76 32" fill="none" aria-hidden="true">
                <rect x="0" y="2" width="3" height="28" fill="#FDF4FF"/>
                <rect x="6" y="2" width="6" height="28" fill="#FDF4FF"/>
                <rect x="15" y="2" width="3" height="28" fill="#FDF4FF"/>
                <rect x="22" y="2" width="4" height="28" fill="#FDF4FF"/>
                <rect x="29" y="2" width="2" height="28" fill="#FDF4FF"/>
                <rect x="35" y="2" width="6" height="28" fill="#FDF4FF"/>
                <rect x="45" y="2" width="3" height="28" fill="#FDF4FF"/>
                <rect x="52" y="2" width="5" height="28" fill="#FDF4FF"/>
                <rect x="60" y="2" width="3" height="28" fill="#FDF4FF"/>
                <rect x="67" y="2" width="5" height="28" fill="#FDF4FF"/>
              </svg>
              <button class="neon-btn outline punch-btn">Punch Stub</button>
            </div>
          </article>
        </div>
      </div>
    </section>
  </main>

  <footer>
    <div class="container footer-inner">
      <div>
        <strong class="syne" style="font-size:1.35rem;">PORTALWOLF COLLECTIVE</strong>
        <div class="mono" style="font-size:0.78rem; color:var(--muted);">Immersive maximalist art worlds &bull; Side effects include wonder</div>
      </div>
      <div class="mono" style="font-size:0.78rem; color:var(--accent);">MULTIVERSE TRANSMISSION ACTIVE</div>
    </div>
  </footer>

  <script>
    // Mobile Nav
    const menuBtn = document.getElementById('menuBtn');
    const mobileNav = document.getElementById('mobileNav');
    menuBtn.addEventListener('click', () => {
      const open = mobileNav.classList.toggle('open');
      menuBtn.setAttribute('aria-expanded', String(open));
    });
    mobileNav.querySelectorAll('a').forEach(a => {
      a.addEventListener('click', () => {
        mobileNav.classList.remove('open');
        menuBtn.setAttribute('aria-expanded', 'false');
      });
    });

    // Dimensions Configuration
    const dimensions = {
      eternal: {
        accent: '#D9FF00',
        accent2: '#FF2E93',
        accent3: '#00F0FF',
        heading: 'STEP INSIDE THE REFRIGERATOR.',
        copy: 'Step through a seemingly ordinary Victorian house in Santa Fe and tumble into 70 rooms of glowing neon forests, secret dryer chutes, and interdimensional lore.',
        coord: 'SECTOR: SANTA FE // 35.65° N, 105.99° W',
        freq: 'FREQ: 432.8 MHz',
        label: 'PORTAL 01 // ETERNAL RETURN',
        rings: ['#D9FF00', '#FF2E93', '#00F0FF', '#B362FF']
      },
      omega: {
        accent: '#00FFB2',
        accent2: '#FF5C00',
        accent3: '#FF2E93',
        heading: 'YOU HAVE NO IDEA WHAT IS IN STORE.',
        copy: 'A surrealist supermarket in Las Vegas stocked with Emergency Clams, Gender Fluid sparkling water, and hidden corporate portals behind the beverage cooler.',
        coord: 'SECTOR: LAS VEGAS // 36.15° N, 115.17° W',
        freq: 'FREQ: 888.4 MHz',
        label: 'PORTAL 02 // OMEGA MART',
        rings: ['#00FFB2', '#FF5C00', '#FF2E93', '#FFE600']
      },
      convergence: {
        accent: '#00F0FF',
        accent2: '#C738FF',
        accent3: '#D9FF00',
        heading: 'ALL TRAINS DEPART INTO MEMORY.',
        copy: 'Four alien worlds fused together in a towering Denver transit station. Trade forgotten memories at the QDOT kiosk and wander the C-Street neon alleyways.',
        coord: 'SECTOR: DENVER // 39.74° N, 105.01° W',
        freq: 'FREQ: 619.2 MHz',
        label: 'PORTAL 03 // CONVERGENCE STATION',
        rings: ['#00F0FF', '#C738FF', '#D9FF00', '#FF2E93']
      }
    };

    let activeDim = dimensions.eternal;

    function applyDimension(key) {
      const d = dimensions[key];
      activeDim = d;
      const root = document.documentElement;
      root.style.setProperty('--accent', d.accent);
      root.style.setProperty('--accent-2', d.accent2);
      root.style.setProperty('--accent-3', d.accent3);
      document.getElementById('dimHeading').textContent = d.heading;
      document.getElementById('dimCopy').textContent = d.copy;
      document.getElementById('coordText').textContent = d.coord;
      document.getElementById('freqText').textContent = d.freq;
      document.getElementById('portalLabel').textContent = d.label;

      document.querySelectorAll('.dim-btn').forEach(b => {
        const active = b.dataset.dim === key;
        b.classList.toggle('active', active);
        b.setAttribute('aria-selected', String(active));
      });
    }

    document.querySelectorAll('.dim-btn').forEach(btn => {
      btn.addEventListener('click', () => applyDimension(btn.dataset.dim));
    });

    // Ticket Punching
    document.querySelectorAll('.ticket-card').forEach(card => {
      const btn = card.querySelector('.punch-btn');
      btn.addEventListener('click', () => {
        const punched = card.classList.toggle('punched');
        btn.textContent = punched ? '✓ PUNCHED' : 'Punch Stub';
        applyDimension(card.dataset.ticketDim);
      });
    });

    // Animated Psychedelic Portal Rings on Canvas 2D
    const canvas = document.getElementById('portalCanvas');
    const ctx = canvas.getContext('2d');
    let t = 0;

    function resizePortal() {
      const rect = canvas.getBoundingClientRect();
      const dpr = Math.min(window.devicePixelRatio || 1, 2);
      canvas.width = Math.floor(rect.width * dpr);
      canvas.height = Math.floor(rect.height * dpr);
      ctx.setTransform(dpr, 0, 0, dpr, 0, 0);
    }

    function drawPortal() {
      const rect = canvas.getBoundingClientRect();
      const w = rect.width;
      const h = rect.height;
      const cx = w / 2;
      const cy = h / 2 - 12;

      ctx.fillStyle = '#0A0416';
      ctx.fillRect(0, 0, w, h);

      const colors = activeDim.rings;
      const ringCount = 11;
      for (let i = ringCount; i >= 1; i--) {
        const phase = (i + (t * 0.025)) % ringCount;
        const radius = (phase / ringCount) * (w * 0.56);
        const wobbleX = Math.sin(t * 0.03 + i) * 7;
        const wobbleY = Math.cos(t * 0.025 + i * 1.2) * 7;
        const col = colors[i % colors.length];

        ctx.save();
        ctx.translate(cx + wobbleX, cy + wobbleY);
        ctx.rotate(t * 0.008 * (i % 2 === 0 ? 1 : -1));
        ctx.strokeStyle = col;
        ctx.lineWidth = 3.5 + (phase / ringCount) * 4;
        ctx.setLineDash(i % 2 === 0 ? [18, 10] : [32, 8]);
        ctx.beginPath();
        ctx.ellipse(0, 0, Math.max(4, radius), Math.max(4, radius * 0.86), 0, 0, Math.PI * 2);
        ctx.stroke();
        ctx.restore();
      }

      // Glowing core eye
      const grad = ctx.createRadialGradient(cx, cy, 4, cx, cy, 46);
      grad.addColorStop(0, '#FDF4FF');
      grad.addColorStop(0.4, activeDim.accent);
      grad.addColorStop(1, 'transparent');
      ctx.fillStyle = grad;
      ctx.beginPath();
      ctx.arc(cx, cy, 46, 0, Math.PI * 2);
      ctx.fill();

      t += 1;
      requestAnimationFrame(drawPortal);
    }

    window.addEventListener('resize', resizePortal);
    resizePortal();
    drawPortal();
  </script>
</body>
</html>