/* ==============================================================================
   FIZIJO — Centar za fizioterapiju i rehabilitaciju
   DJ Web Systems | Austrian & EU Engineering Standard (DSGVO Local Fonts)
   ============================================================================== */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/jakarta-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/jakarta-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/jakarta-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/cinzel-700.woff2') format('woff2');
}

:root {
  --primary: #12404e;        /* Duboko luksuzno teal plavo */
  --primary-dark: #0b2832;
  --primary-light: #1d5b6e;
  --secondary: #00B4D8;      /* Svježi cijan akcent */
  --secondary-glow: rgba(0, 180, 216, 0.25);
  --gold: #c2a077;           /* Šampanjac / zlato akcent */
  --gold-hover: #b08d63;
  --bg-body: #FAFAFA;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border-light: rgba(18, 64, 78, 0.08);
  --shadow-sm: 0 2px 8px rgba(18, 64, 78, 0.04);
  --shadow-md: 0 10px 30px rgba(18, 64, 78, 0.08);
  --shadow-lg: 0 20px 45px rgba(18, 64, 78, 0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'Cinzel', Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-body);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* TYPOGRAPHY */
h1, h2, h3, h4, .font-editorial {
  font-family: var(--font-serif);
  color: var(--primary);
  letter-spacing: -0.02em;
  font-weight: 700;
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HEADER & NAVBAR */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  height: 70px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--secondary);
  box-shadow: 0 2px 10px rgba(0, 180, 216, 0.2);
}

.brand-text h1 {
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--primary);
  margin: 0;
}

.brand-text span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  font-weight: 700;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  transition: color 0.2s ease;
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.btn-header-cta {
  background: var(--primary);
  color: #FFFFFF !important;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.btn-header-cta:hover {
  background: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 180, 216, 0.35);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--primary);
}

/* HERO SECTION */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  background: linear-gradient(135deg, rgba(250, 250, 250, 0.95) 0%, rgba(240, 249, 255, 0.9) 100%);
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  z-index: 1;
  opacity: 0.85;
}

.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  mask-image: linear-gradient(to right, transparent 0%, black 35%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 35%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--secondary);
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  color: var(--primary);
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--secondary);
  font-style: italic;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hover) 100%);
  color: var(--primary-dark);
  font-weight: 700;
  padding: 15px 32px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(194, 160, 119, 0.35);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(194, 160, 119, 0.5);
  color: #FFFFFF;
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--primary);
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}

.stat-item h3 {
  font-size: 2rem;
  line-height: 1;
  color: var(--primary);
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 600;
}

/* SECTION BASICS */
.section-padding {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* SERVICES BENTO GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 180, 216, 0.3);
}

.service-thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-thumb img {
  transform: scale(1.08);
}

.service-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(18, 64, 78, 0.85);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.service-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-body h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  color: var(--primary);
  font-family: var(--font-sans);
  font-weight: 700;
}

.service-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.read-details-link {
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.service-card:hover .read-details-link {
  gap: 10px;
  color: var(--primary);
}

/* ABOUT SECTION */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-main-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 4px solid #FFFFFF;
}

.about-badge-float {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: #FFFFFF;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--gold);
}

.about-badge-float h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.about-badge-float p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.about-text h3 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.about-role {
  font-size: 1rem;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.about-bio {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}

.credentials-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 32px;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}

.credential-item svg {
  color: var(--secondary);
  flex-shrink: 0;
}

/* CERTIFICATES & DIPLOMAS */
.diploma-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.diploma-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  border: 1px solid var(--border-light);
  height: 200px;
}

.diploma-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.diploma-card:hover img {
  transform: scale(1.05);
}

.diploma-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 64, 78, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  padding: 10px;
}

.diploma-card:hover .diploma-overlay {
  opacity: 1;
}

/* CLINIC ORDINACIJA SHOWCASE */
.ordinacija-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ordinacija-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 280px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.ordinacija-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ordinacija-item:hover img {
  transform: scale(1.06);
}

/* PROCESS SECTION */
.process-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.step-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 180, 216, 0.12);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.step-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.step-card p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* BOOKING & APPOINTMENT ENGINE */
.booking-section {
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F9FF 100%);
  position: relative;
}

.booking-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  padding: 48px;
  max-width: 860px;
  margin: 0 auto;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-main);
  background: #FFFFFF;
  transition: all 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px var(--secondary-glow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.time-btn {
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid #e2e8f0;
  background: #F8FAFC;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.time-btn:hover {
  border-color: var(--secondary);
  background: #FFFFFF;
}

.time-btn.active {
  background: var(--secondary);
  color: #FFFFFF;
  border-color: var(--secondary);
  box-shadow: 0 4px 12px var(--secondary-glow);
}

.btn-book-submit {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-full);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
  transition: all 0.3s ease;
  margin-top: 10px;
}

.btn-book-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.5);
}

/* FOOTER */
.footer {
  background: var(--primary-dark);
  color: #FFFFFF;
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand h2 {
  color: #FFFFFF;
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #64748b;
  font-size: 0.85rem;
}

/* MODAL SYSTEM (SERVICE DETAIL & LEGAL) */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 40, 50, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.96);
  transition: all 0.3s ease;
  position: relative;
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #F1F5F9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all 0.2s;
  z-index: 10;
}

.modal-close-btn:hover {
  background: #E2E8F0;
  transform: rotate(90deg);
}

.modal-header-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.modal-content-body {
  padding: 32px;
}

.modal-content-body h3 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.modal-content-body p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

/* FLOATING QUICK BAR ON MOBILE */
.mobile-quickbar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: #FFFFFF;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  border-top: 1px solid var(--border-light);
  z-index: 999;
  grid-template-columns: 1fr 1fr;
}

.quickbar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
}

.quickbar-btn.call {
  color: var(--primary);
  background: #F8FAFC;
  border-right: 1px solid var(--border-light);
}

.quickbar-btn.whatsapp {
  color: #FFFFFF;
  background: #25D366;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 992px) {
  .hero-backdrop {
    display: none;
  }
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .diploma-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .ordinacija-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-steps {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
  }
  .nav-menu.open {
    transform: translateY(0);
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .booking-card {
    padding: 24px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .mobile-quickbar {
    display: grid;
  }
  body {
    padding-bottom: 64px;
  }
}

/* ==============================================================================
   MODERN LEGACY — BESPOKE PAGE TRANSITION & BRAND LOADER
   ============================================================================== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: radial-gradient(circle at center, #12404e 0%, #061920 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s ease;
  pointer-events: all;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 20px;
  animation: loaderContentEnter 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.loader-logo-wrap {
  position: relative;
  width: 104px;
  height: 104px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-logo {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 35px rgba(0, 180, 216, 0.5), 0 0 0 3px rgba(194, 160, 119, 0.6);
  position: relative;
  z-index: 2;
  animation: logoPulse 1.8s ease-in-out infinite;
}

.loader-pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--secondary);
  opacity: 0.8;
  animation: ringExpand 1.8s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  z-index: 1;
}

.loader-brand-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  letter-spacing: 5px;
  color: #FFFFFF;
  font-weight: 700;
  margin-bottom: 6px;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.loader-tagline {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 1px;
  margin-bottom: 24px;
  font-weight: 400;
  max-width: 280px;
}

.loader-progress-track {
  width: 150px;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  margin-bottom: 16px;
}

.loader-progress-bar {
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--secondary));
  border-radius: 4px;
  position: absolute;
  top: 0;
  left: 0;
  animation: loaderProgressAnim 1.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.loader-creator {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

@keyframes logoPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 25px rgba(0, 180, 216, 0.4), 0 0 0 3px rgba(194, 160, 119, 0.5);
  }
  50% {
    transform: scale(1.07);
    box-shadow: 0 0 40px rgba(0, 180, 216, 0.75), 0 0 0 4px rgba(0, 180, 216, 0.8);
  }
}

@keyframes ringExpand {
  0% {
    transform: scale(0.85);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

@keyframes loaderProgressAnim {
  0% {
    left: -40%;
    width: 30%;
  }
  50% {
    width: 60%;
  }
  100% {
    left: 100%;
    width: 30%;
  }
}

@keyframes loaderContentEnter {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
