* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f7971e 0%, #ffd200 100%);
    min-height: 100vh;
    color: #222;
    padding: 20px;
}
.game-container {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255,255,255,0.97);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.13);
    padding: 30px;
    border: 2px solid rgba(247,151,30,0.12);
}
.game-header {
    text-align: center;
    margin-bottom: 24px;
    border-bottom: 3px solid #f7971e;
    padding-bottom: 16px;
}
.game-header h1 {
    font-size: 2rem;
    color: #f7971e;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.07);
    font-weight: bold;
}
.game-status {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.score-label {
    color: #f7971e;
    font-weight: bold;
}
.score-value {
    padding: 4px 10px;
    border-radius: 8px;
    background: #fffbe6;
    color: #f7971e;
    font-weight: bold;
    font-size: 1.1rem;
    border: 1px solid #f7971e;
}
.game-btn {
    padding: 8px 18px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    background: linear-gradient(45deg, #f7971e, #ffd200);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}
.game-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(247,151,30,0.12);
    background: linear-gradient(45deg, #ffd200, #f7971e);
}
.game-btn:active {
    transform: translateY(0);
}
.game-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}
.game-board-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}
.board {
    display: grid;
    grid-template-columns: repeat(4, 70px);
    grid-template-rows: repeat(4, 70px);
    gap: 12px;
    background: #fffbe6;
    border-radius: 12px;
    padding: 12px;
}
.card {
    width: 70px;
    height: 70px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: #f7971e;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(247,151,30,0.08);
    transition: background 0.2s, color 0.2s;
    user-select: none;
    position: relative;
}
.card.flipped, .card.matched {
    background: #f7971e;
    color: #fff;
    cursor: default;
}
.card.matched {
    background: #ffd200;
    color: #fff;
}
.instructions {
    background: rgba(247,151,30,0.08);
    border-radius: 15px;
    padding: 16px;
    border: 2px solid rgba(247,151,30,0.12);
    margin-top: 10px;
}
.instructions h3 {
    color: #f7971e;
    margin-bottom: 8px;
    text-align: center;
    font-size: 1.1rem;
}
.instructions ul {
    margin-left: 20px;
    color: #222;
    font-size: 1rem;
}
