.mastermind-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.color-picker {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.peg {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid rgba(255,255,255,0.2);
    box-shadow: inset 0px -4px 8px rgba(0,0,0,0.4), 0 0 10px rgba(0,0,0,0.5);
    transition: transform 0.2s, box-shadow 0.2s;
}

.peg:hover {
    transform: scale(1.1);
}

.peg:active {
    transform: scale(0.95);
}

.peg.selected {
    border: 2px solid white;
    transform: scale(1.1);
    box-shadow: inset 0px -4px 8px rgba(0,0,0,0.4), 0 0 20px currentColor;
}

.board {
    display: flex;
    flex-direction: column-reverse; /* Bottom up */
    gap: 10px;
    width: 100%;
    padding: 20px;
    background: rgba(20, 20, 25, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}

.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: rgba(255,255,255,0.03);
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.05);
    opacity: 0.5;
    transition: opacity 0.3s;
}

.row.active {
    opacity: 1;
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}

.row-guess {
    display: flex;
    gap: 12px;
}

.guess-hole {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.5);
}

.row-feedback {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    padding: 5px;
    background: rgba(0,0,0,0.2);
    border-radius: 50%;
}

.feedback-hole {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.8);
}

.feedback-hole.exact {
    background: #00ff00;
    box-shadow: 0 0 8px #00ff00;
}

.feedback-hole.color {
    background: #ffffff;
    box-shadow: 0 0 8px #ffffff;
}

.current-guess-controls {
    display: flex;
    gap: 15px;
}

.premium-btn.red {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(220, 38, 38, 0.1) 100%);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

.premium-btn.red:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3) 0%, rgba(220, 38, 38, 0.15) 100%);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.premium-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.1);
    box-shadow: none;
}

.status-msg {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 10px 0;
    height: 1.5rem;
    color: #a5b4fc;
}
