/* =============================================
   REVIVE WELLNESS - DEFERRED CSS
   Below-the-fold nem-kritikus stílusok
   ============================================= */

/* ==================== ANIMATIONS ==================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

.fade-in-visible {
  animation: fadeIn 0.8s ease forwards;
}

.animate-fadeIn {
  animation: toastFadeIn 0.3s ease forwards;
}

@keyframes toastFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes slowPan {
  0% {
    transform: translateY(-35%);
  }
  100% {
    transform: translateY(-70%);
  }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes icon-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

@keyframes icon-rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes icon-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toastSlideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes toastSlideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* ==================== TRUST BADGE ==================== */
.trust-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid var(--gold);
  border-radius: 12px;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.trust-badge:hover {
  background: rgba(184, 159, 106, 0.15);
  border-color: var(--light-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(184, 159, 106, 0.3);
}

.trust-badge-rating {
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.trust-badge-stars {
  display: flex;
  gap: 3px;
  line-height: 1;
}

.trust-badge-stars .star {
  font-size: 18px;
  color: var(--gold);
  line-height: 1;
}

.trust-badge-info {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  background: transparent;
  border: none;
  color: var(--gold);
  cursor: pointer;
  transition: all 0.2s ease;
  opacity: 0.7;
}

.trust-badge-info:hover,
.trust-badge:hover .trust-badge-info {
  opacity: 1;
  color: var(--light-gold);
  transform: scale(1.1);
}

.trust-badge-text {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
  margin: 0;
  text-align: center;
}

/* ==================== TESTIMONIALS ==================== */
.testimonial {
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--gold);
  padding: 32px;
  border-radius: 12px;
  backdrop-filter: blur(5px);
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  line-height: 1;
}

.testimonial-stars .star {
  font-size: 24px;
  color: var(--gold);
  line-height: 1;
}

/* ==================== PRICING CARD ==================== */
.pricing-card {
  background: linear-gradient(135deg, rgba(184, 159, 106, 0.1) 0%, rgba(10, 10, 10, 0.8) 100%);
  border: 2px solid var(--gold);
  border-radius: 20px;
  padding: 40px;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.pricing-card:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 60px rgba(184, 159, 106, 0.4);
  border-color: var(--light-gold);
}

/* ==================== GOOGLE REVIEWS WIDGET ==================== */
.google-reviews-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid var(--gold);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 24px;
}

.summary-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.summary-rating {
  font-size: 48px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.summary-stars {
  font-size: 24px;
  letter-spacing: 2px;
}

.summary-text {
  color: var(--gray-lighter);
  font-size: 14px;
  margin: 0;
}

.summary-right {
  display: flex;
  align-items: center;
}

.google-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.google-review-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(184, 159, 106, 0.2);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.google-review-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(184, 159, 106, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--light-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  flex-shrink: 0;
}

.review-author-info {
  flex: 1;
}

.review-author-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin: 0;
  line-height: 1.2;
}

.review-date {
  font-size: 13px;
  color: var(--gray-light);
  margin: 4px 0 0 0;
}

.review-stars {
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-text {
  color: var(--gray-lighter);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 12px 0;
}

.review-source {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==================== FORMS ==================== */
.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  color: var(--gray-light);
  margin-bottom: var(--space-2);
  font-weight: 500;
  font-size: var(--text-sm);
}

.form-label abbr {
  color: #ef4444;
  text-decoration: none;
  font-weight: 700;
}

input,
textarea,
select {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 12px 16px;
  border-radius: 8px;
  width: 100%;
  transition: all 0.3s ease;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-appearance: none;
  appearance: none;
}

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

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--gold);
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(184, 159, 106, 0.1);
}

input::placeholder,
textarea::placeholder {
  color: var(--gray);
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--white);
  -webkit-box-shadow: 0 0 0px 1000px rgba(255, 255, 255, 0.1) inset;
  transition: background-color 5000s ease-in-out 0s;
}

input.border-red-500,
textarea.border-red-500 {
  border-color: #ef4444 !important;
}

.form-hint {
  font-size: var(--text-sm);
  color: var(--gray);
  margin-top: var(--space-2);
}

.form-error {
  font-size: var(--text-sm);
  color: #ef4444;
  margin-top: var(--space-2);
  display: none;
}

.form-error:not(:empty) {
  display: block;
}

/* ==================== ACCORDION ==================== */
.accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}

.accordion-header {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--gold);
  font-weight: 600;
  transition: color 0.3s ease;
}

.accordion-header:hover {
  color: var(--light-gold);
}

.accordion-header svg {
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header svg {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--gray);
  padding-top: 0;
}

.accordion-content.active {
  max-height: 500px;
  padding-top: 16px;
}

/* ==================== MOBILE MENU ==================== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 10, 0.98);
  padding: 20px;
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 1000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(184, 159, 106, 0.3);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu.active {
  display: flex;
  flex-direction: column;
  animation: slideDown 0.3s ease;
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  padding: 16px 8px;
  min-height: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
  text-decoration: none;
  color: white;
  -webkit-tap-highlight-color: rgba(184, 159, 106, 0.2);
}

.mobile-menu-link:hover {
  color: var(--gold);
}

.mobile-menu-link:active {
  background: rgba(184, 159, 106, 0.1);
  transform: scale(0.98);
}

body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* ==================== SWIPER CUSTOMIZATION ==================== */
.swiper-pagination-bullet {
  background: var(--gold) !important;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  opacity: 1 !important;
  background: var(--gold) !important;
}

.swiper-button-prev,
.swiper-button-next {
  color: var(--gold) !important;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  color: var(--light-gold) !important;
}

/* ==================== IMAGE HOVER EFFECTS ==================== */
.img-hover {
  transition: transform 0.3s ease;
  overflow: hidden;
  border-radius: 12px;
}

.img-hover img {
  transition: transform 0.3s ease;
}

.img-hover:hover img {
  transform: scale(1.1);
}

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

/* ==================== SOCIAL MEDIA WIDGETS ==================== */
.facebook-iframe-container {
  position: relative;
  display: inline-block;
}

.facebook-iframe-container iframe {
  border: none;
  overflow: hidden;
  border-radius: 8px;
}

.facebook-iframe-container .loading-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.facebook-iframe-container.loaded .loading-placeholder {
  display: none;
}

/* ==================== TOOLTIP STYLES ==================== */
.service-item {
  position: relative;
  display: inline-block;
}

.service-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(10, 10, 10, 0.95);
  color: var(--gray-lighter);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.875rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 100;
  border: 1px solid var(--gold);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.service-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--gold);
}

.service-item:hover .service-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-12px);
}

/* ==================== DETAILED SERVICES ACCORDION ==================== */
.service-detail-card {
  background: linear-gradient(135deg, rgba(184, 159, 106, 0.08) 0%, rgba(10, 10, 10, 0.9) 100%);
  border: 2px solid rgba(184, 159, 106, 0.3);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.service-detail-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(184, 159, 106, 0.25);
}

.service-detail-card.active {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(184, 159, 106, 0.12) 0%, rgba(10, 10, 10, 0.95) 100%);
}

.service-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.service-detail-title {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.service-icon {
  font-size: 2rem;
  filter: drop-shadow(0 2px 4px rgba(184, 159, 106, 0.3));
}

.service-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0;
}

.service-expand-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  color: var(--gold);
  transition: transform 0.3s ease;
}

.service-detail-card.active .service-expand-icon {
  transform: rotate(180deg);
}

.service-tagline {
  color: var(--gray-lighter);
  font-size: 0.95rem;
  font-style: italic;
  margin: 8px 0 0 56px;
}

.service-detail-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, margin-top 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.service-detail-card.active .service-detail-content {
  max-height: 1000px;
  margin-top: 24px;
  opacity: 1;
}

.service-description {
  color: var(--gray-lighter);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1rem;
}

.service-perfect-for {
  background: rgba(184, 159, 106, 0.1);
  border-left: 4px solid var(--gold);
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.service-perfect-for-title {
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.service-perfect-for-text {
  color: var(--gray-light);
  line-height: 1.7;
}

.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}

.service-meta-item {
  background: rgba(0, 0, 0, 0.4);
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid rgba(184, 159, 106, 0.2);
}

.service-meta-label {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.service-meta-value {
  color: var(--white);
  font-size: 0.95rem;
}

/* ==================== LOADING SKELETON ==================== */
.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

.skeleton--circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-bottom: var(--space-4);
}

.skeleton--title {
  height: 24px;
  width: 60%;
  margin-bottom: var(--space-3);
}

.skeleton--text {
  height: 16px;
  margin-bottom: var(--space-2);
}

.skeleton--text:last-child {
  width: 80%;
}

.szolarium-bg-animate {
  animation: slowPan 20s ease-in-out infinite alternate;
  transform: translateY(-35%);
}

.icon-pulse {
  animation: icon-pulse 2s ease-in-out infinite;
}

.icon-rotate {
  animation: icon-rotate 2s linear infinite;
}

.icon-bounce {
  animation: icon-bounce 1s ease-in-out infinite;
}

/* ==================== CTA GROUPS ==================== */
.cta-primary {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  justify-content: center;
  margin-block: var(--space-8);
}

.cta-divider {
  color: var(--gray-light);
  font-weight: 500;
}

/* ==================== TOAST NOTIFICATIONS ==================== */
#toast-container {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 1070;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 400px;
  pointer-events: none;
}

.toast {
  background: rgba(10, 10, 10, 0.95);
  border: var(--border-width-default) solid var(--gold);
  border-radius: var(--border-radius-md);
  padding: var(--space-4);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: toastSlideIn var(--transition-base) ease;
  pointer-events: auto;
}

.toast--success {
  border-color: #10b981;
}

.toast--error {
  border-color: #ef4444;
}

.toast--warning {
  border-color: #f59e0b;
}

.toast__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
}

.toast__icon {
  width: 24px;
  height: 24px;
  font-size: 1.25rem;
}

.toast__title {
  font-weight: 600;
  color: var(--white);
  font-size: var(--text-base);
}

.toast__message {
  color: var(--gray-light);
  font-size: var(--text-sm);
}

/* ==================== SKIP LINK ==================== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--gold-bright);
  color: var(--black);
  padding: var(--space-3) var(--space-5);
  font-weight: 600;
  text-decoration: none;
  z-index: 1070;
  border-radius: 0 0 4px 0;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--black);
  outline-offset: 2px;
}

/* ==================== RESPONSIVE ADJUSTMENTS ==================== */
@media (max-width: 768px) {
  .trust-badge {
    padding: 8px 16px;
    gap: 3px;
  }

  .trust-badge-rating {
    font-size: 20px;
  }

  .trust-badge-stars .star {
    font-size: 15px;
  }

  .trust-badge-text {
    font-size: 9px;
  }

  .trust-badge-info svg {
    width: 14px;
    height: 14px;
  }

  .testimonial-stars .star {
    font-size: 20px;
  }

  .google-reviews-summary {
    flex-direction: column;
    text-align: center;
  }

  .summary-left {
    align-items: center;
  }

  .summary-rating {
    font-size: 36px;
  }

  .google-reviews-grid {
    grid-template-columns: 1fr;
  }

  .facebook-iframe-container iframe {
    width: 100% !important;
    max-width: 340px;
  }

  .section-padding {
    padding: 60px 0;
  }

  .service-tooltip {
    white-space: normal;
    max-width: 200px;
    text-align: center;
  }

  .service-item.active .service-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-12px);
  }

  .service-detail-card {
    padding: 20px;
  }

  .service-detail-header {
    flex-wrap: wrap;
  }

  .service-icon {
    font-size: 1.75rem;
  }

  .service-name {
    font-size: 1.25rem;
  }

  .service-tagline {
    margin-left: 0;
    font-size: 0.9rem;
  }

  .service-detail-content {
    margin-top: 16px;
  }

  .service-description {
    font-size: 0.95rem;
  }

  .service-meta {
    gap: 12px;
  }

  .service-meta-item {
    flex: 1 1 calc(50% - 6px);
    min-width: 140px;
  }

  input, textarea, select {
    font-size: 16px !important;
  }

  h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  h2 {
    font-size: 1.75rem;
    line-height: 1.3;
  }

  h3 {
    font-size: 1.5rem;
    line-height: 1.4;
  }

  p {
    font-size: 1rem;
    line-height: 1.75;
  }

  .hero-logo-mobile-hide {
    display: none;
  }
}

/* ==================== TABLET PORTRAIT LAYOUT ==================== */
@media (min-width: 768px) and (max-width: 1024px) {
  .container {
    max-width: 95% !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  header .btn-gold {
    display: none !important;
  }

  header .md\:flex {
    display: none !important;
  }

  header .md\:hidden {
    display: flex !important;
  }
}

/* ==================== FOOTER RESPONSIVE FIXES ==================== */
@media (min-width: 640px) and (max-width: 1023px) and (orientation: portrait) {
  .footer-bg-picture {
    max-height: 550px;
    bottom: auto;
    top: 0;
  }

  .footer-bg-image {
    object-position: center top;
    height: 100%;
    max-height: 550px;
  }

  footer {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

@media (width: 768px) and (height: 1024px),
       (min-width: 768px) and (max-width: 834px) and (orientation: portrait) {
  .footer-bg-picture {
    max-height: 500px;
  }

  .footer-bg-image {
    max-height: 500px;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .footer-bg-picture {
    max-height: 700px;
  }

  .footer-bg-image {
    object-position: center center;
  }
}

footer {
  min-height: auto;
  position: relative;
  margin-bottom: 0;
  padding-bottom: 3rem;
}

footer::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--black);
}

@media (max-width: 639px) {
  .footer-bg-picture {
    max-height: 500px;
  }

  .footer-bg-image {
    object-position: center top;
  }
}

/* ==================== PRINT STYLES ==================== */
@media print {
  header,
  footer,
  .btn-gold {
    display: none;
  }

  body {
    background: white;
    color: black;
  }
}

/* ==================== ACCESSIBILITY - REDUCED MOTION ==================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ==================== HIGH CONTRAST MODE ==================== */
@media (prefers-contrast: high) {
  .card {
    border-width: 2px;
  }

  .btn-gold {
    border-width: 3px;
  }
}

.btn[data-loading="true"] {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.btn[data-loading="true"]::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.btn-sm {
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  min-height: 40px;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  min-height: 48px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
}

.badge-gold {
  background-color: var(--gold);
  color: var(--black);
}

.badge-outline {
  background-color: transparent;
  border: var(--border-width-default) solid var(--gold);
  color: var(--gold-text);
}

.focus\:not-sr-only:focus {
  position: static;
  width: auto;
  height: auto;
  padding: inherit;
  margin: inherit;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* ==========================================
   INFRASLIM PARTICIPANTS SLIDER
   Continuous horizontal scroll animation
   ========================================== */

.participants-slider-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.participants-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 1rem 0;
}

.participants-track {
  display: flex;
  gap: 1rem;
  animation: scroll-participants 60s linear infinite;
  will-change: transform;
}

.participants-track:hover {
  animation-play-state: paused;
}

.participants-track img {
  flex-shrink: 0;
  width: 60px;
  height: 72px;
  object-fit: cover;
  border-radius: 0.375rem;
  border: 2px solid var(--gold);
  box-shadow: 0 2px 8px rgba(184, 159, 106, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.participants-track img:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 16px rgba(184, 159, 106, 0.5);
  z-index: 10;
  position: relative;
}

@keyframes scroll-participants {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive adjustments */
@media (min-width: 640px) {
  .participants-track img {
    width: 70px;
    height: 84px;
  }
}

@media (min-width: 1024px) {
  .participants-track img {
    width: 80px;
    height: 96px;
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .participants-track {
    animation: none;
  }
  
  .participants-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  
  .participants-track img {
    scroll-snap-align: start;
  }
}
