/* Reset default margin & padding */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-image: url(images/back.png);
color: #f5f5f5;
line-height: 1.6;
padding: 40px 20px;
}
.container {
max-width: 800px;
margin: auto;
background-color: #2a2a2a;
Blackjack Quick Rules
π Blackjack (21) π€β οΈ
π― Goal
Beat the π§ββοΈ dealer without going over 21.
π‘ Card Values
- 2β10 = face value π’
- J, Q, K = 10 π
- Ace = 1 or 11 π
π The Deal
- You get 2 cards
- Dealer shows 1, hides 1 π΅οΈ
- Blackjack = A + 10 π€
β Your Options
- Hit βπ β Take another card
- Stand β β Keep your hand
- Double Down π° β Double bet, one more card
- Split βοΈ β Two same cards = two hands
- Surrender π³οΈ β Forfeit half, end early (if allowed)
π€ Dealer Rules
- Hits until 17 or higher π
- Must follow table rules π
π Win If:
- You're closer to 21 than dealer
- Dealer busts π₯
- You get Blackjack π£ and dealer doesnβt
π Lose If:
- You bust
- Dealer is closer
π€ Push:
Tie = no win, no loss