/* ormastoto — Daylight Studio theme */
:root {
  --bg-page: #E8F0F2;
  --bg-section: #F4F8F9;
  --bg-card: #FFFFFF;
  --bg-elevated: #F0F6F7;
  --bg-footer: #0B2A32;
  --bg-header: rgba(244, 248, 249, 0.88);
  --border: #C5D5DA;
  --border-subtle: #D7E4E8;
  --text-heading: #0B2A32;
  --text-body: #3D5A63;
  --text-muted: #6B858E;
  --accent: #0F766E;
  --accent-deep: #0D9488;
  --accent-green: #059669;
  --accent-gold: #CA8A04;
  --accent-ink: #0B2A32;
  --accent-coral: #E11D48;
  --grad-dl: linear-gradient(135deg, #0F766E, #0D9488);
  --grad-login: linear-gradient(135deg, #0B2A32, #164E63);
  --grad-reg: linear-gradient(135deg, #BE123C, #E11D48);
  --shadow-card: 0 1px 0 rgba(11, 42, 50, 0.04), 0 12px 32px rgba(11, 42, 50, 0.06);
  --shadow-cta: 0 8px 20px rgba(15, 118, 110, 0.22);
  --shadow-glow: none;
  --font-display: "Syne", "Segoe UI", sans-serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-heading);
  line-height: 1.7;
  overflow-x: hidden;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(13, 148, 136, 0.14), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(190, 18, 60, 0.07), transparent 50%),
    linear-gradient(180deg, #F4F8F9 0%, var(--bg-page) 40%, #E4EEEF 100%);
  background-attachment: fixed;
  min-height: 100vh;
  padding-top: 64px;
}

body.fx-layout {
  padding-top: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

header,
body > header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-header);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

body > header {
  z-index: 500;
}

.sm6afe-hw {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: relative;
  gap: 12px;
}

.sm6afe-hw > a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  min-width: 0;
}

.sm6afe-hw > a img {
  height: 40px;
  width: 40px;
  max-height: 40px;
  max-width: 40px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.sm6afe-hw > a span {
  font-family: var(--font-display);
  font-size: 18px;
  white-space: nowrap;
  color: var(--accent);
}

#nav {
  display: none;
}

#nav a {
  text-decoration: none;
  color: var(--text-body);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-weight: 600;
  font-size: 14px;
}

#nav a:hover,
#nav a[aria-current="page"] {
  color: var(--accent);
}

#mbt {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

#mbt span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--text-heading);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

#mbt.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

#mbt.active span:nth-child(2) {
  opacity: 0;
}

#mbt.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.sm6afe-hw-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.sm6afe-hw-auth {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.sm6afe-hw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: transform 0.15s, filter 0.15s;
  line-height: 1.2;
}

.sm6afe-hw-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.sm6afe-hw-btn-login {
  color: #fff !important;
  background: var(--grad-login);
}

.sm6afe-hw-btn-reg {
  color: #fff !important;
  background: var(--grad-reg);
}

.sm6afe-cta-dl,
.sm6afe-cta-login,
.sm6afe-cta-reg {
  display: block;
  padding: 16px 24px;
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: transform 0.2s, filter 0.2s;
  box-shadow: var(--shadow-cta);
  font-family: var(--font-body);
}

.sm6afe-cta-dl:hover,
.sm6afe-cta-login:hover,
.sm6afe-cta-reg:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.sm6afe-cta-dl {
  background: var(--grad-dl);
}

.sm6afe-cta-login {
  background: var(--grad-login);
  box-shadow: 0 8px 20px rgba(11, 42, 50, 0.18);
}

.sm6afe-cta-reg {
  background: var(--grad-reg);
  box-shadow: 0 8px 20px rgba(225, 29, 72, 0.18);
}

.sm6afe-cta-link {
  display: block;
  padding: 12px 24px;
  color: var(--accent) !important;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

main {
  max-width: 768px;
  margin: 0 auto;
}

body.fx-layout main {
  max-width: none !important;
  margin: 0;
  padding: 0;
}

body.fx-layout main > section,
body.fx-layout main > article,
body.fx-layout main > aside {
  max-width: none;
}

main > section,
main > article,
main > aside {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 16px;
}

section[data-s="hero"] {
  text-align: center;
}

.sm6afe-hero-tagline {
  font-family: var(--font-display);
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.25;
}

section[data-s="featured"] {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 32px 16px 40px;
  text-align: center;
  background: transparent;
}

body.fx-layout section[data-s="featured"] {
  max-width: var(--fx-max, 1120px);
  width: 100%;
  margin: 0 auto 28px;
  padding: 28px var(--fx-gutter, 24px) 36px;
  text-align: left;
}

section[data-s="featured"] h2 {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 0 0 6px;
  color: var(--text-heading);
  font-weight: 800;
}

.sm6afe-ball-sub,
.sm6afe-section-sub {
  font-size: 13px;
  color: var(--text-body);
  margin: 0 auto 18px;
  max-width: 560px;
  line-height: 1.6;
}

footer {
  padding: 36px 20px 48px;
  text-align: center;
  color: rgba(244, 248, 249, 0.72);
  border-top: none;
  background:
    linear-gradient(180deg, #0F3A44 0%, var(--bg-footer) 100%);
  margin-top: 24px;
}

footer a {
  color: #5EEAD4;
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  text-decoration: underline;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 16px;
}

.footer-age {
  margin-top: 10px;
  font-size: 12px;
  opacity: 0.8;
}

@media (min-width: 768px) {
  body {
    padding-top: 68px;
  }

  .sm6afe-hw {
    height: 68px;
    padding: 0 24px;
  }

  #nav {
    display: flex;
    gap: 8px;
    align-items: center;
  }

  #nav a {
    border: 0;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
  }

  #nav a:hover,
  #nav a[aria-current="page"] {
    background: rgba(15, 118, 110, 0.1);
  }

  #mbt {
    display: none;
  }
}
