body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #2d2d2e;
    color: #334155;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
	background-image: url('https://cdn.steamstatic.com/apps/dota2/images/dota_react//largo/largo_comic_cover.png'); 
    background-size: cover; 
    background-position: center;  
    background-repeat: no-repeat; 
    background-attachment: fixed;
}

header {
    background-color: #0f172a;
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	position: relative;
}

main {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
}

.hero {
    text-align: center;
    padding: 2rem;
    background-color: #111e30;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    max-width: 650px;
    width: 100%;
}


.rotating-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
    
    animation: spin 6s linear infinite; 
}

/* The animation instructions */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

h2 {
    margin-bottom: 1.5rem;
    color: #d4d5d6;
}

/* Styles for your new image */
.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

footer {
    text-align: center;
    padding: 1rem;
    background-color: #111e30;
    font-size: 0.875rem;
}

/* --- Modern Glassmorphism Stats Button --- */
.modern-stats-btn {
    position: absolute;
    left: 2rem; /* Keeps it perfectly spaced from the left edge */
    top: 50%;
    transform: translateY(-50%); /* Centers it perfectly vertically in the header */
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.05); /* Semi-transparent background */
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    border-radius: 30px; /* Modern pill shape */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle glowing border */
    backdrop-filter: blur(10px); /* The frosted glass effect */
    transition: all 0.3s ease;
}

.modern-stats-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    /* The transform below keeps it centered while making it pop slightly */
    transform: translateY(-50%) scale(1.05); 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* --- Modern Glassmorphism Back Button --- */
.modern-back-btn {
    position: absolute;
    left: 2rem; /* Places it on the left side of the header */
    top: 50%;
    transform: translateY(-50%);
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.modern-back-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.05); 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.player-card {
    display: flex;
    align-items: center;
    background-color: #1a202f;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.player-card img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    margin-right: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.player-info h3 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
}

.player-info p {
    margin: 2px 0;
    font-size: 0.9rem;
}

.last-seen {
    color: #94a3b8;
    font-size: 0.8rem !important;
}

/* --- Floating Audio Button --- */
.audio-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    z-index: 1000; /* Keeps it on top of everything */
    transition: all 0.3s ease;
}

.audio-button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
}