/* General Styles */
@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'VT323', monospace;
    background-color: #000;
    color: #0f0;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    font-size: 18px;
}

.hidden {
    display: none !important;
}

/* Game Container */
#game-container {
    width: 100%;
    max-width: 900px;
    background-color: #000;
    border: 3px solid #0f0;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

/* Screen Styles */
.screen {
    padding: 25px;
    min-height: 600px;
}

/* ASCII Art */
.welcome-ascii {
    font-family: monospace;
    white-space: pre;
    font-size: 9px;
    line-height: 1;
    color: #0f0;
    text-align: center;
    margin-bottom: 25px;
    overflow: hidden;
    height: 220px;
}

.ascii-art {
    font-family: monospace;
    white-space: pre;
    line-height: 1;
    color: #0f0;
    text-align: center;
    margin-bottom: 25px;
    overflow: hidden;
}

.game-over-ascii {
    font-size: 8px;
    height: 350px;
}

.win-ascii {
    font-size: 7px;
    height: 250px;
}

/* Dialog Box */
#dialog-box {
    background-color: #000;
    border: 1px solid #0f0;
    border-radius: 5px;
    padding: 20px;
    margin-top: 25px;
    min-height: 180px;
    position: relative;
}

#dialog-text {
    margin-bottom: 25px;
    font-size: 22px;
}

#input-container {
    display: flex;
}

#user-input {
    flex: 1;
    background-color: #000;
    border: 1px solid #0f0;
    color: #0f0;
    padding: 10px;
    font-family: 'VT323', monospace;
    font-size: 20px;
}

#submit-btn {
    background-color: #0f0;
    color: #000;
    border: none;
    padding: 10px 20px;
    margin-left: 15px;
    cursor: pointer;
    font-family: 'VT323', monospace;
    font-size: 20px;
}

/* Game Over and Win Screens */
.game-over-message, .win-message {
    text-align: center;
    padding: 20px;
}

.game-over-message h1, .win-message h1 {
    font-size: 40px;
    margin-bottom: 20px;
    color: #0f0;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.7);
}

#game-over-text, #win-text {
    font-size: 22px;
    margin-bottom: 30px;
    white-space: pre-line;
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.restart-btn {
    background-color: #0f0;
    color: #000;
    border: none;
    padding: 12px 25px;
    margin-top: 30px;
    cursor: pointer;
    font-family: 'VT323', monospace;
    font-size: 22px;
    border-radius: 5px;
    transition: all 0.3s;
}

.restart-btn:hover {
    background-color: #00ff00;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.7);
}

/* Hall of Fame */
.hall-of-fame {
    margin: 30px auto;
    border: 1px solid #0f0;
    padding: 20px;
    max-width: 600px;
    border-radius: 5px;
    background-color: #001100;
}

.hall-of-fame h2 {
    font-size: 28px;
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.5);
}

#hall-of-fame-content {
    font-family: monospace;
    white-space: pre;
    text-align: center;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.4;
}

/* Menu Styles */
.menu-container {
    border: 2px solid #0f0;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
}

.menu-container h1 {
    margin-bottom: 40px;
    font-size: 36px;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.menu-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.menu-option {
    background-color: #001100;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 24px;
    border: 1px solid rgba(0, 255, 0, 0.3);
}

.menu-option:hover {
    background-color: #003300;
    transform: translateY(-3px);
    border-color: #0f0;
    box-shadow: 0 4px 8px rgba(0, 255, 0, 0.3);
}

.menu-input-container {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

#menu-input {
    background-color: #000;
    border: 2px solid #0f0;
    color: #0f0;
    padding: 12px;
    font-family: 'VT323', monospace;
    font-size: 22px;
    width: 180px;
    text-align: center;
    border-radius: 5px;
}

#menu-submit {
    background-color: #0f0;
    color: #000;
    border: none;
    padding: 12px 20px;
    margin-left: 15px;
    cursor: pointer;
    font-family: 'VT323', monospace;
    font-size: 22px;
    border-radius: 5px;
}

/* Wallet Display */
#wallet-container {
    width: 100%;
    transition: opacity 0.5s ease;
}

#wallet-display {
    background-color: #0f0;
    color: #000;
    padding: 15px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}

/* Rock Paper Scissors Game */
.game-header {
    text-align: center;
    margin-bottom: 30px;
}

.game-header h1 {
    font-size: 36px;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.game-content {
    border: 2px solid #0f0;
    border-radius: 8px;
    padding: 25px;
    background-color: rgba(0, 20, 0, 0.3);
    box-shadow: inset 0 0 20px rgba(0, 255, 0, 0.2);
}

.score-board {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
    font-size: 22px;
    text-align: center;
    padding: 15px;
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 8px;
    background-color: rgba(0, 20, 0, 0.2);
}

.game-message {
    text-align: center;
    margin: 25px 0;
    min-height: 60px;
    font-size: 24px;
    padding: 10px;
    border-radius: 5px;
    background-color: rgba(0, 20, 0, 0.2);
}

.choices {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 40px 0;
}

.choice {
    font-size: 70px;
    cursor: pointer;
    transition: all 0.3s;
    background-color: rgba(0, 30, 0, 0.3);
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 0, 0.3);
}

.choice:hover {
    transform: scale(1.2);
    background-color: rgba(0, 40, 0, 0.5);
    border-color: #0f0;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
}

.back-btn {
    background-color: #0f0;
    color: #000;
    border: none;
    padding: 12px 20px;
    margin-top: 30px;
    cursor: pointer;
    font-family: 'VT323', monospace;
    font-size: 22px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
    transition: all 0.3s;
}

.back-btn:hover {
    background-color: #00ff00;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
}

/* Casino Royal Game */
.card-display {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.card {
    width: 150px;
    height: 220px;
    background-color: #fff;
    color: #000;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 80px;
    box-shadow: 0 0 25px rgba(0, 255, 0, 0.7);
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.bet-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}

#bet-amount {
    background-color: #000;
    border: 2px solid #0f0;
    color: #0f0;
    padding: 12px;
    font-family: 'VT323', monospace;
    font-size: 22px;
    width: 180px;
    text-align: center;
    border-radius: 5px;
}

#place-bet {
    background-color: #0f0;
    color: #000;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-family: 'VT323', monospace;
    font-size: 22px;
    border-radius: 5px;
    transition: all 0.3s;
}

#place-bet:hover {
    background-color: #00ff00;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
}

.card-choices {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
}

.card-choice {
    width: 80px;
    height: 120px;
    background-color: #fff;
    color: #000;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card-choice:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 255, 0, 0.5);
}

.streak-display {
    text-align: center;
    margin: 25px 0;
    font-size: 24px;
    padding: 15px;
    background-color: rgba(0, 20, 0, 0.2);
    border-radius: 8px;
}

.casino-actions {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
}

.casino-actions button {
    background-color: #0f0;
    color: #000;
    border: none;
    padding: 12px 25px;
    cursor: pointer;
    font-family: 'VT323', monospace;
    font-size: 22px;
    border-radius: 5px;
    transition: all 0.3s;
}

.casino-actions button:hover {
    background-color: #00ff00;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
}

/* Find Number Game */
.guess-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}

#number-guess {
    background-color: #000;
    border: 2px solid #0f0;
    color: #0f0;
    padding: 12px;
    font-family: 'VT323', monospace;
    font-size: 24px;
    width: 100px;
    text-align: center;
    border-radius: 5px;
}

#submit-guess {
    background-color: #0f0;
    color: #000;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-family: 'VT323', monospace;
    font-size: 22px;
    border-radius: 5px;
    transition: all 0.3s;
}

#submit-guess:hover {
    background-color: #00ff00;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
}

.attempts {
    text-align: center;
    margin: 25px 0;
    font-size: 24px;
    padding: 15px;
    background-color: rgba(0, 20, 0, 0.2);
    border-radius: 8px;
} 