body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to bottom, #1a1a1a, #2d2d2d);
    background-attachment: fixed;
    color: white;
}

table th {
    font-weight: 700;
}

table td {
    color: #e5e7eb;
}

.marquee-container {
    max-width: 400px;
    margin: 0 auto 3rem auto; /* Increased bottom margin to 3rem (48px) */
    overflow: hidden;
    padding: 0 16px;
}

.marquee {
    padding: 10px;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.marquee span {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 12s linear infinite;
    font-weight: 500;
    font-size: 18px;
    white-space: nowrap;
    will-change: transform;
}

.marquee:hover span {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
}

#userInfo {
    word-wrap: break-word;
    max-width: 100%;
}

.top-image {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.top-image:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
    .marquee span {
        font-size: 16px;
        animation: marquee 10s linear infinite;
    }
    
    .marquee-container {
        padding: 0 8px;
        margin-bottom: 2rem; /* Adjusted for mobile */
    }
}

#userTable {
    margin-left: auto;
    margin-right: auto;
}

#userTable td, #userTable th {
    text-align: center;
}