* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0a0a0a;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    overflow-y: auto;
    padding: 2rem 1rem;
}

.container {
    text-align: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeInCenter 1s ease-out forwards;
}

@keyframes fadeInCenter {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.azl {
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5),
                 0 0 40px rgba(255, 255, 255, 0.3);
}

.pink {
    color: #ff1493;
    text-shadow: 0 0 20px rgba(255, 20, 147, 0.8),
                 0 0 40px rgba(255, 20, 147, 0.6),
                 0 0 60px rgba(255, 20, 147, 0.4);
}

.glow-box {
    padding: 2rem;
    border: 2px solid rgba(255, 20, 147, 0.5);
    border-radius: 10px;
    background: rgba(255, 20, 147, 0.05);
    box-shadow: 0 0 30px rgba(255, 20, 147, 0.3),
                inset 0 0 30px rgba(255, 20, 147, 0.1);
    max-width: 600px;
    margin-top: 2rem;
}

.glow-box p {
    font-size: 1.2rem;
    color: #cccccc;
}

/* Blackjack Game Styles */
.blackjack-game {
    margin-top: 3rem;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeInGame 1s ease-out 2s forwards;
}

@keyframes fadeInGame {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.balance-display {
    background: rgba(255, 20, 147, 0.1);
    border: 2px solid rgba(255, 20, 147, 0.5);
    border-radius: 10px;
    padding: 1rem 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.balance-label {
    font-size: 1.2rem;
    color: #cccccc;
    margin-right: 1rem;
}

.balance-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #ff1493;
    text-shadow: 0 0 10px rgba(255, 20, 147, 0.6);
}

.game-area {
    background: rgba(255, 20, 147, 0.05);
    border: 2px solid rgba(255, 20, 147, 0.3);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.game-area.fade-out {
    animation: fadeOut 0.5s ease-out forwards;
}

.bet-area.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.95);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.dealer-section, .player-section {
    margin-bottom: 2rem;
}

.dealer-section h2, .player-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ff1493;
}

.cards {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    min-height: 120px;
    align-items: center;
}

.card {
    background: white;
    color: #000;
    border-radius: 8px;
    padding: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    min-width: 70px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
    animation: dealCard 0.5s ease-out;
}

.card:hover {
    transform: translateY(-5px);
}

@keyframes dealCard {
    0% {
        opacity: 0;
        transform: translateX(-100px) rotateY(90deg);
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
        transform: translateX(0) rotateY(0);
    }
}

.card.red {
    color: #ff0000;
}

.card.hidden {
    background: linear-gradient(45deg, #1a1a1a 25%, #2a2a2a 25%, #2a2a2a 50%, #1a1a1a 50%, #1a1a1a 75%, #2a2a2a 75%, #2a2a2a);
    background-size: 20px 20px;
    color: transparent;
}

.card.flip {
    animation: flipCard 0.6s ease-out;
}

@keyframes flipCard {
    0% {
        transform: rotateY(0deg);
    }
    50% {
        transform: rotateY(90deg);
    }
    100% {
        transform: rotateY(0deg);
    }
}

.game-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.game-btn {
    background: rgba(255, 20, 147, 0.2);
    border: 2px solid rgba(255, 20, 147, 0.5);
    color: #ffffff;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.game-btn:hover {
    background: rgba(255, 20, 147, 0.4);
    box-shadow: 0 0 20px rgba(255, 20, 147, 0.5);
    transform: translateY(-2px);
}

.game-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.game-btn.primary {
    background: rgba(255, 20, 147, 0.4);
    border: 2px solid #ff1493;
}

.game-btn.primary:hover {
    background: rgba(255, 20, 147, 0.6);
}

.bet-area {
    background: rgba(255, 20, 147, 0.05);
    border: 2px solid rgba(255, 20, 147, 0.3);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
}

.bet-area h2 {
    color: #ff1493;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.bet-input-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.bet-input-wrapper::before {
    content: '€';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #ff1493;
    font-size: 1.2rem;
    font-weight: 700;
    pointer-events: none;
    text-shadow: 0 0 5px rgba(255, 20, 147, 0.5);
}

.bet-input {
    background: rgba(255, 20, 147, 0.1);
    border: 2px solid rgba(255, 20, 147, 0.5);
    color: #ffffff;
    padding: 0.8rem 0.8rem 0.8rem 2.5rem;
    font-size: 1.2rem;
    border-radius: 8px;
    width: 200px;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.bet-input:focus {
    outline: none;
    border-color: #ff1493;
    box-shadow: 0 0 10px rgba(255, 20, 147, 0.5);
}

.quick-bet-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.quick-bet {
    background: rgba(255, 20, 147, 0.15);
    border: 1px solid rgba(255, 20, 147, 0.4);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.quick-bet:hover {
    background: rgba(255, 20, 147, 0.3);
    border-color: #ff1493;
}

.message {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.message.win {
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.6);
}

.message.lose {
    color: #ff0000;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.6);
}

.message.push {
    color: #ffaa00;
    text-shadow: 0 0 10px rgba(255, 170, 0, 0.6);
}

.message.win, .message.lose, .message.push {
    animation: messageAppear 0.5s ease-out;
}

@keyframes messageAppear {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}