/* Sovereign Card Vault UK - Ultra-Premium Theme */
:root {
  --bg-primary: #0b0e14;
  --bg-card: #151a23;
  --bg-hover: #1e2533;
  --accent-gold: #e5b85c;
  --accent-crimson: #9e2a2b;
  --accent-glow: rgba(229, 184, 92, 0.25);
  --text-main: #f0f3f8;
  --text-muted: #9ba3b4;
  --border-card: #252e3e;
  --success: #10b981;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
}

header {
  background: rgba(11, 14, 20, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-card);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.logo-badge {
  background: linear-gradient(135deg, #e5b85c, #9e2a2b);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  box-shadow: 0 4px 15px var(--accent-glow);
}

.brand-title {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
  padding: 6px 12px;
  border-radius: 6px;
}

nav a:hover, nav a.active {
  color: var(--accent-gold);
  background: rgba(229, 184, 92, 0.1);
}

.hero-banner {
  background: radial-gradient(circle at 50% 20%, rgba(158, 42, 43, 0.25) 0%, rgba(11, 14, 20, 0.95) 75%), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><path d="M30 0l30 30-30 30L0 30z" fill="rgba(255,255,255,0.015)"/></svg>');
  padding: 4.5rem 2rem 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border-card);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--success);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 40%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

.main-container {
  max-width: 1280px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-card);
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-gold);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.card-img-wrapper {
  background: #0f131a;
  padding: 1.5rem;
  text-align: center;
  position: relative;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-img-wrapper img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.6));
}

.grade-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #b91c1c;
  color: #fff;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(185, 28, 28, 0.4);
}

.card-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.card-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.card-price-row {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-card);
}

.price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.btn-buy {
  background: var(--accent-gold);
  color: #0b0e14;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-buy:hover {
  opacity: 0.9;
}

footer {
  background: #080a0f;
  border-top: 1px solid var(--border-card);
  padding: 3rem 2rem 2rem;
  color: var(--text-muted);
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.company-badge-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  padding: 1.2rem;
  border-radius: 8px;
  margin-top: 1rem;
  font-size: 0.85rem;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}
