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

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: #f5f5f5;
    color: #333;
}

#gameContainer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.game-header {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.game-header h1 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.status-bar {
    display: flex;
    gap: 40px;
    font-size: 18px;
    font-weight: 700;
}

.money {
    color: #27ae60;
}

.score {
    color: #3498db;
}

.income-info {
    color: #27ae60;
    font-weight: 700;
}

.game-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.map-container {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.japan-map {
    width: 100%;
    height: 800px;
    position: relative;
    background: #e8f4f8;
    border-radius: 8px;
    overflow: hidden;
}

.prefecture {
    position: absolute;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 80px;
    width: 13%;
}

.prefecture.conquered {
    background: #27ae60;
    color: white;
}

.prefecture.available {
    background: #ecf0f1;
    color: #2c3e50;
}

.prefecture.available:hover {
    background: #3498db;
    color: white;
    transform: scale(1.05);
}

.prefecture.selected {
    border-color: #e74c3c;
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.5);
}

.info-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.current-company, .target-info, .log-panel {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.current-company h3, .target-info h3, .log-panel h3 {
    margin-bottom: 15px;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 8px;
}

.company-info div, .target-details div {
    margin-bottom: 8px;
    font-size: 14px;
}

.company-name {
    font-size: 18px !important;
    font-weight: 700;
    color: #e74c3c;
}

.acquire-btn {
    width: 100%;
    padding: 12px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 15px;
    transition: background 0.3s ease;
}

.acquire-btn:hover {
    background: #c0392b;
}

.acquire-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
}

.game-log {
    max-height: 200px;
    overflow-y: auto;
}

.log-entry {
    padding: 8px 0;
    border-bottom: 1px solid #ecf0f1;
    font-size: 14px;
}

.log-entry:last-child {
    border-bottom: none;
}

.achievements-panel {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.achievements-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.achievement {
    display: flex;
    align-items: center;
    padding: 8px;
    border-radius: 6px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.achievement.unlocked {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border-color: #ffd700;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.achievement-icon {
    font-size: 24px;
    margin-right: 8px;
    width: 32px;
    text-align: center;
}

.achievement-info {
    flex: 1;
}

.achievement-title {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 2px;
}

.achievement-desc {
    font-size: 10px;
    color: #666;
}

.achievement.unlocked .achievement-desc {
    color: #333;
}

@media (max-width: 768px) {
    .game-content {
        grid-template-columns: 1fr;
    }
    
    .status-bar {
        flex-direction: column;
        gap: 10px;
    }
    
    .achievements-list {
        grid-template-columns: 1fr;
    }
}