* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: url('/img/background.png') center/cover no-repeat fixed;
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.container {
    max-width: 400px;
    width: 100%;
    background: rgba(30, 30, 30, 0.3);
    border-radius: 25px;
    padding: 2.5rem 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: auto;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    background-color: transparent;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 700;
}

.tagline {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: #cccccc;
    font-weight: 500;
    font-style: italic;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
    width: 100%;
}

.link-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.2rem 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    font-weight: 600;
    width: 100%;
}

.link-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Statistics styles */
.stats-container {
    margin: 2rem 0;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.2rem 1.5rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.stat-name {
    font-weight: 600;
    font-size: 1rem;
}

.stat-count {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0.4rem 1rem;
    font-weight: 700;
    font-size: 0.9rem;
}

.total-stat {
    background: rgba(74, 144, 226, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
    margin-top: 1rem;
}

.system-stats {
    background: rgba(100, 100, 100, 0.2);
    border-radius: 16px;
    padding: 1rem;
    margin: 1rem 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Login form styles */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
    width: 100%;
}

.login-input {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1rem;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.login-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.login-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.login-submit {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.login-submit:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 480px) {
    .container {
        padding: 2rem 1.5rem;
        max-width: 350px;
    }
    
    h1 {
        font-size: 1.6rem;
    }
    
    .tagline {
        font-size: 0.9rem;
    }
    
    .avatar {
        width: 100px;
        height: 100px;
    }
    
    .link-item {
        padding: 1rem 1.2rem;
    }
    
    .stat-item {
        padding: 1rem 1.2rem;
    }
}