* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.language-selector select {
    padding: 10px 15px;
    border: 2px solid white;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.9);
    color: #667eea;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.language-selector select:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.language-selector select:focus {
    border-color: #764ba2;
}

h1 {
    text-align: center;
    color: white;
    margin-bottom: 30px;
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #667eea;
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon {
    font-size: 1.3em;
}

.progress-container {
    margin: 15px 0;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.95em;
    color: #666;
}

.progress-bar {
    width: 100%;
    height: 30px;
    background: #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 15px;
    transition: width 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.9em;
}

.info-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: #666;
    font-weight: 500;
}

.info-value {
    color: #333;
    font-weight: bold;
}

.system-card {
    grid-column: 1 / -1;
}

.last-update {
    text-align: center;
    color: white;
    margin-top: 20px;
    font-size: 0.9em;
}

.warning {
    background: #fef3c7;
    color: #92400e;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid #f59e0b;
}

.warning-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.app-promo {
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.app-promo-inner {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.app-promo-icon {
    display: block;
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    text-decoration: none;
}

.app-promo-icon img {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    display: block;
    object-fit: cover;
}

.app-promo-icon-fallback {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 1.4em;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    letter-spacing: 1px;
}

.app-promo-content {
    flex: 1;
    min-width: 0;
}

.app-promo-title {
    font-size: 1.05em;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
}

.app-promo-desc {
    font-size: 0.88em;
    color: #555;
    line-height: 1.5;
}

.app-promo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.app-promo-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    font-size: 0.78em;
    font-weight: 600;
}

.app-promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 22px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92em;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.35);
    flex-shrink: 0;
    align-self: center;
}

.app-promo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(102, 126, 234, 0.5);
}

@media (max-width: 768px) {
    .app-promo-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .app-promo-tags {
        justify-content: center;
    }

    .app-promo-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.8em;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.metric-box {
    background: #f8fafc;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

.metric-value {
    font-size: 2em;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 5px;
}

.metric-label {
    font-size: 0.9em;
    color: #666;
}
