/* Classic Solitaire Support Site - Custom styles on top of Tailwind */

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

:root {
  --felt-950: #0c2218;
  --felt-900: #183d2b;
  --felt-800: #1d4a33;
  --felt-700: #225c3d;
  --felt-600: #2a734b;
  --gold-500: #d4af37;
  --gold-400: #e6c35c;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--felt-950);
  color: #e8f0ea;
}

.font-display {
  font-family: 'Playfair Display', Georgia, serif;
}

/* Subtle card pattern background */
.bg-felt-pattern {
  background-color: var(--felt-950);
  background-image: 
    radial-gradient(ellipse at 20% 30%, rgba(42, 115, 75, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(212, 175, 55, 0.06) 0%, transparent 40%);
}

/* Card-like borders and shadows */
.card-shadow {
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.gold-border {
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.gold-text {
  color: var(--gold-500);
}

.gold-underline {
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  height: 1px;
}

/* Nav link hover */
.nav-link {
  position: relative;
  transition: color 0.2s;
}
.nav-link:hover {
  color: var(--gold-400);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold-500);
  transition: width 0.25s ease;
}
.nav-link:hover::after {
  width: 100%;
}

/* Screenshot frames */
.screenshot-frame {
  border-radius: 1.25rem;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.screenshot-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6);
}

/* Feature cards */
.feature-card {
  background: linear-gradient(145deg, rgba(29, 74, 51, 0.6), rgba(12, 34, 24, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-2px);
}

/* Accordion for FAQ */
.faq-item summary {
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item[open] summary {
  color: var(--gold-400);
}
.faq-item summary .chevron {
  transition: transform 0.2s;
}
.faq-item[open] summary .chevron {
  transform: rotate(180deg);
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), #b8942a);
  color: #0c2218;
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -4px rgba(212, 175, 55, 0.4);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.2s, border-color 0.2s;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(212, 175, 55, 0.4);
}

/* Mobile menu */
#mobile-menu {
  display: none;
}
#mobile-menu.open {
  display: block;
}

/* Prose for privacy etc */
.prose-support h2 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--gold-400);
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.prose-support h3 {
  color: #c5d9cb;
  font-size: 1.15rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.prose-support p, .prose-support li {
  color: #b8cfc0;
  line-height: 1.7;
}
.prose-support ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0.5rem 0 1rem;
}
.prose-support a {
  color: var(--gold-400);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prose-support a:hover {
  color: var(--gold-500);
}
