/* TRANCEPHORIA - Standalone CSS */
/* Font */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/main-font.woff2) format('woff2');
}

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

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  font-family: Inter, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  line-height: inherit;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #0a0a0a;
  color: #ffffff;
}

a { color: inherit; text-decoration: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }

/* Container */
.container-custom {
  margin-left: auto;
  margin-right: auto;
  max-width: 80rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container-custom {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container-custom {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.25rem;
  background-color: #FF6B00;
  padding: 0.5rem 1rem;
  font-weight: 700;
  color: #ffffff;
  transition: background-color 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #FFB800;
}

/* Layout */
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.-inset-2 { top: -0.5rem; right: -0.5rem; bottom: -0.5rem; left: -0.5rem; }
.-bottom-1 { bottom: -0.25rem; }
.-top-1 { top: -0.25rem; }
.-right-2 { right: -0.5rem; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.top-0 { top: 0; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

/* Display */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }

/* Dimensions */
.w-1 { width: 0.25rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-full { width: 100%; }
.h-1 { height: 0.25rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-32 { height: 8rem; }
.h-0-5 { height: 0.125rem; }
.min-h-screen { min-height: 100vh; }
.min-h-80vh { min-height: 80vh; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }

/* Flexbox */
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

/* Space */
.space-x-1 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.25rem; }
.space-x-6 > :not([hidden]) ~ :not([hidden]) { margin-left: 1.5rem; }
.space-x-8 > :not([hidden]) ~ :not([hidden]) { margin-left: 2rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
.space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top: 2rem; }

/* Padding */
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.pt-8 { padding-top: 2rem; }
.pt-32 { padding-top: 8rem; }

/* Margin */
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1rem; }
.mt-12 { margin-top: 3rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Border */
.rounded-lg { border-radius: 0.5rem; }
.rounded-full { border-radius: 9999px; }
.border { border-width: 1px; }
.border-t { border-top-width: 1px; }
.border-primary-20 { border-color: rgba(255, 107, 0, 0.2); }
.overflow-hidden { overflow: hidden; }

/* Typography */
.text-center { text-align: center; }
.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-5xl { font-size: 3rem; line-height: 1; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.italic { font-style: italic; }

/* Colors */
.text-white { color: #ffffff; }
.text-primary { color: #FF6B00; }
.text-accent { color: #FFB800; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-primary-80 { color: rgba(255, 107, 0, 0.8); }

.bg-secondary { background-color: #0a0a0a; }
.bg-primary { background-color: #FF6B00; }
.bg-accent { background-color: #FFB800; }
.bg-primary-10 { background-color: rgba(255, 107, 0, 0.1); }
.bg-primary-20 { background-color: rgba(255, 107, 0, 0.2); }
.bg-black-50 { background-color: rgba(0, 0, 0, 0.5); }
.bg-black-60 { background-color: rgba(0, 0, 0, 0.6); }
.bg-black-80 { background-color: rgba(0, 0, 0, 0.8); }
.bg-black-90 { background-color: rgba(0, 0, 0, 0.9); }

/* Gradients */
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-gradient-to-t { background-image: linear-gradient(to top, var(--tw-gradient-stops)); }

.from-secondary-95 { --tw-gradient-from: rgba(10, 10, 10, 0.95); --tw-gradient-to: rgba(10, 10, 10, 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-secondary-80 { --tw-gradient-to: rgba(10, 10, 10, 0.8); }
.from-black-50 { --tw-gradient-from: rgba(0, 0, 0, 0.5); --tw-gradient-to: rgba(0, 0, 0, 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-black-80 { --tw-gradient-to: rgba(0, 0, 0, 0.8); }
.from-primary-5 { --tw-gradient-from: rgba(255, 107, 0, 0.05); --tw-gradient-to: rgba(255, 107, 0, 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.from-secondary-50 { --tw-gradient-from: rgba(10, 10, 10, 0.5); --tw-gradient-to: rgba(10, 10, 10, 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-secondary-20 { --tw-gradient-to: rgba(10, 10, 10, 0.2); }
.to-transparent { --tw-gradient-to: transparent; }
.from-primary-20 { --tw-gradient-from: rgba(255, 107, 0, 0.2); --tw-gradient-to: rgba(255, 107, 0, 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.via-accent-20 { --tw-gradient-to: rgba(255, 184, 0, 0); --tw-gradient-stops: var(--tw-gradient-from), rgba(255, 184, 0, 0.2), var(--tw-gradient-to); }
.to-primary-20 { --tw-gradient-to: rgba(255, 107, 0, 0.2); }
.from-primary { --tw-gradient-from: #FF6B00; --tw-gradient-to: rgba(255, 107, 0, 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-accent { --tw-gradient-to: #FFB800; }
.from-black-60 { --tw-gradient-from: rgba(0, 0, 0, 0.6); --tw-gradient-to: rgba(0, 0, 0, 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }

/* Images */
.object-cover { object-fit: cover; }
.object-center { object-position: center; }
.object-contain { object-fit: contain; }
.opacity-5 { opacity: 0.05; }
.opacity-0 { opacity: 0; }
.aspect-square { aspect-ratio: 1 / 1; }
.cursor-pointer { cursor: pointer; }

.header-bg, .hero-bg, .bg-img, .event-img {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}

/* Effects */
.backdrop-blur-md {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.backdrop-blur-sm {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.blur-sm { filter: blur(4px); }

/* Transform */
.transform { transform: translate(0, 0) scale(1); }
.scale-x-0 { transform: scaleX(0); }

/* Animations */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Transitions */
.transition-colors {
  transition-property: color, background-color, border-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-300 { transition-duration: 300ms; }

/* Hover States */
.hover-text-primary:hover { color: #FF6B00; }
.hover-text-accent:hover { color: #FFB800; }
.hover-bg-primary-15:hover { background-color: rgba(255, 107, 0, 0.15); }
.hover-bg-primary-dark:hover { background-color: #cc5500; }

.group:hover .group-hover-text-accent { color: #FFB800; }
.group:hover .group-hover-text-primary { color: #FF6B00; }
.group:hover .group-hover-scale-x-100 { transform: scaleX(1); }
.group:hover .group-hover-bg-accent { background-color: #FFB800; }
.group:hover .group-hover-bg-primary { background-color: #FF6B00; }
.group:hover .group-hover-blur-md { filter: blur(12px); }
.group:hover .group-hover-scale-105 { transform: scale(1.05); }
.group:hover .group-hover-opacity-100 { opacity: 1; }

/* Grid */
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.col-span-2 { grid-column: span 2 / span 2; }

/* Forms */
input, textarea, select, button {
  font-family: inherit;
  font-size: 100%;
  line-height: inherit;
  color: inherit;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.5rem 1rem;
  background-color: #0a0a0a;
  border: 1px solid rgba(255, 107, 0, 0.2);
  border-radius: 0.5rem;
  color: #ffffff;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: 2px solid #FF6B00;
  outline-offset: 2px;
}

label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #9ca3af;
  margin-bottom: 0.5rem;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Media Queries - Tablet */
@media (min-width: 768px) {
  .md-flex { display: flex !important; }
  .md-hidden { display: none !important; }
  .md-grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md-grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md-grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md-flex-row { flex-direction: row; }
  .md-col-span-1 { grid-column: span 1 / span 1; }
  .md-text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .md-text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md-text-5xl { font-size: 3rem; line-height: 1; }
  .md-text-7xl { font-size: 4.5rem; line-height: 1; }
}

/* Media Queries - Desktop */
@media (min-width: 1024px) {
  .lg-grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
