/* ============================================
   CATEGORY STYLES - Cyberpunk Gaming Theme
   ============================================ */

/* Hero Small Variant - Dark Theme */
.hero--small {
  padding: 30px 0;
  margin-bottom: 30px;
  background: linear-gradient(135deg,
      rgba(0, 212, 255, 0.2),
      rgba(188, 19, 254, 0.2));
  color: white;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  border-bottom: 1px solid rgba(0, 212, 255, 0.3);
}

.hero--small::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0, 212, 255, 0.15), transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(188, 19, 254, 0.15), transparent 50%);
  opacity: 1;
}

.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: 10px;
  background: linear-gradient(90deg, #00d4ff, #bc13fe, #ff00ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

.hero--small .hero__desc {
  font-size: 1.5rem;
  margin-bottom: 0;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.8);
}

/* Filter Bar Styles - Dark Theme */
.account-filter {
  background: rgba(26, 26, 46, 0.9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 30px;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  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: rgba(255, 255, 255, 0.9);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.account-filter__input {
  width: 100%;
  height: 42px;
  padding: 8px 16px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  font-size: 1.4rem;
  transition: all 0.3s ease;
  background-color: rgba(10, 10, 15, 0.6);
  color: #ffffff;
}

.account-filter__input:focus {
  outline: none;
  border-color: #00d4ff;
  background-color: rgba(10, 10, 15, 0.8);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.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='%2300d4ff' 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(255, 255, 255, 0.1);
}

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

.account-filter__button--primary {
  background: linear-gradient(135deg, #00d4ff, #bc13fe);
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.account-filter__button--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

.account-filter__button--outline {
  border: 2px solid rgba(0, 212, 255, 0.5);
  color: #00d4ff;
  background: transparent;
}

.account-filter__button--outline:hover {
  background: rgba(0, 212, 255, 0.15);
  border-color: #00d4ff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 212, 255, 0.2);
}

/* Account Grid - Dark Cards */
.account-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.account-card {
  background: rgba(26, 26, 46, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 212, 255, 0.2);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.account-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 212, 255, 0.5);
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(0, 212, 255, 0.15);
}

.account-media {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.account-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.account-card:hover .account-img {
  transform: scale(1.08);
}

/* Header: ID + Price Row - Dark Theme */
.account-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: rgba(10, 10, 15, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.account-id {
  font-size: 2.4rem !important;
  font-weight: 700;
  color: #00d4ff;
  padding-left: 4px;
}

.account-price {
  font-size: 2.6rem !important;
  font-weight: 800;
  color: #39ff14;
  padding-right: 4px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
}

.account-price sup {
  font-size: 1.1rem;
  font-weight: 600;
  vertical-align: super;
  position: relative;
  top: -0.3em;
}

/* Info Grid - Dark Theme */
.account-info {
  padding: 12px 16px;
  flex-grow: 1;
  background: transparent;
}

/* Default: 2 columns per row */
.account-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 12px;
  margin-bottom: 0;
  justify-items: center;
  align-items: start;
}

/* 5 fields: Use 4-column grid */
.account-row.info-grid-5 {
  grid-template-columns: repeat(4, minmax(60px, 1fr));
}

.account-row.info-grid-5 .info-item:nth-child(1) {
  grid-column: 1 / 2;
}

.account-row.info-grid-5 .info-item:nth-child(2) {
  grid-column: 2 / 3;
}

.account-row.info-grid-5 .info-item:nth-child(3) {
  grid-column: 3 / 4;
}

.account-row.info-grid-5 .info-item:nth-child(4) {
  grid-column: 2 / 3;
  grid-row: 2;
}

.account-row.info-grid-5 .info-item:nth-child(5) {
  grid-column: 3 / 4;
  grid-row: 2;
}

/* Info Item Styling - Dark Theme */
.info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 0 0 auto;
  min-width: 90px;
  padding: 8px;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  transition: none !important;
}

.account-card .info-item:hover,
.account-grid .info-item:hover,
.info-item:hover {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
}

.info-item__title {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 1.6rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.info-value {
  font-weight: 800 !important;
  color: #ffffff !important;
  font-size: 2rem !important;
  white-space: nowrap;
}

.info-value.highlight {
  color: #ff3366;
}

/* Description Area - Dark Theme */
.account-description {
  padding: 10px 16px;
  background: rgba(255, 215, 0, 0.1);
  border-top: 1px solid rgba(255, 215, 0, 0.2);
  min-height: 44px;
  text-align: center;
}

.account-description p {
  margin: 0;
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  color: #ffd700 !important;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hide action area */
.account-actions {
  display: none;
}

/* Old styles hidden */
.account-code,
.account-price-top {
  display: none;
}

.card-price {
  display: none;
}

/* No Data State - Dark Theme */
.no-data {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 40px;
  background: rgba(26, 26, 46, 0.6);
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.no-data-img {
  width: 150px;
  margin-bottom: 20px;
  opacity: 0.5;
  filter: brightness(0.8) saturate(0.5);
}

.no-data-text {
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@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-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
  }

  .account-media {
    height: 180px;
  }

  .account-actions {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .card-price {
    justify-content: center;
  }

  .action-btn--detail {
    width: 100%;
  }

  .hero--small {
    padding: 20px 0;
  }

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

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

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

  .account-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .info-item {
    padding: 10px 12px;
  }

  .account-code {
    font-size: 1.1rem;
    padding: 6px 12px;
  }

  .account-price-top {
    font-size: 1.2rem;
    padding: 10px 8px;
  }
}

/* ========================================
   CRITICAL OVERRIDES - Must be at end
   ======================================== */
.account-grid .account-card .info-item,
.account-card .account-row .info-item {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  transition: none !important;
  padding: 8px !important;
}

.account-grid .account-card .info-item:hover,
.account-card .account-row .info-item:hover {
  background: none !important;
  border: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

/* ========================================
   ULTRA CRITICAL - FONT SIZE OVERRIDES
   This MUST be at the very end of the file
   ======================================== */

/* Account ID - VERY LARGE */
body .account-card .account-id,
.account-grid .account-id,
.account-card .account-header .account-id {
  font-size: 2.4rem !important;
  font-weight: 800 !important;
  color: #00d4ff !important;
}

/* Account Price - VERY LARGE */
body .account-card .account-price,
.account-grid .account-price,
.account-card .account-header .account-price {
  font-size: 2.6rem !important;
  font-weight: 900 !important;
  color: #39ff14 !important;
}

/* Info Item Title (SKINS, RANKS, etc.) - LARGER, GRAY */
body .account-card .info-item__title,
body .info-item .info-item__title,
.account-grid .info-item__title,
.account-row .info-item__title,
body .account-card .info-item span:first-child {
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  color: rgba(180, 180, 190, 0.9) !important;
  text-transform: uppercase !important;
}

/* Info Value (123, Chiến Tướng, etc.) - SMALLER, WHITE */
body .account-card .info-value,
body .info-item .info-value,
.account-grid .info-value,
.account-row .info-value,
body .account-card .info-item span:last-child {
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  color: #ffffff !important;
}

/* Description (vip vip vip) - LARGE */
body .account-card .account-description p,
body .account-description p,
.account-grid .account-description p {
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  color: #ffd700 !important;
}