/* =============================================
   PlayStationSix.co.uk — Main Stylesheet
   Dark theme, PlayStation blue accent
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=Barlow:wght@400;500;600&display=swap');

:root {
  --bg:         #0a0a0f;
  --surface:    #13131a;
  --surface2:   #1c1c26;
  --border:     #2a2a3a;
  --ps-blue:    #003791;
  --ps-blue-l:  #0050c8;
  --ps-cyan:    #00d4ff;
  --accent:     #00d4ff;
  --text:       #e8e8f0;
  --text-muted: #8888aa;
  --green:      #00c853;
  --gold:       #ffd600;
  --radius:     8px;
  --radius-lg:  14px;
  --shadow:     0 4px 24px rgba(0,0,0,0.5);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

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

img { max-width: 100%; display: block; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* ── Layout ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Header ── */
.site-header {
  background: rgba(10,10,15,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}

.site-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-logo span {
  color: var(--ps-cyan);
}

.logo-ps {
  background: var(--ps-blue);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  background: var(--surface2);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, #000814 0%, #001a4d 50%, #000814 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(0,55,145,0.3) 0%, transparent 60%);
}

.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,212,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.3);
  color: var(--ps-cyan);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: #fff;
  margin-bottom: 16px;
}

.hero h1 span { color: var(--ps-cyan); }

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 540px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: all 0.2s;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--ps-blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--ps-blue-l);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,55,145,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Section ── */
.section {
  padding: 60px 0;
}

.section-alt {
  background: var(--surface);
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--text);
}

.section-header h2 span { color: var(--ps-cyan); }

.section-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ps-cyan);
  white-space: nowrap;
}

/* ── Product Cards ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  border-color: var(--ps-blue-l);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 100px;
  width: fit-content;
}

.badge-hot { background: rgba(255,59,48,0.15); color: #ff3b30; }
.badge-deal { background: rgba(0,200,83,0.15); color: var(--green); }
.badge-new { background: rgba(0,212,255,0.15); color: var(--ps-cyan); }
.badge-popular { background: rgba(255,214,0,0.15); color: var(--gold); }

.card-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
}

.card-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
}

.card-price .was {
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 6px;
}

.card-price .save {
  font-size: 0.8rem;
  color: var(--green);
  font-weight: 700;
  margin-left: 6px;
}

.card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ps-blue);
  color: #fff;
  padding: 12px;
  border-radius: var(--radius);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
}

.card-cta:hover {
  background: var(--ps-blue-l);
  text-decoration: none;
}

.card-cta svg { flex-shrink: 0; }

/* ── Amazon disclaimer on cards ── */
.amazon-note {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: center;
}

/* ── Category nav tiles ── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.cat-tile {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cat-tile:hover {
  border-color: var(--ps-blue-l);
  background: var(--surface);
  transform: translateY(-2px);
  text-decoration: none;
}

.cat-icon {
  font-size: 2rem;
  line-height: 1;
}

.cat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Info banner ── */
.info-banner {
  background: rgba(0,55,145,0.15);
  border: 1px solid rgba(0,80,200,0.3);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}

.info-banner-icon { font-size: 1.5rem; flex-shrink: 0; }

.info-banner-text h3 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--ps-cyan);
}

.info-banner-text p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ── Affiliate disclosure ── */
.affiliate-disclosure {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.affiliate-disclosure a { color: var(--text-muted); text-decoration: underline; }

/* ── Page hero (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, #000814 0%, #001233 100%);
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: #fff;
  margin-bottom: 8px;
}

.page-hero h1 span { color: var(--ps-cyan); }

.page-hero p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 600px;
}

/* ── Sticky bottom CTA ── */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10,10,15,0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 200;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sticky-cta.visible { transform: translateY(0); }

.sticky-cta-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

.sticky-cta-text span { color: var(--ps-cyan); }

/* ── Prose content ── */
.prose {
  max-width: 760px;
}

.prose h2 {
  font-size: 1.6rem;
  margin: 32px 0 12px;
  color: var(--text);
}

.prose h3 {
  font-size: 1.2rem;
  margin: 24px 0 8px;
  color: var(--text);
}

.prose p {
  margin-bottom: 16px;
  color: var(--text-muted);
}

.prose ul, .prose ol {
  margin: 0 0 16px 20px;
  color: var(--text-muted);
}

.prose li { margin-bottom: 6px; }

/* ── PS6 rumour cards ── */
.rumour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.rumour-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.rumour-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text);
}

.rumour-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.rumour-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.label-likely { background: rgba(0,200,83,0.15); color: var(--green); }
.label-rumour { background: rgba(255,214,0,0.15); color: var(--gold); }
.label-unconfirmed { background: rgba(255,59,48,0.15); color: #ff3b30; }

/* ── Footer ── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 12px;
  max-width: 280px;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-col ul a:hover { color: var(--text); text-decoration: none; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--text); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 2px;
  }

  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 14px; }

  .nav-toggle { display: flex; }

  .header-inner { position: relative; }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }

  .section-header { flex-direction: column; align-items: flex-start; }

  .hero { padding: 48px 0 40px; }

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

  .sticky-cta-text { font-size: 0.875rem; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}
