:root {
  --bg: #050505;
  --white: #f7f7f7;
  --muted: #b8b8b8;
  --hot: #ff005c;
  --glass: rgba(5, 5, 5, 0.72);
  --line: rgba(255, 255, 255, 0.14);

  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Inter', 'Arial Black', system-ui, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 0, 92, 0.2), transparent 28%),
    radial-gradient(circle at 18% 82%, rgba(255, 255, 255, 0.07), transparent 26%),
    linear-gradient(135deg, #050505 0%, #0b0b0b 100%);
  color: var(--white);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* TEXTURE */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
  background-size: 100% 4px, auto;
  opacity: 0.18;
  pointer-events: none;
  z-index: -1;
}

/* HEADER */
.header {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 110px) 24px 46px;
  text-align: center;
}

.tagline {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--hot);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.45em;
  text-transform: uppercase;
}

.header h1 {
  font-family: var(--font-serif);
  font-size: clamp(3.4rem, 9vw, 6.8rem);
  font-weight: 700;
  font-style: italic;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--white);
  text-shadow: 0 18px 60px rgba(0,0,0,0.65);
}

/* NAV */
#nav {
  position: sticky;
  top: 0;
  z-index: 1000;

  width: min(94%, 900px);
  margin: 0 auto;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;

  padding: 12px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  box-shadow:
    0 18px 60px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.12);
}

#nav a {
  text-decoration: none;
  color: rgba(255,255,255,0.76);
  padding: 11px 18px;
  border-radius: 999px;

  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.8px;

  transition: 0.3s ease;
}

#nav a:hover {
  color: #fff;
  background: rgba(255, 0, 92, 0.18);
  box-shadow: 0 10px 30px rgba(255, 0, 92, 0.14);
}

/* MAIN */
.main {
  position: relative;
  padding: clamp(38px, 6vw, 76px) 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main::before {
  content: "✦";
  position: absolute;
  top: 10%;
  left: 8%;
  color: var(--hot);
  font-size: clamp(42px, 6vw, 82px);
  font-weight: 950;
  transform: rotate(15deg);
  text-shadow: 0 0 32px rgba(255, 0, 92, 0.45);
}

.main::after {
  content: "✶";
  position: absolute;
  right: 9%;
  bottom: 5%;
  color: rgba(255,255,255,0.9);
  font-size: clamp(46px, 7vw, 90px);
  animation: rotate 12s linear infinite;
}

/* IFRAME FRAME */
.iframe-container {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 1120px;

  margin: 0 auto; /* 🔥 centers it */

  padding: clamp(7px, 1.2vw, 12px);

  border-radius: 32px;

  background:
    linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.025)),
    rgba(255,255,255,0.04);

  border: 1px solid rgba(255,255,255,0.14);

  box-shadow:
    22px 22px 0 var(--hot-soft),
    0 35px 90px rgba(0,0,0,0.65),
    inset 0 1px 0 rgba(255,255,255,0.12);
}

iframe {
  display: block;
  width: 100%;        /* 🔥 MUST be 100% */
  height: min(70vh, 720px);
  min-height: 480px;

  margin: 0 auto;     /* extra safety */

  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  background: #fff;
}

/* FOOTER */
.footer {
  width: min(92%, 900px);
  margin: 28px auto 44px;
  padding: 18px 24px;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;

  border-radius: 999px;
  background: rgba(255,255,255,0.075);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  box-shadow:
    0 12px 30px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.14);
}

.footer-logo {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--hot);
}

.footer p {
  font-size: 11px;
  font-weight: 900;
  color: rgba(255,255,255,0.64);
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* MOBILE */
@media (max-width: 768px) {
  .header {
    padding-top: 70px;
  }

  .tagline {
    font-size: 10px;
    letter-spacing: 0.32em;
  }

  #nav {
    width: calc(100% - 28px);
    border-radius: 24px;
    flex-wrap: wrap;
  }

  #nav a {
    padding: 10px 12px;
    font-size: 10px;
  }

  .main {
    padding: 36px 18px;
  }

.iframe-container {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 1120px;

  margin: 0 auto; /* 🔥 centers it */

  padding: clamp(7px, 1.2vw, 12px);

  border-radius: 32px;

  background:
    linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.025)),
    rgba(255,255,255,0.04);

  border: 1px solid rgba(255,255,255,0.14);

  box-shadow:
    22px 22px 0 var(--hot-soft),
    0 35px 90px rgba(0,0,0,0.65),
    inset 0 1px 0 rgba(255,255,255,0.12);
}



  .footer {
    width: calc(100% - 36px);
    border-radius: 24px;
    flex-direction: column;
    text-align: center;
  }
}

.back-btn {
  position: fixed;
  top: 30px;
  left: 30px;
  z-index: 9999;
  pointer-events: auto;

  padding: 12px 20px;
  border-radius: 999px;

  background: rgba(20, 20, 20, 0.85);
  color: #fff;

  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(14px);

  font-weight: 900;
  cursor: pointer;
  transition: 0.3s ease;
}