.store-shell {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}
.store-nav {
  border-bottom-style: solid;
  border-bottom-color: #2a2a4a;
  border-bottom-width: 1px;
  background-color: #0d0d24;
  position: sticky;
  top: 0;
  z-index: 100;
}
.store-nav .nav-inner {
  display: flex;
  max-width: 1400px;
  padding: 12px 24px;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
  column-gap: 24px;
}
.store-nav .logo {
  display: flex;
  align-items: center;
  column-gap: 8px;
  text-decoration: none;
}
.store-nav .logo .logo-icon {
  font-size: 1.5rem;
}
.store-nav .logo .logo-text {
  color: #f1f5f9;
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.store-nav .search-form {
  display: flex;
  max-width: 500px;
  flex-grow: 1;
}
.store-nav .search-form input {
  padding: 10px 16px;
  border: solid #2a2a4a 1px;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  outline-style: none;
  flex-grow: 1;
  color: #f1f5f9;
  font-size: 0.9rem;
  background-color: #1e1e3e;
}
.store-nav .search-form input:focus {
  border: solid #7c3aed 1px;
}
.store-nav .search-btn {
  padding-left: 16px;
  padding-right: 16px;
  border: none;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  cursor: pointer;
  color: #f1f5f9;
  font-size: 1rem;
  background-color: #7c3aed;
}
.store-nav .nav-links {
  display: flex;
  align-items: center;
  column-gap: 4px;
}
.store-nav .nav-links a {
  text-decoration: none;
}
.store-nav .nav-links .nav-link {
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 200ms;
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 500;
}
.store-nav .nav-links .nav-link:hover {
  color: #f1f5f9;
  background-color: #ffffff10;
}
.store-nav .nav-links .nav-link.active {
  color: #f1f5f9;
  background-color: #7c3aed30;
}
.store-content {
  width: 100%;
  max-width: 1400px;
  padding: 24px;
  margin-left: auto;
  margin-right: auto;
  flex-grow: 1;
}
.store-footer {
  padding: 48px 24px;
  border-top-style: solid;
  border-top-color: #2a2a4a;
  border-top-width: 1px;
  background-color: #0d0d24;
}
.store-footer .footer-inner {
  display: flex;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
  gap: 32px 48px;
}
.store-footer .footer-col {
  flex-grow: 1;
  flex-basis: 200px;
}
.store-footer .footer-col h4 {
  margin-bottom: 16px;
  color: #f1f5f9;
  font-size: 1rem;
  font-weight: 600;
}
.store-footer .footer-col p {
  color: #64748b;
  font-size: 0.875rem;
  line-height: 1.6em;
}
.store-footer .footer-col ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
}
.store-footer .footer-col li {
  margin-bottom: 8px;
}
.store-footer .footer-col a {
  transition: color 200ms;
  color: #94a3b8;
  font-size: 0.875rem;
  text-decoration: none;
}
.store-footer .footer-col a:hover {
  color: #a78bfa;
}
.store-footer .footer-bottom {
  max-width: 1400px;
  padding-top: 32px;
  margin-left: auto;
  margin-right: auto;
  border-top-style: solid;
  border-top-color: #2a2a4a;
  border-top-width: 1px;
  color: #64748b;
  text-align: center;
  font-size: 0.8rem;
}
.hero {
  padding-top: 48px;
  padding-bottom: 48px;
  text-align: center;
}
.hero .hero-content h1 {
  margin-bottom: 16px;
  color: #f1f5f9;
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #7c3aed, #3b82f6, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .hero-content .hero-sub {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px;
  color: #94a3b8;
  font-size: 1.2rem;
}
.hero .hero-content .hero-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 200ms;
  color: #f1f5f9;
  font-size: 1rem;
  font-weight: 600;
  background-color: #7c3aed;
}
.hero .hero-content .hero-btn:hover {
  background-color: #a78bfa;
}
.hero .hero-banners {
  display: flex;
  margin-top: 48px;
  overflow: hidden;
  column-gap: 16px;
}
.hero .banner-card {
  position: relative;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  flex-grow: 1;
  flex-basis: 300px;
  background-color: #1a1a3e;
}
.hero .banner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero .banner-card .banner-overlay {
  position: absolute;
  left: 0px;
  bottom: 0px;
  right: 0px;
  padding: 16px;
  color: #f1f5f9;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
}
.section-block {
  margin-bottom: 48px;
}
.section-header {
  display: flex;
  margin-bottom: 24px;
  justify-content: space-between;
  align-items: center;
}
.section-header h2 {
  color: #f1f5f9;
  font-size: 1.75rem;
  font-weight: 700;
}
.section-header .view-all {
  color: #7c3aed;
  font-size: 0.9rem;
  font-weight: 500;
}
.product-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.product-card {
  border: solid #2a2a4a 1px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 200ms, border-color 200ms;
  background-color: #1a1a3e;
}
.product-card:hover {
  border: solid #7c3aed 1px;
  transform: translateY(-4px);
}
.product-card .product-img {
  height: 160px;
  overflow: hidden;
  background-color: #12122a;
}
.product-card .product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-card .product-img .product-img-placeholder {
  display: flex;
  height: 100%;
  justify-content: center;
  align-items: center;
  color: #64748b;
  font-size: 3rem;
}
.product-card .product-info {
  padding: 16px;
}
.product-card .platform-badge {
  display: inline-block;
  padding: 2px 8px;
  margin-bottom: 8px;
  border-radius: 4px;
  color: #a78bfa;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background-color: #7c3aed30;
}
.product-card .product-name {
  margin-bottom: 8px;
  color: #f1f5f9;
  font-size: 0.95rem;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card .product-price .price {
  color: #10b981;
  font-size: 1.1rem;
  font-weight: 700;
}
.category-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.category-card {
  padding: 24px;
  border: solid #2a2a4a 1px;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 200ms;
  background-color: #1a1a3e;
}
.category-card:hover {
  border: solid #3b82f6 1px;
}
.category-card h3 {
  margin-bottom: 4px;
  color: #f1f5f9;
  font-size: 1rem;
  font-weight: 600;
}
.category-card p {
  color: #64748b;
  font-size: 0.8rem;
}
.platform-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
.platform-card {
  padding: 16px 20px;
  border: solid #2a2a4a 1px;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 200ms, background-color 200ms;
  text-align: center;
  background-color: #1a1a3e;
}
.platform-card:hover {
  border: solid #7c3aed 1px;
  background-color: #222252;
}
.platform-card .platform-name {
  color: #f1f5f9;
  font-size: 0.9rem;
  font-weight: 600;
}
.loading {
  padding: 48px;
  color: #94a3b8;
  text-align: center;
  font-size: 1.1rem;
}
.error-msg {
  padding: 48px;
  color: #f59e0b;
  text-align: center;
  font-size: 1rem;
}
.home-page a {
  color: inherit;
  text-decoration: none;
}
.catalog-page .page-title {
  margin-bottom: 24px;
  color: #f1f5f9;
  font-size: 2rem;
  font-weight: 700;
}
.catalog-page a {
  color: inherit;
  text-decoration: none;
}
.catalog-layout {
  display: flex;
  column-gap: 32px;
}
.filters-sidebar {
  width: 280px;
  min-width: 280px;
  flex-shrink: 0;
}
.filters-sidebar h3 {
  margin-bottom: 20px;
  color: #f1f5f9;
  font-size: 1.2rem;
  font-weight: 600;
}
.filters-sidebar .filter-group {
  margin-bottom: 20px;
}
.filters-sidebar .filter-group label {
  display: block;
  margin-bottom: 8px;
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 500;
}
.filters-sidebar .filter-input {
  width: 100%;
  padding: 8px 12px;
  box-sizing: border-box;
  border: solid #2a2a4a 1px;
  border-radius: 6px;
  outline-style: none;
  color: #f1f5f9;
  font-size: 0.875rem;
  background-color: #1e1e3e;
}
.filters-sidebar .filter-input:focus {
  border: solid #7c3aed 1px;
}
.filters-sidebar .filter-input.small {
  width: 80px;
  min-width: 80px;
}
.filters-sidebar .price-inputs {
  display: flex;
  align-items: center;
  column-gap: 8px;
}
.filters-sidebar .price-sep {
  color: #64748b;
}
.filters-sidebar .filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.filters-sidebar .chip {
  padding: 6px 12px;
  border: solid #2a2a4a 1px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 150ms;
  color: #94a3b8;
  font-size: 0.8rem;
  background-color: #1e1e3e;
}
.filters-sidebar .chip:hover {
  border: solid #7c3aed 1px;
  color: #f1f5f9;
}
.filters-sidebar .chip.active {
  border: solid #7c3aed 1px;
  color: #f1f5f9;
  background-color: #7c3aed;
}
.filters-sidebar .filter-actions {
  display: flex;
  margin-top: 20px;
  flex-direction: column;
  row-gap: 8px;
}
.btn-primary {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  color: #f1f5f9;
  font-size: 0.9rem;
  font-weight: 600;
  background-color: #7c3aed;
}
.btn-secondary {
  padding: 10px 20px;
  border: solid #2a2a4a 1px;
  border-radius: 6px;
  cursor: pointer;
  color: #94a3b8;
  font-size: 0.9rem;
  background-color: transparent;
}
.catalog-content {
  min-width: 0px;
  flex-grow: 1;
}
.results-info {
  margin-bottom: 16px;
  color: #64748b;
  font-size: 0.9rem;
}
.catalog-page .product-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.catalog-page .product-card {
  border: solid #2a2a4a 1px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 200ms, border-color 200ms;
  background-color: #1a1a3e;
}
.catalog-page .product-card:hover {
  border: solid #7c3aed 1px;
  transform: translateY(-4px);
}
.catalog-page .product-card .product-img {
  height: 140px;
  overflow: hidden;
  background-color: #12122a;
}
.catalog-page .product-card .product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.catalog-page .product-card .product-img .product-img-placeholder {
  display: flex;
  height: 100%;
  justify-content: center;
  align-items: center;
  color: #64748b;
  font-size: 2.5rem;
}
.catalog-page .product-card .product-info {
  padding: 12px;
}
.catalog-page .product-card .platform-badge {
  display: inline-block;
  padding: 2px 6px;
  margin-bottom: 6px;
  border-radius: 4px;
  color: #a78bfa;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  background-color: #7c3aed30;
}
.catalog-page .product-card .product-name {
  margin-bottom: 6px;
  color: #f1f5f9;
  font-size: 0.85rem;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.catalog-page .product-card .price {
  color: #10b981;
  font-size: 1rem;
  font-weight: 700;
}
.pagination {
  display: flex;
  padding-top: 16px;
  padding-bottom: 16px;
  margin-top: 32px;
  justify-content: center;
  align-items: center;
  column-gap: 16px;
}
.pagination .page-btn {
  padding: 8px 20px;
  border: solid #2a2a4a 1px;
  border-radius: 6px;
  cursor: pointer;
  color: #f1f5f9;
  font-size: 0.9rem;
  background-color: #1a1a3e;
}
.pagination .page-info {
  color: #94a3b8;
  font-size: 0.9rem;
}
.empty-state {
  padding-top: 64px;
  padding-bottom: 64px;
  text-align: center;
}
.empty-state .empty-icon {
  display: block;
  margin-bottom: 16px;
  font-size: 3rem;
}
.empty-state h3 {
  margin-bottom: 8px;
  color: #f1f5f9;
  font-size: 1.3rem;
}
.empty-state p {
  color: #64748b;
}
.loading {
  padding: 48px;
  color: #94a3b8;
  text-align: center;
}
.error-msg {
  padding: 48px;
  color: #f59e0b;
  text-align: center;
}
.detail-page a {
  color: #7c3aed;
  text-decoration: none;
}
.breadcrumb {
  margin-bottom: 24px;
  color: #64748b;
  font-size: 0.9rem;
}
.breadcrumb .current {
  color: #94a3b8;
}
.detail-layout {
  display: flex;
  margin-bottom: 48px;
  column-gap: 40px;
}
.detail-image {
  width: 400px;
  min-width: 400px;
  flex-shrink: 0;
}
.detail-image .cover-image {
  width: 100%;
  border: solid #2a2a4a 1px;
  border-radius: 12px;
}
.detail-image .cover-placeholder {
  display: flex;
  width: 100%;
  height: 300px;
  border: solid #2a2a4a 1px;
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  color: #64748b;
  font-size: 5rem;
  background-color: #1a1a3e;
}
.detail-info {
  flex-grow: 1;
}
.detail-info .platform-badge {
  display: inline-block;
  padding: 4px 10px;
  margin-right: 8px;
  margin-bottom: 12px;
  border-radius: 4px;
  color: #a78bfa;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background-color: #7c3aed30;
}
.detail-info .preorder-badge {
  display: inline-block;
  padding: 4px 10px;
  margin-bottom: 12px;
  border-radius: 4px;
  color: #f59e0b;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  background-color: #f59e0b30;
}
.detail-info h1 {
  margin-bottom: 16px;
  color: #f1f5f9;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2em;
}
.meta-row {
  display: flex;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.meta-item .meta-label {
  display: block;
  margin-bottom: 4px;
  color: #64748b;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.meta-item .meta-value {
  color: #94a3b8;
  font-size: 0.9rem;
}
.purchase-section {
  padding: 24px;
  margin-bottom: 24px;
  border: solid #2a2a4a 1px;
  border-radius: 12px;
  background-color: #1a1a3e;
}
.purchase-section .price-display {
  margin-bottom: 16px;
}
.purchase-section .price-amount {
  color: #10b981;
  font-size: 2rem;
  font-weight: 800;
}
.purchase-section .cart-actions {
  display: flex;
  align-items: center;
  column-gap: 16px;
}
.purchase-section .qty-control {
  display: flex;
  border: solid #2a2a4a 1px;
  border-radius: 8px;
  overflow: hidden;
  align-items: center;
  column-gap: 0px;
}
.purchase-section .qty-control .qty-btn {
  display: flex;
  width: 40px;
  height: 40px;
  border: none;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  color: #f1f5f9;
  font-size: 1.2rem;
  background-color: #1e1e3e;
}
.purchase-section .qty-control .qty-value {
  width: 50px;
  color: #f1f5f9;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
}
.purchase-section .add-to-cart {
  padding-top: 12px;
  padding-bottom: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 200ms;
  flex-grow: 1;
  color: #f1f5f9;
  font-size: 1rem;
  font-weight: 600;
  background-color: #7c3aed;
}
.purchase-section .add-to-cart:hover {
  background-color: #a78bfa;
}
.purchase-section .add-to-cart.added {
  background-color: #10b981;
}
.purchase-section .cart-notice {
  margin-top: 12px;
  text-align: center;
}
.purchase-section .cart-notice a {
  color: #7c3aed;
  font-size: 0.9rem;
}
.lang-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.lang-tag {
  padding: 4px 10px;
  border-radius: 4px;
  color: #94a3b8;
  font-size: 0.8rem;
  background-color: #1e1e3e;
}
.detail-section {
  margin-bottom: 40px;
}
.detail-section .section-title {
  margin-bottom: 16px;
  color: #f1f5f9;
  font-size: 1.5rem;
  font-weight: 600;
}
.detail-section h3 {
  margin-bottom: 12px;
  color: #f1f5f9;
  font-size: 1.1rem;
  font-weight: 600;
}
.description {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.7em;
}
.screenshots-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.screenshots-grid .screenshot img {
  width: 100%;
  border: solid #2a2a4a 1px;
  border-radius: 8px;
}
.sys-reqs {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.sys-req-block {
  padding: 20px;
  border: solid #2a2a4a 1px;
  border-radius: 8px;
  flex-grow: 1;
  flex-basis: 300px;
  background-color: #1a1a3e;
}
.sys-req-block h4 {
  margin-bottom: 12px;
  color: #f1f5f9;
  font-size: 1rem;
}
.sys-req-block ul {
  padding-left: 20px;
  margin: 0;
}
.sys-req-block li {
  margin-bottom: 6px;
  color: #94a3b8;
  font-size: 0.85rem;
  line-height: 1.4em;
}
.error-container {
  padding-top: 64px;
  padding-bottom: 64px;
  color: #f1f5f9;
  text-align: center;
}
.back-link {
  color: #7c3aed;
  font-size: 0.9rem;
}
.loading {
  padding: 64px;
  color: #94a3b8;
  text-align: center;
  font-size: 1.1rem;
}
.cart-page {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.cart-page .page-title {
  margin-bottom: 24px;
  color: #f1f5f9;
  font-size: 2rem;
  font-weight: 700;
}
.cart-page a {
  color: #7c3aed;
  text-decoration: none;
}
.empty-cart {
  padding-top: 64px;
  padding-bottom: 64px;
  text-align: center;
}
.empty-cart .empty-icon {
  margin-bottom: 16px;
  font-size: 4rem;
}
.empty-cart h3 {
  margin-bottom: 8px;
  color: #f1f5f9;
  font-size: 1.5rem;
}
.empty-cart p {
  margin-bottom: 24px;
  color: #64748b;
}
.empty-cart .browse-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  color: #f1f5f9;
  font-size: 1rem;
  font-weight: 600;
  background-color: #7c3aed;
}
.cart-layout {
  display: flex;
  align-items: start;
  column-gap: 32px;
}
.cart-items {
  display: flex;
  flex-direction: column;
  row-gap: 12px;
  flex-grow: 1;
}
.cart-item {
  display: flex;
  padding: 20px;
  border: solid #2a2a4a 1px;
  border-radius: 12px;
  justify-content: space-between;
  align-items: center;
  background-color: #1a1a3e;
}
.cart-item .item-info {
  display: flex;
  align-items: center;
  column-gap: 16px;
}
.cart-item .item-icon {
  display: flex;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  background-color: #12122a;
}
.cart-item .item-details h4 {
  margin-bottom: 4px;
  color: #f1f5f9;
  font-size: 1rem;
  font-weight: 600;
}
.cart-item .item-platform {
  display: block;
  margin-bottom: 2px;
  color: #a78bfa;
  font-size: 0.75rem;
}
.cart-item .item-price-each {
  color: #64748b;
  font-size: 0.8rem;
}
.cart-item .item-actions {
  display: flex;
  align-items: center;
  column-gap: 16px;
}
.cart-item .qty-control {
  display: flex;
  border: solid #2a2a4a 1px;
  border-radius: 6px;
  overflow: hidden;
  align-items: center;
}
.cart-item .qty-control .qty-btn {
  display: flex;
  width: 32px;
  height: 32px;
  border: none;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  color: #f1f5f9;
  font-size: 1rem;
  background-color: #1e1e3e;
}
.cart-item .qty-control .qty-value {
  width: 40px;
  color: #f1f5f9;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
}
.cart-item .item-total {
  min-width: 80px;
  color: #10b981;
  text-align: right;
  font-size: 1rem;
  font-weight: 700;
}
.cart-item .remove-btn {
  display: flex;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  color: #64748b;
  font-size: 0.9rem;
  background-color: transparent;
}
.cart-item .remove-btn:hover {
  color: #ef4444;
  background-color: #ef444420;
}
.cart-summary {
  width: 300px;
  min-width: 300px;
  padding: 24px;
  border: solid #2a2a4a 1px;
  border-radius: 12px;
  background-color: #1a1a3e;
  position: sticky;
  top: 100px;
}
.cart-summary h3 {
  margin-bottom: 20px;
  color: #f1f5f9;
  font-size: 1.2rem;
  font-weight: 600;
}
.cart-summary .summary-rows {
  margin-bottom: 20px;
}
.cart-summary .summary-row {
  display: flex;
  padding-top: 8px;
  padding-bottom: 8px;
  justify-content: space-between;
  color: #94a3b8;
  font-size: 0.9rem;
}
.cart-summary .summary-row.total {
  padding-top: 16px;
  margin-top: 8px;
  border-top-style: solid;
  border-top-color: #2a2a4a;
  border-top-width: 1px;
  color: #f1f5f9;
  font-weight: 600;
}
.cart-summary .summary-row .total-amount {
  color: #10b981;
  font-size: 1.3rem;
  font-weight: 800;
}
.cart-summary .checkout-btn {
  width: 100%;
  padding-top: 14px;
  padding-bottom: 14px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 200ms;
  color: #f1f5f9;
  font-size: 1rem;
  font-weight: 600;
  background-color: #10b981;
}
.cart-summary .checkout-btn:hover {
  opacity: 0.9;
}
.cart-summary .checkout-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.cart-summary .checkout-error {
  padding: 10px;
  margin-bottom: 12px;
  border-radius: 6px;
  color: #ef4444;
  font-size: 0.85rem;
  background-color: #ef444415;
}
.cart-summary .login-hint {
  margin-top: 12px;
  color: #64748b;
  text-align: center;
  font-size: 0.8rem;
}
.cart-page .alert {
  padding: 24px;
  border-radius: 12px;
  text-align: center;
}
.cart-page .alert.success {
  border: solid #10b98140 1px;
  color: #10b981;
  background-color: #10b98115;
}
.cart-page .alert .alert-icon {
  display: block;
  margin-bottom: 12px;
  font-size: 2rem;
}
.cart-page .alert .alert-actions {
  display: flex;
  margin-top: 16px;
  justify-content: center;
  column-gap: 16px;
}
.cart-page .alert .alert-link {
  padding: 10px 20px;
  border-radius: 6px;
  color: #f1f5f9;
  font-size: 0.9rem;
  background-color: #7c3aed;
}
.login-page {
  display: flex;
  min-height: 60vh;
  padding-top: 48px;
  padding-bottom: 48px;
  justify-content: center;
  align-items: center;
}
.login-page a {
  text-decoration: none;
}
.login-card {
  width: 100%;
  max-width: 420px;
  padding: 40px;
  border: solid #2a2a4a 1px;
  border-radius: 16px;
  text-align: center;
  background-color: #1a1a3e;
}
.login-card .login-icon {
  margin-bottom: 16px;
  font-size: 3rem;
}
.login-card h2 {
  margin-bottom: 8px;
  color: #f1f5f9;
  font-size: 1.75rem;
  font-weight: 700;
}
.login-card .login-sub {
  margin-bottom: 32px;
  color: #64748b;
  font-size: 0.95rem;
}
.form-group {
  margin-bottom: 20px;
  text-align: left;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 500;
}
.form-input {
  width: 100%;
  padding: 12px 16px;
  box-sizing: border-box;
  border: solid #2a2a4a 1px;
  border-radius: 8px;
  outline-style: none;
  color: #f1f5f9;
  font-size: 1rem;
  background-color: #1e1e3e;
}
.form-input:focus {
  border: solid #7c3aed 1px;
}
.otp-input {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 8px;
}
.btn-submit {
  width: 100%;
  padding-top: 14px;
  padding-bottom: 14px;
  margin-bottom: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 200ms;
  color: #f1f5f9;
  font-size: 1rem;
  font-weight: 600;
  background-color: #7c3aed;
}
.btn-submit:hover {
  background-color: #a78bfa;
}
.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.btn-back {
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
  border: none;
  cursor: pointer;
  color: #64748b;
  font-size: 0.9rem;
  background-color: transparent;
}
.btn-logout {
  padding: 10px 24px;
  margin-top: 20px;
  border: solid #ef4444 1px;
  border-radius: 6px;
  cursor: pointer;
  color: #ef4444;
  font-size: 0.9rem;
  background-color: transparent;
}
.alert {
  padding: 12px 16px;
  margin-bottom: 20px;
  border-radius: 8px;
  text-align: left;
  font-size: 0.9rem;
}
.alert.error {
  border: solid #ef444440 1px;
  color: #ef4444;
  background-color: #ef444420;
}
.alert.success {
  border: solid #10b98140 1px;
  color: #10b981;
  background-color: #10b98120;
}
.login-links {
  display: flex;
  margin-top: 20px;
  justify-content: center;
  column-gap: 12px;
}
.link-btn {
  padding: 10px 20px;
  border-radius: 6px;
  color: #f1f5f9;
  font-size: 0.9rem;
  font-weight: 500;
  background-color: #7c3aed;
}
.profile-page {
  max-width: 600px;
  padding-top: 24px;
  padding-bottom: 24px;
  margin-left: auto;
  margin-right: auto;
}
.profile-page .page-title {
  margin-bottom: 32px;
  color: #f1f5f9;
  font-size: 2rem;
  font-weight: 700;
}
.profile-page a {
  text-decoration: none;
}
.auth-prompt {
  padding-top: 64px;
  padding-bottom: 64px;
  text-align: center;
}
.auth-prompt .prompt-icon {
  margin-bottom: 16px;
  font-size: 3rem;
}
.auth-prompt h2 {
  margin-bottom: 8px;
  color: #f1f5f9;
  font-size: 1.5rem;
}
.auth-prompt p {
  margin-bottom: 24px;
  color: #64748b;
}
.auth-prompt .prompt-btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  color: #f1f5f9;
  font-weight: 600;
  background-color: #7c3aed;
}
.profile-card {
  display: flex;
  padding: 24px;
  margin-bottom: 24px;
  border: solid #2a2a4a 1px;
  border-radius: 12px;
  align-items: center;
  column-gap: 20px;
  background-color: #1a1a3e;
}
.profile-card .avatar {
  display: flex;
  width: 64px;
  height: 64px;
  border-radius: 32px;
  justify-content: center;
  align-items: center;
  color: #f1f5f9;
  font-size: 1.5rem;
  font-weight: 700;
  background-color: #7c3aed;
}
.profile-card .profile-details h2 {
  margin-bottom: 4px;
  color: #f1f5f9;
  font-size: 1.5rem;
  font-weight: 600;
}
.profile-card .role-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  color: #10b981;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background-color: #10b98130;
}
.info-grid {
  display: grid;
  margin-bottom: 24px;
  row-gap: 1px;
}
.info-item {
  display: flex;
  padding: 16px 20px;
  border-bottom-style: solid;
  border-bottom-color: #2a2a4a;
  border-bottom-width: 1px;
  justify-content: space-between;
  background-color: #1a1a3e;
}
.info-item:first-child {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}
.info-item:last-child {
  border: none;
  border-bottom-right-radius: 12px;
  border-bottom-left-radius: 12px;
}
.info-item .info-label {
  color: #64748b;
  font-size: 0.9rem;
}
.info-item .info-value {
  color: #f1f5f9;
  font-size: 0.9rem;
  font-weight: 500;
}
.profile-actions {
  display: flex;
  column-gap: 12px;
}
.action-btn {
  padding: 12px 24px;
  border-radius: 8px;
  color: #f1f5f9;
  font-size: 0.9rem;
  font-weight: 500;
  background-color: #7c3aed;
}
.loading {
  padding: 64px;
  color: #94a3b8;
  text-align: center;
}
.error-msg {
  padding: 64px;
  color: #ef4444;
  text-align: center;
}
.orders-page {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.orders-page .page-title {
  margin-bottom: 24px;
  color: #f1f5f9;
  font-size: 2rem;
  font-weight: 700;
}
.orders-page a {
  text-decoration: none;
}
.orders-page .auth-prompt {
  padding-top: 64px;
  padding-bottom: 64px;
  text-align: center;
}
.orders-page .auth-prompt .prompt-icon {
  margin-bottom: 16px;
  font-size: 3rem;
}
.orders-page .auth-prompt h2 {
  margin-bottom: 8px;
  color: #f1f5f9;
  font-size: 1.5rem;
}
.orders-page .auth-prompt p {
  margin-bottom: 24px;
  color: #64748b;
}
.orders-page .auth-prompt .prompt-btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  color: #f1f5f9;
  font-weight: 600;
  background-color: #7c3aed;
}
.orders-page .empty-state {
  padding-top: 64px;
  padding-bottom: 64px;
  text-align: center;
}
.orders-page .empty-state .empty-icon {
  display: block;
  margin-bottom: 16px;
  font-size: 3rem;
}
.orders-page .empty-state h3 {
  margin-bottom: 8px;
  color: #f1f5f9;
  font-size: 1.3rem;
}
.orders-page .empty-state p {
  margin-bottom: 24px;
  color: #64748b;
}
.orders-list {
  display: flex;
  flex-direction: column;
  row-gap: 12px;
}
.order-card {
  border: solid #2a2a4a 1px;
  border-radius: 12px;
  overflow: hidden;
  background-color: #1a1a3e;
}
.order-card .order-header {
  display: flex;
  padding: 16px 20px;
  cursor: pointer;
  transition: background-color 150ms;
  justify-content: space-between;
  align-items: center;
}
.order-card .order-header:hover {
  background-color: #222252;
}
.order-card .order-meta .order-id {
  display: block;
  margin-bottom: 4px;
  color: #f1f5f9;
  font-size: 0.95rem;
  font-weight: 600;
}
.order-card .order-meta .order-date {
  color: #64748b;
  font-size: 0.8rem;
}
.order-card .order-right {
  display: flex;
  align-items: center;
  column-gap: 12px;
}
.order-card .order-total {
  color: #f1f5f9;
  font-size: 1.1rem;
  font-weight: 700;
}
.order-card .expand-icon {
  color: #64748b;
  font-size: 0.7rem;
}
.status-badge {
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.status-badge.status-completed {
  color: #10b981;
  background-color: #10b98120;
}
.status-badge.status-processing {
  color: #3b82f6;
  background-color: #3b82f620;
}
.status-badge.status-pending {
  color: #f59e0b;
  background-color: #f59e0b20;
}
.status-badge.status-failed {
  color: #ef4444;
  background-color: #ef444420;
}
.status-badge.status-refunded {
  color: #94a3b8;
  background-color: #94a3b820;
}
.order-items {
  padding-left: 20px;
  padding-right: 20px;
  border-top-style: solid;
  border-top-color: #2a2a4a;
  border-top-width: 1px;
}
.order-items .order-item {
  display: flex;
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom-style: solid;
  border-bottom-color: #2a2a4a50;
  border-bottom-width: 1px;
  justify-content: space-between;
  align-items: center;
}
.order-items .item-name {
  flex-grow: 1;
  color: #f1f5f9;
  font-size: 0.9rem;
}
.order-items .item-qty {
  margin-left: 16px;
  margin-right: 16px;
  color: #64748b;
  font-size: 0.85rem;
}
.order-items .item-price {
  color: #10b981;
  font-size: 0.9rem;
  font-weight: 600;
}
.order-keys {
  padding: 20px;
  border-top-style: solid;
  border-top-color: #2a2a4a;
  border-top-width: 1px;
}
.order-keys h4 {
  margin-bottom: 12px;
  color: #f1f5f9;
  font-size: 0.9rem;
  font-weight: 600;
}
.order-keys .key-item {
  display: flex;
  padding: 8px 12px;
  margin-bottom: 8px;
  border-radius: 6px;
  justify-content: space-between;
  align-items: center;
  background-color: #1e1e3e;
}
.order-keys .key-name {
  color: #94a3b8;
  font-size: 0.85rem;
}
.order-keys .key-serial {
  color: #10b981;
  font-family: 'monospace';
  font-size: 0.85rem;
  font-weight: 600;
}
.keys-loading {
  padding: 16px;
  color: #64748b;
  text-align: center;
  font-size: 0.85rem;
}
.orders-page .pagination {
  display: flex;
  margin-top: 32px;
  justify-content: center;
  align-items: center;
  column-gap: 16px;
}
.orders-page .pagination .page-btn {
  padding: 8px 20px;
  border: solid #2a2a4a 1px;
  border-radius: 6px;
  cursor: pointer;
  color: #f1f5f9;
  background-color: #1a1a3e;
}
.orders-page .pagination .page-info {
  color: #94a3b8;
  font-size: 0.9rem;
}
.loading {
  padding: 64px;
  color: #94a3b8;
  text-align: center;
}
.error-msg {
  padding: 64px;
  color: #ef4444;
  text-align: center;
}
