/* =========================
   STEEL HORSE RIDERS STYLES
   ========================= */

/* GOOGLE FONTS IMPORT */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;800&family=Roboto:wght@300;400;500&family=Allura&display=swap');

/* COLOR VARIABLES */
:root {
  --bg-primary: #0F1A22;
  --bg-secondary: #1A2630;
  --panel-bg: #2A2F35;

  --text-primary: #F5F7FA;
  --text-secondary: #C0C7CE;

  --accent-blue: #2FD4FF;
  --accent-blue-soft: #6FE6FF;

  --accent-red: #B04444;

  --shadow-dark: #05080A;
}

.card img {
  border-radius: 8px;
  border: 1px solid rgba(47,212,255,0.15);
  margin-bottom: 10px;
}

/* GLOBAL RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BASE */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
  color: var(--text-primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

a:hover {
  text-shadow: 0 0 6px var(--accent-blue);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.center {
  text-align: center;
}

/* TYPOGRAPHY */
h1, h2, h3 {
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 2px;
}

h1 {
  font-size: 3rem;
  color: var(--accent-blue);
  text-shadow: 0 0 10px var(--accent-blue);
}

h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

h3 {
  font-size: 1.4rem;
  color: var(--text-secondary);
}

p {
  margin-top: 10px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.muted {
  color: var(--text-secondary);
  opacity: 0.9;
}

.accent {
  color: var(--accent-blue);
}

.script {
  font-family: 'Allura', cursive;
  font-size: 2rem;
  color: var(--accent-blue-soft);
}

/* LAYOUT */
.section {
  margin-bottom: 80px;
}

.grid {
  display: grid;
  gap: 20px;
}

.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.media-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: stretch;
  justify-content: center;
  margin-top: 20px;
}

/* PANELS / CARDS */
.panel {
  background: linear-gradient(180deg, #1A2630, #0F1A22);
  padding: 25px;
  border-radius: 10px;
  border: 1px solid rgba(47, 212, 255, 0.12);
  box-shadow: 0 10px 30px rgba(5, 8, 10, 0.6);
  margin-top: 20px;
}

.card {
  background: linear-gradient(180deg, rgba(42, 47, 53, 0.95), rgba(15, 26, 34, 0.95));
  padding: 20px;
  border-radius: 10px;
  border: 1px solid rgba(47, 212, 255, 0.10);
  box-shadow: 0 10px 30px rgba(5, 8, 10, 0.45);
  margin-top: 20px;
}

.card .title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: 1px;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 24px;
  margin: 10px 10px 0 0;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-blue);
  color: var(--accent-blue);
  background: transparent;
  cursor: pointer;
}

.btn:hover {
  background: var(--accent-blue);
  color: var(--bg-primary);
  box-shadow: 0 0 15px var(--accent-blue);
  text-shadow: none;
}

.btn-primary {
  border: 2px solid var(--accent-blue);
  color: var(--accent-blue);
  background: transparent;
}

.btn-primary:hover {
  background: var(--accent-blue);
  color: var(--bg-primary);
  box-shadow: 0 0 15px var(--accent-blue);
}

.btn-solid {
  background: var(--accent-blue);
  color: var(--bg-primary);
}

.btn-solid:hover {
  box-shadow: 0 0 20px var(--accent-blue);
}

/* HEADER / NAV */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 26, 34, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(47, 212, 255, 0.18);
  box-shadow: 0 10px 30px rgba(5, 8, 10, 0.45);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(47, 212, 255, 0.25));
}

.brand-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-primary);
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  position: relative;
  text-decoration: none;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 1px;
  color: var(--text-primary);
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.site-nav a:hover {
  color: var(--accent-blue);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent-blue);
  box-shadow: 0 0 10px rgba(47, 212, 255, 0.6);
  transition: width 0.25s ease;
}

.site-nav a:hover::after {
  width: 100%;
}

.header-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.88;
  transition: transform 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
}

.header-social a:hover {
  opacity: 1;
  transform: translateY(-2px);
  filter: drop-shadow(0 0 8px rgba(47, 212, 255, 0.35));
  text-shadow: none;
}

.header-social img {
  display: block;
  height: auto;
  max-height: 40px;
  width: auto;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: 1px solid rgba(47, 212, 255, 0.25);
  border-radius: 8px;
  padding: 10px 9px;
  cursor: pointer;
}

.nav-toggle .bar {
  width: 24px;
  height: 2px;
  background: var(--accent-blue);
  box-shadow: 0 0 8px rgba(47, 212, 255, 0.4);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* HERO / LOGO */
.hero {
  padding: 40px 0 20px;
}

.logo {
  max-width: 400px;
  margin: 0 auto 20px;
}

/* VIDEO */
.video-wrap {
  position: relative;
  display: inline-block;
  margin-top: 20px;
  max-width: 100%;
}

.promo-video {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(47, 212, 255, 0.12);
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(15, 26, 34, 0.8);
  border: 2px solid var(--accent-blue);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px rgba(47, 212, 255, 0.25);
}

.video-play:hover {
  box-shadow: 0 0 22px rgba(47, 212, 255, 0.45);
}

.video-play-icon {
  display: block;
  width: 0;
  height: 0;
  margin-left: 4px;
  border-left: 20px solid var(--accent-blue);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

.video-wrap.is-playing .video-play {
  display: none;
}

/* COLOR BLOCKS */
.color-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.color-box {
  width: 140px;
  height: 100px;
  border-radius: 6px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-size: 0.8rem;
  padding: 8px;
  color: white;
}

/* FOOTER */
.footer {
  padding: 30px 0 40px;
  border-top: 1px solid rgba(47, 212, 255, 0.12);
  margin-top: 40px;
}

.footer p {
  margin-top: 0;
  text-align: center;
}

/* FORMS */
input,
textarea,
select,
button {
  font: inherit;
}

/* MOBILE */
@media (max-width: 1024px) {
  .nav-shell {
    flex-wrap: wrap;
    min-height: 78px;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    order: 4;
  }

  .site-nav.open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0 6px;
  }

  .header-social {
    order: 3;
    width: 100%;
    justify-content: center;
    padding-bottom: 8px;
  }

  .cols-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand-text {
    font-size: 0.82rem;
    letter-spacing: 1px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .header-social {
    gap: 8px;
  }

  .header-social img {
    max-height: 34px;
  }

  h1 {
    font-size: 2.3rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .script {
    font-size: 1.7rem;
  }

  .section {
    margin-bottom: 60px;
  }

  .hero {
    padding-top: 24px;
  }
}