/* ==========================================================================
   Altus Elevators - Sorteo Navideño (Local Self-Contained Tailwind Styles)
   No external CDN required - 100% offline/LAN ready
   ========================================================================== */

:root {
  --altus-navy: #0F233A;
  --altus-wine: #8B1E24;
  --altus-crimson: #A3262A;
  --altus-gold: #D4AF37;
  --altus-green: #1E6B38;
  --altus-gray: #6E7175;
  --altus-cream: #F5E6C8;
  --altus-card: #F2F4F7;
}

/* Preflight Reset */
*, *::before, *::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: #e5e7eb; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
body { margin: 0; line-height: inherit; }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font-family: inherit; font-size: 100%; font-weight: inherit; line-height: inherit; color: inherit; margin: 0; padding: 0; }
button, [type='button'], [type='submit'] { background-color: transparent; background-image: none; cursor: pointer; }
table { text-indent: 0; border-color: inherit; border-collapse: collapse; }
img, svg, canvas { display: block; vertical-align: middle; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: inherit; }

/* Display & Position */
.hidden { display: none !important; }
.block { display: block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { inset: 0px; }
.top-0 { top: 0px; }
.top-1\.5 { top: 0.375rem; }
.top-2 { top: 0.5rem; }
.top-3 { top: 0.75rem; }
.top-4 { top: 1rem; }
.top-14 { top: 3.5rem; }
.left-1\/2 { left: 50%; }
.-translate-x-1\/2 { transform: translateX(-50%); }
.w-\[90\%\] { width: 90%; }
.min-h-0 { min-height: 0px; }
.bottom-1 { bottom: 0.25rem; }
.bottom-2 { bottom: 0.5rem; }
.bottom-5 { bottom: 1.25rem; }
.left-0 { left: 0px; }
.left-2 { left: 0.5rem; }
.left-4 { left: 1rem; }
.left-\[19\%\] { left: 19%; }
.left-\[30\%\] { left: 30%; }
.right-0 { right: 0px; }
.right-3 { right: 0.75rem; }
.right-4 { right: 1rem; }
.right-5 { right: 1.25rem; }
.right-\[4\%\] { right: 4%; }
.-top-\[14\%\] { top: -14%; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-50 { z-index: 50; }

/* Flex & Grid */
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

/* Sizing */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-2 { width: 0.5rem; }
.w-2\.5 { width: 0.625rem; }
.w-7 { width: 1.75rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-36 { width: 9rem; }
.w-64 { width: 16rem; }
.w-\[22\%\] { width: 22%; }
.w-\[64\%\] { width: 64%; }
.w-\[320px\] { width: 320px; }
.max-w-md { max-width: 28rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-full { max-width: 100%; }
.max-w-\[220px\] { max-width: 220px; }
.max-w-\[1600px\] { max-width: 1600px; }
.h-full { height: 100%; }
.h-auto { height: auto; }
.h-1\.5 { height: 0.375rem; }
.h-2 { height: 0.5rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-28 { height: 7rem; }
.h-\[22\%\] { height: 22%; }
.h-\[320px\] { height: 320px; }
.min-h-screen { min-height: 100vh; }
.min-h-\[220px\] { min-height: 220px; }
.max-h-full { max-height: 100%; }
.max-h-80 { max-height: 20rem; }
.max-h-\[520px\] { max-height: 520px; }
.max-h-\[560px\] { max-height: 560px; }

/* Spacing */
.mx-auto { margin-left: auto; margin-right: auto; }
.my-2 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.p-0\.5 { padding: 0.125rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-1\.5 { padding-left: 0.375rem; padding-right: 0.375rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.pt-2 { padding-top: 0.5rem; }
.pb-3 { padding-bottom: 0.75rem; }
.pr-2 { padding-right: 0.5rem; }
.pl-2 { padding-left: 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-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
.space-x-1 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.25rem; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }

/* Typography */
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.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; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-tight { letter-spacing: -0.025em; }
.leading-tight { line-height: 1.25; }
.leading-\[0\.95\] { line-height: 0.95; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.underline { text-decoration-line: underline; }
.break-words { overflow-wrap: break-word; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.select-none { user-select: none; }

/* Colors */
.text-white { color: #ffffff; }
.text-white\/10 { color: rgba(255, 255, 255, 0.1); }
.text-white\/30 { color: rgba(255, 255, 255, 0.3); }
.text-white\/70 { color: rgba(255, 255, 255, 0.7); }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }
.text-slate-700 { color: #334155; }
.text-slate-800 { color: #1e293b; }
.text-slate-900 { color: #0f172a; }
.text-red-800 { color: #991b1b; }
.text-emerald-800 { color: #065f46; }
.text-amber-800 { color: #92400e; }
.text-amber-900 { color: #78350f; }
.text-altus-navy { color: var(--altus-navy); }
.text-altus-wine { color: var(--altus-wine); }
.text-altus-green { color: var(--altus-green); }
.text-altus-gray { color: var(--altus-gray); }
.text-altus-cream { color: var(--altus-cream); }
.text-altus-cream\/80 { color: rgba(245, 230, 200, 0.8); }
.text-\[\#6E1419\] { color: #6E1419; }
.text-\[\#F5E6C8\] { color: #F5E6C8; }

.bg-white { background-color: #ffffff; }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1); }
.bg-white\/90 { background-color: rgba(255, 255, 255, 0.9); }
.bg-white\/95 { background-color: rgba(255, 255, 255, 0.95); }
.bg-black\/70 { background-color: rgba(0, 0, 0, 0.7); }
.bg-slate-200 { background-color: #e2e8f0; }
.bg-slate-200\/80 { background-color: rgba(226, 232, 240, 0.8); }
.bg-slate-300 { background-color: #cbd5e1; }
.bg-slate-700 { background-color: #334155; }
.bg-slate-800 { background-color: #1e293b; }
.bg-slate-900\/80 { background-color: rgba(15, 23, 42, 0.8); }
.bg-red-100 { background-color: #fee2e2; }
.bg-emerald-100 { background-color: #d1fae5; }
.bg-amber-100 { background-color: #fef3c7; }
.bg-amber-400 { background-color: #fbbf24; }
.bg-altus-navy { background-color: var(--altus-navy); }
.bg-altus-wine { background-color: var(--altus-wine); }
.bg-altus-wine\/90 { background-color: rgba(139, 30, 36, 0.9); }
.bg-altus-crimson { background-color: var(--altus-crimson); }
.bg-altus-gold { background-color: var(--altus-gold); }
.bg-altus-green { background-color: var(--altus-green); }
.bg-altus-card { background-color: var(--altus-card); }

.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); }
.from-\[\#C83237\] { --tw-gradient-from: #C83237; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(200, 50, 55, 0)); }
.via-\[\#9E1F24\] { --tw-gradient-stops: var(--tw-gradient-from), #9E1F24, var(--tw-gradient-to, rgba(158, 31, 36, 0)); }
.to-\[\#6B1115\] { --tw-gradient-to: #6B1115; }

/* Borders & Radius */
.border { border-width: 1px; }
.border-4 { border-width: 4px; }
.border-b { border-bottom-width: 1px; }
.border-slate-200 { border-color: #e2e8f0; }
.border-slate-300 { border-color: #cbd5e1; }
.border-red-300 { border-color: #fca5a5; }
.border-white\/15 { border-color: rgba(255, 255, 255, 0.15); }
.border-white\/20 { border-color: rgba(255, 255, 255, 0.2); }
.border-white\/60 { border-color: rgba(255, 255, 255, 0.6); }
.border-altus-gold\/30 { border-color: rgba(212, 175, 55, 0.3); }
.border-altus-gold\/40 { border-color: rgba(212, 175, 55, 0.4); }
.border-altus-gold\/60 { border-color: rgba(212, 175, 55, 0.6); }
.border-t { border-top-width: 1px; }
.pt-3 { padding-top: 0.75rem; }
.disabled\:opacity-40:disabled { opacity: 0.4; }
.shadow-\[0_8px_20px_rgba\(0\,0\,0\,0\.45\)\] { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45); }
.border-\[\#E5C158\] { border-color: #E5C158; }

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

/* Dividers */
.divide-y > :not([hidden]) ~ :not([hidden]) { border-top-width: 1px; }
.divide-slate-200 > :not([hidden]) ~ :not([hidden]) { border-color: #e2e8f0; }

/* Effects & Transforms */
.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px 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); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.shadow-inner { box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06); }
.shadow-\[0_14px_30px_rgba\(0\,0\,0\,0\.4\)\] { box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4); }
.shadow-\[0_0_20px_rgba\(212\,175\,55\,0\.65\)\,inset_0_3px_6px_rgba\(255\,255\,255\,0\.35\)\] { box-shadow: 0 0 20px rgba(212, 175, 55, 0.65), inset 0 3px 6px rgba(255, 255, 255, 0.35); }
.drop-shadow-\[0_4px_10px_rgba\(0\,0\,0\,0\.55\)\] { filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.55)); }
.drop-shadow-\[0_4px_12px_rgba\(0\,0\,0\,0\.45\)\] { filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45)); }
.drop-shadow-\[0_18px_35px_rgba\(0\,0\,0\,0\.65\)\] { filter: drop-shadow(0 18px 35px rgba(0, 0, 0, 0.65)); }
.drop-shadow-\[0_12px_18px_rgba\(0\,0\,0\,0\.55\)\] { filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.55)); }
.drop-shadow-\[0_4px_6px_rgba\(0\,0\,0\,0\.4\)\] { filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.4)); }

.opacity-30 { opacity: 0.3; }
.opacity-70 { opacity: 0.7; }
.opacity-80 { opacity: 0.8; }
.opacity-90 { opacity: 0.9; }
.backdrop-blur { backdrop-filter: blur(8px); }
.object-contain { object-fit: contain; }
.pointer-events-none { pointer-events: none; }
.cursor-pointer { cursor: pointer; }
.rotate-12 { transform: rotate(12deg); }
.rotate-45 { transform: rotate(45deg); }
.-rotate-12 { transform: rotate(-12deg); }
.-rotate-\[4deg\] { transform: rotate(-4deg); }

.transition { transition-property: color, background-color, border-color, opacity, box-shadow, transform; transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color; transition-duration: 150ms; }
.transition-opacity { transition-property: opacity; transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-duration: 150ms; }

/* Interactive states */
.hover\:scale-105:hover { transform: scale(1.05); }
.active\:scale-95:active { transform: scale(0.95); }
.hover\:opacity-100:hover { opacity: 1; }
.hover\:bg-altus-crimson:hover { background-color: var(--altus-crimson); }
.hover\:bg-emerald-700:hover { background-color: #047857; }
.hover\:bg-slate-800:hover { background-color: #1e293b; }
.hover\:bg-slate-600:hover { background-color: #475569; }
.hover\:bg-slate-400:hover { background-color: #94a3b8; }
.hover\:bg-slate-300:hover { background-color: #cbd5e1; }
.hover\:bg-slate-200\/50:hover { background-color: rgba(226, 232, 240, 0.5); }
.hover\:bg-amber-200:hover { background-color: #fde68a; }
.hover\:bg-red-200:hover { background-color: #fecaca; }
.hover\:bg-white\/20:hover { background-color: rgba(255, 255, 255, 0.2); }
.hover\:text-altus-navy:hover { color: var(--altus-navy); }
.hover\:text-altus-gold:hover { color: var(--altus-gold); }
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px var(--altus-wine); }
.disabled\:opacity-60:disabled { opacity: 0.6; }
.disabled\:cursor-not-allowed:disabled { cursor: not-allowed; }

/* Responsive Breakpoints */
@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .sm\:col-span-5 { grid-column: span 5 / span 5; }
  .sm\:col-span-7 { grid-column: span 7 / span 7; }
  .sm\:p-5 { padding: 1.25rem; }
  .sm\:p-6 { padding: 1.5rem; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:pl-2 { padding-left: 0.5rem; }
  .sm\:text-left { text-align: left; }
  .sm\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
  .sm\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .sm\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .sm\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .sm\:w-44 { width: 11rem; }
  .sm\:w-\[440px\] { width: 440px; }
  .sm\:h-16 { height: 4rem; }
  .sm\:h-32 { height: 8rem; }
  .sm\:h-\[440px\] { height: 440px; }
}

@media (min-width: 1024px) {
  .lg\:block { display: block; }
  .lg\:grid { display: grid; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:col-span-6 { grid-column: span 6 / span 6; }
  .lg\:gap-5 { gap: 1.25rem; }
  .lg\:gap-6 { gap: 1.5rem; }
  .lg\:items-start { align-items: flex-start; }
  .lg\:items-stretch { align-items: stretch; }
  .lg\:h-screen { height: 100vh; }
  .lg\:h-full { height: 100%; }
  .lg\:min-h-0 { min-height: 0px; }
  .lg\:overflow-hidden { overflow: hidden; }
  .lg\:px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
  .lg\:py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
  .lg\:py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
  .lg\:pl-14 { padding-left: 3.5rem; }
  .lg\:my-0 { margin-top: 0px; margin-bottom: 0px; }
  .lg\:mt-0 { margin-top: 0px; }
  .lg\:mb-2 { margin-bottom: 0.5rem; }
  .lg\:mr-2 { margin-right: 0.5rem; }
  .lg\:absolute { position: absolute; }
  .lg\:bottom-1 { bottom: 0.25rem; }
  .lg\:left-\[47\%\] { left: 47%; }
  .lg\:-translate-x-1\/2 { transform: translateX(-50%); }
  .lg\:w-44 { width: 11rem; }
  .lg\:w-\[min\(44vw\,66vh\,540px\)\] { width: min(44vw, 66vh, 540px); }
  .lg\:h-\[min\(44vw\,66vh\,540px\)\] { height: min(44vw, 66vh, 540px); }
}

@media (min-width: 1280px) {
  .xl\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .xl\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .xl\:text-5xl { font-size: 3rem; line-height: 1; }
  .xl\:pl-16 { padding-left: 4rem; }
  .xl\:w-52 { width: 13rem; }
  .xl\:w-\[min\(43vw\,68vh\,580px\)\] { width: min(43vw, 68vh, 580px); }
  .xl\:h-20 { height: 5rem; }
  .xl\:h-\[min\(43vw\,68vh\,580px\)\] { height: min(43vw, 68vh, 580px); }
}
