/* Onelivewave production styles — no Tailwind CDN dependency */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
}

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

svg {
  display: block;
}

button,
input,
summary {
  font: inherit;
  color: inherit;
  margin: 0;
}

button {
  background: transparent;
  background-image: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

input {
  border: 0;
  background-color: transparent;
}

h1,
h2,
h3,
h4,
p,
ol,
ul {
  margin: 0;
  padding: 0;
}

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

summary::-webkit-details-marker {
  display: none;
}

:focus-visible {
  outline: 3px solid #1d2129;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Layout */
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
}
.inset-y-0 {
  top: 0;
  bottom: 0;
}
.top-0 { top: 0; }
.right-0 { right: 0; }
.z-50 { z-index: 50; }

.block { display: block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }

.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.shrink-0 { flex-shrink: 0; }

.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-14 { gap: 3.5rem; }
.gap-x-6 { column-gap: 1.5rem; }
.gap-y-3 { row-gap: 0.75rem; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

.space-x-2 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.5rem; }
.space-x-3 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.75rem; }
.space-x-4 > :not([hidden]) ~ :not([hidden]) { margin-left: 1rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top: 2rem; }

.divide-y > :not([hidden]) ~ :not([hidden]) {
  border-top: 1px solid #e5e6eb;
}
.divide-light-2 > :not([hidden]) ~ :not([hidden]) {
  border-color: #e5e6eb;
}
.border-y {
  border-top: 1px solid #e5e6eb;
  border-bottom: 1px solid #e5e6eb;
}

/* Sizing */
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-10 { width: 2.5rem; }
.w-20 { width: 5rem; }
.w-full { width: 100%; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-10 { height: 2.5rem; }
.h-20 { height: 5rem; }

.max-w-md { max-width: 28rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-7xl { max-width: 80rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mx-4 { margin-left: 1rem; margin-right: 1rem; }

/* Spacing */
.p-6 { padding: 1.5rem; }
.p-7 { padding: 1.75rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-7 { padding-left: 1.75rem; padding-right: 1.75rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-8 { padding-top: 2rem; }
.pt-16 { padding-top: 4rem; }
.pb-8 { padding-bottom: 2rem; }
.pr-10 { padding-right: 2.5rem; }
.pr-12 { padding-right: 3rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-9 { margin-bottom: 2.25rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-10 { margin-top: 2.5rem; }
.mr-2 { margin-right: 0.5rem; }

.scroll-mt-16 { scroll-margin-top: 4rem; }

/* Typography */
.font-inter {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-center { text-align: center; }
.leading-relaxed { line-height: 1.625; }
.leading-tight { line-height: 1.25; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-widest { letter-spacing: 0.1em; }
.uppercase { text-transform: uppercase; }
.underline { text-decoration: underline; }
.break-all { word-break: break-all; }
.list-none { list-style: none; }

/* Colors */
.text-dark { color: #1d2129; }
.text-dark-2 { color: #4e5969; }
.text-primary { color: #333333; }
.text-white { color: #ffffff; }
.text-gray-200 { color: #e5e7eb; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-green-600 { color: #16a34a; }

.bg-white { background-color: #ffffff; }
.bg-white\/95 { background-color: rgba(255, 255, 255, 0.95); }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-light-1 { background-color: #f2f3f5; }
.bg-dark { background-color: #1d2129; }
.bg-primary { background-color: #333333; }
.bg-black { background-color: #000000; }
.bg-black\/35 { background-color: rgba(0, 0, 0, 0.35); }
.bg-black\/50 { background-color: rgba(0, 0, 0, 0.5); }
.bg-red-600 { background-color: #dc2626; }
.bg-green-100 { background-color: #dcfce7; }

.border { border-width: 1px; border-style: solid; border-color: #e5e6eb; }
.border-b { border-bottom: 1px solid #e5e6eb; }
.border-t { border-top: 1px solid #e5e6eb; }
.border-primary { border-color: #333333; }
.border-light-2 { border-color: #e5e6eb; }
.border-gray-800 { border-color: #1f2937; }
.border-white\/15 { border-color: rgba(255, 255, 255, 0.15); }
.border-white\/40 { border-color: rgba(255, 255, 255, 0.4); }

.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

.shadow-sm { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); }

.opacity-0 { opacity: 0; }
.opacity-100 { opacity: 1; }
.scale-95 { -webkit-transform: scale(0.95); transform: scale(0.95); }
.scale-100 { -webkit-transform: scale(1); transform: scale(1); }
.cursor-pointer { cursor: pointer; }

.password-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Safer stacked transforms for modal transitions */
#authModalContent,
#registerModalContent,
#successModalContent,
#errorModalContent,
#orderModalContent,
#paymentSuccessContent {
  -webkit-transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#authModalContent.scale-95,
#registerModalContent.scale-95,
#successModalContent.scale-95,
#errorModalContent.scale-95,
#orderModalContent.scale-95,
#paymentSuccessContent.scale-95 {
  -webkit-transform: scale(0.95);
  transform: scale(0.95);
}

#authModalContent.scale-100,
#registerModalContent.scale-100,
#successModalContent.scale-100,
#errorModalContent.scale-100,
#orderModalContent.scale-100,
#paymentSuccessContent.scale-100 {
  -webkit-transform: scale(1);
  transform: scale(1);
}

.backdrop-blur-sm {
  background-color: rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.transition-all { transition: all 0.3s ease; }
.transition-colors { transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease; }
.transition-transform { transition: transform 0.2s ease; }
.duration-300 { transition-duration: 0.3s; }

.btn-hover { transition: all 0.2s ease; }
.btn-hover:hover { transform: translateY(-2px); }

.hover\:bg-gray-100:hover { background-color: #f3f4f6; }
.hover\:bg-primary\/5:hover { background-color: rgba(51, 51, 51, 0.05); }
.hover\:bg-primary\/90:hover { background-color: rgba(51, 51, 51, 0.9); }
.hover\:bg-red-700:hover { background-color: #b91c1c; }
.hover\:border-white:hover { border-color: #ffffff; }
.hover\:text-dark:hover { color: #1d2129; }
.hover\:text-primary\/80:hover { color: rgba(51, 51, 51, 0.8); }
.hover\:text-white:hover { color: #ffffff; }
.hover\:underline:hover { text-decoration: underline; }

.focus\:outline-none:focus { outline: none; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px rgba(51, 51, 51, 0.35); }
.focus\:ring-primary:focus,
.focus\:ring-primary\/50:focus { box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.35); }
.focus\:border-primary:focus { border-color: #333333; }

.group[open] .group-open\:rotate-45 {
  transform: rotate(45deg);
}

/* Responsive */
@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .md\:flex-row { flex-direction: row; }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:items-center { align-items: center; }
  .md\:justify-between { justify-content: space-between; }
  .md\:mb-0 { margin-bottom: 0; }
  .md\:p-9 { padding: 2.25rem; }
  .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .md\:py-28 { padding-top: 7rem; padding-bottom: 7rem; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md\:text-5xl { font-size: 3rem; line-height: 1; }
  .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
}

@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-\[minmax\(0\,1\.1fr\)_minmax\(280px\,0\.7fr\)\],
  .hero-split {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  }
}

/* Hero */
.hero-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #15171a;
}

.hero-panel::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(15, 17, 20, 0.92) 0%, rgba(15, 17, 20, 0.72) 42%, rgba(15, 17, 20, 0.28) 100%),
    linear-gradient(180deg, rgba(15, 17, 20, 0.35) 0%, rgba(15, 17, 20, 0.55) 100%);
}

.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-panel > .max-w-7xl {
  position: relative;
  z-index: 1;
}

/* Homepage event grid */
.page-content {
  background: #000;
}

.item {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  padding: 30px;
  flex-direction: column;
  gap: 32px;
  min-height: 680px;
}

.item:nth-child(odd) {
  border-right: 1px solid #fff;
}

.item img {
  display: block;
  width: 100%;
  max-width: 700px;
  height: auto;
  max-height: 720px;
  object-fit: contain;
}

.item .dot { width: 100%; }
.item .dot .bg {
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 50%;
}

.item .texts {
  text-align: left;
  color: #fff;
}

.item .texts .t1 { font-size: 18px; }
.item .texts .t2 {
  font-size: 26px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: bolder;
  line-height: 1.25;
  margin: 12px 0;
}
.item .texts .t3 { font-size: 16px; }

.item .btn {
  width: 100%;
  max-width: 537px;
  min-height: 56px;
  padding: 14px 24px;
  border-radius: 4px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font-size: 18px;
  text-align: center;
  cursor: pointer;
  position: relative;
}

.item .btn .text {
  position: relative;
  z-index: 2;
}

.item .btn::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  opacity: 0;
  height: 100%;
  z-index: 1;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.item .btn:hover::after {
  width: 100%;
  opacity: 1;
}

.header-content {
  height: 60px;
  padding: 0 60px;
}

.footer-content {
  width: 100%;
  max-width: 1280px;
  padding: 0 60px;
}

footer a {
  cursor: pointer;
}

@media (max-width: 767px) {
  .header-content,
  .footer-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .header-content {
    height: 56px;
  }

  .item {
    width: 100%;
    min-height: auto;
    padding: 28px 20px;
    border-right: 0 !important;
  }

  .item.text {
    min-height: 440px;
  }

  .item img {
    max-height: none;
  }

  .item .dot .bg {
    width: 32px;
    height: 32px;
  }
}
