/* ROOT COLORS */
:root {
  --text-main: #fff;
  --text-sub: #c9ccd8;
  --accent-orange: #ff8800;
  --accent-orange-soft: #ffaa44;
  --fb-blue: #1877f2;
}

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

body {
  background: #000;
  font-family: system-ui, sans-serif;
  color: var(--text-main);
  overflow-x: hidden;
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem;
  position: relative;
  z-index: 10;
}

/* HERO COLLAGE */
.hero-bg {
  position: fixed;
  inset: 0;
  z-index: -20;
  background:
    url("images/gorge.jpg") left top/40% no-repeat,
    url("images/bear.jpg") center/40% no-repeat,
    url("images/berlin.jpg") right bottom/40% no-repeat;
  filter: blur(18px) brightness(0.45);
  opacity: 0.55;
}

.hero-bg-tint {
  position: fixed;
  inset: 0;
  z-index: -10;
  background:
    radial-gradient(circle at top, rgba(255, 136, 0, 0.25), transparent 60%),
    linear-gradient(to bottom, rgba(0,0,0,0.7), #000);
}

/* HEADER */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-soft));
  border-radius: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
}

.brand-title {
  letter-spacing: 0.15em;
  font-size: 0.9rem;
  font-weight: 700;
}

.brand-watch { color: #fff; }
.brand-r { color: var(--accent-orange); }

.brand-sub {
  font-size: 0.7rem;
  color: #9ea2b0;
}

.header-right {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.7rem;
  color: #9ea2b0;
}

.pill {
  padding: 0.25rem 0.7rem;
  border-radius: 2rem;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(0,0,0,0.4);
}

/* HERO */
.hero {
  text-align: center;
  margin-bottom: 2.5rem;
}

.hero-title {
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.hero-sub {
  max-width: 560px;
  margin: 0 auto;
  color: var(--text-sub);
  line-height: 1.45;
}

/* CTA ROW */
.cta-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.3rem;
}

@media (min-width: 750px) {
  .cta-row {
    grid-template-columns: 1fr 1fr;
  }
}

.cta {
  background: rgba(8, 10, 20, 0.95);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 1.2rem;
  padding: 1.2rem;
}

.cta-label {
  padding: 0.65rem 0.9rem;
  border-radius: 0.8rem;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 0.85rem;
}

.cta-orange {
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-soft));
  box-shadow: 0 0 18px rgba(255,136,0,0.5);
}

.cta-blue {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
}

.cta-body-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.cta-body-sub {
  color: var(--text-sub);
  margin-bottom: 1rem;
  font-size: 0.82rem;
}

/* FORM */
.notify-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-sub);
}

.notify-select {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 0.6rem;
  background: rgba(20, 20, 28, 0.85);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 1rem;
}

.input-group {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(15, 18, 28, 0.8);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.55rem 0.7rem;
  border-radius: 0.6rem;
  margin-bottom: 0.8rem;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.input-group.readonly {
  opacity: 0.35;
}

.input-group:not(.readonly) {
  opacity: 1;
  border-color: rgba(255,255,255,0.28);
}

.input-group input {
  border: none;
  background: transparent;
  color: #fff;
  font-size: 0.85rem;
  width: 100%;
  outline: none;
}

.input-group input[readonly] {
  cursor: not-allowed;
}

.icon svg {
  display: block;
}

.divider {
  text-align: center;
  color: #666;
  font-size: 0.75rem;
  margin: 0.6rem 0;
}

/* BUTTONS */
.btn-submit {
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-soft));
  border: none;
  padding: 0.7rem;
  border-radius: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  width: 100%;
  box-shadow: 0 0 18px rgba(255,136,0,0.5);
  cursor: pointer;
}

.btn-fb {
  background: var(--fb-blue);
  border: none;
  padding: 0.7rem;
  border-radius: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  color: white;
  cursor: pointer;
}

.full {
  width: 100%;
}

.fb-icon {
  width: 1.1rem;
  height: 1.1rem;
  background: white;
  color: var(--fb-blue);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SUCCESS / ERROR */
.error-text {
  color: #ff7a7a;
  font-size: 0.75rem;
  margin-top: 0.4rem;
  display: none;
}

.success-text {
  color: #48f16b;
  font-size: 0.8rem;
  margin-top: 0.7rem;
  display: none;
}

/* TILES */
.tiles {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 750px) {
  .tiles {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tile {
  border-radius: 1rem;
  overflow: hidden;
  background: #0c0e17;
  border: 1px solid rgba(255,255,255,0.12);
}

.poster {
  aspect-ratio: 2 / 3;
  background-size: cover;
  background-position: center;
}

.tile-body {
  padding: 0.7rem;
  font-size: 0.8rem;
}

.platform {
  color: #9ea2b0;
  font-size: 0.7rem;
  margin-bottom: 0.2rem;
}

/* FOOTER */
.footer {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.75rem;
  color: #9ea2b0;
}

/* MOCK FACEBOOK CONSENT MODAL */
.fb-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.fb-modal-overlay[hidden] {
  display: none;
}

.fb-modal {
  width: 100%;
  max-width: 360px;
  background: #fff;
  border-radius: 1.2rem;
  overflow: hidden;
  color: #1c1e21;
}

.fb-modal-f-icon {
  width: 2.2rem;
  height: 2.2rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--fb-blue);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fb-modal-body {
  padding: 1.6rem 1.4rem;
  text-align: center;
}

.fb-modal-avatars {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
}

.fb-modal-avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #e4e6eb;
}

.fb-modal-app-icon {
  width: 2.4rem;
  height: 2.4rem;
  font-size: 0.8rem;
  margin-left: -0.8rem;
  border: 2px solid #fff;
}

.fb-modal-title {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.fb-modal-perms {
  font-size: 0.8rem;
  color: #65676b;
  margin-bottom: 1rem;
}

.fb-modal-body .input-group {
  background: #f0f2f5;
  border-color: rgba(0,0,0,0.1);
}

.fb-modal-body .input-group input {
  color: #1c1e21;
}

.fb-modal-cancel {
  width: 100%;
  background: none;
  border: none;
  color: #65676b;
  font-size: 0.85rem;
  padding: 0.6rem;
  margin-top: 0.4rem;
  cursor: pointer;
}

.fb-modal-disclaimer {
  font-size: 0.7rem;
  color: #9ea2b0;
  margin-top: 0.8rem;
}
