/* ==========================================================================
   1. GLOBAL SYSTEM SANITIZATION & VIEWPORT LOCK
   ========================================================================== */
:root {
  --neon-green: #008751;
  --neon-pink: #ff0055;
  --neon-purple: #9d00ff;
  --text-main: #ffffff;
  --text-muted: #a0b2c6;
  --glass-panel: rgba(10, 14, 11, 0.65);
  --glass-border: rgba(0, 135, 81, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
  -webkit-user-drag: none;
}

html,
body {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden; /* Strict lock against vertical/horizontal scrolling */
  background-color: #030305;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  color: var(--text-main);
}

/* ==========================================================================
   2. TINDER STAGE & SWIPER ELEMENT ARCHITECTURE
   ========================================================================== */
.deck-stage-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.tinder-card-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s ease;
  will-change: transform, opacity;
  touch-action: none;          /* Block default browser scrolling during active gesture paths */
    user-select: none;           /* Prevent highlighted text masks */
    -webkit-user-select: none;   /* Safari alignment fix */
    cursor: grab;
}

.tinder-card-wrapper:active {
    cursor: grabbing;            /* Dynamic switch to grabbing hand icon while holding mouse click down */
}

.hidden-card {
  display: none !important;
  opacity: 0;
  pointer-events: none;
}

/* Hardware accelerated animation classes called via gesture listener */
.swipe-left-animate {
  transform: translateX(-150vw) rotate(-20deg) !important;
  opacity: 0 !important;
}

.swipe-right-animate {
  transform: translateX(150vw) rotate(20deg) !important;
  opacity: 0 !important;
}

/* ==========================================================================
   3. BACKGROUND SLIDESHOW CORE LAYERS
   ========================================================================== */
.card-slideshow-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

.media-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.2s ease-in-out, transform 8s ease-out;
  will-change: opacity, transform;
}

.media-slide.visible-slide {
  opacity: 1;
  transform: scale(1);
}

.cinematic-gradient-vignette {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(3, 3, 5, 0.6) 0%,
    rgba(3, 3, 5, 0.4) 40%,
    rgba(3, 3, 5, 0.92) 90%
  );
  z-index: -1;
}

/* ==========================================================================
   4. FLOATING INTERFACE VIEWPORT FRAMEWORK
   ========================================================================== */
.events-app-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem 2rem;
  background: transparent;
}

.events-navigation-bar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.back-home-btn {
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 0.6rem 1.2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.back-home-btn:hover {
  background: var(--text-main);
  color: #000000;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.platform-indicator {
  font-size: 0.8rem;
  letter-spacing: 3px;
  color: var(--neon-green);
  font-weight: 800;
  text-shadow: 0 0 10px rgba(0, 135, 81, 0.5);
}

/* ==========================================================================
   5. FLOATING GLASS DASHBOARD PANELS (SPLIT GRID)
   ========================================================================== */
.event-dashboard-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  width: 100%;
  max-width: 1600px;
  margin: auto 0;
  align-items: end;
}

.event-details-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.datetime-badge {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--neon-green);
  margin-bottom: 0.75rem;
}

.event-main-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
}

.location-wrapper {
  font-size: 1.1rem;
  color: var(--text-main);
  font-weight: 600;
  margin-bottom: 1.25rem;
  opacity: 0.9;
}

.event-description-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 680px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

/* Right Side Premium Ticket Box */
.event-tickets-panel {
  background: var(--glass-panel);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.panel-section-title {
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.tickets-listing-holder {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.ticket-tier-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tier-name-label {
  font-size: 1rem;
  font-weight: 700;
}

.tier-price-tag {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--neon-green);
}

.purchase-action-trigger {
    display: block; /* Forces anchor link layout wrapper to expand like a standard block button container */
    width: 100%;
    padding: 1.1rem;
    background: var(--neon-green);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-align: center; /* Center-align text inside anchor element wrapper box metrics */
    text-decoration: none; /* Strip off baseline standard browser hyperlink text underline properties */
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Forces padding boundaries inside layout dimension limit widths */
}

.purchase-action-trigger:hover {
    background: #00b069;
    box-shadow: 0 0 25px rgba(0, 135, 81, 0.6);
    transform: translateY(-2px);
    color: white; /* Safety declaration patch rule override against browser system stylesheet changes */
}


/* ==========================================================================
   6. ONBOARDING FLOATING TUTORIAL SYSTEM
   ========================================================================== */
.gesture-tutorial-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 3, 5, 0.85);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(8px);
  transition: opacity 0.4s ease, visibility 0.4s;
}

.gesture-tutorial-overlay.hidden-tutorial {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.tutorial-box {
  text-align: center;
  color: white;
}

.floating-hand-animation {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  animation: swipeMockMotion 2.5s infinite ease-in-out;
}

.hand-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 10px var(--neon-green));
}

.tutorial-text {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.5;
}

.tutorial-text small {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
}

.dismiss-tutorial-btn {
  margin-top: 1.75rem;
  padding: 0.6rem 1.75rem;
  background: transparent;
  border: 2px solid var(--neon-green);
  border-radius: 4px;
  color: var(--neon-green);
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dismiss-tutorial-btn:hover {
  background: var(--neon-green);
  color: white;
}

@keyframes swipeMockMotion {
  0% {
    transform: translateX(0) scale(1);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  40% {
    transform: translateX(-40px) scale(0.9);
  }
  60% {
    transform: translateX(40px) scale(0.9);
  }
  80% {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateX(0) scale(1);
    opacity: 0;
  }
}

/* ==========================================================================
   7. IPHONE STYLE PHOTOS CATALOG OVERLAY GRID
   ========================================================================== */
.iphone-catalog-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #030305;
  z-index: 9000;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease;
  will-change: transform, opacity;
}

.iphone-catalog-grid.hidden-grid {
  transform: scale(
    1.15
  ); /* Zooms into the canvas when user pinches down out of view */
  opacity: 0;
  pointer-events: none;
}

.iphone-catalog-grid.visible-grid {
  transform: scale(1);
  opacity: 1;
  pointer-events: auto;
}

.grid-header-zone {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}

.grid-header-zone h2 {
  font-size: 1.5rem;
  letter-spacing: 3px;
  font-weight: 900;
}

.close-grid-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 700;
}

.grid-masonry-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  overflow-y: auto; /* Allow overflow scroll ONLY inside the isolated gallery container overlay */
  padding-bottom: 4rem;
}

.catalog-thumb-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 200px;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.catalog-thumb-card:hover {
  transform: scale(1.03);
}
.thumb-media-frame {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.catalog-thumb-card:hover .thumb-media-frame {
  transform: scale(1.05);
}
.thumb-meta-data {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, transparent 100%);
}
.thumb-date {
  font-size: 0.75rem;
  color: var(--neon-green);
  font-weight: 700;
}
.thumb-title {
  font-size: 1rem;
  margin-top: 0.15rem;
  font-weight: 700;
} /* ==========================================================================8. ULTRA RESPONSIVE ADAPTIVE DEVICES RE-FACTORING========================================================================== */
@media (max-width: 992px) {
  .event-dashboard-split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .event-main-title {
    font-size: 2.2rem;
  }
}
@media (max-width: 576px) {
  .events-app-container {
    padding: 1.5rem 1rem;
  }
  .event-main-title {
    font-size: 1.75rem;
  }
  .event-description-text {
    font-size: 0.9rem;
  }
  .event-tickets-panel {
    padding: 1.25rem;
  }
  .grid-masonry-wrapper {
    grid-template-columns: 1fr 1fr; /* 2 Column compact photos look on mobile */
    gap: 0.75rem;
  }
  .catalog-thumb-card {
    height: 140px;
  }
}
.pc-navigation-dock {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    display: flex;
    gap: 0.75rem;
    z-index: 9999; /* Forces control interface onto top visual plane */
}

.pc-navigation-dock.hidden-deck {
    display: none !important;
}

.pc-nav-btn {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.pc-nav-btn svg {
    width: 26px;
    height: 26px;
    display: block; /* Locks graphic elements against compression failures */
}

/* Hover and Interaction states */
.pc-nav-btn:hover {
    background: var(--neon-green);
    border-color: var(--neon-green);
    box-shadow: 0 0 20px rgba(0, 135, 81, 0.6);
    transform: translateY(-3px);
}

.pc-nav-btn:active {
    transform: translateY(-1px) scale(0.95);
}
.gesture-tutorial-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(10, 15, 30, 0.85); /* Slightly darker for better contrast */
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 9999;
      font-family: system-ui, -apple-system, sans-serif;
    }
    .tutorial-box {
      text-align: center;
      color: #ffffff;
      width: 320px;
      padding: 24px;
    }
    
    /* Interactive Preview Window */
    .preview-window {
      width: 160px;
      height: 220px;
      margin: 0 auto 24px auto;
      position: relative;
      border: 2px solid rgba(0, 243, 255, 0.3);
      border-radius: 16px;
      overflow: hidden;
      background: #0f172a;
      box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }

    /* Tinder-style Event Card */
    .preview-card {
      position: absolute;
      width: 130px;
      height: 180px;
      left: 15px;
      top: 15px;
      background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 12px;
      padding: 10px;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      animation: cardReaction 6s ease-in-out infinite;
    }
    .preview-card::before {
      content: '';
      position: absolute;
      top: 10px;
      left: 10px;
      right: 10px;
      bottom: 45px;
      background: rgba(255,243,255,0.05);
      border-radius: 8px;
    }
    .card-line {
      height: 6px;
      background: rgba(255,255,255,0.2);
      border-radius: 3px;
      margin-top: 5px;
    }
    .card-line.short { width: 60%; }

    /* iPhone-style Grid Layout */
    .preview-grid {
      position: absolute;
      top: 100%; /* Initially hidden below */
      left: 0;
      width: 100%;
      height: 100%;
      background: #0f172a;
      padding: 12px;
      box-sizing: border-box;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 6px;
      align-content: start;
      animation: gridReaction 6s ease-in-out infinite;
    }
    .grid-item {
      aspect-ratio: 1;
      background: linear-gradient(135deg, #1e293b, #334155);
      border-radius: 4px;
    }

    /* Animated Pointer Hand */
    .hand-graphic {
      width: 44px;
      height: 44px;
      position: absolute;
      top: 40%;
      left: 40%;
      z-index: 10;
      filter: drop-shadow(0 2px 8px rgba(0,0,0,0.8));
      animation: handSequence 6s ease-in-out infinite;
    }

    /* Typography & Buttons */
    .tutorial-text {
      font-size: 1.1rem;
      line-height: 1.5;
      margin-bottom: 24px;
      font-weight: 500;
    }
    .tutorial-text small {
      display: block;
      margin-top: 8px;
      font-size: 0.9rem;
      color: #00f3ff;
      font-weight: 400;
    }
    .dismiss-tutorial-btn {
      background: transparent;
      border: 2px solid #00f3ff;
      color: #00f3ff;
      padding: 10px 32px;
      font-size: 0.9rem;
      font-weight: bold;
      letter-spacing: 1px;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    .dismiss-tutorial-btn:hover {
      background: #00f3ff;
      color: #000000;
    }

    /* --- ANIMATION TIMELINES (Synced at 6 seconds) --- */

    /* 1. Hand Movement Timeline */
    @keyframes handSequence {
      0% { transform: translate(0, 0); opacity: 0; }
      4% { opacity: 1; }
      /* Swipe Left */
      12% { transform: translate(-45px, -5px) rotate(-10deg); }
      20% { transform: translate(0, 0); opacity: 0; }
      24% { opacity: 1; }
      /* Swipe Right */
      32% { transform: translate(45px, -5px) rotate(10deg); }
      40% { transform: translate(0, 0); opacity: 0; }
      46% { transform: translate(0, -30px); opacity: 1; }
      /* Drag Down */
      58% { transform: translate(0, 50px); }
      66% { opacity: 1; }
      75% { opacity: 0; transform: translate(0, 50px); }
      100% { transform: translate(0, 0); opacity: 0; }
    }

    /* 2. Card Reaction Timeline */
    @keyframes cardReaction {
      0%, 4% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
      /* Fly out Left */
      12% { transform: translate(-140px, -10px) rotate(-15deg); opacity: 0; }
      19% { transform: translate(140px, 0) rotate(0deg); opacity: 0; }
      /* Reset & Snap back into view */
      22%, 24% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
      /* Fly out Right */
      32% { transform: translate(140px, -10px) rotate(15deg); opacity: 0; }
      39% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
      /* Exit upward out of view when grid pulls down */
      46% { opacity: 1; transform: translateY(0); }
      58%, 75% { transform: translateY(180px); opacity: 0; }
      100% { transform: translate(0, 0); opacity: 1; }
    }

    /* 3. Grid Reaction Timeline */
    @keyframes gridReaction {
      0%, 42% { transform: translateY(0); } /* Hidden below frame */
      /* Drop down into view */
      58%, 75% { transform: translateY(-100%); } 
      /* Return down out of view */
      85%, 100% { transform: translateY(0); }
    }
    /* Legibility Box Wrap: Snugly follows text width limits and adds high-contrast separation */
/* Legibility Box Wrap: Snugly follows text width limits and adds high-contrast separation */
.title-glass-wrap {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: rgba(3, 3, 5, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0.75rem;
    max-width: 100%;
}

/* Reduced Title scale configuration parameters to fix overflow constraints */
.event-main-title {
    font-size: 1.65rem; /* Down from 3rem to fit comfortably without cluttering */
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.2px;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 0 12px rgba(0, 243, 255, 0.25);
}

/* View Details Action Drop Down Link Item Styles */
.toggle-details-trigger {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
    outline: none;
}

.toggle-details-trigger:hover {
    background: var(--neon-green);
    border-color: var(--neon-green);
    box-shadow: 0 0 15px rgba(0, 135, 81, 0.5);
}

/* Layout Animation Drawer Controls */
/* Layout Animation Drawer Controls - Converted to Absolute Layer to Prevent Layout Reflow Jumps */
.collapsible-details-drawer {
    position: absolute;
    bottom: 4.5rem; /* Positions it floating cleanly right above your secure pass button */
    left: 1rem;
    right: 1rem;
    max-height: 280px;
    opacity: 1;
    overflow-y: auto;
    z-index: 100;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.2s ease;
    background: rgba(10, 15, 20, 0.92); /* Higher solid opacity contrast balance against bright backdrops */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.25rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    transform: translateY(0);
}

/* Hidden Class Transformation Layer Base */
.collapsible-details-drawer.target-hidden {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    border: none;
    box-shadow: none;
    pointer-events: none;
    transform: translateY(15px); /* Smooth slight downward exit fade */
}

/* Ensure details panel layout area stays position-relative to bind the absolute card drawer */
.event-details-panel {
    position: relative;
    width: 100%;
}


/* Cleanup layout panel framework since ticket categories are removed */
.event-tickets-panel {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    backdrop-filter: none !important;
    width: 100%;
}

@media (max-width: 576px) {
    .event-main-title {
        font-size: 1.35rem; /* Ultra compact footprint scaling target for mobile devices */
    }
}
/* Lock panel dimensions against calculation reflow transformations */
.event-dashboard-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
    align-items: end;
    position: relative;
}

.event-details-panel {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Hard structural isolation lock */
    height: auto;
    overflow: visible;
}
/* Unique Layout Overrides to Create clean Dashboard Grid Cards */
        .dash-layout-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
            width: 100%;
            max-width: 1600px;
            margin: 1.5rem auto;
            padding: 0 1rem;
        }
        .dash-card {
            background: rgba(8, 12, 10, 0.65);
            border: 1px solid rgba(0, 135, 81, 0.2);
            border-radius: 16px;
            padding: 1.75rem;
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        .dash-title {
            font-size: 0.8rem;
            letter-spacing: 2px;
            color: #8fa0b5;
            text-transform: uppercase;
            margin-bottom: 0.5rem;
        }
        .dash-value {
            font-size: 2.2rem;
            font-weight: 800;
            color: #ffffff;
            margin: 0.5rem 0;
            font-family: monospace; /* Keeps currency pricing figures uniform */
        }
        .link-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.75rem;
            margin-top: 1rem;
        }
        .dash-btn {
            display: block;
            padding: 0.85rem;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #ffffff;
            text-align: center;
            text-decoration: none;
            font-weight: 700;
            font-size: 0.85rem;
            letter-spacing: 1px;
            border-radius: 8px;
            transition: all 0.3s ease;
        }
        .dash-btn:hover {
            background: #008751;
            border-color: #008751;
            box-shadow: 0 0 15px rgba(0, 135, 81, 0.5);
            transform: translateY(-2px);
        }
        .dash-btn.primary-green {
            background: #008751;
            border-color: #008751;
        }
        .dash-btn.primary-green:hover {
            background: #00b069;
        }
        /* ==========================================================================
 9. SYSTEM ISOLATED CONTROL DASHBOARD EXTENSIONS
 ========================================================================== */

/* Enforce physical view parameters exclusively when dashboard wrapper is called */
body:has(.dash-layout-grid) {
    overflow-y: auto !important; /* Safely override the master viewport html/body scroll lock */
}

/* Structural priority stacking over background components */
.welcome-header, 
.dash-layout-grid {
    position: relative;
    z-index: 10 !important;
    pointer-events: auto !important; /* Guarantees mouse click registration through canvases */
    box-sizing: border-box;
}

.welcome-header {
    padding: 2.5rem 1.5rem 0 1.5rem;
    max-width: 1600px;
    margin: 0 auto;
}

.welcome-header h1 {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 0 12px rgba(0, 243, 255, 0.2);
}

.welcome-header p {
    color: #8fa0b5;
    font-size: 0.95rem;
    margin-top: 0.35rem;
}

.dash-layout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    width: 100%;
    max-width: 1600px;
    margin: 1.5rem auto;
    padding: 0 1.5rem;
}

.dash-card {
    background: rgba(8, 12, 10, 0.65);
    border: 1px solid rgba(0, 135, 81, 0.2);
    border-radius: 16px;
    padding: 1.75rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dash-title {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #8fa0b5;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.dash-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0.5rem 0;
    font-family: monospace;
}

.link-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.dash-btn {
    display: block;
    padding: 0.85rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.dash-btn:hover {
    background: #008751;
    border-color: #008751;
    box-shadow: 0 0 15px rgba(0, 135, 81, 0.5);
    transform: translateY(-2px);
}

.dash-btn.primary-green {
    background: #008751;
    border-color: #008751;
}

.dash-btn.primary-green:hover {
    background: #00b069;
}

/* ==========================================================================
 10. ULTRA RESPONSIVE DASHBOARD BREAKPOINTS
 ========================================================================== */
@media (max-width: 768px) {
    .link-grid {
        grid-template-columns: 1fr;
    }
    .dash-layout-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    .welcome-header {
        padding: 2rem 1rem 0 1rem;
    }
    .welcome-header h1 {
        font-size: 1.65rem;
    }
}
