/* ============================================
   USTIVO Instructions Page — style.css
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

:root {
  --amber:        #F59E0B;
  --amber-dark:   #D97706;
  --amber-glow:   rgba(245, 158, 11, 0.25);
  --amber-subtle: rgba(245, 158, 11, 0.08);
  --bg-base:      #050505;
  --bg-card:      #0C0C0C;
  --bg-elevated:  #111111;
  --border:       rgba(255, 255, 255, 0.08);
  --border-hover: rgba(245, 158, 11, 0.3);
  --text-primary: #F4F4F5;
  --text-muted:   #cacacc;
  --text-subtle:  #3F3F46;
  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  background: var(--bg-base);
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #60A5FA;
  text-decoration: none;
  font-weight: 600;
}

a:hover {
  color: #93C5FD;
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-5);
}

@media (min-width: 640px) {
  .container { padding: 0 var(--sp-8); }
}

@media (min-width: 1024px) {
  .container { padding: 0 var(--sp-10); }
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--sp-4) 0;
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
}

.header-logo img {
  height: 36px;
  width: auto;
}

.header-logo span {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.header-nav {
  display: none;
  gap: var(--sp-8);
  list-style: none;
}

@media (min-width: 768px) {
  .header-nav {
    display: flex;
  }
}

.header-nav a {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
}

.header-nav a:hover {
  color: var(--text-primary);
}

.header-nav a.active {
  color: var(--amber);
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: var(--sp-4);
  letter-spacing: -0.02em;
  line-height: 1.15;
  background: linear-gradient(160deg, #FFFFFF 0%, #A1A1AA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.video-subtitle {
  text-align: center;
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.video-wrapper {
  width: 100%;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.video-wrapper iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  background: #000;
}

.video-guide {
  width: 100%;
}

@media (max-width: 768px) {
  .video-wrapper {
    border-radius: var(--radius-md);
  }
}

.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: var(--sp-10) 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-5);
  text-align: center;
}

@media (min-width: 640px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-copy {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-5);
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
}

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

.text-center { text-align: center; }

.video-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:32px;
    align-items:start;
}

@media (max-width:768px){

    .video-grid{
        grid-template-columns:1fr;
        gap:24px;
    }

}