/* gold carbon fiber + beige hacker theme - mobile-first, single stylesheet */

/* Reset and root tokens */
:root {
  --bg: #000;
  --beige: #f5e8cc;
  --beige-dark: #e6d4b5;
  --gold: #d4af37;
  --text: #f6f0e0;
  --text-dim: #d9cdb2;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(255, 255, 255, 0.18);
  --shadow: rgba(0,0,0,.5);
}

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

html, body { height: 100%; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background-color: #000;
  /* gold carbon fiber background */
  background-image:
    linear-gradient(135deg, rgba(212, 175, 55, 0.25) 25%, transparent 25%),
    linear-gradient(225deg, rgba(212, 175, 55, 0.25) 25%, transparent 25%);
  background-size: 48px 48px;
  background-position: 0 0, 24px 24px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header (frosted glass / beige accents) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: center;
  background: linear-gradient(to right, rgba(0,0,0,0.25), rgba(0,0,0,0.15));
  border-bottom: 1px solid rgba(255, 214, 130, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.brand {
  font-weight: 900;
  color: var(--beige);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.85);
  letter-spacing: .5px;
  font-size: 1.05rem;
}

/* Main content area */
main { width: 100%; flex: 1 1 auto; }

/* Hero: two-column grid on larger screens, stacked on mobile */
.hero { padding: 2rem 1rem; display: flex; justify-content: center; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
  width: 100%;
  max-width: 1100px;
  padding: 0 1rem;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
  box-shadow: 0 14px 40px rgba(0,0,0,.55);
  filter: saturate(1.05);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--text);
}

.hero-content h1 {
  font-size: 1.9rem;
  line-height: 1.15;
  margin: 0;
  color: #f7e6cc;
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.8);
}

.hero-content h2 {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dim);
  margin: 0;
}

.cta {
  display: inline-block;
  align-self: flex-start;
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  color: #0b0a00;
  background: linear-gradient(135deg, #ffd87a 0%, #f0c36a 60%, #d0a13a 100%);
  box-shadow: 0 6px 16px rgba(212, 174, 75, 0.6);
  border: 1px solid rgba(0,0,0,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(212, 174, 75, 0.8); }
.cta:focus-visible { outline: 3px solid rgba(212, 174, 75, 0.95); outline-offset: 2px; }

/* Two-column layout on larger screens */
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
  }
  .hero-content { padding: 2rem; }
  .hero-content h1 { font-size: 2.25rem; }
  .hero-content h2 { font-size: 1.02rem; }
  .hero-image { border-radius: 16px; }
}

/* Footer / advertisement */
.site-footer {
  padding: 1rem;
  text-align: center;
  font-size: 0.92rem;
  color: #e9d8c1;
  background: rgba(0, 0, 0, 0.5);
  border-top: 1px solid rgba(255, 214, 130, 0.25);
}

.advertisement {
  color: #f0e0bf;
  margin-bottom: 0.25rem;
}
.advertisement a {
  color: #ffd98a;
  font-weight: 700;
  text-decoration: none;
}
.advertisement a:hover { text-decoration: underline; }

.thank-you { margin: 0.25rem 0; color: #f4ecd4; }

/* Accessibility: focus styles for links */
a:focus-visible {
  outline: 3px solid rgba(212, 174, 75, 0.95);
  outline-offset: 2px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .cta { transition: none; }
  .cta:hover { transform: none; }
}