:root {
  --bg-main: #12090d;
  --bg-surface: #1e1117;
  --bg-surface-elevated: #2e1a24;
  --accent-primary: #ff3366;
  --accent-secondary: #ff7733;
  --accent-tertiary: #ffcc00;
  --text-main: #fdf5f7;
  --text-muted: #d4b8c3;
  --border-color: rgba(255, 51, 102, 0.2);
  --glass-bg: rgba(30, 17, 23, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
  --shadow-color: rgba(255, 51, 102, 0.15);
  
  --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--accent-secondary);
}

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

/* Header */
.site-header {
  position: relative; /* Unstuck requirement */
  width: 100%;
  background: var(--bg-main);
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
}

.brand-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-tertiary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.main-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-primary);
  transition: var(--transition-smooth);
}

.nav-link:hover::after {
  width: 100%;
}

.cta-button {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #fff !important;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 15px var(--shadow-color);
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 119, 51, 0.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 200;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background-color: var(--text-main);
  transition: var(--transition-smooth);
}

/* Mobile Menu */
@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--bg-surface-elevated);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    z-index: 150;
  }

  .main-nav.active {
    right: 0;
  }

  .hamburger {
    display: flex;
  }
}

/* Hero Section */
.hero {
  position: relative;
  padding: 8rem 5%;
  text-align: center;
  background: radial-gradient(circle at center, var(--bg-surface-elevated) 0%, var(--bg-main) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,51,102,0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(255,204,0,0.05) 0%, transparent 40%);
  animation: pulseBg 15s infinite alternate;
  z-index: 0;
}

@keyframes pulseBg {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff, var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

/* Cards Section */
.section-container {
  padding: 5rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-main);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent-primary);
  margin: 1rem auto 0;
  border-radius: 2px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
}

.shop-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
}

.shop-card:hover {
  transform: translateY(-10px);
  border-color: var(--border-color);
  box-shadow: 0 15px 35px var(--shadow-color);
}

.card-img-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.shop-card:hover .card-img {
  transform: scale(1.08);
}

.card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--accent-tertiary);
  margin-bottom: 1rem;
}

.card-btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 0.8rem;
  background: rgba(255, 51, 102, 0.1);
  color: var(--accent-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.card-btn:hover {
  background: var(--accent-primary);
  color: #fff;
}

/* Detail Pages */
.detail-hero {
  height: 60vh;
  min-height: 400px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 5rem 5%;
}

.detail-hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  object-fit: cover;
  width: 100%;
  height: 100%;
  filter: brightness(0.4);
}

.detail-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
}

.detail-meta {
  color: var(--accent-tertiary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.detail-content {
  max-width: 900px;
  margin: -4rem auto 4rem;
  background: var(--bg-surface);
  padding: 3rem;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  border: 1px solid var(--glass-border);
}

.detail-content h2 {
  color: var(--accent-secondary);
  margin: 2rem 0 1rem;
  font-size: 1.8rem;
}

.detail-content p {
  margin-bottom: 1.2rem;
  color: var(--text-muted);
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.pros-cons h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.pros-cons ul {
  list-style: none;
}

.pros-cons li {
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  position: relative;
  padding-left: 1.5rem;
}

.pros-cons li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #4CAF50;
}

.cons li::before {
  content: '×';
  color: var(--accent-primary);
}

.official-link-box {
  background: var(--bg-surface-elevated);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  margin-top: 3rem;
  border: 1px solid var(--border-color);
}

/* Legal Pages */
.legal-container {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 5%;
}

.legal-container h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--accent-primary);
}

.legal-container p, .legal-container li {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.legal-container h2 {
  margin: 2rem 0 1rem;
  font-size: 1.5rem;
}

.legal-container ul {
  padding-left: 20px;
  margin-bottom: 1rem;
}

/* Contact Form */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 4rem auto;
  max-width: 1000px;
  padding: 0 5%;
}

.contact-info {
  background: var(--bg-surface);
  padding: 3rem;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
}

.contact-info h3 {
  margin-bottom: 1.5rem;
  color: var(--accent-secondary);
}

.contact-info p {
  margin-bottom: 1rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
}

.contact-info p strong {
  color: var(--text-main);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 1rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-main);
  font-family: var(--font-body);
  transition: var(--transition-smooth);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(255, 51, 102, 0.2);
}

/* Footer */
.site-footer {
  background: var(--bg-surface-elevated);
  padding: 4rem 5% 2rem;
  border-top: 1px solid var(--glass-border);
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto 3rem;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

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

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-col ul a:hover {
  color: var(--accent-primary);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(30, 17, 23, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-text {
  max-width: 70%;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.cookie-text a {
  text-decoration: underline;
  color: var(--accent-tertiary);
}

.cookie-actions {
  display: flex;
  gap: 1rem;
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--glass-border);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-outline:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .pros-cons {
    grid-template-columns: 1fr;
  }
  .detail-content {
    padding: 2rem;
    margin-top: -2rem;
  }
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .cookie-text {
    max-width: 100%;
  }
}