/*
Theme Name: 444 Events Landing
Theme URI: https://example.com
Author: 444 Events
Description: One-page landing theme for 444 Events. Dark background with a fire glow, big logo, intro text, and two buttons linking to the event page and ticket shop. All content is editable via Appearance > Customize.
Version: 2.2
Requires at least: 5.0
Tested up to: 6.7
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: events444
*/

:root {
  --bg: #0a0505;
  --glow-ember: rgba(255, 94, 0, 0.5);
  --glow-red: rgba(232, 35, 31, 0.22);
  --glow-yellow: rgba(255, 190, 0, 0.22);
  --text: #fdf6ef;
  --text-muted: #c2ab9e;
  --red: #e8231f;
  --red-hover: #ff3b2f;
  --yellow: #ffd400;
  --surface: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 212, 0, 0.45);
}

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

html, body { height: 100%; }

body {
  font-family: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 104%, var(--glow-ember), transparent 72%),
    radial-gradient(ellipse 50% 35% at 50% 106%, var(--glow-yellow), transparent 65%),
    radial-gradient(ellipse 55% 45% at 12% -8%, var(--glow-red), transparent 70%),
    radial-gradient(ellipse 55% 45% at 88% -8%, var(--glow-red), transparent 70%);
  background-attachment: fixed;
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Keep layout intact when the admin bar shows for logged-in users */
body.admin-bar { min-height: calc(100vh - 32px); }

.f4-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
  gap: 2.5rem;
}

.f4-logo,
.f4-logo svg,
.f4-logo img,
.custom-logo {
  width: min(460px, 85vw);
  height: auto;
  display: block;
}

.f4-logo { filter: drop-shadow(0 0 35px rgba(232, 35, 31, 0.45)); }

.f4-logo a { display: block; line-height: 0; }

.f4-intro {
  max-width: 34rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.f4-intro h1,
.f4-intro h2 {
  font-family: "Archivo Black", "Arial Black", "Segoe UI", sans-serif;
  font-size: clamp(1.7rem, 4.5vw, 2.6rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-transform: uppercase;
}

.f4-intro .hot { color: var(--red); }

.f4-intro .f4-date {
  font-family: "Archivo Black", "Arial Black", "Segoe UI", sans-serif;
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  color: var(--yellow);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.f4-intro .f4-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 600;
  color: var(--text);
}

.f4-divider {
  width: min(220px, 50vw);
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--red) 30%, var(--red) 70%, transparent);
  margin: 0.75rem 0;
}

.f4-video {
  width: min(720px, 100%);
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(232, 35, 31, 0.4);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 50px rgba(232, 35, 31, 0.25);
}

.f4-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.f4-intro p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.6;
  color: var(--text-muted);
}

.f4-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 0.95rem 2.5rem;
  border-radius: 999px;
  font-family: "Archivo Black", "Arial Black", "Segoe UI", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background-color: var(--red);
  color: #fff;
  box-shadow: 0 8px 34px rgba(232, 35, 31, 0.55);
}
.btn-primary:hover { background-color: var(--red-hover); color: #fff; }

.btn-secondary {
  background-color: var(--surface);
  color: var(--yellow);
  border: 2px solid var(--border);
}
.btn-secondary:hover { border-color: var(--yellow); background-color: rgba(255, 212, 0, 0.08); color: var(--yellow); }

.f4-footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.f4-footer a { color: inherit; }

@media (max-width: 480px) {
  .f4-actions { flex-direction: column; width: 100%; max-width: 20rem; }
  .btn { width: 100%; text-align: center; }
}
