/* ── Local Fonts ── */
/* Grand Hotel - 400 */
@font-face {
  font-family: 'Grand Hotel';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/grandhotel-400.woff2') format('woff2');
}

/* Inter - 400 */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-400.woff2') format('woff2');
}

/* Inter - 500 */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-500.woff2') format('woff2');
}

/* Inter - 600 */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-600.woff2') format('woff2');
}

/* Inter - 700 */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/inter-700.woff2') format('woff2');
}

:root {
  --bg: #f8f9fa;
  --surface: #ffffff;
  --primary: #fb3640;
  --primary-hover: #e02f38;
  --text-primary: #1a1a1a;
  --text-secondary: #54656f;
  --border: rgba(0, 0, 0, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e0e;
    --surface: #131313;
    --primary: #fb3640;
    --text-primary: #ffffff;
    --text-secondary: #ababab;
    --border: rgba(255, 255, 255, 0.05);
  }
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  padding-top: env(safe-area-inset-top);
  min-height: calc(4rem + env(safe-area-inset-top));
  border-bottom: 1px solid var(--border);
  background-color: var(--surface);
  position: sticky;
  top: 0;
  z-index: 50;
}

.logo {
  font-family: 'Grand Hotel', cursive;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-login {
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
}

.btn-join {
  text-decoration: none;
  background-color: var(--primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  transition: opacity 0.2s;
}

.btn-join:hover {
  opacity: 0.9;
}

.main-container {
  flex: 1;
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.content-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--primary);
}

h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  background-color: var(--surface);
  margin-top: auto;
}

.footer-container {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-primary);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-secondary);
  opacity: 0.6;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background-color: var(--surface);
}

.contact-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.contact-card a {
  color: var(--primary);
  word-break: break-all;
  font-weight: 600;
}

::selection {
  background-color: rgba(251, 54, 64, 0.3);
}
