/**
 * Category Page Styles - Cyberpunk Neon Gaming Theme
 * Copyright (c) 2025 HUST University
 * @author NGUYỄN ĐỨC BÌNH
 * 
 * 🎮 Neon Gaming Category/Account Listing
 */

/* ========================================
   Hero Small Variant - Neon Banner
   ======================================== */
.hero--small {
  padding: 30px 0;
  margin-bottom: 35px;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(139, 92, 246, 0.2) 100%);
  color: white;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  border-top: 1px solid rgba(139, 92, 246, 0.3);
  border-bottom: 1px solid rgba(139, 92, 246, 0.3);
}

/* Animated Grid Pattern */
.hero--small::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.5;
}

/* Neon Glow Lines */
.hero--small::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-purple), var(--neon-blue), transparent);
  box-shadow: 0 0 20px var(--neon-purple);
}

.hero--small .hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero--small .hero__title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 12px;
  background: linear-gradient(to right, #fff, var(--neon-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.5));
}

.hero--small .hero__desc {
  font-size: 1.5rem;
  margin-bottom: 0;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

/* ========================================
   Filter Bar - Glassmorphism
   ======================================== */
.account-filter {
  background: var(--bg-gradient-card);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid rgba(139, 92, 246, 0.25);
  box-shadow: var(--card-shadow);
  margin-bottom: 40px;
}

.account-filter__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.account-filter__group {
  position: relative;
}

.account-filter__label {
  display: block;
  font-weight: 600;
  color: var(--text-main);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.account-filter__input {
  width: 100%;
  height: 46px;
  padding: 8px 16px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--border-radius-sm);
  font-size: 1.4rem;
  transition: all 0.3s ease;
  background-color: var(--bg-card);
  color: var(--text-main);
}

.account-filter__input:hover {
  border-color: rgba(139, 92, 246, 0.5);
}

.account-filter__input:focus {
  outline: none;
  border-color: var(--neon-purple);
  background-color: var(--bg-card-light);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2), var(--glow-purple);
}

.account-filter__input--select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.account-filter__actions {
  display: flex;
  gap: 15px;
  justify-content: right;
  padding-top: 25px;
  margin-top: 5px;
  border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.account-filter__button {
  border-radius: var(--border-radius-pill);
  cursor: pointer;
  min-width: 180px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  font-size: 1.4rem;
}

.account-filter__button--primary {
  background: linear-gradient(90deg, var(--neon-purple), var(--neon-blue));
  color: white;
  border: none;
  box-shadow:
    0 0 15px rgba(139, 92, 246, 0.5),
    0 0 30px rgba(34, 211, 238, 0.3);
}

.account-filter__button--primary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 25px rgba(139, 92, 246, 0.8),
    0 0 50px rgba(34, 211, 238, 0.5);
}

.account-filter__button--outline {
  border: 2px solid rgba(139, 92, 246, 0.5);
  color: var(--neon-purple);
  background: transparent;
}

.account-filter__button--outline:hover {
  background: linear-gradient(90deg, var(--neon-purple), var(--neon-blue));
  color: white;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: var(--glow-purple);
}

/* NOTE: .account-grid moved to layout/account-grid.css */
/* NOTE: .account-card moved to components/account-card.css */

/* ========================================
   No Data State
   ======================================== */
.no-data {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 40px;
  background: var(--bg-gradient-card);
  border-radius: var(--radius);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.no-data-img {
  width: 150px;
  margin-bottom: 20px;
  opacity: 0.5;
  filter: grayscale(50%);
}

.no-data-text {
  font-size: 1.6rem;
  color: var(--text-muted);
}

/* ========================================
   Responsive
   ======================================== */
@media (min-width: 640px) {
  .account-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

@media (min-width: 900px) {
  .account-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .account-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .account-filter__row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .account-filter__actions {
    flex-direction: column;
  }

  .account-filter__button {
    width: 100%;
  }

  .account-media {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .account-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .account-filter {
    padding: 20px;
  }
}

@media screen and (max-width: 768px) {
  .hero--small {
    padding: 25px 0;
  }

  .hero--small .hero__title {
    font-size: 2.4rem;
  }

  .hero--small .hero__desc {
    font-size: 1.3rem;
  }
}