/*
Theme Name: StraightFlix
Theme URI: https://straightflix.com
Author: StraightFlix
Description: A dark, game-first landing page for the StraightFlix server.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: straightflix
*/

:root {
  --ink: #f7f2e7;
  --muted: #b9b4aa;
  --paper: #171713;
  --panel: #211f1a;
  --line: rgba(247, 242, 231, .16);
  --gold: #e6b85c;
  --gold-strong: #f4ca6b;
  --green: #72d49a;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.sf-wrap { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.sf-eyebrow { color: var(--gold); font-size: .75rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.sf-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 999px; padding: 13px 22px; font-weight: 800; text-decoration: none; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.sf-button:hover { transform: translateY(-2px); }
.sf-button--gold { background: var(--gold); color: #211b0e; }
.sf-button--gold:hover { background: var(--gold-strong); }
.sf-button--ghost { border-color: var(--line); color: var(--ink); }
.sf-button--ghost:hover { border-color: var(--gold); color: var(--gold-strong); }

.sf-site-header { position: absolute; z-index: 3; width: 100%; padding: 24px 0; }
.sf-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.sf-brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 900; letter-spacing: -.04em; text-decoration: none; font-size: 1.18rem; }
.sf-mark { width: 31px; height: 31px; border: 2px solid var(--gold); border-radius: 9px 9px 9px 2px; transform: rotate(-12deg); position: relative; }
.sf-mark::after { content: ""; position: absolute; width: 7px; height: 7px; background: var(--gold); border-radius: 50%; top: 6px; left: 7px; box-shadow: 9px 8px 0 var(--gold); }
.sf-nav { display: flex; gap: 26px; color: var(--muted); font-size: .9rem; }
.sf-nav a { text-decoration: none; }
.sf-nav a:hover { color: var(--ink); }

.sf-hero { min-height: 720px; display: grid; place-items: center; position: relative; overflow: hidden; background: linear-gradient(90deg, rgba(13, 13, 11, .94) 0%, rgba(13, 13, 11, .74) 45%, rgba(13, 13, 11, .37) 100%), url("assets/world.jpg") center/cover; }
.sf-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 180px; background: linear-gradient(transparent, var(--paper)); }
.sf-hero-content { position: relative; z-index: 1; padding: 130px 0 90px; max-width: 700px; margin-right: auto; }
.sf-hero h1 { max-width: 690px; margin: 18px 0 22px; font-size: clamp(3.3rem, 8vw, 6.8rem); line-height: .91; letter-spacing: -.075em; }
.sf-hero h1 span { color: var(--gold); }
.sf-hero p { max-width: 565px; color: #d1ccc1; font-size: 1.18rem; }
.sf-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.sf-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; color: var(--muted); font-size: .85rem; }
.sf-status-dot { width: 9px; height: 9px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 5px rgba(114,212,154,.12); }

.sf-section { padding: 110px 0; }
.sf-section--tight { padding-top: 25px; }
.sf-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.sf-section-heading h2 { max-width: 570px; margin: 10px 0 0; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -.055em; }
.sf-section-heading p { max-width: 400px; color: var(--muted); margin: 0; }
.sf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sf-card { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.sf-card h3 { margin: 44px 0 8px; font-size: 1.3rem; }
.sf-card p { color: var(--muted); margin: 0; }
.sf-card-icon { color: var(--gold); font-size: 1.3rem; }
.sf-server { background: #1c1b17; }
.sf-server-inner { display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: 70px; }
.sf-server h2 { max-width: 600px; margin: 12px 0 17px; font-size: clamp(2.1rem, 4vw, 3.7rem); line-height: .98; letter-spacing: -.06em; }
.sf-server p { color: var(--muted); max-width: 580px; }
.sf-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sf-fact { border-top: 1px solid var(--line); padding: 18px 0; }
.sf-fact strong { display: block; color: var(--ink); font-size: 1.55rem; }
.sf-fact span { color: var(--muted); font-size: .84rem; }
.sf-downloads { background: #11110f; }
.sf-download-card { display: flex; align-items: center; gap: 18px; min-height: 175px; }
.sf-platform { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: rgba(230,184,92,.13); color: var(--gold); font-weight: 900; }
.sf-download-card h3 { margin: 0 0 5px; }
.sf-download-card p { font-size: .9rem; }
.sf-download-card .sf-button { margin-left: auto; flex-shrink: 0; padding: 10px 16px; font-size: .85rem; }
.sf-download-card.is-unavailable { opacity: .64; }
.sf-download-card.is-unavailable .sf-button { pointer-events: none; }
.sf-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .85rem; }
.sf-footer-inner { display: flex; justify-content: space-between; gap: 20px; }

@media (max-width: 760px) {
  .sf-wrap { width: min(calc(100% - 28px), var(--max)); }
  .sf-nav { display: none; }
  .sf-hero { min-height: 650px; background-position: 64% center; }
  .sf-hero-content { padding-top: 120px; }
  .sf-grid, .sf-server-inner { grid-template-columns: 1fr; }
  .sf-section-heading { display: block; }
  .sf-section-heading p { margin-top: 18px; }
  .sf-download-card { align-items: flex-start; flex-wrap: wrap; }
  .sf-download-card .sf-button { margin-left: 62px; }
  .sf-footer-inner { display: block; }
}
