.success-list {
    width: 100%;
    max-width: 500px;
    background: rgba(255,255,255,0.7);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.8);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.success-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(39,174,96,0.1);
    border-bottom: 1px solid rgba(39,174,96,0.2);
    color: #27ae60;
    font-size: 1rem;
}

.success-count {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: normal;
}

.success-items {
    padding: 15px;
    max-height: 200px;
    overflow-y: auto;
    min-height: 60px;
    color: #2c3e50;
}

.success-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    margin-bottom: 8px;
    background: rgba(39,174,96,0.05);
    border-radius: 8px;
    border-left: 3px solid #27ae60;
    font-size: 0.95rem;
}

.success-item:last-child {
    margin-bottom: 0;
}

.success-labels {
    font-weight: bold;
    color: #27ae60;
}

.success-result {
    font-weight: bold;
    color: #2c3e50;
}* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #f7f3e9 0%, #e8dcc6 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #2c3e50;
    padding: 20px;
}

.game-container {
    text-align: center;
    max-width: 600px;
    width: 100%;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    color: #34495e;
}

.instructions {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.4;
}

.game-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
    padding: 15px;
    background: rgba(255,255,255,0.6);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.8);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.target, .level, .progress, .score {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
}

.pyramid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.pyramid-row {
    display: flex;
    gap: 15px;
}

.number-tile {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: rgba(255,255,255,0.8);
    border: 2px solid #d4c5a9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    user-select: none;
    padding: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.number-tile:hover {
    background: rgba(255,255,255,0.95);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #16a085;
}

.number-tile.selected {
    background: #16a085;
    border-color: #1abc9c;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(22,160,133,0.4);
}

.number-tile.selected .label,
.number-tile.selected .number {
    color: white;
}

.label {
    font-size: 0.8rem;
    font-weight: bold;
    color: #e67e22;
    margin-bottom: 2px;
}

.number {
    font-size: 1.1rem;
    font-weight: bold;
    color: #2c3e50;
}

.controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.selected-info {
    min-height: 50px;
    padding: 15px;
    background: rgba(255,255,255,0.7);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.8);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.calculation {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.result {
    font-size: 1.3rem;
    font-weight: bold;
}

.result.correct {
    color: #27ae60;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.result.incorrect {
    color: #e74c3c;
}

.buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

button {
    padding: 12px 24px;
    font-size: 1rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.clear-btn {
    background: #e67e22;
    color: white;
}

.clear-btn:hover {
    background: #d35400;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211,84,0,0.3);
}

.new-game-btn {
    background: #27ae60;
    color: white;
}

.new-game-btn:hover {
    background: #229954;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34,153,84,0.3);
}

.show-found-btn {
    background: #9b59b6;
    color: white;
}

.show-found-btn:hover {
    background: #8e44ad;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(142,68,173,0.3);
}

.show-answer-btn {
    background: #3498db;
    color: white;
}

.show-answer-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(41,128,185,0.3);
}

.success-animation {
    animation: pulse 0.6s ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@media (max-width: 480px) {
    .game-info {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .target, .level, .progress, .score {
        font-size: 1rem;
    }
    
    .success-list {
        max-width: 100%;
    }
    
    .success-header {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .success-items {
        padding: 12px;
        max-height: 150px;
    }
    
    .success-item {
        padding: 6px 10px;
        font-size: 0.85rem;
    }
    
    .number-tile {
        width: 60px;
        height: 60px;
        padding: 3px;
        box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    }
    
    .label {
        font-size: 0.7rem;
        margin-bottom: 1px;
    }
    
    .number {
        font-size: 0.9rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    button {
        width: 100%;
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}