:root {
  --primary-cyan: #00d0e6;
  --primary-cyan-hover: #00b9cc;
  --theme-green: #10b981;
  --theme-green-hover: #059669;
  --theme-dark: #111622;
  --theme-subdark: #0b0f17;
  --text-muted: #8a99ad;
  --text-main: #202b38;
  --bg-page: #f4f7f9;
  --card-radius: 16px;
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: var(--bg-page);
  color: var(--text-main);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.hero {
  position: relative;
  width: 100%;
  min-height: 220px;
  padding: 50px 20px;
  background: linear-gradient(rgba(0, 40, 80, 0.45), rgba(0, 15, 40, 0.65)),
              url('/header.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-image 0.3s ease;
  text-align: center;
}

.hero-container {
  width: 90%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.hero-box {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  user-select: none;
}

.glass-icon {
  width: 58px;
  height: 58px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-text {
  display: flex;
  flex-direction: column;
}

.hero-text .title {
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
  line-height: 1.2;
}

.hero-text .subtitle {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  color: #d1ecf1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  margin-top: 4px;
}

.hero-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  max-width: 140px;
  max-height: 140px;
  flex-shrink: 0;
  z-index: 5;
}

.hero-center-logo {
  width: 120px;
  height: 120px;
  max-width: 120px;
  max-height: 120px;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
  display: block;
}

.site-navbar-brand {
  display: inline-flex;
  align-items: center;
  margin-right: 18px;
  text-decoration: none;
  flex-shrink: 0;
}

.site-navbar-logo {
  height: 38px;
  max-height: 38px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
}

.discord-box {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: right;
  cursor: pointer;
  user-select: none;
}

.discord-icon {
  width: 58px;
  height: 58px;
  background: #5865F2;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 27px;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(88, 101, 242, 0.35);
}

.hero-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-banner-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.hero-banner-desc {
  font-size: 15px;
  color: #d1ecf1;
  line-height: 1.55;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.navbar {
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  width: 100%;
  height: 72px;
  position: relative;
  z-index: 20;
}

.nav-container {
  width: 90%;
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 34px;
}

.nav-item a {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
  color: #2c3e50;
  transition: color 0.2s ease;
}

.nav-item a i {
  font-size: 16px;
}

.nav-item.active a, .nav-item a:hover {
  color: var(--primary-cyan);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-nav-login {
  background: #edf6f9;
  color: #202b38;
  border: 1px solid #dce8ee;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s, color 0.15s;
}

.btn-nav-login:hover {
  background: #e2f0f4;
  color: #202b38;
  border-color: #dce8ee;
}

.btn-nav-register {
  background: var(--primary-cyan);
  color: #ffffff;
  border: none;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s;
}

.btn-nav-register:hover {
  background: var(--primary-cyan-hover);
}

.mobile-menu-btn {
  display: none;
}

.cart-btn-indicator {
  position: relative;
  background: #edf6f9;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
}

.cart-btn-indicator:hover {
  background: #e0f2f5;
  color: var(--primary-cyan);
}

.cart-badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--primary-cyan);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 208, 230, 0.4);
}

.user-profile-wrapper {
  position: relative;
}

.user-nav-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px;
  background: #f8fafc;
  border-radius: 12px;
  cursor: pointer;
  border: 1px solid #edf2f7;
  transition: all 0.2s ease;
}

.user-nav-badge:hover {
  background: #ffffff;
  border-color: var(--primary-cyan);
}

.user-nav-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  image-rendering: pixelated;
}

.user-nav-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 230px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 10px;
  display: none;
  flex-direction: column;
  gap: 4px;
  border: 1px solid #edf2f7;
  z-index: 50;
}

.user-profile-wrapper.active .user-dropdown-menu {
  display: flex;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: #4a5568;
  transition: all 0.2s;
}

.dropdown-item:hover {
  background: #f8fafc;
  color: var(--primary-cyan);
}

.dropdown-item-balance {
  justify-content: space-between;
  background: #f8fafc;
  border-radius: 8px;
  padding: 10px 12px;
}

.dropdown-divider {
  height: 1px;
  background: #edf2f7;
  margin: 4px 0;
}

.main-wrapper {
  width: 90%;
  max-width: 1200px;
  margin: 35px auto 60px auto;
  flex: 1;
}

.breadcrumb-trail {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 25px;
  background: #ffffff;
  padding: 14px 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
  user-select: none;
}

.breadcrumb-trail span {
  color: #64748b;
  font-weight: 500;
}

.crumb-btn {
  color: #4a5568;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
}

.crumb-btn:hover {
  color: var(--primary-cyan);
}

.crumb-active {
  color: var(--primary-cyan);
  font-weight: 700;
}

.separator {
  color: #cbd5e1;
  font-size: 12px;
}

.section-heading {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 24px;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.view-section {
  display: none;
  min-height: 220px;
}

.view-section.active {
  display: block;
}

.main-grid {
  display: grid;
  grid-template-columns: 2.3fr 1fr;
  gap: 30px;
  align-items: start;
}

.news-section {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.news-feed {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.post-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  height: 205px;
  max-width: 100%;
}

.post-thumb {
  width: 44%;
  height: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #ffffff;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.post-body {
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 56%;
  overflow: hidden;
}

.post-body img,
.post-desc img {
  max-width: 100%;
  max-height: 160px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin: 6px 0;
}

.badge-duyuru {
  align-self: flex-start;
  background: transparent;
  color: #111622;
  border: none;
  font-size: 11.5px;
  font-weight: 700;
  padding: 0;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.badge-guncelleme {
  background: transparent;
  color: #111622;
  border: none;
}

.badge-etkinlik {
  background: transparent;
  color: #111622;
  border: none;
}

.post-date {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 6px;
}

.post-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  white-space: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.post-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: #5a6a80;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-read-more {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-cyan);
  background: transparent;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: default;
  padding: 0;
  text-decoration: none;
}

.pagination-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.page-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: none;
  background: #ffffff;
  color: var(--text-main);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: all 0.2s;
}

.page-btn.active, .page-btn:hover {
  background: var(--primary-cyan);
  color: #ffffff;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.widget-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.widget-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget-box {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.user-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s;
}

.user-entry:last-child {
  border-bottom: none;
}

.user-entry:hover {
  background: #fafcfe;
}

.user-entry-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-skin {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  image-rendering: pixelated;
}

.user-info .username {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.user-info .user-action {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

.user-rank-id {
  font-size: 12px;
  font-weight: 700;
  color: #a0aec0;
  font-family: var(--font-mono);
}

.widget-empty {
  padding: 24px 16px;
  text-align: center;
  color: #94a3b8;
  font-size: 13px;
}

.sidebar-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.sidebar-table thead th {
  padding: 10px 14px;
  font-size: 11.5px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #f1f5f9;
  background: #fafcfe;
}

.sidebar-table tbody tr {
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s;
}

.sidebar-table tbody tr:last-child {
  border-bottom: none;
}

.sidebar-table tbody tr:hover {
  background: #fafcfe;
}

.sidebar-table tbody td {
  padding: 11px 14px;
  color: var(--text-main);
  vertical-align: middle;
}

.user-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-avatar-mini {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  image-rendering: pixelated;
  flex-shrink: 0;
}

.user-name-text {
  font-weight: 700;
  color: var(--text-main);
  font-size: 13px;
}

.server-badge-text {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.product-name-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-cyan);
}

.server-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-start;
  margin-bottom: 24px;
}

.server-card {
  position: relative;
  width: 250px;
  height: 135px;
  border-radius: var(--card-radius);
  overflow: hidden;
  cursor: pointer;
  background: #ffffff;
  border: 1px solid #edf2f7;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: flex-end;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.server-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 208, 230, 0.2);
  border-color: var(--primary-cyan);
}

.server-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.server-card:hover .server-card-bg {
  transform: scale(1.08);
}

.server-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 20, 40, 0.1) 0%, rgba(0, 15, 35, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px 16px;
  z-index: 1;
}

.server-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.subcat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.subcat-card {
  background: #ffffff;
  border-radius: var(--card-radius);
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid #edf2f7;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.subcat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 208, 230, 0.18);
  border-color: var(--primary-cyan);
}

.subcat-image-wrap {
  width: 80px;
  height: 80px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.subcat-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.subcat-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
}

.product-card {
  background: #ffffff;
  border-radius: var(--card-radius);
  padding: 22px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid #edf2f7;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.badge-discount-circle {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 8px;
}

.badge-stock-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #f59e0b;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
}

.product-thumb-wrap {
  width: 110px;
  height: 110px;
  margin: 10px auto 14px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.product-thumb {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
  cursor: pointer;
}

.product-price-row {
  font-size: 17px;
  font-weight: 800;
  color: var(--theme-green);
  font-family: var(--font-mono);
  margin-bottom: 4px;
}

.price-original {
  font-size: 13px;
  text-decoration: line-through;
  color: #94a3b8;
  margin-right: 6px;
}

.product-stock-count {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.btn-buy-orange {
  width: 100%;
  background: var(--primary-cyan);
  color: #ffffff;
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 208, 230, 0.3);
  transition: all 0.2s ease;
}

.btn-buy-orange:hover {
  background: var(--primary-cyan-hover);
  transform: translateY(-2px);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}

.detail-main-card {
  background-color: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: 16px;
  padding: 36px 32px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.detail-image-box {
  width: 180px;
  height: 180px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #edf2f7;
}

.detail-image-box img {
  max-width: 160px;
  max-height: 160px;
  object-fit: contain;
}

.detail-body {
  flex: 1;
}

.detail-category-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--primary-cyan);
  margin-bottom: 6px;
  letter-spacing: 0.8px;
}

.detail-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
}

.detail-badges-row {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.badge-pill-blue {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
}

.badge-pill-yellow {
  background: #fef3c7;
  color: #d97706;
  border: 1px solid #fde68a;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
}

.badge-pill-orange {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fecaca;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
}

.badge-pill-green {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
}

.badge-pill-red {
  background: #fee2e2;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
}

.detail-divider {
  height: 1px;
  background: #edf2f7;
  margin: 18px 0;
}

.detail-desc {
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
}

.cart-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}

.cart-table-card {
  background-color: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.cart-table-header {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-main);
  padding: 18px 24px;
  border-bottom: 1px solid #edf2f7;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th {
  text-align: left;
  padding: 14px 24px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 1px solid #edf2f7;
  background: #fafbfc;
}

.cart-table td {
  padding: 18px 24px;
  border-bottom: 1px solid #edf2f7;
  vertical-align: middle;
  font-weight: 600;
  color: var(--text-main);
}

.cart-table tr:last-child td {
  border-bottom: none;
}

.cart-qty-ctrl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.qty-btn-minus {
  background: #fee2e2;
  color: #ef4444;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: none;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s;
}

.qty-btn-minus:hover {
  opacity: 0.85;
}

.qty-btn-plus {
  background: #dcfce7;
  color: #10b981;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: none;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s;
}

.qty-btn-plus:hover {
  opacity: 0.85;
}

.qty-number {
  font-weight: 700;
  color: var(--text-main);
  min-width: 32px;
  text-align: center;
  font-size: 14px;
  font-family: var(--font-mono);
}

.cart-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.btn-circle-action {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all 0.2s;
}

.btn-info-action {
  background: #e0f2fe;
  color: #0284c7;
}

.btn-info-action:hover {
  background: #bae6fd;
}

.btn-delete-action {
  background: #fee2e2;
  color: #ef4444;
  font-size: 16px;
}

.btn-delete-action:hover {
  background: #fecaca;
}

.summary-card {
  background-color: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.summary-header {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-main);
  padding-bottom: 16px;
  border-bottom: 1px solid #edf2f7;
  margin-bottom: 18px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 14.5px;
  color: #64748b;
  font-weight: 600;
}

.summary-value-green {
  color: var(--theme-green);
  font-weight: 800;
  font-size: 18px;
  font-family: var(--font-mono);
}

.coupon-section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.coupon-box {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.coupon-input {
  flex: 1;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  color: var(--text-main);
  outline: none;
}

.coupon-input:focus {
  border-color: var(--primary-cyan);
}

.btn-coupon {
  background: #0f172a;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-coupon:hover {
  background: #1e293b;
}

.payment-method-box {
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #64748b;
  cursor: pointer;
  user-select: none;
  margin-bottom: 12px;
}

.checkbox-label input {
  accent-color: var(--primary-cyan);
  width: 16px;
  height: 16px;
}

.btn-pay-green {
  width: 100%;
  background: var(--theme-green);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
  transition: all 0.2s ease;
  margin-top: 10px;
}

.btn-pay-green:hover {
  background: var(--theme-green-hover);
  transform: translateY(-2px);
}

.btn-add-to-cart {
  width: 100%;
  background: var(--theme-green);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 13px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
  transition: all 0.2s ease;
  margin-top: 18px;
}

.btn-add-to-cart:hover {
  background: var(--theme-green-hover);
  transform: translateY(-2px);
}

.success-panel, .failure-panel {
  background: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: 16px;
  max-width: 540px;
  margin: 40px auto;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.success-header-bar {
  background: var(--theme-green);
  color: #ffffff;
  padding: 16px;
  font-size: 17px;
  font-weight: 700;
}

.success-body, .failure-panel {
  padding: 36px 30px;
}

.success-icon-wrap {
  width: 70px;
  height: 70px;
  background: #dcfce7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px auto;
}

.success-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 24px;
}

.btn-success-back {
  background: var(--primary-cyan);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-success-back:hover {
  background: var(--primary-cyan-hover);
}

.failure-icon-wrap {
  width: 70px;
  height: 70px;
  background: #fee2e2;
  color: #ef4444;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px auto;
}

.failure-title {
  font-size: 20px;
  font-weight: 700;
  color: #ef4444;
  margin-bottom: 10px;
}

.failure-desc {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 24px;
  line-height: 1.6;
}

.failure-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-failure-back {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}

.btn-failure-main {
  background: var(--theme-green);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}

.support-card {
  background: #ffffff;
  border-radius: var(--card-radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  margin-bottom: 24px;
}

.support-card-header {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  padding: 20px 24px;
  border-bottom: 1px solid #edf2f7;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-create-ticket-wide {
  width: 100%;
  background: var(--primary-cyan);
  color: #ffffff;
  border: none;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(0, 208, 230, 0.3);
  transition: all 0.2s ease;
  margin-bottom: 24px;
}

.btn-create-ticket-wide:hover {
  background: var(--primary-cyan-hover);
  transform: translateY(-2px);
}

.support-table {
  width: 100%;
  border-collapse: collapse;
}

.support-table th {
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 14px 20px;
  border-bottom: 1px solid #edf2f7;
}

.support-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #edf2f7;
  font-size: 14px;
  vertical-align: middle;
}

.support-table tr:hover td {
  background-color: #fbfcfe;
}

.ticket-id {
  font-weight: 700;
  color: var(--primary-cyan);
  font-family: var(--font-mono);
}

.ticket-title-link {
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: color 0.2s;
}

.ticket-title-link:hover {
  color: var(--primary-cyan);
}

.status-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 8px;
  text-align: center;
}

.action-group {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}

.btn-circle {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-view {
  background: #e0f2fe;
  color: #0284c7;
}

.btn-view:hover {
  background: #bae6fd;
}

.btn-close-ticket {
  background: #fee2e2;
  color: #ef4444;
}

.btn-close-ticket:hover {
  background: #fecaca;
}

.form-body {
  padding: 24px;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  background: #ffffff;
}

.form-control:focus {
  border-color: var(--primary-cyan);
}

.editor-card {
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  transition: border-color 0.2s;
}

.editor-card:focus-within {
  border-color: var(--primary-cyan);
}

.editor-toolbar {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: #f8fafc;
  border-bottom: 1px solid #edf2f7;
  flex-wrap: wrap;
}

.editor-btn {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all 0.2s;
}

.editor-btn:hover {
  background: #f1f5f9;
  color: var(--primary-cyan);
  border-color: var(--primary-cyan);
}

.editor-textarea {
  min-height: 160px;
  padding: 14px;
  outline: none;
  font-size: 14px;
  line-height: 1.6;
  color: #334155;
}

.editor-textarea:empty:before {
  content: attr(data-placeholder);
  color: #94a3b8;
}

.form-actions-right {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.btn-submit-green {
  background: var(--theme-green);
  color: #ffffff;
  border: none;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
  transition: all 0.2s;
}

.btn-submit-green:hover {
  background: var(--theme-green-hover);
  transform: translateY(-2px);
}

.ticket-heading-row {
  margin-bottom: 20px;
}

.ticket-main-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
}

.ticket-detail-grid {
  display: grid;
  grid-template-columns: 2.3fr 1fr;
  gap: 28px;
  align-items: start;
}

.message-timeline {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
}

.message-card {
  background: #ffffff;
  border-radius: var(--card-radius);
  padding: 20px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  gap: 18px;
}

.message-avatar-wrap {
  flex-shrink: 0;
}

.message-avatar {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  image-rendering: pixelated;
}

.message-content-wrap {
  flex: 1;
}

.message-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.message-author {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
}

.message-date {
  font-size: 12.5px;
  color: var(--text-muted);
}

.message-text {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
}

.reply-heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.details-card {
  background: #ffffff;
  border-radius: var(--card-radius);
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.details-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf2f7;
}

.details-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f8fafc;
  font-size: 13.5px;
}

.details-label {
  color: var(--text-muted);
  font-weight: 500;
}

.details-value {
  font-weight: 600;
  color: var(--text-main);
}

.solid-alert {
  padding: 16px 20px;
  border-radius: var(--card-radius);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.solid-alert.red {
  background-color: #ef4444 !important;
  border: 1px solid #dc2626 !important;
  color: #ffffff !important;
}

.solid-alert.green {
  background-color: #10b981 !important;
  border: 1px solid #059669 !important;
  color: #ffffff !important;
}

.solid-alert.amber {
  background-color: #f59e0b !important;
  border: 1px solid #d97706 !important;
  color: #ffffff !important;
}

.form-card {
  background: #ffffff;
  border-radius: var(--card-radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  padding: 34px 38px;
}

.form-card-header {
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid #edf2f7;
}

.form-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-card-desc {
  font-size: 13.5px;
  color: var(--text-muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #ffffff;
  color: var(--text-main);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary-cyan);
  box-shadow: 0 0 0 3px rgba(0, 208, 230, 0.12);
}

.form-input[readonly] {
  background: #f8fafc;
  color: #64748b;
  cursor: not-allowed;
  border-color: #e2e8f0;
}

.form-textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.6;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid #edf2f7;
}

.btn-submit-app {
  background: var(--theme-green);
  color: #ffffff;
  border: none;
  padding: 14px 34px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
  transition: all 0.2s ease;
}

.btn-submit-app:hover {
  background: var(--theme-green-hover);
  transform: translateY(-2px);
}

.btn-submit-app:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.footer {
  background-color: var(--theme-dark);
  color: #ffffff;
  width: 100%;
  margin-top: 30px;
}

.footer-main {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 0 24px 0;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  display: inline-block;
}

.footer-col-divider {
  width: 32px;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  margin-bottom: 12px;
}

.footer-about-text {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.5;
  max-width: 480px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links li a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-links li a:hover {
  color: #ffffff;
}

.footer-links li a i {
  font-size: 14px;
  width: 16px;
  text-align: center;
}

.icon-discord { color: #5865F2; }
.icon-instagram { color: #E1306C; }
.icon-youtube { color: #FF0000; }
.icon-tiktok { color: #25F4EE; }

.sub-footer {
  background-color: var(--theme-subdark);
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.sub-footer-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

.sub-footer-left strong, .sub-footer-right strong {
  color: #ffffff;
  font-weight: 700;
}

.ip-toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999999;
  background: #10b981;
  border: 1px solid #059669;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  pointer-events: none;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ip-toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.ip-toast-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ip-toast-icon svg {
  width: 14px;
  height: 14px;
  stroke: #ffffff;
}

.breadcrumb-separator {
  color: var(--text-muted);
  font-size: 11px;
}

.profile-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}

.sidebar-card {
  background: #ffffff;
  border-radius: var(--card-radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  padding: 24px;
}

.sidebar-user-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #edf2f7;
  margin-bottom: 20px;
}

.sidebar-avatar {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  margin-bottom: 12px;
  image-rendering: pixelated;
}

.sidebar-username {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.sidebar-role-badge {
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 6px;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.sidebar-section-title {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.8px;
  margin: 14px 0 8px 6px;
}

.sidebar-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sidebar-menu-item i {
  font-size: 15px;
  width: 18px;
  text-align: center;
}

.sidebar-menu-item:hover {
  background: #f8fafc;
  color: var(--primary-cyan);
}

.sidebar-menu-item.active {
  background: #e0f7fa;
  color: var(--primary-cyan);
}

.content-card {
  background: #ffffff;
  border-radius: var(--card-radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  padding: 24px;
  margin-bottom: 22px;
}

.card-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf2f7;
}

.card-header-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
}

.card-header-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-cyan);
  cursor: pointer;
  transition: color 0.2s;
}

.card-header-link:hover {
  color: var(--primary-cyan-hover);
}

.user-info-card {
  padding: 28px;
}

.info-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.info-user-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.info-user-avatar {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  image-rendering: pixelated;
}

.info-user-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
}

.info-user-email {
  font-size: 13px;
  color: var(--text-muted);
}

.info-card-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background: #f8fafc;
  padding: 18px 22px;
  border-radius: 12px;
  border: 1px solid #edf2f7;
}

.info-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-row-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: #64748b;
}

.info-row-item i {
  font-size: 14px;
  color: var(--primary-cyan);
  width: 16px;
  text-align: center;
}

.info-row-item strong {
  color: var(--text-main);
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
}

.custom-table th {
  text-align: left;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 12px 16px;
  border-bottom: 1px solid #edf2f7;
}

.custom-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #edf2f7;
  font-size: 13.5px;
  vertical-align: middle;
  color: #475569;
}

.custom-table tr:hover td {
  background-color: #fbfcfe;
}

.btn-table-eye {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: #e0f2fe;
  color: #0284c7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-table-eye:hover {
  background: #bae6fd;
}

.status-badge-blue {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  color: #ffffff;
}

.status-badge-green {
  background: #dcfce7;
  color: #15803d;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
}

.trans-green {
  color: var(--theme-green);
  font-weight: 700;
}

.trans-red {
  color: #ef4444;
  font-weight: 700;
}

.role-badge-pill {
  background: #e0f7fa;
  color: var(--primary-cyan);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
}

.status-badge-app {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

.status-app-approved {
  background: #dcfce7;
  color: #15803d;
}

.status-app-rejected {
  background: #fee2e2;
  color: #b91c1c;
}

.status-app-pending {
  background: #fef3c7;
  color: #d97706;
}

.btn-action-primary {
  background: var(--primary-cyan);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}

.btn-action-primary:hover {
  background: var(--primary-cyan-hover);
}

.form-group-custom {
  margin-bottom: 16px;
}

.form-label-custom {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 8px;
}

.form-input-custom {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.form-input-custom:focus {
  border-color: var(--primary-cyan);
}

.form-divider-line {
  height: 1px;
  background: #edf2f7;
  margin: 20px 0;
}

.btn-form-action {
  background: var(--primary-cyan);
  color: #ffffff;
  border: none;
  padding: 11px 22px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  float: right;
}

.btn-form-action:hover {
  background: var(--primary-cyan-hover);
}

.app-detail-card {
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 10px;
  padding: 14px;
}

.app-detail-q-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary-cyan);
  margin-bottom: 6px;
}

.app-detail-q-ans {
  font-size: 13.5px;
  color: #334155;
  line-height: 1.5;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 18px;
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close-btn:hover {
  color: #ef4444;
}

.charge-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  align-items: start;
}

.charge-card {
  background: #ffffff;
  border-radius: var(--card-radius);
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.card-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.card-subtitle {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.coupon-form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 8px;
}

.coupon-code-input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 1px;
  outline: none;
  transition: border-color 0.2s;
  background: #ffffff;
  color: var(--text-main);
}

.coupon-code-input:focus {
  border-color: var(--primary-cyan);
}

.coupon-format-note {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.coupon-format-hint {
  font-family: var(--font-mono);
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--primary-cyan);
  font-weight: 600;
}

.btn-submit-coupon {
  width: 100%;
  background: var(--theme-green);
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
  transition: all 0.2s ease;
  margin-top: 10px;
}

.btn-submit-coupon:hover {
  background: var(--theme-green-hover);
  transform: translateY(-2px);
}

.btn-submit-coupon:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.status-alert-box {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  display: none;
  animation: fadeIn 0.3s ease;
}

.status-alert-box.success {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
}

.status-alert-box.error {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}

.side-balance-box {
  background: #ffffff;
  border-radius: var(--card-radius);
  padding: 26px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  text-align: center;
  margin-bottom: 24px;
}

.side-avatar-skin {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  margin: 0 auto 12px auto;
  image-rendering: pixelated;
}

.side-username {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.side-balance-label {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.side-balance-val {
  font-size: 22px;
  font-weight: 800;
  color: var(--theme-green);
  font-family: var(--font-mono);
}

.info-card {
  padding: 24px;
}

.info-card-header {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #edf2f7;
  padding-bottom: 10px;
}

.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
}

.info-list-icon {
  color: var(--primary-cyan);
  font-size: 14px;
  margin-top: 1px;
}

.spinner {
  animation: spin 1s linear infinite;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-auth {
  background-color: #0b0f17;
  background-image: linear-gradient(180deg, rgba(11, 15, 23, 0.85) 0%, #06090e 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: #ffffff;
}

.page-auth .auth-container {
  background: #111622;
  width: 100%;
  max-width: 900px;
  min-height: 520px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
  display: flex;
  overflow: hidden;
}

.page-register .auth-container {
  min-height: 560px;
}

.page-auth .form-panel {
  flex: 1.15;
  padding: 44px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #111622;
}

.page-auth .form-header {
  margin-bottom: 24px;
}

.page-auth .form-header h2 {
  font-size: 26px;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-auth .input-group {
  margin-bottom: 18px;
}

.page-auth .input-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #8a99ad;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.page-auth .input-group input {
  width: 100%;
  padding: 12px 16px;
  background-color: #0b0f17;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  outline: none;
  font-size: 13.5px;
  color: #ffffff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.page-auth .input-group input::placeholder {
  color: #64748b;
}

.page-auth .input-group input:focus {
  border-color: var(--primary-cyan);
  box-shadow: 0 0 0 3px rgba(0, 208, 230, 0.15);
}

.page-auth .btn-submit {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: var(--primary-cyan);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 12px;
  transition: all 0.18s ease;
}

.page-auth .btn-submit:hover {
  background: var(--primary-cyan-hover);
}

.page-auth .btn-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.page-auth .form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  font-size: 13px;
}

.page-auth .remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8a99ad;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
}

.page-auth .remember-me input {
  accent-color: var(--primary-cyan);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.page-auth .forgot-link {
  color: #8a99ad;
  text-decoration: none;
  transition: color 0.18s;
}

.page-auth .forgot-link:hover {
  color: var(--primary-cyan);
}

.page-auth .auth-feedback {
  display: none;
  padding: 11px 16px;
  border-radius: 8px;
  font-size: 13px;
  margin-top: 14px;
  text-align: center;
  font-weight: 500;
}

.page-auth .auth-feedback.error {
  background-color: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.page-auth .auth-feedback.success {
  background-color: rgba(16, 185, 129, 0.12);
  color: var(--theme-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.page-auth .auth-feedback.info {
  background-color: rgba(0, 208, 230, 0.12);
  color: var(--primary-cyan);
  border: 1px solid rgba(0, 208, 230, 0.3);
}

.page-auth .right-panel {
  flex: 1;
  background: linear-gradient(180deg, rgba(8, 9, 12, 0.5) 0%, rgba(8, 9, 12, 0.9) 100%),
              url('/header.png') center/cover no-repeat;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  position: relative;
}

.page-auth .right-panel h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.page-auth .right-panel p {
  font-size: 14px;
  font-weight: 400;
  color: #8a99ad;
  margin-bottom: 26px;
}

.page-auth .btn-outline {
  display: inline-block;
  padding: 10px 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #ffffff;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.18s ease;
}

.page-auth .btn-outline:hover {
  background-color: var(--primary-cyan);
  color: #ffffff;
  border-color: var(--primary-cyan);
}

@media (max-width: 768px) {
  .page-auth .auth-container {
    flex-direction: column;
  }
  .page-auth .form-panel {
    padding: 35px 25px;
  }
  .page-auth .right-panel {
    padding: 45px 25px;
  }
}

@media (max-width: 992px) {
  .hero {
    height: auto;
    padding: 40px 15px;
  }
  .hero-container {
    flex-direction: column;
    gap: 25px;
  }
  .hero-logo-box {
    order: -1;
  }
  .hero-banner-title {
    font-size: 26px;
  }
  .navbar {
    height: 68px;
    padding: 0;
    position: relative;
    z-index: 1000;
  }
  .nav-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 92%;
    height: 100%;
    margin: 0 auto;
    position: relative;
    gap: 10px;
  }
  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #edf6f9;
    border: 1px solid #dce8ee;
    border-radius: 10px;
    color: #202b38;
    font-size: 19px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    flex-shrink: 0;
  }
  .mobile-menu-btn:hover,
  .mobile-menu-btn:active {
    background: var(--primary-cyan);
    color: #ffffff;
    border-color: var(--primary-cyan);
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px;
    gap: 8px;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
    border-top: 1px solid #edf2f7;
    z-index: 1001;
  }
  .nav-links.active {
    display: flex;
    animation: okyanusNavSlideDown 0.2s ease-out forwards;
  }
  .nav-item {
    width: 100%;
  }
  .nav-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    width: 100%;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 600;
    color: #202b38;
    background: #f8fafc;
    transition: all 0.15s ease;
  }
  .nav-item a:hover,
  .nav-item.active a {
    background: rgba(0, 208, 230, 0.12);
    color: var(--primary-cyan);
  }
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }
  .btn-nav-login,
  .btn-nav-register {
    padding: 8px 14px;
    font-size: 12.5px;
    border-radius: 8px;
  }
  .main-grid {
    grid-template-columns: 1fr;
  }
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .charge-grid {
    grid-template-columns: 1fr;
  }
  .info-card-bottom {
    grid-template-columns: 1fr;
  }
  .post-card {
    flex-direction: column;
    height: auto;
    min-height: auto;
  }
  .post-thumb {
    width: 100%;
    height: 180px;
  }
  .post-body {
    width: 100%;
  }
  .detail-grid, .cart-grid {
    grid-template-columns: 1fr;
  }
  .detail-main-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .ticket-detail-grid {
    grid-template-columns: 1fr;
  }
  .form-card {
    padding: 24px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .sub-footer-container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@keyframes okyanusNavSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 30px 12px;
  }
  .hero-container {
    width: 100%;
    gap: 16px;
  }
  .hero-box,
  .discord-box {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
  .hero-text .title {
    font-size: 16px;
  }
  .hero-logo-box {
    width: 90px;
    height: 90px;
  }
  .hero-center-logo {
    width: 80px;
    height: 80px;
  }
  .main-wrapper {
    width: 94%;
    padding: 20px 0;
  }
  .breadcrumb-trail {
    flex-wrap: wrap;
    font-size: 12.5px;
  }
  .sidebar-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .user-dropdown-menu {
    right: 0;
    max-width: calc(100vw - 24px);
  }
}

@media (max-width: 480px) {
  .btn-nav-login span,
  .btn-nav-register span {
    display: none;
  }
  .btn-nav-login,
  .btn-nav-register {
    padding: 8px 10px;
  }
  .nav-container {
    width: 94%;
  }
}
