/* OnlyMatch resmi site — mobil uygulama paleti */
:root {
  --bg: #FDF5FF;
  --purple: #8A56FF;
  --purple-light: #B794F6;
  --lavender: #EEDDFF;
  --text: #2D1E40;
  --muted: #7A6B8A;
  --divider: #E8DEEE;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(138, 86, 255, 0.14);
  --radius: 24px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  min-height: 100vh;
}

a {
  color: var(--purple);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 90% -10%, rgba(183, 148, 246, 0.45), transparent 60%),
    radial-gradient(ellipse 60% 45% at -10% 80%, rgba(238, 221, 255, 0.9), transparent 55%),
    var(--bg);
}

.wrap {
  width: min(1080px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Header — menü yok, sadece marka */
.topbar {
  padding: 1.25rem 0 0.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--purple);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
  opacity: 0.92;
}

.brand img {
  width: 42px;
  height: auto;
}

/* Hero */
.hero {
  padding: 2.5rem 0 2rem;
  text-align: center;
}

.hero-kicker {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--lavender);
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
}

.hero p {
  margin: 0 auto 1.75rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.25rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
  color: var(--white);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  box-shadow: 0 14px 28px rgba(138, 86, 255, 0.35);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-play:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(138, 86, 255, 0.42);
}

.btn-play svg {
  flex-shrink: 0;
}

/* Feature cards */
.features {
  padding: 1rem 0 3.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: white;
  font-size: 1.2rem;
}

.card h2 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
  font-weight: 800;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Policy / legal pages */
.page-main {
  padding: 1.5rem 0 3rem;
}

.page-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.page-card h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text);
}

.policy-body {
  color: var(--text);
  font-size: 0.98rem;
}

.policy-body p {
  margin: 0 0 0.85rem;
}

.policy-body .heading {
  margin: 1.35rem 0 0.5rem;
  font-weight: 800;
  color: var(--purple);
  font-size: 1.05rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Delete account form */
.alert {
  border-radius: 16px;
  padding: 0.95rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.alert-warn {
  background: #fff4e8;
  border: 1px solid #ffd4a8;
  color: #8a4b12;
}

.form-label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
}

.form-input {
  width: 100%;
  max-width: 360px;
  border: 1px solid var(--divider);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
}

.form-input:focus {
  outline: 2px solid rgba(138, 86, 255, 0.35);
  border-color: var(--purple-light);
}

.btn-submit {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.4rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
  color: white;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(138, 86, 255, 0.3);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.success-box {
  display: none;
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: #eef9f1;
  border: 1px solid #b7e4c7;
  color: #1b5e34;
  font-weight: 700;
}

.success-box.is-visible {
  display: block;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--divider);
  background: rgba(255, 255, 255, 0.55);
  padding: 1.75rem 0 2rem;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--purple);
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 860px) {
  .features {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 1.75rem;
    text-align: left;
  }

  .hero p {
    margin-left: 0;
  }

  .brand img {
    width: 36px;
  }
}
