body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #111;
  color: white;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 40px;
  background: #161616;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1;
  font-size: 24px;
  font-weight: bold;
}

.site-nav a {
  color: white;
  text-decoration: none;
  margin-left: 24px;
  font-size: 18px;
}

.hero {
  padding: 90px 40px;
  text-align: center;
  background: #1d1d1d;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 58px;
  margin-bottom: 16px;
}

.hero-text {
  font-size: 21px;
  color: #e2e2e2;
  line-height: 1.6;
  max-width: 760px;
  margin: 0 auto;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-block;
  padding: 13px 22px;
  background: #d62828;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: 0.2s ease;
}

.hero-btn:hover {
  background: #b71c1c;
}

.hidden {
  display: none !important;
}

.account-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.account-modal-box {
  width: min(460px, 90%);
  background: #161616;
  border: 1px solid #333;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.account-modal-box h3 {
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 24px;
}

.account-inputs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.account-inputs input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #444;
  background: #101010;
  color: white;
  font-size: 16px;
  box-sizing: border-box;
}

.account-modal-buttons {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.account-modal-buttons button {
  border: none;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 600;
  cursor: pointer;
}

#cancelLoginBtn {
  background: #444;
  color: white;
}

#submitLoginBtn {
  background: #d62828;
  color: white;
}

#submitLoginBtn:hover {
  background: #b71c1c;
}

.secondary-btn {
  background: transparent;
  border: 1px solid #ffffff55;
}

.secondary-btn:hover {
  background: #ffffff14;
}

.content-section {
  padding: 40px;
}

.content-section h2 {
  margin-bottom: 20px;
}

.section-subtext {
  margin-top: -8px;
  margin-bottom: 24px;
  color: #bdbdbd;
  max-width: 700px;
  line-height: 1.6;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: #1c1c1c;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #2a2a2a;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.card-image-wrap {
  position: relative;
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #d62828;
  color: white;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 10px;
  border-radius: 999px;
}

.merch-badge {
  background: #444;
}

.card-body {
  padding: 14px;
}

.card-body h3 {
  margin-top: 0 0 8px 0;
  margin-bottom: 20px;
}

.card-description {
  color: #d0d0d0;
  line-height: 1.4;
  margin: 0 0 10px 0;
}

.card-date,
.card-price {
  color: #bcbcbc;
  margin: 2px 0 2px 0;
  font-size: 14px;
}

.card-btn {
  display: inline-block;
  margin-top: 0;
  padding: 9px 14px;
  background: #d62828;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.2s ease;
}

.card-btn:hover {
  background: #b71c1c;
}

.site-footer {
  text-align: center;
  padding: 24px;
  background: #161616;
  color: #bcbcbc;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 12px;
}

.footer-links a {
  color: #d7d7d7;
  text-decoration: none;
  font-size: 14px;
}

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

@media (max-width: 900px) {

  .hero {
    padding: 80px 24px;
    }

  .hero h1 {
    font-size: 40px;
    }

  .hero-text {
    font-size: 18px;
    }

  .site-header {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .site-nav a {
    margin-left: 0;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
}

.contact-links p {
  margin-bottom: 12px;
  font-size: 18px;
  color: #d0d0d0;
}

.content-section p {
  max-width: 900px;
  line-height: 1.7;
  color: #d0d0d0;
}

.merch-detail {
  margin: 2px 0;
  color: #d0d0d0;
  font-size: 14px;
  line-height: 1.5;
}

.merch-card .card-body {
  display: flex;
  flex-direction: column;
}

.merch-card .card-btn {
  margin-top: 18px;
  align-self: flex-start;
}

.merch-options-group {
  margin-top: 10px;
}

.option-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.option-btn {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #666;
  background: transparent;
  color: white;
  cursor: pointer;
  transition: 0.2s ease;
}

.option-btn:hover:not(:disabled) {
  border-color: #d62828;
  color: #d62828;
}

.color-row {
  align-items: center;
}

.color-option {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid white;
  cursor: pointer;
  transition: 0.2s ease;
}

.color-option:hover:not(:disabled) {
  transform: scale(1.08);
}

.option-selected {
  border-color: #d62828 !important;
  box-shadow: 0 0 0 2px #d62828;
}

.option-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  text-decoration: line-through;
  position: relative;
}

.option-btn.option-disabled {
  background: #444;
  color: #bbb;
}

.color-option.option-disabled::after {
  content: "";
  position: absolute;
  width: 36px;
  height: 2px;
  background: #ffffff;
  transform: rotate(-45deg);
  top: 12px;
  left: -4px;
}

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
}

.cart-icon {
  display: block;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -12px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 10px;
  height: 15px;
  padding: 0 6px;
  border-radius: 999px;
  background: #d62828;
  color: white;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.merch-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.add-cart-btn {
  border: none;
  cursor: pointer;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart-item {
  display: flex;
  gap: 18px;
  background: #1c1c1c;
  border: 1px solid #2a2a2a;
  border-radius: 14px;
  padding: 16px;
}

.cart-item img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
}

.cart-item-body h3 {
  margin-top: 0;
}

.cart-summary {
  margin-top: 24px;
  font-size: 20px;
  font-weight: 700;
}

.merch-card .card-body {
  padding: 14px;
}

.merch-card .card-description {
  margin-bottom: 8px;
}

.merch-card .card-price {
  margin-bottom: 4px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quantity-btn {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 8px;
  background: #d62828;
  color: white;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.quantity-btn:hover {
  background: #b71c1c;
}

.quantity-value {
  min-width: 24px;
  text-align: center;
  font-weight: 700;
}

.remove-cart-btn {
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  background: #444;
  color: white;
  font-weight: 600;
  cursor: pointer;
}

.remove-cart-btn:hover {
  background: #666;
}

.checkout-btn {
  margin-top: 16px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: start;
}

.checkout-form-wrap,
.checkout-summary {
  background: #1c1c1c;
  border: 1px solid #2a2a2a;
  border-radius: 16px;
  padding: 24px;
}

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

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

.checkout-group h2 {
  margin-bottom: 4px;
}

.checkout-form input {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #444;
  background: #121212;
  color: white;
  font-size: 15px;
}

.checkout-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.checkout-submit-btn {
  border: none;
  cursor: pointer;
  width: fit-content;
}

.checkout-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.checkout-item {
  border-bottom: 1px solid #333;
  padding-bottom: 12px;
}

.checkout-item:last-child {
  border-bottom: none;
}

.checkout-item-body h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.checkout-item-body p {
  margin: 4px 0;
  color: #d0d0d0;
}

.checkout-total {
  margin-top: 20px;
  font-size: 22px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }
}

.upload-form select,
.upload-form textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #444;
  background: #121212;
  color: white;
  font-size: 15px;
  font-family: inherit;
}

.upload-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d0d0d0;
  font-size: 15px;
}

.upload-checkbox input {
  width: 16px;
  height: 16px;
}

.upload-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: start;
}

.upload-panel {
  background: #1c1c1c;
  border: 1px solid #2a2a2a;
  border-radius: 16px;
  padding: 24px;
}

.uploaded-content-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.uploaded-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid #333;
  border-radius: 14px;
  padding: 16px;
  background: #151515;
}

.uploaded-item-body h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.uploaded-item-body p {
  margin: 4px 0;
  color: #d0d0d0;
}

.uploaded-item-body a {
  display: inline-block;
  margin-top: 8px;
  color: #ff6b6b;
  text-decoration: none;
}

.remove-upload-btn {
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  background: #d62828;
  color: white;
  font-weight: 600;
  cursor: pointer;
}

.remove-upload-btn:hover {
  background: #b71c1c;
}

@media (max-width: 900px) {
  .upload-layout {
    grid-template-columns: 1fr;
  }
}

.admin-gate-panel {
  max-width: 520px;
  margin: 0 auto;
}

.upload-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.upload-form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.uploaded-item-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.edit-upload-btn {
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  background: #444;
  color: white;
  font-weight: 600;
  cursor: pointer;
}

.edit-upload-btn:hover {
  background: #666;
}

.profile-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 18px;
}

.profile-btn {
  border: none;
  background: transparent;
  color: white;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.profile-dropdown {
  position: absolute;
  top: 32px;
  right: 0;
  background: #1c1c1c;
  border: 1px solid #333;
  border-radius: 12px;
  min-width: 140px;
  padding: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  z-index: 1200;
}

.profile-dropdown-btn {
  width: 100%;
  border: none;
  background: transparent;
  color: white;
  text-align: left;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
}

.profile-dropdown-btn:hover {
  background: #2a2a2a;
}

.account-switch-text {
  margin-top: 16px;
  font-size: 14px;
  color: #d0d0d0;
}

.account-switch-btn {
  background: transparent;
  border: none;
  color: #ff6b6b;
  cursor: pointer;
  font-weight: 600;
  margin-left: 6px;
}

.orders-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.order-card {
  background: #161616;
  border: 1px solid #2e2e2e;
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.35;
}

.order-card p {
  margin: 4px 0;
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.order-card-header h2 {
  margin: 0;
  font-size: 18px;
}

.order-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #232323;
  border: 1px solid #3a3a3a;
  font-size: 12px;
  font-weight: 600;
}

.order-section {
  margin-top: 10px;
}

.order-section h3 {
  margin: 0 0 4px 0;
  font-size: 14px;
}

.order-items-list {
  margin: 0;
  padding-left: 18px;
}

.order-items-list li {
  margin-bottom: 4px;
}

.shipping-admin-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
  margin-top: 8px;
  margin-bottom: 8px;
}

.shipping-admin-controls select,
.shipping-admin-controls input {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #3a3a3a;
  background: #111;
  color: white;
}

.save-shipping-btn {
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  background: #b91c1c;
  color: white;
  cursor: pointer;
  font-weight: 600;
}

.save-shipping-btn:hover {
  background: #991b1b;
}

.account-info-card {
  background: #161616;
  border: 1px solid #2e2e2e;
  border-radius: 16px;
  padding: 18px 20px;
  margin-top: 20px;
  margin-bottom: 24px;
}

.account-info-card h2 {
  margin-top: 0;
  margin-bottom: 10px;
}

.account-info-card p {
  margin: 6px 0;
}

.account-orders-section {
  margin-top: 20px;
}

.legal-page {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.65;
}

.legal-page h1 {
  margin-bottom: 18px;
}

.legal-page h2 {
  margin-top: 24px;
  margin-bottom: 8px;
}

.merch-admin-group {
  margin-top: 20px;
}

.size-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.color-admin-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}

.merch-color-preview-list {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.merch-color-preview-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.merch-color-swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #444;
}