* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

#video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content {
    position: relative;
    z-index: 1;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#welcome-message {
    font-size: 4rem;
    margin-bottom: 2rem;
    text-align: center;
}

#auth-container {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

#login-status {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

#steam-login-button {
    cursor: pointer;
    transition: transform 0.2s;
}

#steam-login-button:hover {
    transform: scale(1.05);
}

/* Rust Panel Styles */
#rust-panel {
    background-color: rgba(0, 0, 0, 0.85);
    border-radius: 10px;
    padding: 2rem;
    width: 90%;
    max-width: 1200px;
    margin-top: 2rem;
}

.hidden {
    display: none;
}

.rust-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

#user-avatar {
    width: 64px;
    height: 64px;
    border-radius: 5px;
    margin-right: 1rem;
}

.user-info h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.last-played {
    color: #cd412b;
    font-size: 0.9rem;
}

.achievements-bar {
    margin-bottom: 2rem;
}

.progress-bar {
    height: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress {
    height: 100%;
    background-color: #cd412b;
    transition: width 0.3s ease;
}

.achievements-count {
    text-align: right;
    font-size: 0.9rem;
    color: #cd412b;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.achievement {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    padding: 0.5rem;
    text-align: center;
    transition: transform 0.2s;
}

.achievement:hover {
    transform: scale(1.05);
}

.achievement img {
    width: 64px;
    height: 64px;
    margin-bottom: 0.5rem;
}

.achievement.locked {
    opacity: 0.5;
}

.rust-statistics {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
}

.rust-statistics h3 {
    margin-bottom: 1rem;
    color: #cd412b;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.5rem;
    color: #cd412b;
    font-weight: bold;
}
