*,
::before,
::after {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #3f3f3f;
}

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

button,
select {
    text-transform: none;
}

button {
    cursor: pointer;
}

table {
    border-collapse: collapse;
    text-indent: 0;
}

img,
svg {
    display: block;
    max-width: 100%;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.font-cinzel { font-family: "Cinzel", serif; }
.font-inter { font-family: "Inter", sans-serif; }
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; }

.static { position: static; }
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.inset-0 { inset: 0; }
.top-0 { top: 0; }
.top-3 { top: .75rem; }
.-top-3 { top: -.75rem; }
.right-0 { right: 0; }
.right-3 { right: .75rem; }
.-right-2 { right: -.5rem; }
.-right-3 { right: -.75rem; }
.bottom-4 { bottom: 1rem; }
.left-4 { left: 1rem; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

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

.flex-col { flex-direction: column; }
.flex-grow { flex-grow: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-center { align-items: center; }
.items-baseline { align-items: baseline; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.self-start { align-self: flex-start; }

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

.min-h-screen { min-height: 100vh; }
.h-1\.5 { height: .375rem; }
.h-2 { height: .5rem; }
.h-4 { height: 1rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-36 { height: 9rem; }
.h-40 { height: 10rem; }
.h-48 { height: 12rem; }
.h-64 { height: 16rem; }
.h-80 { height: 20rem; }
.h-full { height: 100%; }
.max-h-full { max-height: 100%; }
.max-h-\[500px\] { max-height: 500px; }

.w-1\.5 { width: .375rem; }
.w-2 { width: .5rem; }
.w-4 { width: 1rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-16 { width: 4rem; }
.w-64 { width: 16rem; }
.w-full { width: 100%; }
.min-w-full { min-width: 100%; }
.max-w-xs { max-width: 20rem; }
.max-w-md { max-width: 28rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-7xl { max-width: 80rem; }

.mx-auto { margin-left: auto; margin-right: auto; }
.my-6 { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.my-12 { margin-top: 3rem; margin-bottom: 3rem; }
.my-16 { margin-top: 4rem; margin-bottom: 4rem; }
.my-20 { margin-top: 5rem; margin-bottom: 5rem; }
.ml-2 { margin-left: .5rem; }
.ml-4 { margin-left: 1rem; }
.ml-auto { margin-left: auto; }
.mt-1 { margin-top: .25rem; }
.mt-2 { margin-top: .5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mb-1 { margin-bottom: .25rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }

.p-3 { padding: .75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-1 { padding-left: .25rem; padding-right: .25rem; }
.px-2 { padding-left: .5rem; padding-right: .5rem; }
.px-2\.5 { padding-left: .625rem; padding-right: .625rem; }
.px-3 { padding-left: .75rem; padding-right: .75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-0\.5 { padding-top: .125rem; padding-bottom: .125rem; }
.py-1 { padding-top: .25rem; padding-bottom: .25rem; }
.py-1\.5 { padding-top: .375rem; padding-bottom: .375rem; }
.py-2 { padding-top: .5rem; padding-bottom: .5rem; }
.py-2\.5 { padding-top: .625rem; padding-bottom: .625rem; }
.py-3 { padding-top: .75rem; padding-bottom: .75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-24 { padding-top: 6rem; }
.pb-2 { padding-bottom: .5rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-32 { padding-bottom: 8rem; }
.pl-2 { padding-left: .5rem; }
.pl-3 { padding-left: .75rem; }
.pr-2 { padding-right: .5rem; }

.gap-1 { gap: .25rem; }
.gap-1\.5 { gap: .375rem; }
.gap-2 { gap: .5rem; }
.gap-2\.5 { gap: .625rem; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: .5rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: .75rem; }
.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; }
.space-x-3 > :not([hidden]) ~ :not([hidden]) { margin-left: .75rem; }
.space-x-4 > :not([hidden]) ~ :not([hidden]) { margin-left: 1rem; }
.space-x-6 > :not([hidden]) ~ :not([hidden]) { margin-left: 1.5rem; }

.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whitespace-nowrap { white-space: nowrap; }
.break-all { word-break: break-all; }
.object-cover { object-fit: cover; }
.cursor-not-allowed { cursor: not-allowed; }

.rounded { border-radius: .25rem; }
.rounded-md { border-radius: .375rem; }
.rounded-lg { border-radius: .5rem; }
.rounded-full { border-radius: 9999px; }
.rounded-l { border-top-left-radius: .25rem; border-bottom-left-radius: .25rem; }
.rounded-r { border-top-right-radius: .25rem; border-bottom-right-radius: .25rem; }
.rounded-t-lg { border-top-left-radius: .5rem; border-top-right-radius: .5rem; }
.rounded-l-lg { border-top-left-radius: .5rem; border-bottom-left-radius: .5rem; }
.rounded-r-lg { border-top-right-radius: .5rem; border-bottom-right-radius: .5rem; }
.rounded-bl-lg { border-bottom-left-radius: .5rem; }
.rounded-br-lg { border-bottom-right-radius: .5rem; }

.border { border-width: 1px; }
.border-t { border-top-width: 1px; }
.border-t-0 { border-top-width: 0; }
.border-t-2 { border-top-width: 2px; }
.border-t-4 { border-top-width: 4px; }
.border-b { border-bottom-width: 1px; }
.border-b-2 { border-bottom-width: 2px; }
.border-l { border-left-width: 1px; }
.border-l-0 { border-left-width: 0; }
.border-l-4 { border-left-width: 4px; }
.border-x { border-left-width: 1px; border-right-width: 1px; }

.border-medieval-600 { border-color: #5b5140; }
.border-medieval-700 { border-color: #3f3f3f; }
.border-medieval-700\/50 { border-color: rgba(63,63,63,.5); }
.border-medieval-700\/60 { border-color: rgba(63,63,63,.6); }
.border-medieval-gold { border-color: #c5a059; }
.border-gray-600 { border-color: #4b5563; }
.border-gray-700 { border-color: #374151; }
.border-gray-700\/50 { border-color: rgba(55,65,81,.5); }
.border-red-500 { border-color: #ef4444; }
.border-red-700 { border-color: #b91c1c; }
.border-red-800 { border-color: #991b1b; }
.border-red-850 { border-color: #7f1d1d; }
.border-red-900\/40 { border-color: rgba(127,29,29,.4); }
.border-green-500 { border-color: #22c55e; }
.border-green-800\/40 { border-color: rgba(22,101,52,.4); }
.border-blue-500 { border-color: #3b82f6; }
.border-yellow-700\/50 { border-color: rgba(161,98,7,.5); }
.border-yellow-800 { border-color: #854d0e; }

.bg-white { background-color: #fff; }
.bg-medieval-800 { background-color: #2d2d2d; }
.bg-medieval-900 { background-color: #1a1a1a; }
.bg-medieval-900\/30 { background-color: rgba(26,26,26,.3); }
.bg-medieval-900\/40 { background-color: rgba(26,26,26,.4); }
.bg-medieval-900\/60 { background-color: rgba(26,26,26,.6); }
.bg-medieval-900\/80 { background-color: rgba(26,26,26,.8); }
.bg-medieval-gold\/20 { background-color: rgba(197,160,89,.2); }
.bg-gray-800 { background-color: #1f2937; }
.bg-gray-800\/30 { background-color: rgba(31,41,55,.3); }
.bg-gray-900\/80 { background-color: rgba(17,24,39,.8); }
.bg-red-500 { background-color: #ef4444; }
.bg-red-600 { background-color: #dc2626; }
.bg-red-800 { background-color: #991b1b; }
.bg-red-900\/50 { background-color: rgba(127,29,29,.5); }
.bg-red-900\/80 { background-color: rgba(127,29,29,.8); }
.bg-red-950 { background-color: #450a0a; }
.bg-red-950\/10 { background-color: rgba(69,10,10,.1); }
.bg-green-500 { background-color: #22c55e; }
.bg-green-900 { background-color: #14532d; }
.bg-green-900\/50 { background-color: rgba(20,83,45,.5); }
.bg-green-950\/20 { background-color: rgba(5,46,22,.2); }
.bg-yellow-600 { background-color: #ca8a04; }
.bg-yellow-900 { background-color: #713f12; }
.bg-yellow-900\/30 { background-color: rgba(113,63,18,.3); }
.bg-yellow-950 { background-color: #422006; }
.bg-emerald-700 { background-color: #047857; }
.bg-indigo-700 { background-color: #4338ca; }
.bg-gradient-to-t { background-image: linear-gradient(to top, var(--tw-gradient-stops)); }
.from-medieval-900 { --tw-gradient-from: #1a1a1a; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(26,26,26,0)); }
.via-transparent { --tw-gradient-stops: var(--tw-gradient-from), transparent, var(--tw-gradient-to, rgba(0,0,0,0)); }
.to-transparent { --tw-gradient-to: transparent; }

.fill-current { fill: currentColor; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-xs { font-size: .75rem; line-height: 1rem; }
.text-sm { font-size: .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; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-\[8px\] { font-size: 8px; }
.text-\[9px\] { font-size: 9px; }
.text-\[10px\] { font-size: 10px; }
.text-\[11px\] { font-size: 11px; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: .025em; }
.tracking-wider { letter-spacing: .05em; }
.tracking-widest { letter-spacing: .1em; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

.text-white { color: #fff; }
.text-gray-200 { color: #e5e7eb; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-medieval-gold { color: #c5a059; }
.text-red-200 { color: #fecaca; }
.text-red-400 { color: #f87171; }
.text-red-500 { color: #ef4444; }
.text-green-200 { color: #bbf7d0; }
.text-green-300 { color: #86efac; }
.text-green-400 { color: #4ade80; }
.text-green-500 { color: #22c55e; }
.text-yellow-400 { color: #facc15; }
.text-yellow-500 { color: #eab308; }
.text-blue-400 { color: #60a5fa; }

.opacity-60 { opacity: .6; }
.opacity-70 { opacity: .7; }
.opacity-80 { opacity: .8; }
.opacity-85 { opacity: .85; }
.opacity-90 { opacity: .9; }

.shadow-sm { box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.shadow-md { box-shadow: 0 4px 6px rgba(0,0,0,.1); }
.shadow-lg { box-shadow: 0 10px 15px rgba(0,0,0,.1); }
.shadow-2xl { box-shadow: 0 25px 50px rgba(0,0,0,.25); }
.shadow-inner { box-shadow: inset 0 2px 4px rgba(0,0,0,.06); }
.shadow-\[0_0_4px_\#22c55e\] { box-shadow: 0 0 4px #22c55e; }
.shadow-\[0_0_4px_\#ef4444\] { box-shadow: 0 0 4px #ef4444; }
.shadow-\[0_0_5px_\#166534\] { box-shadow: 0 0 5px #166534; }
.shadow-\[0_0_5px_\#22c55e\] { box-shadow: 0 0 5px #22c55e; }
.shadow-\[0_0_10px_\#991b1b\] { box-shadow: 0 0 10px #991b1b; }

.list-decimal { list-style-type: decimal; }
.list-inside { list-style-position: inside; }
.divide-y > :not([hidden]) ~ :not([hidden]) { border-top-width: 1px; }
.divide-medieval-700 > :not([hidden]) ~ :not([hidden]) { border-color: #3f3f3f; }

.transition { transition-property: color, background-color, border-color, opacity, box-shadow, transform; transition-duration: .15s; }
.transition-transform { transition-property: transform; transition-duration: .15s; }
.duration-200 { transition-duration: .2s; }
.duration-300 { transition-duration: .3s; }
.duration-500 { transition-duration: .5s; }
.animate-pulse { animation: pulse 2s cubic-bezier(.4,0,.6,1) infinite; }
@keyframes pulse { 50% { opacity: .5; } }

.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:border-medieval-gold:focus { border-color: #c5a059; }
.focus\:border-red-800:focus { border-color: #991b1b; }
.focus\:ring-1:focus { box-shadow: 0 0 0 1px currentColor; }
.focus\:ring-medieval-gold:focus { color: #c5a059; }
.focus\:text-white:focus { color: #fff; }

.hover\:bg-medieval-700:hover { background-color: #3f3f3f; }
.hover\:bg-medieval-700\/30:hover { background-color: rgba(63,63,63,.3); }
.hover\:bg-red-700:hover { background-color: #b91c1c; }
.hover\:bg-red-900:hover { background-color: #7f1d1d; }
.hover\:bg-red-950\/20:hover { background-color: rgba(69,10,10,.2); }
.hover\:bg-emerald-600:hover { background-color: #059669; }
.hover\:bg-indigo-600:hover { background-color: #4f46e5; }
.hover\:border-medieval-gold:hover { border-color: #c5a059; }
.hover\:border-medieval-gold\/50:hover { border-color: rgba(197,160,89,.5); }
.hover\:text-white:hover { color: #fff; }
.hover\:text-gray-300:hover { color: #d1d5db; }
.hover\:text-medieval-gold:hover { color: #c5a059; }
.hover\:text-red-300:hover { color: #fca5a5; }
.hover\:text-red-400:hover { color: #f87171; }
.hover\:underline:hover { text-decoration: underline; }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:scale-\[1\.02\]:hover { transform: scale(1.02); }
.hover\:-translate-y-1:hover { transform: translateY(-.25rem); }
.hover\:shadow-\[0_0_20px_rgba\(197\,160\,89\,0\.25\)\]:hover { box-shadow: 0 0 20px rgba(197,160,89,.25); }

.group:hover .group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:text-white { color: #fff; }
.group:hover .group-hover\:border-medieval-gold { border-color: #c5a059; }
.group:hover .group-hover\:translate-x-1 { transform: translateX(.25rem); }

@media (min-width: 640px) {
    .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:flex-row { flex-direction: row; }
    .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\:items-center { align-items: center; }
    .md\:justify-start { justify-content: flex-start; }
    .md\:justify-between { justify-content: space-between; }
    .md\:mb-0 { margin-bottom: 0; }
    .md\:mt-0 { margin-top: 0; }
    .md\:order-1 { order: 1; }
    .md\:p-12 { padding: 3rem; }
    .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 (min-width: 1024px) {
    .lg\:block { display: block; }
    .lg\:flex { display: flex; }
    .lg\:hidden { display: none; }
    .lg\:flex-row { flex-direction: row; }
    .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\:col-span-1 { grid-column: span 1 / span 1; }
    .lg\:col-span-2 { grid-column: span 2 / span 2; }
    .lg\:w-1\/4 { width: 25%; }
    .lg\:w-3\/4 { width: 75%; }
    .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
}
