/* cloud_rose — socialcasinoradar.com */
:root {
  --bg: #FDF7F9;
  --surface: #FFFFFF;
  --surface-alt: #F6EBEF;
  --primary: #E11D63;
  --primary-hover: #BE185D;
  --secondary: #7C3AED;
  --accent: #0D9488;
  --text: #1F1720;
  --text-secondary: #57505A;
  --text-muted: #A79FA8;
  --border: rgba(31, 23, 32, 0.10);
  --radius: 14px;
  --font-display: "Avenir Next", "Segoe UI", Candara, "Gill Sans", sans-serif;
  --font-body: "Avenir Next", "Segoe UI", Candara, Calibri, sans-serif;
  --max: 720px;
  --header-h: 4rem;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-hover);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* —— Atmosphere —— */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 60% at 80% 10%, rgba(225, 29, 99, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 50% at 8% 85%, rgba(13, 148, 136, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 40%, rgba(246, 235, 239, 0.9), transparent 70%),
    var(--bg);
}

.atmosphere__wash {
  position: absolute;
  inset: -20%;
  background:
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 28px,
      rgba(31, 23, 32, 0.015) 28px,
      rgba(31, 23, 32, 0.015) 29px
    );
  animation: drift 28s linear infinite;
  opacity: 0.9;
}

.atmosphere__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.55;
  animation: float 16s ease-in-out infinite;
}

.atmosphere__orb--rose {
  width: min(52vw, 420px);
  height: min(52vw, 420px);
  background: rgba(225, 29, 99, 0.22);
  top: -8%;
  right: -6%;
}

.atmosphere__orb--teal {
  width: min(40vw, 320px);
  height: min(40vw, 320px);
  background: rgba(13, 148, 136, 0.18);
  bottom: 8%;
  left: -10%;
  animation-delay: -6s;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-40px, 20px, 0); }
}

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(12px, -18px, 0) scale(1.05); }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* —— Header / Footer —— */
.site-header {
  position: relative;
  z-index: 10;
  padding: 1.25rem 1.5rem;
}

.site-header__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--text);
}

.brand__mark {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
}

.brand__name {
  line-height: 1.2;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

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

.site-footer {
  margin-top: auto;
  padding: 1.75rem 1.5rem 2rem;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
}

.site-footer__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.site-footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.35rem;
}

.site-footer nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
}

.site-footer nav a:hover {
  color: var(--primary);
}

/* —— Hero (coming soon) —— */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 1.5rem 4rem;
  position: relative;
  min-height: calc(100vh - var(--header-h) - 6rem);
}

.hero__plane {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__radar {
  position: absolute;
  width: min(120vw, 900px);
  height: min(120vw, 900px);
  right: -18%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.35;
}

.hero__radar circle {
  fill: none;
  stroke: var(--primary);
  stroke-width: 1;
}

.hero__radar .ring {
  opacity: 0.35;
  transform-origin: 200px 200px;
  animation: pulse-ring 6s ease-in-out infinite;
}

.hero__radar .ring:nth-child(2) { animation-delay: -1.5s; opacity: 0.28; }
.hero__radar .ring:nth-child(3) { animation-delay: -3s; opacity: 0.2; }

.hero__radar .sweep {
  fill: url(#sweepGrad);
  transform-origin: 200px 200px;
  animation: sweep 10s linear infinite;
  opacity: 0.45;
}

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 0.35; }
  50% { transform: scale(1.03); opacity: 0.5; }
}

@keyframes sweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  text-align: left;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 7vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 1.35rem;
  animation: rise 0.7s ease-out both;
}

.hero__brand span {
  display: block;
  background: linear-gradient(115deg, var(--primary) 0%, #C2185B 45%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.75rem;
  animation: rise 0.7s ease-out 0.12s both;
}

.hero__lead {
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  color: var(--text-secondary);
  max-width: 34ch;
  margin-bottom: 1.75rem;
  animation: rise 0.7s ease-out 0.22s both;
}

.notify {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  max-width: 420px;
  animation: rise 0.7s ease-out 0.34s both;
}

.notify__fields {
  display: contents;
}

.notify label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.notify input[type="email"] {
  flex: 1 1 200px;
  min-width: 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}

.notify input[type="email"]::placeholder {
  color: var(--text-muted);
}

.notify input[type="email"]:hover {
  border-color: rgba(225, 29, 99, 0.35);
}

.notify button {
  flex: 0 0 auto;
  padding: 0.85rem 1.35rem;
  border: none;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.notify button:hover {
  background: var(--primary-hover);
}

.notify button:active {
  transform: scale(0.98);
}

.notify__note {
  flex: 1 1 100%;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.notify__thanks {
  display: none;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
  animation: rise 0.4s ease-out both;
}

.notify.is-done .notify__fields {
  display: none;
}

.notify.is-done .notify__thanks {
  display: block;
}

/* —— Legal pages —— */
.legal {
  flex: 1;
  padding: 2rem 1.5rem 3.5rem;
}

.legal__inner {
  max-width: 680px;
  margin: 0 auto;
  animation: rise 0.55s ease-out both;
}

.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
  line-height: 1.15;
}

.legal__updated {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.legal h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.015em;
  margin-top: 1.75rem;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.legal p,
.legal li {
  color: var(--text-secondary);
  font-size: 0.975rem;
  margin-bottom: 0.85rem;
}

.legal ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal li {
  margin-bottom: 0.4rem;
}

.legal li::marker {
  color: var(--primary);
}

/* —— Cookie banner —— */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1000;
  max-width: 480px;
  margin: 0 auto;
  padding: 1.15rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(31, 23, 32, 0.08);
  transform: translateY(120%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s;
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.cookie-banner p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.cookie-banner p a {
  font-weight: 500;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-banner__actions button {
  flex: 1 1 auto;
  min-width: 110px;
  padding: 0.65rem 1rem;
  border-radius: calc(var(--radius) - 4px);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-accept {
  border: none;
  background: var(--primary);
  color: #fff;
}

.btn-accept:hover {
  background: var(--primary-hover);
}

.btn-decline {
  border: 1px solid var(--border);
  background: var(--surface-alt);
  color: var(--text-secondary);
}

.btn-decline:hover {
  border-color: rgba(31, 23, 32, 0.2);
  color: var(--text);
}

/* —— Utilities —— */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 560px) {
  .site-header {
    padding: 1rem 1.15rem;
  }

  .nav-links {
    gap: 0.85rem;
  }

  .nav-links a {
    font-size: 0.8rem;
  }

  .brand__name {
    font-size: 0.9rem;
  }

  .hero {
    padding: 1.5rem 1.15rem 3rem;
  }

  .hero__radar {
    opacity: 0.22;
    right: -35%;
  }

  .notify button {
    flex: 1 1 100%;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
  }
}
