:root {
  --bg-dark: #050406;
  --muted: #bfc6cc;
  --gold: #ffd166;
  --gold-strong: #ffbf00;
  --accent: #00d1ff;
  --card-bg: rgba(255, 255, 255, 0.03);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-2: rgba(255, 255, 255, 0.02);
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  background: var(--bg-dark);
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Background and particles */
.bg-img {
  position: fixed;
  inset: 0;
  background: url('../img/DiamondGOD FULL.jpg') center/cover no-repeat;
  filter: blur(1.2px) brightness(0.22) contrast(1.05);
  z-index: -3;
}

#particles-js {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

/* Main wrapper */
.wrap {
  position: relative;
  max-width: var(--max-width);
  margin: 40px auto;
  padding: 28px;
  min-height: calc(100vh - 80px);
}

/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

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

.logo {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: url('../img/DiamondGOD-PP.jpg') center/cover no-repeat;
  box-shadow: 0 4px 14px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.05);
}

.brand h1 {
  font-family: Orbitron, sans-serif;
  font-size: 20px;
  letter-spacing: 1px;
  margin: 0;
  color: var(--gold);
}

.brand p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

/* Layout grid */
.grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
  margin-top: 32px;
}

@media (max-width: 980px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .wrap {
    padding: 18px;
  }
}

/* Cards */
.card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 20px;
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.04);
}

/* Section titles */
.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.section-title h2 {
  font-size: 18px;
  margin: 0;
  color: var(--gold);
}
.section-title p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

/* Text blocks */
.about p, .services ul, .why ul {
  color: #e6eef6cc;
  line-height: 1.6;
}

/* Lists */
.services ul, .why ul {
  padding-left: 18px;
  margin-top: 8px;
}
.services li, .why li {
  margin-bottom: 8px;
}

/* Slideshow */
.image-showcase {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  margin: 40px auto;
  max-width: 1280px;
}

.main-display {
  position: relative;
  width: 100%;
  height: auto;
  max-height: 70vh;
  overflow: hidden;
  background: #000;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-display img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}

.thumbnail-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px;
  justify-content: center;
}

.thumb {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.7;
  transition: 0.2s ease;
  border: 2px solid transparent;
}
.thumb:hover, .thumb.active {
  opacity: 1;
  border-color: var(--gold);
}

/* Product section */
.product {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
  position: sticky;
  top: 36px;
}
@media (max-width: 720px) {
  .product {
    position: relative;
    top: unset;
  }
}

/* Product media */
.product .media {
  height: auto;
  max-height: 240px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.04);
}
.product .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product text */
.product .meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.product h3 {
  margin: 0;
  font-family: Orbitron, sans-serif;
  color: var(--gold);
  letter-spacing: 1px;
}
.product p.desc {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

/* Options grid */
.options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}
.option-btn {
  background: var(--glass);
  border: 1px solid rgba(255,255,255,0.03);
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  color: var(--muted);
  transition: all 0.18s ease;
}
.option-btn.active {
  background: linear-gradient(180deg, rgba(255,191,0,0.12), rgba(255,191,0,0.04));
  border: 1px solid rgba(255,191,0,0.25);
  color: var(--gold);
  box-shadow: 0 6px 18px rgba(255,191,0,0.06);
}

/* Pricing and buttons */
.price-wrap {
  margin-top: 14px;
  padding: 12px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(255,255,255,0.03);
  flex-wrap: wrap;
}

.price {
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
}
.price small {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-size: 12px;
}

.buy-row {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 16px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}
.btn-primary {
  background: linear-gradient(90deg, var(--gold), var(--gold-strong));
  color: #111;
  box-shadow: 0 8px 24px rgba(255,191,0,0.1);
}
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--muted);
}

/* Selected label */
#selectedLabel {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  background: rgba(255,255,255,0.03);
  padding: 6px 10px;
  border-radius: 6px;
  display: inline-block;
}

/* Footer */
footer {
  margin-top: 36px;
  padding: 24px 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
footer .links {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
footer a.icon {
  color: var(--gold);
  font-size: 20px;
}
footer .credits a {
  color: var(--muted);
  margin: 0 6px;
}

/* Gallery controls */
.gallery-controls {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 12px;
  flex-wrap: wrap;
}
.gallery-controls button {
  padding: 10px 16px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  background: var(--glass);
  color: var(--gold);
  cursor: pointer;
  transition: 0.2s ease;
}
.gallery-controls button:hover {
  background: var(--gold);
  color: #111;
}

.discord-widget iframe {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}