 body.game-body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* padding: var(--pad-page) 0 0 0; */
}

/* Layout Container */
.game-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 3% auto;
  margin-top: 3%;
  padding: 0 var(--pad-page);
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: var(--pad-card);
  flex-grow: 1;
}

/* Sidebar Styling */
.game-sidebar {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-max);
  padding: var(--pad-card);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height:600px;
  max-height: max-content;
}

.game-title {
  color: var(--color-primary);
  font-size: 1.5rem;
  font-weight: 500;
}

.game-description {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Stats Card */
.game-stats-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background-color: var(--bg-main);
  padding: 12px;
  border-radius: var(--radius-smooth);
  border: 1px solid var(--border-color);
}

.game-stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.game-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.game-stat-value {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--text-main);
}

/* Inputs & Buttons */
.game-btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  border: none;
  padding: 12px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: var(--radius-smooth);
  cursor: pointer;
  transition: var(--transition-fast);
}

.game-btn-primary:hover {
  filter: brightness(1.1);
}


.game-input-wrapper {
  margin-top: auto;     
  width: 100%;          
  display: flex;         
  align-items: center; 
}


.game-input {
  width: 100%;
  background-color: var(--bg-main);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-smooth);
  padding: 14px;
  color: var(--text-muted);
  font-size: 1.1rem;
  outline: none;
  margin-bottom: 4px;
  text-align:center;
  transition: var(--transition-fast);
}


.game-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 8px rgba(88, 166, 255, 0.3);
}

/* Game Arena Canvas */
.game-arena {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-max);
  position: relative;
  overflow: hidden;
  height: 600px;
  display: flex;
  flex-direction: column;
  height: 100%; 
}

/* Falling Words */
.game-word {
  position: absolute;
  background-color: var(--bg-card-hover);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  user-select: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Active matching letters highlighting inside JS */
.game-word-match {
  color: var(--color-primary);
}

/* Overlays */
.game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(80% 58% at -65% 50%, var(--bg-card, #FF9875) 74%, var(--bg-card) 117%, var(--color-primary, #673DE6) 103%, var(--bg-card, #1a1b1e) 295%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
  border-bottom: 6px solid var(--color-primary);

}

.game-overlay-text {
   font-size: 2rem;
    color: var(--bg-card);
    font-weight: bold;
    margin-bottom: 8px;
    border: 2px solid var(--bg-card);
    border-radius: var(--radius-max);
    box-shadow: var(--shadow-blue);
    padding: 12px;
}

.game-overlay-sub {
  background: linear-gradient(45deg, #00000000, var(--bg-card));
  padding: 2%;
  color:var(--color-error);
  margin-bottom: 3%;
  font-weight: bold;  
  border-radius: 5px;
}

/* Danger Ground Line */
.game-danger-zone {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background-color: var(--color-error);
  box-shadow: 0 -2px 10px var(--color-error);
}

/* Footer Styling */
.game-footer {
  text-align: center;
  padding: 2rem var(--pad-page);
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-color);
  margin-top: var(--pad-page);
}

.game-footer-tagline {
  color: var(--text-main);
  font-weight: bold;
  margin-bottom: 0.3rem;
}

.game-footer-copyright {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
}

.game-footer-links {
  font-size: 0.85rem;
  color: var(--border-color);
}

.game-footer-link {
  color: var(--color-primary);
  text-decoration: none;
  margin: 0 10px;
  transition: var(--transition-fast);
}

.game-footer-link:hover {
  color: var(--color-primary-hover);
  text-decoration: underline;
}
/* Hearts Components styling */
.game-hearts-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg-main);
  padding: 10px var(--pad-card);
  border-radius: var(--radius-smooth);
  border: 1px solid var(--border-color);
}

.game-hearts-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: bold;
}

.game-hearts-box {
  display: flex;
  gap: 5px;
  font-size: 1.3rem;
  letter-spacing: 2px;
}

/* Speed Adjuster Dropdown Form Control */
.game-setting-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.game-setting-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.game-select {
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-smooth);
  padding: 10px;
  color: var(--text-main);
  outline: none;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.game-select:focus {
  border-color: var(--color-primary);
}
/* Purani CSS file ke niche ise append karein */

.game-sniper-board {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: var(--pad-card);
  gap: 2rem;
}

.game-sniper-text {
  font-size: 1.5rem;
  line-height: 1.8;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-align: left;
  width: 100%;
  max-width: 700px;
  background-color: var(--bg-main);
  padding: var(--pad-card);
  border-radius: var(--radius-max);
  border: 1px solid var(--border-color);
  min-height: 150px;
  user-select: none;

  
  white-space: normal;      
  word-wrap: break-word;   
  overflow-wrap: break-word; 
  word-break: keep-all;    
  box-sizing: border-box;  

}
/* Individual letter tracking highlights */
.game-char-correct {
  color: var(--color-success);
  border-bottom: 2px solid var(--color-success);
}

.game-char-incorrect {
  color: var(--color-error);
  background-color: rgba(248, 81, 73, 0.15);
  border-radius: 3px;
}

.game-char-current {
  color: var(--color-primary);
  background-color: var(--bg-card-hover);
  border-bottom: 2px solid var(--color-primary);
}
/* Custom Time Bomber UI styling rules */
.game-bomb-zone {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: var(--pad-card);
  gap: 3rem;
}

.game-bomb-card {
  width: 320px;
  height: 180px;
  background-color: var(--bg-card-hover);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-max);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform var(--transition-fast);
}

/* Visual shake effect when timer runs low */
.game-bomb-critical {
  border-color: var(--color-error);
  animation: bombShake 0.15s infinite;
}

.game-bomb-word {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text-main);
  z-index: 2;
  text-transform: uppercase;
}

/* Linear background timing bar indicator */
.game-bomb-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 8px;
  width: 100%;
  background-color: var(--color-primary);
  transition: width 0.1s linear;
}

@keyframes bombShake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  100% { transform: translate(-1px, -1px) rotate(1deg); }
}
/* Custom Blizzard Engine UI Rules */
.game-blizzard-wind {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(88, 166, 255, 0.03) 25%, transparent 25%) -50px 0,
              linear-gradient(-45deg, rgba(88, 166, 255, 0.03) 25%, transparent 25%) -50px 0;
  background-size: 100px 100px;
  pointer-events: none;
  z-index: 1;
}

/* Horizontal drifting dynamic shadow word cards */
.game-blizzard-word {
  position: absolute;
  background-color: var(--bg-card);
  border: 1px dashed var(--border-color);
  padding: 8px 16px;
  border-radius: var(--radius-smooth);
  font-size: 1.15rem;
  font-family: 'Courier New', Courier, monospace;
  font-weight: bold;
  color: var(--text-main);
  white-space: nowrap;
  user-select: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 3;
  transition: opacity 0.4s ease-in-out; /* Smooth blending fade */
}

/* Frozen bonus visual state modifier */
.game-word-frozen {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 15px rgba(88, 166, 255, 0.6) !important;
  color: #ffffff !important;
}
/* Custom Marathon UI Style Rules */
.game-marathon-fatigue-bg {
  width: 100%;
  height: 12px;
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-smooth);
  overflow: hidden;
  margin-top: 4px;
}

.game-marathon-fatigue-fill {
  width: 0%;
  height: 100%;
  background-color: var(--color-success);
  transition: width 0.1s linear, background-color 0.3s ease;
}

.game-marathon-board {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: var(--pad-card);
  gap: 2.5rem;
}

.game-marathon-queue-container {
  width: 100%;
  max-width: 650px;
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-max);
  padding: var(--pad-card);
  overflow: hidden;
  position: relative;
}

.game-marathon-queue {
  display: flex;
  gap: 15px;
  transition: transform 0.2s ease-out;
  align-items: center;
}

/* Individual continuous blocks inside horizontal track queue */
.game-marathon-node {
  padding: 8px 18px;
  background-color: var(--bg-card-hover);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}

/* Highlight specifically targeting active running node element */
.game-node-active {
  background-color: rgba(88, 166, 255, 0.1);
  border-color: var(--color-primary);
  color:var(--color-primary);
  transform: scale(1.08);
  box-shadow: 0 0 10px rgba(88, 166, 255, 0.2);
}
/* Custom IDE Developer Code Runner Styling Rules */
.game-ide-container {
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  background-color:var(--bg-main);;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-max);
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0,0,0,0.6);
}

.game-ide-header {
  background-color: var(--bg-card);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border-color);
}

.game-ide-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.game-ide-filename {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: monospace;
  margin-left: 10px;
}

.game-ide-body {
  padding: var(--pad-card);
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.2rem;
  line-height: 1.6;
  min-height: 35vh;
  color: var(--text-muted);
  
  word-break: break-all;
  user-select: none;
}

/* Custom code input targeting adjustments */
.game-ide-input {
  border-radius: 0 !important;
  border: none !important;
  border-top: 1px solid var(--border-color) !important;
  background-color: var(--bg-card) !important;
  text-align: left !important;
  font-family: monospace;
  padding-left: var(--pad-card) !important;
}
/* Custom 1v1 Split Screen Structural Layout CSS */
.game-duel-layout {
  grid-template-columns: 320px 1fr !important;
}



.game-player-section {
  display: flex;
  flex-direction: column;
 
  gap: 12px;
  width: 100%;
}

.game-player-badge {
  font-size: 0.8rem;
  font-weight: bold;
   margin: 3% 0 10% 0;
  letter-spacing: 1px;
}

.game-duel-text-display {
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-smooth);
  padding: 14px;
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.5;
  user-select: none;
}

.game-duel-divider {
  width: 100%;
  height: 2px;
  background-color: var(--border-color);
  margin: var(--pad-card) 0;
  border-style: dashed;
}
/* Multiplayer Match Custom Structural Updates */


.game-duel-arena-split {
  display: flex;
  flex-direction: column;
  height: 600px !important;
  padding: var(--pad-card);
  /* justify-content: space-between;*/
} 

.game-duel-divider {
  width: 100%;
  height: 2px;
  background-color: var(--border-color);
  margin: var(--pad-card) 0;
  border-style: dashed;
}
/* Custom Boss Battle View Board Elements styling */
.game-boss-battle-board {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: var(--pad-card);
  gap: 2.2rem;
}

.game-boss-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 500px;
}

.game-boss-avatar {
  font-size: 3rem;
  animation: floatAvatar 2s ease-in-out infinite;
}

.game-boss-health-bg {
  width: 100%;
  height: 14px;
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-smooth);
  overflow: hidden;
}

.game-boss-health-fill {
  width: 100%;
  height: 100%;
  background-color: var(--color-error);
  box-shadow: 0 0 10px var(--color-error);
  transition: width 0.2s ease-out;
}

.game-boss-sequence-box {
  background-color: #06090e;
  border: 2px solid var(--border-color);
  padding: var(--pad-card);
  font-size: 1rem;
  font-family: monospace;
  letter-spacing: 3px;
  border-radius: var(--radius-max);
  color: var(--text-main);
  text-align: center;
  min-width: 380px;
  box-shadow: inset 0 4px 20px rgba(0,0,0,0.8);
  user-select: none;
  overflow-x: scroll;
  scroll-behavior: smooth;
 
  scrollbar-width: thin;
    scrollbar-color: var(--color-error) var(--bg-card);
}

@keyframes floatAvatar {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}
/* Custom Memory Symphony UI Elements Styling */
.game-symphony-board {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: var(--pad-card);
  gap: 3rem;
}

.game-symphony-flash-box {
  width: 100%;
  max-width: 500px;
  background-color: var(--bg-card-hover);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-max);
  padding: var(--pad-page);
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  letter-spacing: 2px;
  box-shadow: 0 0 25px rgba(88, 166, 255, 0.15);
  text-transform: uppercase;
  transition: all 0.1s ease-in-out;
}

/* Flash active class called inside JS engine */
.game-flash-active {
  background-color: var(--bg-main) !important;
  color: var(--color-primary) !important;
  transform: scale(1.03);
  box-shadow: 0 0 30px rgba(88, 166, 255, 0.4) !important;
}
/* High-Tech Rotation Ring Spinner Layout */
.arena-btn-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border-top-color: #ffffff; /* Neon highlighting spinner head */
    display: inline-block;
    box-sizing: border-box;
    animation: arenaSpinnerRotation 0.6s linear infinite;
    vertical-align: middle;
}

/* Linear perpetual loop calculations */
@keyframes arenaSpinnerRotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* ==========================================================================
   LEVEL UP CELEBRATION MODAL SYSTEM (ISOLATED)
   ========================================================================== */

/* Fullscreen High-Tech Translucent Backdrop Overlay */
.lvl-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.92); /* Matches your deep dark body color theme */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999; /* Forces popup above all sidebar components */
    font-family: system-ui, -apple-system, sans-serif;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Gold Glowing Holographic Card Base Container */
.lvl-modal-card {
    background: var(--bg-card);
    border: 2px solid var(--s-rank-gold);
    padding: 2.5rem;
    border-radius: var(--radius-max);
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 0 35px rgba(255, 215, 0, 0.4);
    box-sizing: border-box;
    transform: scale(0.7);
    animation: lvlArenaPopupScale 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Floating Crown Icon Vector Animation */
.lvl-modal-emoji {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    user-select: none;
    animation: lvlArenaFloatEmoji 2s ease-in-out infinite;
}

/* Gold Metallic Header Text Typography */
.lvl-modal-title {
    color: var(--s-rank-gold);
    margin: 0 0 0.5rem 0;
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

/* Sub-description layout typography text lines */
.lvl-modal-desc {
    color: var(--text-main);
    font-size: 1.1rem;
    margin: 0 0 1.75rem 0;
}

/* Futuristic Level Matrix Box Framework */
.lvl-badge-container {
    background: linear-gradient(135deg, #161b22, #21262d); /* Matches var(--bg-card) specs */
    border: 1px solid var(--border-blue);
    display: inline-block;
    padding: 1rem 2.25rem;
    border-radius: var(--radius-smooth);
    margin-bottom: 2.25rem;
    box-shadow: 0 0 15px var(--shadow-blue);
}

.lvl-badge-label {
    color: var(--text-muted);
    font-size: 0.75rem;
    display: block;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.lvl-badge-value {
    color: var(--color-primary);
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.1;
    text-shadow: 0 0 12px var(--shadow-blue);
}

/* Claim Button Layout Controllers */
.lvl-btn-wrapper {
    width: 100%;
}

.lvl-modal-btn {
    background: var(--color-primary);
    color: #ffffff;
    border: none;
    padding: 0.85rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-smooth);
    cursor: pointer;
    width: 100%;
    box-shadow: 0 0 12px var(--shadow-blue);
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.lvl-modal-btn:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 15px var(--shadow-blue);
}

.lvl-modal-btn:active {
    transform: translateY(0);
}

/* ==========================================================================
   ANIMATIONS REGISTRY
   ========================================================================== */

/* Scaling entrance framework keyframes */
@keyframes lvlArenaPopupScale {
    0% { transform: scale(0.7); }
    100% { transform: scale(1); }
}

/* Sinusoidal floating animation pathing rules */
@keyframes lvlArenaFloatEmoji {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
/* --- Core FAQ Container Framework --- */
.faq-container {
    max-width: var(--container-max-width);
    margin: 40px auto;
    padding: 0 var(--pad-page);
    font-family: sans-serif;
}

/* --- Section Section Header Headline --- */
.faq-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

/* --- Accordion Groups Linear Stack --- */
.faq-accordion-group {
    display: flex;
    flex-direction: column;
    gap: 12px; 
}

/* --- Individual Collapsible Card Element --- */
.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-smooth);
    overflow: hidden;
    transition: var(--transition-fast);
}

/* --- Functional State Shadow Input Toggle --- */
.faq-toggle-input {
    display: none;
}

/* --- Clickable Question Header Ribbon Surface --- */
.faq-header-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--pad-card);
    cursor: pointer;
    user-select: none;
    transition: var(--transition-fast);
}

.faq-header-card:hover {
    background-color: var(--bg-card-hover);
    color: var(--color-primary);
}

/* --- Question Typography Parameters --- */
.faq-question-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
}

/* --- Pure CSS Chevron Arrow Rotator Component --- */
.faq-icon-arrow {
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
    transition: var(--transition-fast);
    margin-right: 5px;
    margin-top: -4px;
}

/* --- Sliding Content Panel Base Hidden Mask --- */
.faq-body-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    background-color: rgba(0, 0, 0, 0.15); 
}

/* --- Answer Paragraph Output Layout --- */
.faq-answer-text {
    padding: var(--pad-card);
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

/* ----------------------------------------------------
   🔥 PURE CSS DYNAMIC INTERACTION STATE REGISTRIES
------------------------------------------------------- */

/* 1. Expansion Animation On Checked Trigger State */
.faq-toggle-input:checked ~ .faq-body-content {
    max-height: 300px; 
    border-top: 1px solid var(--border-color);
}

/* 2. Primary Highlight Theme Activation Accent */
.faq-toggle-input:checked ~ .faq-header-card {
    color: var(--color-primary);
    background-color: var(--bg-card-hover);
}

.faq-toggle-input:checked ~ .faq-header-card .faq-question-text {
    color: var(--color-primary);
}

/* 3. Inverted Rotation Vectors Applied to Arrow Icon */
.faq-toggle-input:checked ~ .faq-header-card .faq-icon-arrow {
    transform: rotate(-135deg);
    border-color: var(--color-primary);
    margin-top: 4px;
}
/* --- Realistic Moving Clip Panel Container --- */
.game-boss-avatar-frame {
    width: 100%;
    height: 180px;
    margin: 15px 0;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-smooth);
    overflow: hidden;
    background-color: #000000; /* Pure black matrix background backdrop */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Dynamic Visual Target Image Handling --- */
#game-boss-clip {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-fast);
}
/* ========================================================
   TIME BOMBER STYLES & KINEMATIC ANIMATION ENGINE
   ======================================================== */

/* --- Base Container Structural Modifications --- */
#game-bomb-element {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    overflow: visible;     /* Ensures 3D scale-out text elements are not clipped */
    perspective: 1000px;  /* Activates a true 3D spatial field coordinate matrix */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* --- Shape Profile 1: Classic Spherical Grenade --- */
#game-bomb-element.shape-classic {
    border-radius: 50% !important;
    aspect-ratio: 1 / 1;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

/* --- Shape Profile 2: Tactical C4 Horizontal Brick --- */
#game-bomb-element.shape-csharp-c4 {
    border-radius: var(--radius-smooth) !important;
    height: 110px;
    width: 100%;
    border-left: 8px solid var(--color-error); /* High visibility alert wire accent */
}

/* --- Shape Profile 3: Cyber Hexagonal Plasma Cube --- */
#game-bomb-element.shape-plasma-cube {
    border-radius: var(--radius-max) !important;
    transform: rotate(45deg); /* Diamond geometric alignment */
    width: 150px;
    height: 150px;
    margin: 25px auto;
}

/* Compensates text vectors inside the inverted cube layout */
#game-bomb-element.shape-plasma-cube #game-bomb-text {
    transform: rotate(-45deg);
}

/* --- Shape Profile 4: Toxic Bio Reactor Canister --- */
#game-bomb-element.shape-chemical-can {
    border-radius: 40px 40px var(--radius-smooth) var(--radius-smooth) !important;
    width: 140px;
    height: 210px;
    margin: 0 auto;
    border-top: 16px solid var(--text-muted);
}

/* --- Cinematic Throw & Stick VFX Text Rules --- */
.game-word-thrown {
    animation: throwAndStick 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    display: inline-block;
    transform-origin: center center;
}

/* --- 3D Flying Physics Keyframe Calculations --- */
@keyframes throwAndStick {
    0% {
        opacity: 0;
        transform: scale(0.1) translateZ(-600px) rotateX(75deg) rotateY(-45deg);
        filter: blur(12px); /* High blur metrics during high velocity acceleration */
    }
    65% {
        opacity: 0.8;
        filter: blur(2px);
    }
    85% {
        transform: scale(1.18) translateZ(15px) rotateX(0deg) rotateY(0deg);
        filter: blur(0);
    }
    100% {
        transform: scale(1) translateZ(0) rotateX(0deg) rotateY(0deg);
        opacity: 1;
    }
}

/* --- Structural Jolt Impulse Matrix Applied to Housing on Contact --- */
.bomb-impact-jolt {
    animation: structuralJolt 0.15s ease-in-out;
}

@keyframes structuralJolt {
    0% { transform: scale(1); }
    50% { transform: scale(0.95) translateY(4px); } /* Compressed impact point distortion */
    100% { transform: scale(1) translateY(0); }
}



/* --- Stats Board Container Alignment Fix --- */
.game-stats-card, .game-stats-box {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 15px !important;
    width: 100%;
}

/* --- Individual Stat Box Adjustments --- */
.game-stat-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0; /* Prevents text overflow cutting */
}

/* --- Specific Target Labels (Target: 3 Synonyms) Spacing --- */
#game-sequence-len {
    font-size: 0.9rem !important;
    white-space: normal !important; /* Forces soft text wrapping instead of overlapping */
    word-break: break-word;
    margin-top: 5px;
}

/* --- Main Button Padding & Text Wrap Safety --- */
#game-start-btn, .game-btn-primary {
    padding: 12px 15px !important; /* Slightly reduced horizontal padding */
    font-size: 0.95rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Text ko button ke andar safely wrap rakhega */
    width: 100%;
}
.feedback-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-max);
    padding: var(--pad-card);
    width: 100%;
    max-width: 550px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 15px rgba(88, 166, 255, 0.05);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.feedback-card:hover {
    border-color: var(--border-blue);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(88, 166, 255, 0.1);
}

.header-title {
    color:var(--color-primary);
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px var(--shadow-blue);
}
.header-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}
label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
}

select, textarea {
    width: 100%;
    background-color: var(--bg-card-hover);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 12px;
    border-radius: var(--radius-smooth);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color var(--transition-fast);
}
select:focus, textarea:focus {
    outline: none;
    border-color: var(--border-blue);
}

/* कस्टम कैटेगरी ग्रिड */
.category-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.category-group input[type="radio"] {
    display: none;
}
.category-group label {
    background-color: var(--bg-card-hover);
    border: 1px solid var(--border-color);
    padding: 12px;
    text-align: center;
    border-radius: var(--radius-smooth);
    cursor: pointer;
    margin: 0;
    transition: all var(--transition-fast);
}
.category-group input[type="radio"]:checked + label {
    border-color: var(--border-blue);
    background-color: rgba(88, 166, 255, 0.1);
    color: #ffffff;
}

.btn-submit {
    width: 100%;
    background-color: var(--color-primary);
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: var(--radius-smooth);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}
.btn-submit:hover {
    background-color: var(--color-primary-hover);
}

.msg-box {
    padding: 12px;
    border-radius: var(--radius-smooth);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 0.95rem;
}
.msg-box.success {
    background-color: rgba(46, 164, 79, 0.15);
    border: 1px solid var(--color-success);
    color: #dcffe4;
}
.msg-box.error {
    background-color: rgba(248, 81, 73, 0.15);
    border: 1px solid var(--color-error);
    color: #ffdedb;
}
/* टू-कॉलम रिस्पॉन्सिव ग्रिड लेआउट */
.con-feedback-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--pad-page);
    max-width: var(--container-max-width);
    margin: 2rem auto;
    width: 100%;
}

@media (min-width: 992px) {
    .con-feedback-layout {
        grid-template-columns: 1.28fr 1fr;
    }
}

/* राइट साइड: रिव्यूज पैनल कंटेनर */
.reviews-panel {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-max);
    padding: var(--pad-card);
    height: fit-content;
}

/* रेटिंग समरी (Stats) बॉक्स */
.rating-summary-box {
    background-color: var(--bg-card-hover);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-smooth);
    padding: 15px;
    text-align: center;
    margin-bottom: var(--pad-card);
}
.big-rating-num {
    font-size: 2.8rem;
    font-weight: 800;
    color:var(--s-rank-gold);
    line-height: 1;
}
.stars-indicator {
    color: var(--s-rank-gold);
    font-size: 1.2rem;
    margin: 5px 0;
}
.total-counter-text {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* फीडबैक स्क्रोलर और सिंगल कमेंट कार्ड */
.reviews-list-scroll {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 5px;
}
/* कस्टम स्क्रोलबार थंब */
.reviews-list-scroll::-webkit-scrollbar { width: 6px; }
.reviews-list-scroll::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 4px; }

.single-comment-card {
    background-color: var(--bg-card-hover);
    border-left: 3px solid var(--color-primary);
    border-radius: 0 var(--radius-smooth) var(--radius-smooth) 0;
    padding: 12px;
    margin-bottom: 12px;
}
.comment-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.comment-scope-badge {
    background-color: rgba(88, 166, 255, 0.1);
    color: var(--color-primary);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
}
.comment-stars {
    color: var(--s-rank-gold);
    font-weight: bold;
}
.comment-text-body {
    font-size: 0.9rem;
    line-height: 1.4;
    word-break: break-word;
    color: var(--text-main);
}
.no-reviews-msg {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: var(--pad-card) 0;
}
