* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    width: 100%;
    font-family: Arial, sans-serif;
    overflow: hidden;
}

.container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
}

#token-display {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    cursor: pointer;
}

#token-image {
    display: block;
    max-width: 100%;
    max-height: 100vh;
    object-fit: contain;
}

#text-overlay {
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.word {
    display: inline-block;
    margin: 0 5px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.word.visible {
    opacity: 1;
}

.description {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 5%;
    border-radius: 10px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 4vmin;
    line-height: 1.6;
    overflow: auto;
}

.description p {
    margin-bottom: 3%;
}

.description p:last-child {
    margin-bottom: 0;
}

.haiku {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 5vmin;
    line-height: 1.8;
    font-style: italic;
}

.haiku-line {
    margin-bottom: 5%;
}

/* Using relative sizing instead of media queries for better responsiveness */
