/* Variables */
:root {
  /* Colors */
  --color-primary: #0b63a9;
  --color-primary-dark: #08497d;
  --color-secondary: #0f2e47;
  --color-text-body: #1f4b67;
  --color-text-muted: #426775;
  --color-background-main: #f3f7fb;
  --color-background-card: #eef7ff;
  --color-background-highlight: #f6fbff;
  --color-surface-light: #ffffff;
  --color-surface-glass: rgba(255, 255, 255, 0.85);
  --color-border: rgba(10, 20, 30, 0.06);
  --color-gradient-start: #fbfdff;
  --color-gradient-card-1: #b8f0c6;
  --color-gradient-card-2: #bde2ff;
  --color-avatar-gradient-1: #f6f8fa;
  --color-avatar-gradient-2: #ddebf4;
  --color-desktop-bg-1: #e8f4f8;
  --color-desktop-bg-2: #f0f7fa;

  /* Typography */
  --font-family-body: "Roboto";
  --font-weight-regular: 400;
  --font-weight-medium: 600;
  --font-weight-bold: 700;
  --font-size-base: 16px;

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 18px;
  --space-lg: 24px;
  --space-xl: 32px;

  /* Shapes & Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --shape-square: 0;
  --shape-rounded: 12px;
  --shape-pill: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 30px rgba(10, 20, 30, 0.15);
}

/* Base Reset & Typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* Scrollbar track */
::-webkit-scrollbar {
  width: 0px;
}

.no-scroll {
  overflow: hidden;
}

body {
  font-family: var(--font-family-body), "Arial", sans-serif;
  font-size: var(--font-size-base);
  color: var(--color-text-body);
  background: var(--color-background-main);
  min-height: 100vh;
}

body.modal-open {
  overflow: hidden;
}

footer {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  margin-top: var(--space-xl);
}

h1,
h2,
h3 {
  color: var(--color-secondary);
  font-weight: var(--font-weight-bold);
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1em;
  line-height: 1.6;
}

[x-cloak] {
  display: none !important;
}

/* Typography Utilities */
.muted {
  color: var(--color-text-muted);
}

.text-primary {
  color: var(--color-primary);
}

.text-secondary {
  color: var(--color-secondary);
}

.text-xs {
  font-size: .9rem;
}

.text-md {
  font-size: 1rem;
}

.text-lg {
  font-size: 1.2rem;
}

.text-xl {
  font-size: 1.5rem;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.no-underline {
  cursor: pointer;
  outline: none;
  text-decoration: none;
}

/* Layout & Helpers */
.page-layout {
  width: 100%;
}

.container-main {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  position: relative;
  z-index: 2;
}

.flex {
  display: flex;
}

.wrap {
  flex-wrap: wrap;
  text-wrap: wrap;
}

.nowrap {
  flex-wrap: nowrap;
  text-wrap: nowrap;
}

.flex-col {
  flex-direction: column;
}

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

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

.gap-xs {
  gap: var(--space-xs);
}

.gap-md {
  gap: var(--space-md);
}

.gap-sm {
  gap: var(--space-sm);
}

.p-md {
  padding: var(--space-md);
}

.p-lg {
  padding: var(--space-lg);
}

.py-lg {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.mb-md {
  margin-bottom: var(--space-md);
}

.mb-sm {
  margin-bottom: var(--space-sm);
}

.mb-xs {
  margin-bottom: var(--space-xs);
}

.mt-lg {
  margin-top: var(--space-lg);
}

.mt-md {
  margin-top: var(--space-md);
}

.mt-sm {
  margin-top: var(--space-sm);
}

.w-full {
  width: 100% !important;
}

.h-full {
  width: 100% !important;
}

/* Note: Original had width: 100% here too, keeping as is */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

/* Shapes */
.shape-square {
  border-radius: var(--shape-square);
}

.shape-rounded {
  border-radius: var(--shape-rounded);
}

.shape-pill {
  border-radius: var(--shape-pill);
}

.shape-circle {
  border-radius: 50%;
}

/* Avatars & Profiles */
.avatar {
  border-radius: 50%;
  border: 4px solid var(--color-surface-light);
  box-shadow: var(--shadow-sm);
  margin: 0 0 var(--space-sm) 0;
  overflow: hidden;
}

.avatar-large {
  width: 118px;
  height: 118px;
  background: radial-gradient(circle at 30% 25%, var(--color-avatar-gradient-1), var(--color-avatar-gradient-2));
  box-shadow: 0 6px 18px rgba(10, 20, 30, 0.12);
}

.avatar-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-name {
  color: var(--color-primary);
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  text-align: center;
}

.profile-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.profile-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
}

.center-content {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  border: 1px solid transparent;
  box-shadow: var(--shadow-sm);
  text-wrap: nowrap;
}

.btn-sm {
  padding: var(--space-xs) var(--space-sm);
  font-size: 0.875rem;
}

.btn-md {
  padding: var(--space-sm) var(--space-md);
  font-size: 1rem;
}

.btn-lg {
  padding: 14px 30px;
  font-size: 1rem;
}

.btn-solid-primary {
  background-color: var(--color-primary);
  color: var(--color-surface-light);
}

.btn-solid-primary:hover {
  transform: scale(1.05);
  border-color: var(--color-secondary);
}

.btn-outline-primary {
  background-color: var(--color-surface-light);
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: none;
}

.btn-outline-primary:hover {
  background-color: var(--color-primary);
  color: var(--color-surface-light);
}

.btn-subtle {
  background: var(--color-surface-glass);
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  box-shadow: none;
}

.btn-subtle:hover {
  background: var(--color-background-card);
}

/* Cards & Containers */
.main-content-card {
  background-color: var(--color-surface-light);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
  margin-bottom: var(--space-lg);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  overflow: visible;
}

.main-content-card h2:first-child,
.main-content-card h3:first-child {
  margin-top: 0;
}

.content-card {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-md);
  background: linear-gradient(180deg, var(--color-background-highlight), var(--color-background-card));
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 600;
  line-height: 18px;
  box-sizing: border-box;
  cursor: pointer;
  outline: none;
  text-decoration: none;
  touch-action: manipulation;
  transition: box-shadow .2s, transform .1s;
  -moz-user-select: none;
  user-select: none;
  -webkit-user-select: none;
  width: auto;
}

.content-card .thumb {
  width: 76px;
  height: 76px;
  background: linear-gradient(120deg, var(--color-gradient-card-1), var(--color-gradient-card-2));
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.snap-cards-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  -webkit-overflow-scrolling: touch;
  margin-right: 0;
  padding-right: 0;
  margin-left: 0;
  padding-left: 0;
}

.snap-cards-container::-webkit-scrollbar {
  display: none;
}

.snap-cards-container> :first-child {
  margin-left: 0;
}

.snap-cards-container> :last-child {
  margin-right: 0;
}

.snap-card {
  flex: 1 0 80%;
  scroll-snap-align: center;
  width: 300px;
  min-width: 280px;
  height: auto;
  background: linear-gradient(180deg, var(--color-background-highlight), var(--color-background-card));
  border: 1px solid var(--color-border);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.desktop-card-wrapper {
  width: 100%;
  min-height: 100vh;
  padding: 0;
}

.desktop-card {
  background: var(--color-background-main);
  box-shadow: none;
  overflow: hidden;
  margin: 0 auto;
  max-width: 100%;
  min-height: 100vh;
}

/* Modals */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 16, 30, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
}

.dialog {
  width: 100%;
  max-width: 720px;
  margin: var(--space-lg);
  background: var(--color-surface-light);
  box-shadow: 0 20px 40px rgba(10, 20, 30, 0.35);
  padding: var(--space-lg);
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 16, 30, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  padding: var(--space-lg);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.modal-show {
  opacity: 1;
}

.modal.modal-hide {
  opacity: 0;
}

.modal-content {
  background: linear-gradient(135deg, var(--color-background-card), var(--color-background-highlight));
  padding: var(--space-xl);
  max-width: 520px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(11, 99, 169, 0.25), 0 0 0 1px rgba(11, 99, 169, 0.1);
  border: 1px solid var(--color-background-card);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.95) translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
}

.modal.modal-show .modal-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal.modal-hide .modal-content {
  transform: scale(0.95) translateY(20px);
  opacity: 0;
}

.modal-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.modal-header {
  margin-bottom: var(--space-md);
}

.modal-title {
  color: var(--color-primary);
  font-size: 1.75rem;
  font-weight: var(--font-weight-bold);
  margin: 0 0 var(--space-sm) 0;
}

.modal-subtitle {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
}

.modal-body {
  margin-bottom: var(--space-lg);
  color: var(--color-text-body);
  line-height: 1.7;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  width: calc(100% + 15px);
  padding-right: 15px;
}

.modal-footer {
  display: flex;
  gap: var(--space-sm);
  justify-content: end;
  flex-wrap: wrap;
}

.modal-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 32px;
  height: 32px;
  background: var(--color-background-card);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  color: var(--color-primary);
}

.modal-close:hover {
  background: var(--color-primary);
  color: var(--color-background-card);
  transform: rotate(90deg);
}

.modal-content--wide {
  max-width: 700px;
  max-height: 90vh;
}

.modal-body__text {
  line-height: 1.6;
  color: var(--color-text-body);
  line-break: anywhere;
}

/* Modal Gallery */
.modal-gallery {
  position: relative;
  margin-bottom: var(--space-md);
}

.modal-gallery__main {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  background: var(--color-background-card);
}

.modal-gallery__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.modal-gallery__image.active {
  display: block;
}

.modal-gallery__nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.modal-gallery__nav-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.1);
}

.modal-gallery__nav-btn--prev {
  left: var(--space-sm);
}

.modal-gallery__nav-btn--next {
  right: var(--space-sm);
}

.modal-gallery__counter {
  position: absolute;
  bottom: var(--space-sm);
  right: var(--space-sm);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: var(--space-xs) var(--space-sm);
  font-size: 0.85rem;
  font-weight: var(--font-weight-semibold);
}

.modal-gallery__thumbnails {
  display: flex;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
  overflow-x: auto;
  padding: var(--space-xs) 0;
}

.modal-gallery__thumbnail {
  width: 60px;
  height: 60px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.2s ease;
  flex-shrink: 0;
  border: 2px solid transparent;
}

.modal-gallery__thumbnail:hover {
  opacity: 0.8;
}

.modal-gallery__thumbnail--active {
  opacity: 1;
  border-color: var(--color-primary);
}

/* Lightbox Modal */
.modal-content--lightbox {
  max-width: 90vw;
  max-height: 90vh;
  background: rgba(0, 0, 0, 0.95);
  padding: var(--space-md);
}

.modal-content--lightbox .modal-close {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  z-index: 10;
}

.modal-content--lightbox .modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  color: white;
}

.modal-content--lightbox .modal-gallery__main {
  height: 80vh;
}

.modal-content--lightbox .modal-gallery__image {
  object-fit: contain;
  background: transparent;
}

.modal-content--lightbox .modal-gallery__nav-btn {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.modal-content--lightbox .modal-gallery__nav-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.modal-content--lightbox .modal-gallery__counter {
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: var(--space-xs) var(--space-sm);
}

.modal-content--lightbox .modal-gallery__thumbnails {
  margin-top: var(--space-md);
}

.modal-content--lightbox .modal-gallery__thumbnail {
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.modal-content--lightbox .modal-gallery__thumbnail--active {
  border-color: var(--color-primary);
}

/* Simple Lightbox */
.modal-content--lightbox-simple {
  position: relative;
  width: auto;
  max-width: 90vw;
  max-height: 90vh;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.modal-content--lightbox-simple::before {
  display: none;
}

.modal-content--lightbox-simple .modal-close {
  position: absolute;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  z-index: 1000;
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-content--lightbox-simple .modal-close:hover {
  background: rgba(0, 0, 0, 0.8);
  color: white;
  transform: scale(1.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.lightbox-simple__image {
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  display: block;
}

/* Event Modal */
.event-modal__badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: var(--space-sm);
}

.event-modal__badge--published {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}

.event-modal__badge--draft {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
}

.event-modal__section {
  margin-bottom: var(--space-lg);
}

.event-modal__section-title {
  color: var(--color-primary);
  font-size: 1.1rem;
  font-weight: var(--font-weight-bold);
  margin: 0 0 var(--space-sm) 0;
  padding-bottom: var(--space-xs);
  border-bottom: 2px solid rgba(11, 99, 169, 0.1);
}

.event-modal__details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.event-modal__detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.event-modal__detail-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.event-modal__detail-value {
  font-size: 1rem;
  color: var(--color-secondary);
  font-weight: var(--font-weight-medium);
}

.event-modal__description {
  line-height: 1.7;
  color: var(--color-text-body);
  line-break: anywhere;
}

.event-modal__description p {
  margin-bottom: var(--space-sm);
}

.event-modal__description strong {
  color: var(--color-secondary);
  font-weight: var(--font-weight-bold);
}

.event-modal__address {
  color: var(--color-text-body);
  margin: 0;
  padding: var(--space-sm);
  background: var(--color-background-highlight);
  border-left: 3px solid var(--color-primary);
  display: block;
  width: 100%;
}

.event-modal__images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.event-modal__image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border: 1px solid var(--color-border);
}

.event-modal__image:hover {
  border: 2px solid var(--color-primary);
  transform: scale(0.95);
}

.click-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  cursor: pointer;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.click-overlay svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-background-highlight);
}

/* Forms */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-label {
  font-weight: var(--font-weight-medium);
  color: var(--color-secondary);
  font-size: 0.9rem;
}

.form-input,
.form-textarea {
  padding: var(--space-sm);
  border: 1px solid var(--color-border);
  font-family: var(--font-family-body);
  font-size: var(--font-size-base);
  color: var(--color-text-body);
  background: var(--color-surface-light);
  transition: all 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(11, 99, 169, 0.1);
}

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

/* Specific Components */
/* Countdown */
.countdown-section {
  position: relative;
  border: 1px solid var(--color-border);
  padding: var(--space-xl);
  text-align: center;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  z-index: 1;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow .2s, transform .1s;
}

.countdown-section:hover {
  transform: scale(1.01);
}

.countdown-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, #ff6a6a, #ff9a9e, #a18cd1, #fbc2eb, #84fab0, #8fd3f4);
  background-size: 400% 400%;
  animation: glow 8s infinite;
  opacity: 0.2;
  z-index: -1;
}

.countdown-title {
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.countdown-subtitle {
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}

.countdown-value {
  font-size: 3rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  line-height: 1;
  background: var(--color-surface-light);
  padding: var(--space-md);
  min-width: 90px;
  box-shadow: var(--shadow-sm);
}

.countdown-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: var(--space-xs);
  font-weight: var(--font-weight-medium);
}

/* Contact Card */
.contact-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: linear-gradient(135deg, var(--color-background-highlight), var(--color-background-card));
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: box-shadow .2s, transform .1s;
  box-shadow: var(--shadow-sm);
}

.contact-card:hover {
  transform: scale(1.01);
}

.contact-card__image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  flex-shrink: 0;
}

.contact-card__content {
  flex: 1;
}

.contact-card__title {
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin: 0 0 var(--space-xs) 0;
}

.contact-card__subtitle {
  color: var(--color-text-muted);
  margin: 0;
}

/* Share Options */
.share-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  padding-top: 6px;
}

.share-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-md);
  background: linear-gradient(135deg, var(--color-background-highlight), var(--color-background-card));
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-body);
}

.share-option:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.share-option svg {
  flex-shrink: 0;
}

.share-option span {
  text-align: center;
}

/* Product Component */
.product-card {
  background: linear-gradient(180deg, var(--color-background-highlight), var(--color-background-card));
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  /* min-width: 300px; */
  /* max-width: 320px; */
  height: auto !important;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
}

.product-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  flex-shrink: 0;
}

.product-card__content {
  padding-top: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__title {
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin: 0 0 var(--space-xs) 0;
}

.product-card__description {
  color: var(--color-text-muted);
  margin: 0 0 var(--space-md) 0;
  line-height: 1.5;
  flex: 1;
}

.product-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.product-card__price {
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}

/* Media Embed */
.media-embed {
  background: linear-gradient(180deg, var(--color-background-highlight), var(--color-background-card));
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  padding: 0px;
}

.media-embed__title {
  padding: var(--space-xs);
  font-size: 1.3rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin: 0;
}

.media-embed__description {
  padding: var(--space-xs);
  font-size: 1rem;
  color: var(--color-secondary);
  margin: 0;
}

.media-embed__container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.media-embed__iframe {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.media-embed--spotify .media-embed__container {
  padding-bottom: 152px;
  height: auto;
}

.media-embed--spotify .media-embed__iframe {
  position: relative;
  height: 152px;
}

.media-embed--apple .media-embed__container {
  padding-bottom: 175px;
  height: auto;
}

.media-embed--apple .media-embed__iframe {
  position: relative;
  height: 175px;
}

/* Event Cards */
.event-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.event-card__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  padding: var(--space-sm);
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  text-align: center;
}

.event-card__date-year {
  font-size: 0.75rem;
  font-weight: var(--font-weight-semibold);
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.event-card__date-day {
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  line-height: 1;
  margin: var(--space-xs) 0;
}

.event-card__date-month {
  font-size: 0.85rem;
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.event-card__details {
  flex: 1;
}

.event-card__title {
  margin: 0 0 var(--space-xs) 0;
}

.event-card__description {
  margin: 0;
}

.event-card__thumbnail {
  width: auto;
  height: 100px;
  object-fit: cover;
  flex-shrink: 0;
}

.event-card__share-btn {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

/* Content Post Cards */
.content-post-card {
  cursor: pointer;
  display: flex;
  flex-direction: row !important;
  align-items: center;
  gap: var(--space-md);
  min-width: 320px;
  height: auto !important;
}

.content-post-card__image {
  width: 120px;
  height: 120px;
  object-fit: cover;
  flex-shrink: 0;
}

.content-post-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.content-post-card__title {
  margin: 0 0 var(--space-xs) 0;
  color: var(--color-primary);
}

.content-post-card__description {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Notification System */
.notification-container {
  position: fixed;
  top: var(--space-lg);
  right: var(--space-lg);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  pointer-events: none;
  max-width: 400px;
}

.notification {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 251, 255, 0.95));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: var(--space-md) var(--space-lg);
  box-shadow: 0 8px 32px rgba(11, 99, 169, 0.2), 0 0 0 1px rgba(11, 99, 169, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  min-width: 280px;
  max-width: 400px;
  pointer-events: all;
  position: relative;
  overflow: hidden;
  transform: translateX(120%);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.notification::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--color-primary);
}

.notification__content {
  flex: 1;
  color: var(--color-text-body);
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: var(--font-weight-medium);
}

.notification__close {
  background: rgba(11, 99, 169, 0.08);
  border: none;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-primary);
  transition: all 0.2s ease;
  flex-shrink: 0;
  padding: 0;
}

.notification__close:hover {
  background: var(--color-primary);
  color: white;
  transform: rotate(90deg);
}

.notification--success::before {
  background: linear-gradient(180deg, #10b981, #059669);
}

.notification--success {
  border-left: 4px solid #10b981;
}

.notification--error::before {
  background: linear-gradient(180deg, #ef4444, #dc2626);
}

.notification--error {
  border-left: 4px solid #ef4444;
}

.notification--warning::before {
  background: linear-gradient(180deg, #f59e0b, #d97706);
}

.notification--warning {
  border-left: 4px solid #f59e0b;
}

.notification--info::before {
  background: linear-gradient(180deg, var(--color-primary), var(--color-primary-dark));
}

.notification--info {
  border-left: 4px solid var(--color-primary);
}

.notification--show {
  transform: translateX(0);
  opacity: 1;
}

.notification--hide {
  transform: translateX(120%);
  opacity: 0;
}

/* Animations */
@keyframes glow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Media Queries */
@media (max-width: 1024px) {
  .desktop-card {
    border-radius: 0%;
  }
}

@media (max-width: 768px) {
  .modal {
    padding: var(--space-md);
  }

  .modal-content {
    padding: var(--space-lg);
  }

  .modal-title {
    font-size: 1.5rem;
  }

  .modal-content--wide {
    max-width: 100%;
  }

  .main-content-card {
    background-color: transparent;
    box-shadow: none;
    padding: var(--space-md);
    margin-bottom: 0;
  }

  .snap-cards-container {
    margin-left: calc(-1 * var(--space-lg));
    margin-right: calc(-1 * var(--space-lg));
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
  }

  .avatar-large {
    width: 96px;
    height: 96px;
  }

  .container-main {
    max-width: 100%;
  }

  .event-card__thumbnail {
    display: none;
  }

  .event-modal__details-grid {
    grid-template-columns: 1fr;
  }

  .event-modal__images {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }

  .event-modal__image {
    height: 120px;
  }

  .countdown-value {
    font-size: 2rem;
    min-width: 70px;
    padding: var(--space-sm);
  }

  .contact-card {
    flex-direction: column;
    text-align: center;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .notification-container {
    top: var(--space-md);
    right: var(--space-md);
    left: var(--space-md);
    max-width: none;
  }

  .notification {
    min-width: auto;
    max-width: none;
  }
}

@media (min-width: 769px) {
  .container-main {
    max-width: 900px;
  }
}

@media (min-width: 1024px) {
  .desktop-card-wrapper {
    padding: var(--space-xl) var(--space-lg);
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }

  .desktop-card {
    max-width: 1200px;
    box-shadow: 0 20px 60px rgba(11, 99, 169, 0.15), 0 0 0 1px rgba(11, 99, 169, 0.08);
    border: 1px solid rgba(11, 99, 169, 0.1);
    min-width: 700px;
  }
}