/* ============================================================
   MOGO FM – Global Stylesheet
   ============================================================ */

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

:root {
  --primary: #7C3AED;
  --primary-light: #A855F7;
  --primary-dark: #5B21B6;
  --accent: #F59E0B;
  --bg-dark: #0A0A0F;
  --bg-card: rgba(255, 255, 255, 0.04);
  --glass: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.10);
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.65);
  --text-muted: rgba(255, 255, 255, 0.40);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.35);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ── Animated Background Orbs ── */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: floatOrb 12s ease-in-out infinite;
}

.orb1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.30), transparent 70%);
  top: -150px;
  left: -150px;
  animation-delay: 0s;
}

.orb2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.20), transparent 70%);
  bottom: 100px;
  right: -100px;
  animation-delay: -4s;
}

.orb3 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: floatOrbCenter 12s ease-in-out infinite;
  animation-delay: -8s;
}

@keyframes floatOrb {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-30px) scale(1.05);
  }
}

@keyframes floatOrbCenter {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(-50%, calc(-50% - 30px)) scale(1.05);
  }
}

/* ── Home Page ── */
.home-container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}

/* Hero Header */
.hero-header {
  text-align: center;
  padding-top: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.logo-wrapper {
  position: relative;
  display: inline-block;
  border-radius: 24px;
  animation: logoEntrance 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.logo-img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 24px;
  display: block;
  box-shadow: 0 0 50px rgba(124, 58, 237, 0.5);
  transition: transform var(--transition), box-shadow var(--transition);
}

.logo-img:hover {
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 0 70px rgba(124, 58, 237, 0.75);
}

.logo-glow {
  position: absolute;
  inset: -12px;
  border-radius: 32px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.25), transparent 70%);
  animation: pulse 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes logoEntrance {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.85);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.brand-name {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  background: linear-gradient(135deg, #fff 30%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeUp 0.8s 0.2s both;
}

.brand-tagline {
  font-size: 1.05rem;
  color: var(--text-secondary);
  font-weight: 400;
  letter-spacing: 0.04em;
  animation: fadeUp 0.8s 0.4s both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Policy Buttons */
.policy-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  animation: fadeUp 0.8s 0.5s both;
}

.policy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  position: relative;
  overflow: hidden;
}

.policy-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.policy-btn:hover::before {
  opacity: 1;
}

.policy-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.policy-btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-icon {
  font-size: 1.05rem;
}

/* Banner */
.banner-section {
  width: 100%;
  animation: fadeUp 0.8s 0.65s both;
}

.banner-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  border: 1px solid var(--border);
}

.banner-inner {
  position: relative;
}

.banner-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  object-fit: cover;
  max-height: 420px;
}

.banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(10, 10, 15, 0.92) 0%, transparent 100%);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.banner-cta-text {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.store-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 100px;
  transition: background var(--transition), transform var(--transition);
}

.store-badge:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.badge-icon {
  font-size: 0.75rem;
}

/* Footer */
.home-footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.8;
  padding-top: 8px;
}

.home-footer a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color var(--transition);
}

.home-footer a:hover {
  color: #fff;
}


/* ============================================================
   INNER PAGES (Privacy / Terms / Copyright)
   ============================================================ */

body.inner-page {
  background: #0D0D14;
}

.inner-page-wrap {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* Sticky top bar */
.inner-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  background: rgba(13, 13, 20, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4);
  transition: transform var(--transition), box-shadow var(--transition);
}

.back-btn:hover {
  transform: translateX(-3px);
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.6);
}

.back-arrow {
  font-size: 1.1rem;
}

.inner-brand {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: linear-gradient(120deg, #fff, var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Page title */
.page-title-block {
  text-align: center;
  margin-bottom: 48px;
  animation: fadeUp 0.7s 0.1s both;
}

.page-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--primary-light);
  text-underline-offset: 6px;
}

/* Policy Content Card */
.policy-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 52px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
  animation: fadeUp 0.7s 0.2s both;
}

.policy-section {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

.policy-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.section-number {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--primary-light);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.section-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}

.section-body {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.85;
}

.section-body ul {
  list-style: none;
  padding: 0;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.section-body ul li::before {
  content: '→ ';
  color: var(--primary-light);
  font-weight: 600;
}

.section-body a {
  color: var(--primary-light);
  text-decoration: none;
}

.section-body a:hover {
  text-decoration: underline;
  color: #fff;
}

.policy-meta {
  text-align: center;
  margin-bottom: 36px;
  animation: fadeUp 0.7s 0.15s both;
}

.policy-meta p {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.effective-date {
  display: inline-block;
  background: rgba(124, 58, 237, 0.18);
  border: 1px solid rgba(124, 58, 237, 0.35);
  color: var(--primary-light);
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 6px;
}

/* Inner page footer */
.inner-footer {
  text-align: center;
  margin-top: 56px;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.8;
}

.inner-footer a {
  color: var(--primary-light);
  text-decoration: none;
}

.inner-footer a:hover {
  color: #fff;
}


/* ── Responsive ── */
@media (max-width: 680px) {
  .policy-card {
    padding: 28px 20px;
  }

  .policy-nav {
    flex-direction: column;
    align-items: center;
  }

  .policy-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .inner-topbar {
    flex-wrap: wrap;
  }
}