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

body {
    font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f5f7fa;
    min-height: 100vh;
    padding: 0;
    color: #2c3e50;
}

.game-container {
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
}

.game-header {
    background: #1a365d;
    color: white;
    padding: 30px 40px;
    border-bottom: 4px solid #2c5282;
}

.game-header h1 {
    font-size: 26px;
    margin-bottom: 25px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.stat {
    background: rgba(255, 255, 255, 0.1);
    padding: 18px 20px;
    border-radius: 4px;
    border-left: 3px solid #4299e1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-label {
    font-size: 12px;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Space Mono', monospace;
}

.game-main {
    padding: 40px;
    display: grid;
    gap: 30px;
    background: #f5f7fa;
}

section h2 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #1a365d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
}

.customer-list {
    background: white;
    padding: 30px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.customers {
    display: grid;
    gap: 20px;
}

.customer-card {
    background: white;
    padding: 25px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #2c5282;
    transition: box-shadow 0.2s;
}

.customer-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.customer-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a365d;
}

.customer-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    font-size: 13px;
    color: #4a5568;
    margin-bottom: 15px;
    padding: 15px;
    background: #f7fafc;
    border-radius: 2px;
}

.customer-services {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.service-btn {
    padding: 10px 18px;
    border: 1px solid #cbd5e0;
    border-radius: 2px;
    background: white;
    color: #2c5282;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.service-btn:hover {
    background: #2c5282;
    color: white;
    border-color: #2c5282;
}

.service-btn:disabled {
    background: #e2e8f0;
    color: #a0aec0;
    cursor: not-allowed;
    border-color: #e2e8f0;
}

.actions {
    background: white;
    padding: 30px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.action-btn {
    padding: 25px;
    border: 1px solid #cbd5e0;
    border-radius: 2px;
    background: white;
    color: #2c3e50;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.action-btn:hover {
    background: #1a365d;
    color: white;
    border-color: #1a365d;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.action-btn:disabled {
    background: #f7fafc;
    color: #a0aec0;
    cursor: not-allowed;
    border-color: #e2e8f0;
}

.btn-icon {
    font-size: 28px;
}

.btn-text {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-cost {
    font-size: 12px;
    opacity: 0.7;
    font-family: 'Space Mono', monospace;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.services {
    background: white;
    padding: 30px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.log {
    background: white;
    padding: 30px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.log-content {
    max-height: 300px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.log-entry {
    padding: 12px 15px;
    background: #f7fafc;
    border-radius: 2px;
    font-size: 13px;
    border-left: 3px solid #cbd5e0;
    font-family: 'Space Mono', monospace;
}

.log-entry.success {
    border-left-color: #38a169;
    background: #f0fff4;
}

.log-entry.warning {
    border-left-color: #d69e2e;
    background: #fffaf0;
}

.log-entry.error {
    border-left-color: #e53e3e;
    background: #fff5f5;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 54, 93, 0.85);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 50px;
    border-radius: 2px;
    max-width: 500px;
    text-align: center;
    animation: modalSlide 0.3s ease-out;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

@keyframes modalSlide {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content h2 {
    color: #1a365d;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-content p {
    color: #4a5568;
    margin-bottom: 30px;
    line-height: 1.8;
}

.modal-btn {
    padding: 14px 50px;
    border: none;
    border-radius: 2px;
    background: #1a365d;
    color: white;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-btn:hover {
    background: #2c5282;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.satisfaction-bar {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 0;
    overflow: hidden;
    margin-top: 15px;
}

.satisfaction-fill {
    height: 100%;
    background: #2c5282;
    transition: width 0.3s ease;
}

@media (max-width: 768px) {
    .game-header {
        padding: 20px;
    }

    .game-header h1 {
        font-size: 20px;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .game-main {
        padding: 20px;
    }

    .action-buttons {
        grid-template-columns: 1fr;
    }

    .customer-info {
        grid-template-columns: 1fr;
    }
}

