@config "./tailwind.config.js";

body {
    @apply leading-[normal] m-0;
}

@layer base {

    *,
    *::before,
    *::after {
        border-width: 0;
    }
}

@font-face {
    font-family: 'Roboto';
    src: url('./font/Font Roboto/Roboto-Regular.woff2') format('woff2'),
        url('./font/Font Roboto/Roboto-Regular.woff') format('woff'),
        url('./font/Font Roboto/Roboto-Regular.ttf') format('truetype'),
        url('./font/Font Roboto/Roboto-Regular.eot') format('embedded-opentype'),
        url('./font/Font Roboto/Roboto-Regular.svg') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto-Thin';
    src: url('./font/Font Roboto/Thin/Roboto-Thin.woff2') format('woff2'),
        url('./font/Font Roboto/Thin/Roboto-Thin.woff') format('woff'),
        url('./font/Font Roboto/Thin/Roboto-Thin.ttf') format('truetype'),
        url('./font/Font Roboto/Thin/Roboto-Thin.eot') format('embedded-opentype'),
        url('./font/Font Roboto/Thin/Roboto-Thin.svg') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto-Italic';
    src: url('./font/Font Roboto/Regular-Italic/Roboto-Italic.woff2') format('woff2'),
        url('./font/Font Roboto/Regular-Italic/Roboto-Italic.woff') format('woff'),
        url('./font/Font Roboto/Regular-Italic/Roboto-Italic.ttf') format('truetype'),
        url('./font/Font Roboto/Regular-Italic/Roboto-Italic.eot') format('embedded-opentype'),
        url('./font/Font Roboto/Regular-Italic/Roboto-Italic.svg') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto-Thin-Italic';
    src: url('./font/Font Roboto/Thin-Italic/Roboto-ThinItalic.woff2') format('woff2'),
        url('./font/Font Roboto/Thin-Italic/Roboto-ThinItalic.woff') format('woff'),
        url('./font/Font Roboto/Thin-Italic/Roboto-ThinItalic.ttf') format('truetype'),
        url('./font/Font Roboto/Thin-Italic/Roboto-ThinItalic.eot') format('embedded-opentype'),
        url('./font/Font Roboto/Thin-Italic/Roboto-ThinItalic.svg') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'iCielBambola';
    src: url('./font/iCielBambola/iCielBambola.woff2') format('woff2'),
        url('./font/iCielBambola/iCielBambola.woff') format('woff'),
        url('./font/iCielBambola/iCielBambola.ttf') format('truetype'),
        url('./font/iCielBambola/iCielBambola.eot') format('embedded-opentype'),
        url('./font/iCielBambola/iCielBambola.svg') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'UTMViceroyJF';
    src: url('./font/ViceroyJF/UTMViceroyJF.woff2') format('woff2'),
        url('./font/ViceroyJF/UTMViceroyJF.woff') format('woff'),
        url('./font/ViceroyJF/UTMViceroyJF.ttf') format('truetype'),
        url('./font/ViceroyJF/UTMViceroyJF.eot') format('embedded-opentype'),
        url('./font/ViceroyJF/UTMViceroyJF.svg') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
*,
::before,
::after {
    border-width: 0;
}

:root {
    /* Colors */
    --color-whitesmoke-100: #f8f8f8;
    --color-whitesmoke-200: #efefef;
    --color-white: #fff;
    --color-royalblue: #183761;
    --color-slategray: #637381;
    --color-gray-100: #897676;
    --color-gray-200: #1e1e1e;
    --color-gray-300: #111928;
    --color-gray-400: rgba(255, 255, 255, 0.68);
    --color-gray-500: #3B3B3B;
    --color-darkslategray: #48545f;
    --color-gold: #fecb00;
    --color-darkgray: #acb1b6;
    --color-darkorange: #ff8115;

    /* Fonts */
    --font-inter: "Inter", sans-serif;
    --font-thunder: "SVN-A Love Of Thunder", cursive;
    --font-inherit: inherit;
    --font-mulish: "Mulish", sans-serif;
    --font-rubik: "Rubik", sans-serif;
    --font-roboto: "Roboto", sans-serif;
    --font-roboto-thin: "Roboto-Thin", sans-serif;
    --font-roboto-italic: "Roboto-Italic", sans-serif;
    --font-roboto-thin-italic: "Roboto-Thin-Italic", sans-serif;
    --font-iCielBambola: "iCielBambola", sans-serif;
    --font-UTMViceroyJF: "UTMViceroyJF", sans-serif;
}

/* Utility classes giống Tailwind */
.text-whitesmoke-100 {
    color: var(--color-whitesmoke-100);
}

.text-whitesmoke-200 {
    color: var(--color-whitesmoke-200);
}

.text-white {
    color: var(--color-white);
}

.text-royalblue {
    color: var(--color-royalblue);
}

.text-slategray {
    color: var(--color-slategray);
}

.text-gray-100 {
    color: var(--color-gray-100);
}

.text-gray-200 {
    color: var(--color-gray-200);
}

.text-gray-300 {
    color: var(--color-gray-300);
}

.text-gray-400 {
    color: var(--color-gray-400);
}

.text-darkslategray {
    color: var(--color-darkslategray);
}

.text-gold {
    color: var(--color-gold);
}

.text-darkgray {
    color: var(--color-darkgray);
}

.text-gray {
    color: var(--color-gray-500);
}

.text-darkorange {
    color: var(--color-darkorange);
}

/* Background utilities */
.bg-whitesmoke-100 {
    background-color: var(--color-whitesmoke-100);
}

.bg-whitesmoke-200 {
    background-color: var(--color-whitesmoke-200);
}

.bg-white {
    background-color: var(--color-white);
}

.bg-royalblue {
    background-color: var(--color-royalblue);
}

.bg-slategray {
    background-color: var(--color-slategray);
}

.bg-gray-100 {
    background-color: var(--color-gray-100);
}

.bg-gray-200 {
    background-color: var(--color-gray-200);
}

.bg-gray-300 {
    background-color: var(--color-gray-300);
}

.bg-gray-400 {
    background-color: var(--color-gray-400);
}

.bg-darkslategray {
    background-color: var(--color-darkslategray);
}

.bg-gold {
    background-color: var(--color-gold);
}

.bg-darkgray {
    background-color: var(--color-darkgray);
}

.bg-darkorange {
    background-color: var(--color-darkorange);
}

/* Font family utilities */
.font-inter {
    font-family: var(--font-inter);
}

.font-thunder {
    font-family: var(--font-thunder);
}

.font-inherit {
    font-family: var(--font-inherit);
}

.font-mulish {
    font-family: var(--font-mulish);
}

.font-rubik {
    font-family: var(--font-rubik);
}

.font-roboto {
    font-family: var(--font-roboto);
}

.font-roboto-thin {
    font-family: var(--font-roboto-thin);
}

.font-roboto-italic {
    font-family: var(--font-roboto-thin-italic);
}

.font-iCielBambola {
    font-family: var(--font-iCielBambola);
}
.font-UTMViceroyJF {
    font-family: var(--font-UTMViceroyJF);
}
.font-md {
    font-weight: 500;
}

body {
    font-family: 'Roboto', sans-serif !important;
}


.gradient-text-gold {
    background: linear-gradient(90deg, #FBC926, #FFFBCC, #E7D28E, #CCA246, #C3922E, #EED688, #FBC926);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-flow-gold 5s ease-in-out infinite;
}

@keyframes gradient-flow-gold {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.gradient-text-white {
    background: linear-gradient(90deg, #d3d3d4, #ffffff, #d3d3d4);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-flow 3s ease-in-out infinite;
}

@keyframes gradient-flow {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.star {
    width: 6px;
    height: 6px;
    background: radial-gradient(circle,
            rgba(241, 216, 73, 0.9) 0%,
            /* tâm sáng */
            rgba(255, 255, 200, 0.3) 20%,
            /* mờ dần */
            transparent 40%
            /* biến mất hẳn */
        );
    border-radius: 50%;
    animation: twinkle 2s infinite ease-in-out;
}

/* 2 tia chéo */
.star::before,
.star::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    z-index: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(255, 240, 200, 0.8), transparent);
    transform: translate(-50%, -50%) rotate(45deg);
    filter: blur(1px);
    /* làm mềm tia */
}

.star::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Star size medium */
.star-medium {
    width: 4px;
    height: 4px;
    background: radial-gradient(circle,
            rgba(255, 255, 200, 0.8) 0%,
            rgba(255, 255, 200, 0.2) 20%,
            transparent 40%);
    border-radius: 50%;
    animation: twinkle 2.5s infinite ease-in-out;
}

.star-medium::before,
.star-medium::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    z-index: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 200, 0.6), transparent);
    transform: translate(-50%, -50%) rotate(45deg);
    filter: blur(0.8px);
}

.star-medium::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Star size small */
.star-small {
    width: 3px;
    height: 3px;
    background: radial-gradient(circle,
            rgba(255, 255, 200, 0.7) 0%,
            rgba(255, 255, 200, 0.15) 20%,
            transparent 40%);
    border-radius: 50%;
    animation: twinkle 3s infinite ease-in-out;
}

.star-small::before,
.star-small::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    z-index: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 200, 0.5), transparent);
    transform: translate(-50%, -50%) rotate(45deg);
    filter: blur(0.5px);
}

.star-small::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* nhấp nháy */
@keyframes twinkle {

    0%,
    100% {
        opacity: 0.2;
        transform: scale(0.9);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}