@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;400;500;600;700&display=swap");

.gaming-wrapper {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  font-family: "Rajdhani", sans-serif;
}

/* // Background animations */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--particle-color);
  border-radius: 50%;
  animation: float 20s infinite linear;
  opacity: 0.6;
  box-shadow: 0 0 6px var(--particle-color);
}

@keyframes float {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}

.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      rgba(var(--primary-rgb), 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(var(--primary-rgb), 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 2;
  animation: gridMove 20s linear infinite;
  pointer-events: none;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

/* // Hero Section */
.hero-section {
  position: relative;
  z-index: 10;
  padding: 2rem 0;
  margin-bottom: 3rem;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 300px;
  background: radial-gradient(
    ellipse at center,
    rgba(var(--primary-rgb), 0.15) 0%,
    transparent 70%
  );
  filter: blur(40px);
  z-index: -1;
}

:deep(.gaming-navbar) {
  position: relative;
  z-index: 100;
  background: rgba(10, 10, 15, 0.8) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.2);
}

:deep(.gaming-stats) {
  background: linear-gradient(
    135deg,
    rgba(15, 15, 25, 0.9),
    rgba(20, 20, 35, 0.9)
  ) !important;
  border: 1px solid rgba(var(--primary-rgb), 0.3);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(var(--primary-rgb), 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;

  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
      45deg,
      transparent 30%,
      rgba(var(--primary-rgb), 0.1) 50%,
      transparent 70%
    );
    animation: shimmer 3s infinite;
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* // Categories Container */
.categories-container {
  position: relative;
  z-index: 10;
  padding: 0 1rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

.category-wrapper {
  margin-bottom: 4rem;
  position: relative;
}

.category-header {
  margin-bottom: 2rem;
  position: relative;
}

.category-title {
  font-family: "Orbitron", monospace;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;

  .title-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 20px rgba(var(--primary-rgb), 0.5));
    animation: iconPulse 2s ease-in-out infinite;
  }

  .title-text {
    background: linear-gradient(
      45deg,
      var(--primary-color),
      var(--secondary-color)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 30px rgba(var(--primary-rgb), 0.5);
  }

  .title-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(
      90deg,
      var(--primary-color) 0%,
      transparent 100%
    );
    margin-left: 2rem;
    position: relative;
    overflow: hidden;

    &::after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100px;
      height: 100%;
      background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.8),
        transparent
      );
      animation: lineSweep 3s infinite;
    }
  }
}

@keyframes iconPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@keyframes lineSweep {
  0% {
    transform: translateX(-100px);
  }
  100% {
    transform: translateX(100%);
  }
}

/* // Category Component Styling */
:deep(.gaming-category) {
  .game-card {
    background: rgba(15, 15, 25, 0.95) !important;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;

    &::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(
        135deg,
        transparent 40%,
        rgba(var(--primary-rgb), 0.1) 50%,
        transparent 60%
      );
      transform: translateX(-100%);
      transition: transform 0.6s ease;
    }

    &:hover {
      transform: translateY(-5px) scale(1.02);
      border-color: var(--primary-color);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(var(--primary-rgb), 0.3);

      &::before {
        transform: translateX(100%);
      }

      .game-image {
        transform: scale(1.05);
      }

      .play-button {
        transform: scale(1.1);
        box-shadow: 0 0 30px rgba(var(--secondary-rgb), 0.6);
      }
    }
  }

  .game-image {
    transition: transform 0.3s ease;
  }

  .game-title {
    font-family: "Rajdhani", sans-serif;
    font-weight: 600;
    color: white !important;
    text-shadow: 0 0 10px rgba(var(--primary-rgb), 0.3);
  }

  .play-button {
    background: linear-gradient(
      45deg,
      var(--primary-color),
      var(--secondary-color)
    ) !important;
    border: none;
    font-family: "Orbitron", monospace;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;

    &::after {
      content: "";
      position: absolute;
      top: 50%;
      left: 50%;
      width: 0;
      height: 0;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.3);
      transform: translate(-50%, -50%);
      transition: width 0.6s, height 0.6s;
    }

    &:hover::after {
      width: 300px;
      height: 300px;
    }
  }
}


/* // Gaming Footer */
:deep(.gaming-footer) {
  position: relative;
  z-index: 10;
  background: rgba(10, 10, 15, 0.9) !important;
  border-top: 1px solid rgba(var(--primary-rgb), 0.2);
  margin-top: 4rem;

  &::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      var(--primary-color),
      var(--secondary-color),
      transparent
    );
    animation: footerGlow 3s ease-in-out infinite;
  }
}

@keyframes footerGlow {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

/* // Responsive */
@media (max-width: 768px) {
  .category-title {
    font-size: 1.8rem;

    .title-icon {
      font-size: 2rem;
    }

    .title-line {
      display: none;
    }
  }

  .categories-container {
    padding: 0 0.5rem 3rem;
  }
}

/* // Loading State Enhancement */
:deep(.app-loading) {
  background: rgba(10, 10, 15, 0.95) !important;

  .loading-spinner {
    border-color: rgba(var(--primary-rgb), 0.2) !important;
    border-top-color: var(--primary-color) !important;
  }
}


/* // Main Container */
.main-container {
  position: relative;
  z-index: 10;
}

  .header-content {
  position: relative;
}

.page-title-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.title-section {
  flex: 1;
  min-width: 300px;
}

.title-wrapper {
  margin-bottom: 1.5rem;
}

.page-title {
  font-family: "Orbitron", monospace;
  font-size: 3rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 1rem;

  .title-icon {
    font-size: 3rem;
    filter: drop-shadow(0 0 20px rgba(var(--primary-rgb), 0.5));
    animation: iconFloat 3s ease-in-out infinite;
  }

  .title-text {
    background: linear-gradient(
      45deg,
      var(--primary-color),
      var(--secondary-color)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
  }
}

@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.title-underline {
  margin-top: 0.5rem;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  max-width: 300px;

  .underline-glow {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    background: linear-gradient(
      90deg,
      transparent,
      var(--primary-color),
      var(--secondary-color),
      transparent
    );
    animation: underlineSlide 3s ease-in-out infinite;
  }
}

@keyframes underlineSlide {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(300%);
  }
}

/* // Epic Back Button */
.epic-back-btn {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.8) !important;
  border: 1px solid rgba(var(--primary-rgb), 0.3);
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.5rem 1.5rem !important;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;

  .btn-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .back-icon {
    transition: transform 0.3s ease;
  }

  &:hover {
    color: white !important;
    border-color: var(--primary-color);
    transform: translateX(-3px);

    .back-icon {
      transform: translateX(-3px);
    }

    .btn-glow {
      opacity: 1;
    }
  }
}

.btn-glow {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: inherit;
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.3s ease;
  z-index: 0;
}

/* // Game Details Container */
.game-details-container {
  align-items: center;
  position: relative;
  z-index: 10;
}

/* // Game Image Section */ 
.game-image-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  position: relative;
}

.image-glow-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(
    circle,
    rgba(var(--primary-rgb), 0.1) 0%,
    transparent 60%
  );
  filter: blur(40px);
  z-index: -1;
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.game-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;

  &:hover {
    .image-shine {
      transform: translateX(100%) translateY(-100%) rotate(45deg);
    }

    .game-badge {
      transform: translateY(-5px);
    }
  }
}

.image-border-glow {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 20px;
  z-index: -1;
  opacity: 0.5;
  animation: rotateBorder 6s linear infinite;
}

@keyframes rotateBorder {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.image-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: translateX(-100%) translateY(-100%) rotate(45deg);
  transition: transform 0.8s ease;
  z-index: 2;
}

.game-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.game-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(var(--primary-rgb), 0.3);
  z-index: 3;
  transition: all 0.3s ease;
}

.badge-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(var(--primary-rgb), 0.3) 0%,
    transparent 70%
  );
  border-radius: 30px;
  z-index: -1;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.badge-text {
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.875rem;
}

.corner-decoration {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 2px solid var(--primary-color);
  z-index: 3;

  &.top-left {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
  }

  &.top-right {
    top: 10px;
    right: 10px;
    border-left: none;
    border-bottom: none;
  }

  &.bottom-left {
    bottom: 10px;
    left: 10px;
    border-right: none;
    border-top: none;
  }

  &.bottom-right {
    bottom: 10px;
    right: 10px;
    border-left: none;
    border-top: none;
  }
}

/* // Epic Start Button */
.start-game-container {
  width: 100%;
  max-width: 400px;
}

.epic-start-btn {
  width: 100%;
  position: relative;
  background: transparent;
  border: none;
  padding: 1.25rem 2rem;
  border-radius: 60px;
  cursor: pointer;
  overflow: hidden;
  font-family: "Orbitron", monospace;
  font-weight: 700;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;

  &:hover {
    transform: translateY(-3px);

    .play-icon-wrapper {
      transform: scale(1.1);
    }

    .btn-bg-effect {
      opacity: 1;
    }
  }

  &:active {
    transform: translateY(-1px);
  }
}

.btn-bg-effect {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color)
  );
  opacity: 0.8;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.btn-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: white;
}

.play-icon-wrapper {
  position: relative;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.icon-pulse {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.btn-border-animation {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 62px;
  z-index: 0;
  filter: blur(4px);
  animation: rotateBorder 3s linear infinite;
}

/* // Game Info Section */
.game-info-wrapper {
  position: relative;
  padding: 2.5rem;
  background: rgba(15, 15, 25, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  overflow: hidden;
}

.info-glow-bg {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(var(--primary-rgb), 0.05) 0%,
    transparent 50%
  );
  z-index: -1;
}

.title-section {
  margin-bottom: 2rem;
}

.epic-game-title {
  font-family: "Orbitron", monospace;
  font-size: 3rem;
  font-weight: 900;
  margin: 0 0 1rem 0;
  line-height: 1.2;

  .title-text {
    background: linear-gradient(
      45deg,
      var(--primary-color),
      var(--secondary-color)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
  }
}

.title-underline {
  width: 120px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  position: relative;

  .underline-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    background: linear-gradient(
      90deg,
      var(--primary-color),
      var(--secondary-color)
    );
    animation: underlineSlide 3s ease-in-out infinite;
  }
}

@keyframes underlineSlide {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(300%);
  }
}

/* // Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  position: relative;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  overflow: hidden;
  transition: all 0.3s ease;

  &:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);

    .stat-bg-effect {
      opacity: 1;
    }

    .icon-glow {
      opacity: 1;
    }
  }
}

.stat-bg-effect {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.1) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.stat-icon {
  position: relative;
  margin-bottom: 0.5rem;
  color: var(--primary-color);

  .v-icon {
    font-size: 2rem;
  }
}

.icon-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: radial-gradient(
    circle,
    rgba(var(--primary-rgb), 0.3) 0%,
    transparent 70%
  );
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-content {
  position: relative;
  z-index: 1;

  .stat-label {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.25rem;
  }

  .stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    font-family: "Orbitron", monospace;
  }
}

/* // Categories Section */
.categories-section {
  margin-bottom: 2rem;
}

.section-subtitle {
  display: flex;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);

  .v-icon {
    color: var(--primary-color);
  }
}

.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.category-tag {
  position: relative;
  padding: 0.5rem 1.25rem;
  background: rgba(var(--primary-rgb), 0.1);
  border: 1px solid rgba(var(--primary-rgb), 0.3);
  border-radius: 30px;
  overflow: hidden;
  transition: all 0.3s ease;

  &:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);

    .tag-glow {
      opacity: 1;
    }
  }

  .tag-text {
    position: relative;
    z-index: 1;
    font-weight: 500;
    color: white;
  }
}

.tag-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(var(--primary-rgb), 0.2);
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* // Description Section */
.description-section {
  margin-top: 2rem;
}

.game-description {
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);

  :deep(p) {
    margin-bottom: 1rem;
  }

  :deep(ul, ol) {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
  }

  :deep(a) {
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.3s ease;

    &:hover {
      opacity: 0.8;
      text-decoration: underline;
    }
  }
}

/* // Epic Category Dialog */
.epic-dialog-wrapper {
  z-index: 1000;
}

.epic-category-dialog {
  background: #0f0f1a !important;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(var(--primary-rgb), 0.3);
  position: relative;
}

.dialog-bg-effects {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
}

.dialog-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
    circle at 25% 25%,
    rgba(var(--primary-rgb), 0.1) 1px,
    transparent 1px
  );
  background-size: 30px 30px;
  animation: particlesMove 20s linear infinite;
}

@keyframes particlesMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(30px, 30px);
  }
}

.dialog-glow-top {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    rgba(var(--primary-rgb), 0.2) 0%,
    transparent 50%
  );
  filter: blur(40px);
}

.dialog-header {
  position: relative;
  z-index: 1;
  padding: 2rem;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.1) 0%,
    transparent 100%
  );
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.2);
}

.header-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color),
    transparent
  );
  animation: glowSlide 3s ease-in-out infinite;
}

@keyframes glowSlide {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.dialog-title {
  font-family: "Orbitron", monospace;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;

  .title-icon {
    color: var(--primary-color);
    filter: drop-shadow(0 0 10px rgba(var(--primary-rgb), 0.5));
  }
}

.dialog-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

.dialog-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
}

.categories-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 350px;
  overflow-y: auto;
  padding-right: 0.5rem;

  &::-webkit-scrollbar {
    width: 6px;
  }

  &::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
  }

  &::-webkit-scrollbar-thumb {
    background: rgba(var(--primary-rgb), 0.3);
    border-radius: 3px;

    &:hover {
      background: rgba(var(--primary-rgb), 0.5);
    }
  }
}

.category-item {
  position: relative;
  display: flex;
  align-items: center;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;

  &:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);

    .item-glow {
      opacity: 1;
    }
  }

  &.selected {
    background: rgba(var(--primary-rgb), 0.1);
    border-color: var(--primary-color);

    .category-name {
      color: white;
      font-weight: 600;
    }
  }
}

.item-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(var(--primary-rgb), 0.1),
    transparent
  );
  transform: translateX(-100%);
  opacity: 0;
  transition: all 0.5s ease;
}

.radio-wrapper {
  margin-right: 1rem;
}

.custom-radio {
  position: relative;
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transition: all 0.3s ease;

  .selected & {
    border-color: var(--primary-color);
  }
}

.radio-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--primary-color);
  border-radius: 50%;
  animation: radioScale 0.3s ease;
}

@keyframes radioScale {
  0% {
    transform: translate(-50%, -50%) scale(0);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

.radio-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  animation: radioPulse 1.5s ease-in-out infinite;
}

@keyframes radioPulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

.category-info {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;

  .category-icon {
    color: var(--primary-color);
  }

  .category-name {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
  }
}

.selection-indicator {
  color: var(--primary-color);

  .v-icon {
    filter: drop-shadow(0 0 5px rgba(var(--primary-rgb), 0.5));
  }
}

/* // No Categories */  
.no-categories {
  text-align: center;
  padding: 3rem 0;
}

.empty-icon-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;

  .v-icon {
    color: rgba(255, 255, 255, 0.3);
  }
}

.icon-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: radial-gradient(
    circle,
    rgba(var(--primary-rgb), 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(20px);
}

.empty-message {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.1rem;
}

/* // Dialog Actions */
.dialog-actions {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  padding: 1.5rem 2rem 2rem;
  border-top: 1px solid rgba(var(--primary-rgb), 0.2);
}

.dialog-cancel-btn {
  padding: 0.75rem 2rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  color: rgba(255, 255, 255, 0.8);
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;

  &:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
  }
}

.dialog-play-btn {
  position: relative;
  padding: 0.75rem 2.5rem;
  background: transparent;
  border: none;
  border-radius: 30px;
  font-family: "Orbitron", monospace;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;

  .btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
      45deg,
      var(--primary-color),
      var(--secondary-color)
    );
    z-index: 1;
  }

  .btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    color: white;
  }

  &:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.3);
  }

  &:disabled {
    opacity: 0.5;
    cursor: not-allowed;

    .btn-bg {
      background: rgba(255, 255, 255, 0.1);
    }
  }
}

/* // Responsive */         
@media (max-width: 960px) {
  .epic-game-title {
    font-size: 2rem;
  }

  .game-info-wrapper {
    padding: 2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}

@media (max-width: 600px) {
  .epic-game-title {
    font-size: 1.5rem;
  }

  .game-image-wrapper {
    max-width: 300px;
  }

  .epic-start-btn {
    font-size: 1rem;
    padding: 1rem 1.5rem;
  }

  .dialog-title {
    font-size: 1.5rem;
  }

  .game-info-wrapper {
    padding: 1.5rem;
    border-radius: 20px;
  }

  .stat-value {
    font-size: 1.25rem;
  }
}


.line-3 {
    bottom: 20%;
    left: -50%;
    right: -50%;
    transform: rotate(-1deg);
    animation-delay: 3s;
  }
  
  @keyframes cyberPulse {
    0%,
    100% {
      opacity: 0.2;
    }
    50% {
      opacity: 0.4;
    }
  }
  
  .game-cover-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: blur(20px);
    opacity: 0.2;
    z-index: 0;
  }
  .vignette-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
      circle at center,
      transparent 0%,
      rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 3;
    pointer-events: none;
  }

  .search-wrapper {
    position: relative;
  }
  
  .gaming-search-field {
    :deep(.v-field) {
      background: rgba(15, 15, 25, 0.8) !important;
      border: 2px solid rgba(var(--primary-rgb), 0.3);
      border-radius: 16px;
      transition: all 0.3s ease;
  
      &:hover {
        border-color: rgba(var(--primary-rgb), 0.5);
      }
    }
  
    :deep(.v-field--focused .v-field__overlay) {
      opacity: 0;
    }
  
    :deep(.v-field--focused) {
      border-color: var(--primary-color) !important;
      transform: translateY(-2px);
      box-shadow: 0 5px 20px rgba(var(--primary-rgb), 0.3);
    }
  
    :deep(.v-field__input) {
      color: white;
      font-family: "Rajdhani", sans-serif;
      font-weight: 500;
      font-size: 1.1rem;
  
      &::placeholder {
        color: rgba(255, 255, 255, 0.5);
      }
    }
  
    :deep(.v-icon) {
      color: var(--primary-color);
    }
  }
  
  .search-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(
      ellipse at center,
      rgba(var(--primary-rgb), 0.1) 0%,
      transparent 60%
    );
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }
  
  .search-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    opacity: 0;
    animation: searchPulse 2s ease-in-out infinite;
    pointer-events: none;
  }
  
  @keyframes searchPulse {
    0% {
      transform: translate(-50%, -50%) scale(1);
      opacity: 0;
    }
    50% {
      transform: translate(-50%, -50%) scale(1.05);
      opacity: 0.3;
    }
    100% {
      transform: translate(-50%, -50%) scale(1.1);
      opacity: 0;
    }
  }
  
  .gaming-search-field:deep(.v-field--focused) ~ .search-glow {
    opacity: 1;
  }
  
  /* // Games Container */
  .games-container {
    position: relative;
    min-height: 400px;
  }
  
  .container-glow {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 100px;
    background: radial-gradient(
      ellipse at center,
      rgba(var(--primary-rgb), 0.05) 0%,
      transparent 70%
    );
    filter: blur(40px);
    z-index: -1;
  }
  
  /* // Games Grid */
  .games-grid {
    position: relative;
  }
  
  .game-col {
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: var(--animation-delay);
    opacity: 0;
  }
  
  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
    from {
      opacity: 0;
      transform: translateY(20px);
    }
  }
  
  .game-card-wrapper {
    position: relative;
    height: 100%;
  }
  
  /* // Custom Game Card Styles */
  .game-link {
    text-decoration: none;
    display: block;
    height: 100%;
  }
  
  .game-card {
    position: relative;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
  
    &:hover {
      transform: translateY(-10px) scale(1.02);
  
      .game-image {
        transform: scale(1.1);
      }
  
      .hover-content {
        opacity: 1;
      }
  
      .shine-effect {
        transform: translateX(150%) translateY(-150%) rotate(30deg);
      }
  
      .card-border {
        opacity: 1;
      }
  
      .game-info {
        transform: translateY(-5px);
        background: rgba(10, 10, 15, 0.95);
      }
    }
  }
  
  .card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 25, 0.9);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 20px;
    overflow: hidden;
  }
  
/* // Image Container */
.game-image-container {
  position: relative;
  width: 100%;
  height: 70%;
  overflow: hidden;
}

.game-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 1;
}

.shine-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 500px;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%) translateY(-100%) rotate(30deg);
  transition: transform 0.7s ease;
  pointer-events: none;
  z-index: 3;
}

/* // Hover Content */
.hover-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.play-button {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  transition: transform 0.3s ease;
  animation: playPulse 2s ease-in-out infinite;

  &:hover {
    transform: scale(1);
  }
}

@keyframes playPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.4);
  }
  50% {
    box-shadow: 0 0 0 20px rgba(var(--primary-rgb), 0);
  }
}

.play-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  animation: ripple 2s ease-in-out infinite;
}

@keyframes ripple {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

/* // Game Info */
.game-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  z-index: 2;
}

.game-title {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin: 0 0 0.5rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}




.game-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  .meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    font-family: "Rajdhani", sans-serif;
  
    .v-icon {
      color: var(--primary-color);
    }
  }
  
  /* // Card Border Glow */
  .card-border {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(
      45deg,
      var(--primary-color),
      var(--secondary-color)
    );
    border-radius: 22px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    filter: blur(4px);
  }
  
  /* // Remove old styles */
  .card-hover-effect {
    display: none;
  }
  
  :deep(.epic-game-card) {
    display: none;
  }
  
  /* // Epic No Results */  
  .no-results {
    text-align: center;
    padding: 80px 20px;
    width: 100%;
  }
  
  .no-results-content {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
  }
  
  .no-results-icon {
    color: var(--primary-color) !important;
    filter: drop-shadow(0 0 20px rgba(var(--primary-rgb), 0.5));
    animation: iconPulse 3s ease-in-out infinite;
  }
  
  @keyframes iconPulse {
    0%,
    100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.1);
    }
  }
  
  .icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(
      circle,
      rgba(var(--primary-rgb), 0.3) 0%,
      transparent 70%
    );
    border-radius: 50%;
    filter: blur(20px);
    animation: glowPulse 3s ease-in-out infinite;
  }
  
  @keyframes glowPulse {
    0%,
    100% {
      opacity: 0.5;
    }
    50% {
      opacity: 1;
    }
  }
  
  .icon-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: pulseRing 2s ease-out infinite;
  }
  
  @keyframes pulseRing {
    0% {
      transform: translate(-50%, -50%) scale(1);
      opacity: 1;
    }
    100% {
      transform: translate(-50%, -50%) scale(1.5);
      opacity: 0;
    }
  }
  
  .no-results-title {
    font-family: "Orbitron", monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .no-results-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
  
  .retry-btn {
    background: transparent !important;
    border: 2px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
    font-family: "Rajdhani", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.75rem 2rem !important;
    transition: all 0.3s ease;
  
    &:hover {
      background: var(--primary-color) !important;
      color: white !important;
      transform: translateY(-2px);
      box-shadow: 0 5px 20px rgba(var(--primary-rgb), 0.4);
    }
  }
  
  /* // Epic Pagination */
  .pagination-container {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    position: relative;
  }
  
  .pagination-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 100px;
    background: radial-gradient(
      ellipse at center,
      rgba(var(--primary-rgb), 0.1) 0%,
      transparent 70%
    );
    filter: blur(30px);
    z-index: -1;
  }
  
  :deep(.gaming-pagination) {
    .v-pagination__item {
      background: rgba(15, 15, 25, 0.8) !important;
      border: 1px solid rgba(var(--primary-rgb), 0.3);
      color: rgba(255, 255, 255, 0.8);
      font-family: "Rajdhani", sans-serif;
      font-weight: 600;
      transition: all 0.3s ease;
  
      &:hover {
        background: rgba(var(--primary-rgb), 0.2) !important;
        border-color: var(--primary-color);
        transform: translateY(-2px);
      }
  
      &--is-active {
        background: linear-gradient(
          45deg,
          var(--primary-color),
          var(--secondary-color)
        ) !important;
        border-color: transparent;
        color: white;
        box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.4);
      }
    }
  
    .v-pagination__prev,
    .v-pagination__next {
      background: rgba(15, 15, 25, 0.8) !important;
      border: 1px solid rgba(var(--primary-rgb), 0.3);
      color: var(--primary-color);
  
      &:hover:not(.v-pagination__navigation--disabled) {
        background: rgba(var(--primary-rgb), 0.2) !important;
        transform: scale(1.1);
      }
    }
  }
  
  /* // Responsive */   
  @media (max-width: 960px) {
    .game-card {
      height: 320px;
    }
  
    .game-title {
      font-size: 1.1rem;
    }
  }
  
  @media (max-width: 768px) {
    .page-title-container {
      flex-direction: column;
      gap: 1.5rem;
    }
  
    .title-section {
      width: 100%;
    }
  
    .search-container {
      max-width: none;
    }
  
    .page-title {
      font-size: 2rem;
  
      .title-icon {
        font-size: 2rem;
      }
    }
  
    .epic-back-btn {
      width: 100%;
      justify-content: center;
    }
  }
  
  @media (max-width: 600px) {
    .page-title {
      font-size: 1.5rem;
  
      .title-icon {
        font-size: 1.5rem;
      }
    }
  
    .no-results {
      padding: 60px 20px;
    }
  
    .no-results-title {
      font-size: 1.3rem;
    }
  
    .game-card {
      height: 280px;
    }
  
    .game-title {
      font-size: 1rem;
    }
  
    .game-info {
      padding: 1rem;
    }
  
    .play-button {
      width: 60px;
      height: 60px;
    }
  }
  