@font-face {
    font-family: 'Mazzard';
    src: url('fonts/MazzardH-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Gotham';
    src: url('fonts/Gotham-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

.hint {
    font-family: 'Gotham', sans-serif;
}

.hint .wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    opacity: 0;
    animation: fadeAnimation 0.3s ease-in forwards;
}

.hint .blackout-img {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    opacity: 0;
    animation: fadeInBlackout 0.5s ease-in forwards;
}

.hint .container {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1.5vh;
    bottom: 1vh;
    width: 100%;
    animation: slideUp 0.5s ease-out forwards;
}

.hint .container__colored-ellipse {
    position: absolute;
    transform: translateY(80%) scale(0.8);
    width: 34vw;
    height: 20vw;
    border-radius: 100%;
    filter: blur(5vw);
    background: linear-gradient(135deg, rgba(255, 167, 34, 0.3), rgba(255, 255, 255, 0.1));
    z-index: 0;
    animation: pulseEllipse 2s ease-in-out infinite;
}

.hint .container__pre-title {
    font-family: 'Mazzard', sans-serif;
    font-size: 0.72vw;
    font-weight: 900;
    font-style: italic;
    line-height: 1.2vw;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #d1d1d1;
    z-index: 1;
    opacity: 0;
    animation: fadeInText 0.5s ease-in forwards 0.2s;
}

.hint .container__title {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 1.5vw;
}

.hint .container__title__line {
    width: 15%;
    height: 0.05vw;
    background: linear-gradient(-90deg, rgba(255, 167, 34, 0.7) 0%, transparent 100%);
    opacity: 0;
    animation: stretchLine 0.6s ease-out forwards 0.3s;
}

.hint .container__title__line.right {
    background: linear-gradient(90deg, rgba(255, 167, 34, 0.7) 0%, transparent 100%);
}

.hint .container__title span {
    font-family: 'Mazzard', sans-serif;
    font-size: 2.7vw;
    font-weight: 900;
    font-style: italic;
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 167, 34, 0.5);
    opacity: 0;
    animation: fadeInText 0.5s ease-in forwards 0.4s;
}

.hint .container__post-title {
    font-family: 'Gotham', sans-serif;
    font-size: 0.9vw;
    font-weight: 500;
    line-height: 1.35vw;
    color: #ffa722;
    text-shadow: 0 0 5px rgba(255, 167, 34, 0.3);
    z-index: 1;
    opacity: 0;
    animation: fadeInText 0.5s ease-in forwards 0.5s;
}

.hint .container__description {
    font-family: 'Gotham', sans-serif;
    font-size: 0.9vw;
    font-weight: 500;
    line-height: 1.08vw;
    text-align: center;
    color: #e0e0e0;
    z-index: 1;
    opacity: 0;
    animation: fadeInText 0.5s ease-in forwards 0.6s;
}

.hint .container__timer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 15vw;
    z-index: 1;
}

.hint .container__timer__title {
    font-family: 'Gotham', sans-serif;
    font-size: 0.9vw;
    font-weight: 500;
    line-height: 1.17vw;
    color: #d1d1d1;
    opacity: 0;
    animation: fadeInText 0.5s ease-in forwards 0.7s;
}

.hint .container__timer__time {
    font-family: 'Mazzard', sans-serif;
    font-size: 2.25vw;
    font-weight: 900;
    font-style: italic;
    line-height: 2.7vw;
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 167, 34, 0.5);
    animation: scaleUpOnChange 0.15s ease-in-out;
    opacity: 0;
    animation: fadeInText 0.5s ease-in forwards 0.8s, scaleUpOnChange 0.15s ease-in-out;
}

.hint .container__timer__progress-bar {
    height: 0.3vw;
    border-radius: 0.3vw;
    background: #ffa722;
    transition: width 0.1s linear;
    box-shadow: 0 0 12px rgba(255, 167, 34, 0.8);
    animation: glowBar 1.5s ease-in-out infinite;
}

.hint .container__post-description {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8vw;
    z-index: 1;
}

.hint .container__post-description .material-icons {
    width: 1.3vw;
    height: 1.3vw;
    font-size: 1.3vw;
    line-height: 1.3vw;
    color: #ffa722;
    opacity: 0;
    animation: fadeInText 0.5s ease-in forwards 0.9s;
}

.hint .container__post-description span {
    font-family: 'Gotham', sans-serif;
    font-size: 0.9vw;
    font-weight: 500;
    line-height: 1.17vw;
    color: #e0e0e0;
    opacity: 0;
    animation: fadeInText 0.5s ease-in forwards 0.9s;
}

@keyframes fadeAnimation {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInBlackout {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes pulseEllipse {
    0% { transform: translateY(80%) scale(0.8); filter: blur(5vw); }
    50% { transform: translateY(80%) scale(0.95); filter: blur(4.5vw); }
    100% { transform: translateY(80%) scale(0.8); filter: blur(5vw); }
}

@keyframes fadeInText {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes stretchLine {
    from { width: 0; opacity: 0; }
    to { width: 15%; opacity: 1; }
}

@keyframes scaleUpOnChange {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

@keyframes glowBar {
    0% { box-shadow: 0 0 12px rgba(255, 167, 34, 0.8); }
    50% { box-shadow: 0 0 18px rgba(255, 167, 34, 1); }
    100% { box-shadow: 0 0 12px rgba(255, 167, 34, 0.8); }
}