/* ============================================
   Hisense Alfabet Font Face Declarations
   ============================================ */
/* TODO: font files
@font-face {
  font-family: 'Hisense Alfabet';
  src: url('../fonts/HisenseAlfabet-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Hisense Alfabet';
  src: url('../fonts/HisenseAlfabet-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Hisense Alfabet';
  src: url('../fonts/HisenseAlfabet-BoldItalic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
*/

/* ============================================
   CSS Custom Properties
   ============================================ */
:root {
  --color-primary: #00aaa6;
  --color-primary-dark: #025b5d;
  --color-black: #000000;
  --color-grey: #b3b3b3;
  --color-cyan-glow: #00e5df;
  --color-bg-dark: #0a3d3d;
  --color-bg-mid: #0e6e6e;
  --color-yellow: #e6f520;
  --color-lime: #c8f520;
  --color-mint: #7dfcd2;
  --color-white: #ffffff;

  --font-hisense: 'Hisense Alfabet', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --mobile-max-width: 430px;
}

/* ============================================
   Base / Reset
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-hisense);
  background-color: var(--color-bg-dark);
  color: var(--color-black);
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ============================================
   App Container (mobile-first centered)
   ============================================ */
#app {
  max-width: var(--mobile-max-width);
  margin: 0 auto;
  min-height: 100dvh;
  position: relative;
  overflow: hidden;
  container-type: inline-size;
}

/* ============================================
   Page Transitions
   ============================================ */
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.3s ease;
}
.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

.slide-up-enter-active,
.slide-up-leave-active {
  transition: all 0.35s ease;
}
.slide-up-enter-from {
  opacity: 0;
  transform: translateY(30px);
}
.slide-up-leave-to {
  opacity: 0;
  transform: translateY(-20px);
}

.slide-left-enter-active,
.slide-left-leave-active {
  transition: all 0.3s ease;
}
.slide-left-enter-from {
  opacity: 0;
  transform: translateX(30px);
}
.slide-left-leave-to {
  opacity: 0;
  transform: translateX(-30px);
}

/* ============================================
   Utility Classes
   ============================================ */
.page-wrapper {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.content-card {
  position: relative;
  background: rgba(255,255,255,0.95);
  border-radius: 1rem;
  margin: 0 1rem;
  padding: 1.25rem;
  backdrop-filter: blur(10px);
}

.btn-image {
  display: block;
  margin: 0 auto;
  transition: transform 0.15s;
}

.btn-image:active {
  transform: scale(0.95);
}

.section-title {
  display: block;
  margin: 0 auto 1rem;
}

.icon-inline {
  display: inline-block;
  height: 1.25rem;
  vertical-align: middle;
  margin-right: 0;
}

/* text styles */
.text-heading {
  font-family: var(--font-hisense);
  font-weight: 700;
  font-style: italic;
  color: var(--color-black);
}

.text-heading-primary {
  font-family: var(--font-hisense);
  font-weight: 700;
  font-style: italic;
  color: var(--color-primary);
}

.text-body {
  font-family: var(--font-hisense);
  font-weight: 500;
  color: var(--color-black);
}

.text-body-primary {
  font-family: var(--font-hisense);
  font-weight: 500;
  color: var(--color-primary);
}

.text-caption {
  font-family: var(--font-hisense);
  font-weight: 400;
  color: var(--color-primary);
}

.text-inactive {
  font-family: var(--font-hisense);
  font-weight: 500;
  color: var(--color-grey);
}

/* ============================================
   Modal Container (for cqw inside fixed overlays)
   ============================================ */
.modal-container {
  width: 100%;
  max-width: var(--mobile-max-width);
  margin: 0 auto;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* Hidden utility */
.hidden {
  display: none !important;
}
