/* ================================================
   PROMPT FONT FACE DECLARATIONS
   ================================================ */
@font-face {
    font-family: 'Prompt';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/prompt-v12-latin_thai-300.woff2') format('woff2');
}

@font-face {
    font-family: 'Prompt';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/prompt-v12-latin_thai-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Prompt';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/prompt-v12-latin_thai-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Prompt';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/prompt-v12-latin_thai-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Prompt';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/prompt-v12-latin_thai-800.woff2') format('woff2');
}

/* ================================================
   TAILWIND CSS UTILITY REPLACEMENTS
   ================================================ */

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

body {
    font-family: 'Prompt', sans-serif;
    overflow: hidden;
}

/* Layout Utilities */
.h-screen {
    height: 100vh;
}

.w-full {
    width: 100%;
}

.max-w-5xl {
    max-width: 64rem;
}

.max-w-sm {
    max-width: 24rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

/* Flexbox */
.flex {
    display: flex;
}

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

.flex-row {
    flex-direction: row;
}

.flex-1 {
    flex: 1 1 0%;
}

.flex-grow {
    flex-grow: 1;
}

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

.items-start {
    align-items: flex-start;
}

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

.justify-between {
    justify-content: space-between;
}

.gap-6 {
    gap: 1.5rem;
}

/* Spacing */
.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.pb-4 {
    padding-bottom: 1rem;
}

.pb-8 {
    padding-bottom: 2rem;
}

.pb-12 {
    padding-bottom: 3rem;
}

.pb-16 {
    padding-bottom: 4rem;
}

.pr-6 {
    padding-right: 1.5rem;
}

.pl-2 {
    padding-left: 0.5rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

/* Positioning */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.top-0 {
    top: 0;
}

.-right-8 {
    right: -2rem;
}

/* Z-index */
.z-1 {
    z-index: 1;
}

.z-2 {
    z-index: 2;
}

.z-5 {
    z-index: 5;
}

.z-6 {
    z-index: 6;
}

.z-10 {
    z-index: 10;
}

.z-20 {
    z-index: 20;
}

/* Overflow */
.overflow-hidden {
    overflow: hidden;
}

/* Pointer Events */
.pointer-events-none {
    pointer-events: none;
}

/* Typography */
.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-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.font-light {
    font-weight: 300;
}

.font-normal {
    font-weight: 400;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.font-extrabold {
    font-weight: 800;
}

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

.uppercase {
    text-transform: uppercase;
}

.tracking-wide {
    letter-spacing: 0.025em;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

.leading-none {
    line-height: 1;
}

.leading-relaxed {
    line-height: 1.625;
}

/* Text Colors */
.text-white {
    color: #ffffff;
}

.text-gray-100 {
    color: #f3f4f6;
}

.text-gray-200 {
    color: #e5e7eb;
}

.text-red-400 {
    color: #f87171;
}

.text-amber-400 {
    color: #fbbf24;
}

.text-rose-400 {
    color: #fb7185;
}

.text-yellow-200 {
    color: #fef08a;
}

.text-green-300 {
    color: #86efac;
}

.text-green-400 {
    color: #4ade80;
}

/* Background Colors */
.bg-black\/20 {
    background-color: rgba(0, 0, 0, 0.2);
}

.bg-black\/50 {
    background-color: rgba(0, 0, 0, 0.5);
}

/* Borders */
.border {
    border-width: 1px;
    border-style: solid;
}

.border-b {
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

.border-r {
    border-right-width: 1px;
    border-right-style: solid;
}

.border-white\/10 {
    border-color: rgba(255, 255, 255, 0.1);
}

.border-white\/20 {
    border-color: rgba(255, 255, 255, 0.2);
}

.rounded-full {
    border-radius: 9999px;
}

.rounded-2xl {
    border-radius: 1rem;
}

/* Shadows and Drop Shadows */
.drop-shadow-md {
    filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.07)) drop-shadow(0 2px 2px rgba(0, 0, 0, 0.06));
}

.drop-shadow-sm {
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05));
}

.drop-shadow-lg {
    filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.04)) drop-shadow(0 4px 3px rgba(0, 0, 0, 0.1));
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Custom drop shadow for PM value - Tailwind arbitrary value */
.drop-shadow-pm {
    filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.5));
}

/* Backdrop Blur */
.backdrop-blur-sm {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

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

/* Display */
.inline-block {
    display: inline-block;
}

.hidden {
    display: none;
}

.block {
    display: block;
}

/* Min Height - use escaped brackets for class name */
.min-h-\[180px\] {
    min-height: 180px;
}

/* Opacity */
.text-white\/60 {
    color: rgba(255, 255, 255, 0.6);
}

/* Space utilities */
.space-y-2>*+* {
    margin-top: 0.5rem;
}

/* Animations */
.animate-fade-in-down {
    animation: fadeInDown 0.6s ease-out;
}

.animate-bounce {
    animation: bounce 1s infinite;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }

    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

/* Font Size with Custom brackets - Fixed escape */
.text-\[8rem\] {
    font-size: 8rem;
}

.text-\[10px\] {
    font-size: 10px;
}

/* ================================================
   RESPONSIVE BREAKPOINTS (md: 768px and up)
   ================================================ */
@media (min-width: 768px) {
    .md\:text-xl {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    .md\:text-2xl {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    .md\:text-4xl {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }

    .md\:text-6xl {
        font-size: 3.75rem;
        line-height: 1;
    }

    .md\:text-sm {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }

    .md\:text-lg {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }

    .md\:text-xs {
        font-size: 0.75rem;
        line-height: 1rem;
    }

    .md\:text-\[12rem\] {
        font-size: 12rem;
    }

    .md\:flex-row {
        flex-direction: row;
    }

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

    .md\:p-8 {
        padding: 2rem;
    }

    .md\:pb-12 {
        padding-bottom: 3rem;
    }

    .md\:pb-16 {
        padding-bottom: 4rem;
    }

    .md\:pr-6 {
        padding-right: 1.5rem;
    }

    .md\:pl-2 {
        padding-left: 0.5rem;
    }

    .md\:border-b-0 {
        border-bottom-width: 0;
    }

    .md\:border-r {
        border-right-width: 1px;
        border-right-style: solid;
    }

    .md\:pb-0 {
        padding-bottom: 0;
    }

    .md\:-right-16 {
        right: -4rem;
    }

    .md\:block {
        display: block;
    }
}

/* Filter classes */
.filter {
    filter: var(--tw-filter);
}