/*
  Aspire Loft Site Styles
  All custom styling lives here. All color values come from css/theme.css.
*/

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Heebo", Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--page-bg);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

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

.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;
}


a {
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

a:hover {
  color: var(--brand-hover);
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

p {
  color: var(--text-muted);
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading);
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* Home page */
.page-home {
  background: var(--page-bg);
}

.navbar {
  background: var(--navbar-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 14px 0;
}

.navbar .container {
  gap: 16px;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
  padding: 0;
}

.icon_img {
  width: 42px;
  height: 42px;
  display: block;
}

.menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 10px 17px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--heading-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.045em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.menu-button::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.menu-button:hover,
.menu-button[aria-expanded="true"] {
  color: var(--text-light);
  background: var(--brand);
  border-color: var(--brand);
  transform: translateY(-1px);
}

.menu-button[aria-expanded="true"]::after {
  transform: rotate(225deg) translateY(-2px);
}

.navbar-nav {
  gap: 8px;
}

.navbar-light .navbar-nav .nav-link,
.navbar-nav .nav-link {
  color: var(--heading-soft);
  font-size: 16px;
  font-weight: 800;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus,
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--brand);
  background: var(--brand-soft);
}

.home-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px 0 72px;
  background: var(--hero-gradient);
}

.home-hero__text {
  max-width: 650px;
}

.home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-hero h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
  color: var(--heading);
}

.home-hero p {
  max-width: 620px;
  margin: 22px 0 0;
  font-size: clamp(17px, 2vw, 20px);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button,
.store-btn,
.submit-btn,
.back-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.button--primary,
.submit-btn,
.back-home-link {
  background: var(--brand);
  color: var(--text-light);
  box-shadow: var(--shadow-sm);
}

.button--primary:hover,
.submit-btn:hover,
.back-home-link:hover {
  color: var(--text-light);
  background: var(--brand-hover);
  box-shadow: var(--shadow-md);
}

.button--secondary {
  background: var(--surface);
  color: var(--heading-soft);
  border-color: var(--border);
}

.button--secondary:hover {
  color: var(--brand);
  border-color: var(--brand-soft-strong);
  background: var(--brand-soft);
}

.button--disabled,
.store-btn--disabled {
  color: var(--text-muted);
  background: var(--surface-soft);
  border-color: var(--border);
  cursor: default;
  box-shadow: none;
}

.home-hero__image {
  display: flex;
  justify-content: center;
}

.home-hero__image img {
  width: min(100%, 520px);
  display: block;
  	animation: float 4s ease-in-out infinite;

}



  @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-14px); }
            100% { transform: translateY(0px); }
        }

.section-block {
  padding: 96px 0;
}

.section-title {
  max-width: 760px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 46px);
  color: var(--heading);
}

.section-title p {
  margin: 16px auto 0;
  font-size: 17px;
}

.game-card,
.contact-card,
.form-card,
.policy-card,
.not-found-card,
.redirect-card {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.game-card {
  height: 100%;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-soft-strong);
  box-shadow: var(--shadow-md);
}

.game-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
  background: var(--surface-soft);
}

.game-content {
  display: flex;
  flex-direction: column;
  min-height: 232px;
  padding: 26px;
}

.game-content h3 {
  margin: 0 0 10px;
  color: var(--heading-soft);
  font-size: 22px;
}

.game-content p {
  margin: 0 0 22px;
  font-size: 16px;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.store-btn {
  min-height: 40px;
  padding: 10px 16px;
  background: var(--brand-soft);
  color: var(--brand);
  border-color: var(--brand-soft-strong);
  font-size: 14px;
}

.store-btn:hover {
  color: var(--text-light);
  background: var(--brand);
  border-color: var(--brand);
}

.store-btn--disabled:hover,
.button--disabled:hover {
  color: var(--text-muted);
  background: var(--surface-soft);
  border-color: var(--border);
  transform: none;
}

.contact-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px;
  text-align: center;
}

.contact-card h3 {
  margin: 0 0 14px;
  color: var(--heading-soft);
  font-size: 30px;
}

.contact-card p {
  margin: 8px 0;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface-soft);
  color: var(--heading-soft);
  font-size: 14px;
  font-weight: 800;
}

.social-links a:hover {
  color: var(--brand);
  background: var(--brand-soft);
  border-color: var(--brand-soft-strong);
  transform: translateY(-2px);
}

.site-footer {
  padding: 28px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 15px;
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-left: 8px;
  
  
}

.footer-links a {
  color: var(--heading-soft);
  font-size: 14px;
  font-weight: 8000;
  
}

.footer-links a:hover {
  color: var(--brand);
}

/* Document/support/404 pages */
.page-document,
.page-support,
.page-404,
.page-redirect {
  background: var(--page-gradient);
}

.page-shell {
  width: min(100% - 32px, 980px);
  margin: 0 auto;
  padding: 28px 0 18px;
}

.simple-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 52px;
}

.simple-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.simple-brand img {
  width: 46px;
  height: 46px;
  display: block;
  object-fit: contain;
}

.simple-nav-link {
  color: var(--heading-soft);
  font-size: 15px;
  font-weight: 800;
}

.simple-nav-link:hover {
  color: var(--brand);
}

.simple-hero {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.simple-hero h1,
.simple-hero h2 {
  margin: 0;
  color: var(--heading);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.simple-hero p {
  max-width: 660px;
  margin: 18px auto 0;
  font-size: 18px;
}

.form-card,
.policy-card,
.not-found-card,
.redirect-card {
  max-width: 860px;
  margin: 0 auto 36px;
  padding: 38px;
}

.form-card {
  max-width: 760px;
}

.form-card h2,
.policy-card h2,
.not-found-card h2,
.redirect-card h2 {
  margin: 0 0 12px;
  color: var(--heading-soft);
  font-size: 26px;
}

.form-card p {
  margin: 0;
  font-size: 16px;
}

.support-form {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: var(--heading-soft);
  font-size: 14px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  border-color: var(--brand);
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-hint {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.updated {
  margin: 0 0 28px;
  color: var(--text-muted);
  font-size: 14px;
  text-align: center;
}

.policy-section {
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.policy-section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.policy-card h3 {
  margin: 20px 0 8px;
  color: var(--heading-soft);
  font-size: 18px;
}

.policy-card p,
.policy-card li,
.not-found-card p,
.redirect-card p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.75;
}

.policy-card p,
.not-found-card p,
.redirect-card p {
  margin: 0 0 14px;
}

.policy-card ul {
  margin: 10px 0 0;
  padding-left: 22px;
}

.policy-card li {
  margin-bottom: 8px;
}

.not-found-card,
.redirect-card {
  text-align: center;
}

.simple-footer {
  padding: 24px 0 8px;
  color: var(--text-muted);
  text-align: center;
  font-size: 14px;
  line-height: 1.8;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 14px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
	  text-align: center;

  }

  .navbar-nav {
    gap: 4px;
	  text-align: center;

  }

  .navbar-nav .nav-link {
    padding: 12px 14px;
	  text-align: center;

  }

  .home-hero {
    min-height: auto;
    padding: 118px 0 70px;
    text-align: center;
  }

  .home-hero__text {
    margin: 0 auto;
  }

  .button-row {
    justify-content: center;
  }

  .home-hero__image {
    margin-top: 42px;
  }

  .section-block {
    padding: 76px 0;
  }
}

@media (max-width: 767.98px) {
  .text_img {
    width: 126px;
  }

  .icon_img {
    width: 38px;
    height: 38px;
  }

  .game-content {
    min-height: auto;
    padding: 22px;
  }

  .contact-card,
  .form-card,
  .policy-card,
  .not-found-card,
  .redirect-card {
    padding: 26px;
    border-radius: var(--radius-md);
  }

  .simple-header {
    margin-bottom: 42px;
  }

  .simple-hero p {
    font-size: 16px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-links {
    display: flex;
    margin: 10px 0 0;
  }
}

@media (max-width: 420px) {
  .navbar {
    padding: 12px 0;
  }

  .text_img {
    width: 112px;
  }

  .menu-button {
    padding: 8px 9px 8px 13px;
    font-size: 12px;
  }
  

  .button-row,
  .store-buttons,
  .social-links {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .store-btn,
  .social-links a {
    width: 100%;
  }

  .page-shell {
    width: min(100% - 24px, 980px);
    padding-top: 22px;
  }

  .simple-brand img {
    width: 40px;
    height: 40px;
  }

  .simple-nav-link {
    font-size: 14px;
  }
}

/* Store choice pages */
.page-store-menu .page-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-store-menu .redirect-card,
.store-choice-card {
  width: min(100%, 560px);
  padding: 36px 30px;
}


.store-choice-card h1 {
  margin: 0 0 12px;
  color: var(--heading-soft);
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.08;
}

.redirect-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
}

.redirect-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.redirect-actions--store-menu {
  flex-wrap: wrap;
}

.redirect-store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 11px 18px;
  border: 1px solid var(--brand-soft-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--brand);
  box-shadow: var(--shadow-sm);
  font-family: inherit;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.redirect-store-btn::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px var(--brand-soft);
}

.redirect-store-btn:hover {
  color: var(--text-light);
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}

.redirect-store-btn:hover::before {
  background: var(--text-light);
  box-shadow: 0 0 0 5px var(--store-button-ring-hover);
}

.redirect-store-btn--disabled,
.redirect-store-btn--disabled:hover {
  color: var(--text-muted);
  background: var(--surface-soft);
  border-color: var(--border);
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
}

.redirect-store-btn--disabled::before,
.redirect-store-btn--disabled:hover::before {
  background: var(--border-strong);
  box-shadow: 0 0 0 5px var(--surface);
}

.redirect-back-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--heading-soft);
  font-size: 14px;
  font-weight: 900;
}

.redirect-back-link:hover {
  color: var(--brand);
}

@media (max-width: 575.98px) {
  .page-store-menu .redirect-card,
  .store-choice-card {
    padding: 30px 22px;
  }

  .redirect-actions--store-menu {
    flex-direction: column;
    align-items: stretch;
  }

  .redirect-store-btn {
    width: 100%;
  }
  
  .menu-button:focus,
.menu-button:active,
.menu-button:focus-visible,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border-color: var(--border) !important;
}

.menu-button {
  -webkit-tap-highlight-color: transparent;
}
}
