* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
  font-family: "Diary";
  src: url("assets/fonts/DiaryOfAWimpyKidFont-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

body {
    font-family: 'Diary', cursive;
    min-height: 100vh;
    /* overflow: hidden; */
    position: relative;
}

/* Dark liquid glass background */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #edebeb 0%, #e4e4de 50%, #bfc3be 100%);
    z-index: -2;
}

/* Lighter background */
.background-light {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fdfbf3; 
    background-image: url('assets/rice-paper-3.png');
    background-repeat: repeat;
    z-index: -2;
    padding: 20px;
}

/* Animated liquid glass effect */
.liquid-glass {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
    radial-gradient(circle at 20% 50%, rgba(100, 50, 200, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(200, 50, 100, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(50, 150, 200, 0.1) 0%, transparent 50%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: liquidMove 20s ease-in-out infinite;
    z-index: -1;
}

@keyframes liquidMove {
    0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.8;
    }
    33% {
    transform: translate(30px, -30px) scale(1.1);
    opacity: 0.9;
    }
    66% {
    transform: translate(-20px, 20px) scale(0.9);
    opacity: 0.7;
    }
}

.landing-main-div {
    overflow: hidden;
}

/* Landing page */
.landing-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    min-width: 100vw;
    padding-top: 160px;
    position: relative;
    z-index: 1;
}

.question-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: 
    0 8px 32px 0 rgba(0, 0, 0, 0.37),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    text-align: center;
    max-width: 600px;
    width: 100%;
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
    opacity: 0;
    transform: translateY(20px);
    }
    to {
    opacity: 1;
    transform: translateY(0);
    }
}

.question {
    font-size: 3.5rem;
    color: hwb(0 0% 100% / 0.67);
    margin-bottom: 40px;
    letter-spacing: 2px;
    line-height: 1.2;
}

.input-container {
    position: relative;
    margin-top: 30px;
}

.answer-input {
    background: rgba(240, 235, 235, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 15px 20px;
    font-size: 1.5rem;
    color: hsla(249, 100%, 3%, 0.791);
    font-family: "Diary", cursive;
    width: 100%;
    max-width: 300px;
    text-align: center;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.answer-input:focus {
    border-color: #00000099;
    box-shadow: 
    0 0 20px #00000066,
    inset 0 0 20px rgba(0, 0, 0, 0.1);
}

.answer-input::placeholder {
    color: #0807074d;
    font-size: 1.2rem;
}

.hint {
    margin-top: 20px;
    font-size: 1rem;
    font-family: "Diary", cursive;
    background: color(srgb rgba(4, 0, 0, 0.575));
    opacity: 0.8;
}

/* Info page */
.info-page {
    /* display: none; */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
    background-color: #fdfbf3; 
    background-image: url('assets/rice-paper-3.png');
    background-repeat: repeat;
}

.info-page.active {
    display: flex;
    animation: fadeIn 1s ease-in;
}

.info-logo-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.info-logo {
    max-width: 240px;
    height: auto;
    border-radius: 20px;
    padding: 2px;
}

.info-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    background-color: #fdfbf3; 
    background-image: url('assets/lined-paper-2.png');
    background-repeat: repeat;
    border: 3px solid hsla(0, 0%, 4%, 0.668);
    border-radius: 20px;
    padding: 40px 20px;
    /* box-shadow: 
    0 8px 32px 0 rgba(0, 0, 0, 0.37),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1); */
    max-width: 900px;
    width: 100%;
}

.info-right-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.info-content {
    flex: 1;
    color: hsla(249, 100%, 3%, 0.791);
    font-size: 1.0rem;
    line-height: 1.8;
    text-align: left;
    padding-right: 20px;
}

.info-image-slider {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    /* padding-left: 20px; */
}

.info-value {
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif
}

.info-page, .info-content, .info-title, .info-item, .info-label, .info-value-info {
    /* font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
} */
    font-family: Diary, cursive; }
.info-title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 0 0 10px #e3daec, 0 0 20px hsl(0, 0%, 0%);
    margin-bottom: 40px;
    text-align: center;
    border-bottom: 2px solid hsl(69, 13%, 78%);
    padding-bottom: 10px;
}
.info-item {
    margin-bottom: 25px;
    padding-left: 20px;
    border-left: 3px solid hsl(266, 41%, 3%);
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(162,89,230,0.08);
}
.info-label {
    color: hwb(270 0% 99%);
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 1.1rem;
}
.info-value, .info-value-info {
    color: hsla(0, 0%, 0%, 0.924);
    font-size: 1.2rem;
    font-weight: 500;
    margin-left: 8px;
}

@media (max-width: 768px) {
    .question {
    font-size: 2.5rem;
    }

    .info-title {
    font-size: 2rem;
    }

    .info-content {
    font-size: 1.1rem;
    }

    .question-container,
    .info-container {
    padding: 40px 20px;
    }

    .info-container {
    flex-direction: column;
    }

    .info-image-slider {
    padding-left: 0;
    margin-top: 20px;
    }
}

.hands {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top:-200px;
}