.legacy-container {
    max-width: 900px;
    width: 95%;
    margin: 0 auto;
    padding-bottom: 5rem;
    color: white;
    font-family: "Courier New", Courier, monospace;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gratitude-box {
    width: 100%;
    padding: 3rem;
    background-color: #050505;
    border: 1px solid #222;
    margin-bottom: 4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1.2s ease-out forwards;
    text-align: center;
}

.gratitude-box p {
    font-size: 1.4rem;
    line-height: 1.8;
    letter-spacing: 1px;
    color: #eee;
}

.credits-wrapper {
    display: flex;
    width: 100%;
    gap: 4rem;
    justify-content: center;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.credits-column {
    flex: 1;
    max-width: 400px;
}

.credits-column h3 {
    font-size: 1.2rem;
    letter-spacing: 4px;
    color: white;
    margin-bottom: 2rem;
    border-bottom: 1px solid #333;
    padding-bottom: 0.5rem;
    text-align: center;
}

.bullet-list {
    list-style: none;
    padding: 0;
}

.bullet-list li {
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
    transition: all 0.3s ease;
    color: #888;
}

.bullet-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #666;
    transition: all 0.3s ease;
}

.bullet-list li:hover {
    color: white;
    transform: translateX(5px);
}

.bullet-list li:hover::before {
    color: #aaa;
}

/* VERY IMPORTANT PEOPLE styles */
.very-important li {
    font-size: 1.3rem;
    color: #eee;
}

.very-important li::before {
    color: #666;
    font-size: 1.5rem;
    top: -2px;
}

.very-important li:hover {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.highlighted {
    color: #fff !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    font-weight: bold;
}

.crossed-out {
    text-decoration: line-through;
    color: #444 !important;
}

.tooltip {
    position: relative;
    cursor: help;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
    z-index: 10;
    border: 1px solid #555;
    letter-spacing: normal;
    text-shadow: none;
    text-decoration: none;
}

.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Updates Button Styling */
.updates-button-container {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 1000;
}

.updates-button-container .x-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: auto;
    height: 40px;
    opacity: 1; /* Override 0 from Front.css if needed, though we'll use our own animation or just let it show */
    animation: fadeIn 1s ease-in forwards;
}

.updates-button-container .x-shape {
    width: 40px;
    height: 40px;
}

.updates-button-container .line-1,
.updates-button-container .line-2 {
    background-color: #0000ff !important; /* Blue X */
}

.updates-button-container .x-button:hover .line-1,
.updates-button-container .x-button:hover .line-2 {
    background-color: #0000ff !important; /* Keep it blue on hover, or change to lighter blue if desired */
}

.x-text-horizontal {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: 1rem;
    color: white;
    font-family: "Courier New", Courier, monospace;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    pointer-events: none;
}

.x-text-horizontal span {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: blur(4px);
    display: inline-block;
}

.updates-button-container .x-button:hover .x-text-horizontal span {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
}

/* Stagger the letters for 'Updates' */
.x-text-horizontal span:nth-child(1) { transition-delay: 0.05s; }
.x-text-horizontal span:nth-child(2) { transition-delay: 0.1s; }
.x-text-horizontal span:nth-child(3) { transition-delay: 0.15s; }
.x-text-horizontal span:nth-child(4) { transition-delay: 0.2s; }
.x-text-horizontal span:nth-child(5) { transition-delay: 0.25s; }
.x-text-horizontal span:nth-child(6) { transition-delay: 0.3s; }
.x-text-horizontal span:nth-child(7) { transition-delay: 0.35s; }

@media (max-width: 800px) {
    .credits-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }

    .gratitude-box {
        padding: 1.5rem;
    }

    .gratitude-box p {
        font-size: 1.1rem;
    }
}
