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

body {
    font-family: 'Orbitron', monospace;
    background: linear-gradient(45deg, #0a0a0a, #1a0000, #000);
    color: #fff;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Animated Background */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: transparent url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><circle cx="50" cy="50" r="1" fill="white" opacity="0.5"/><circle cx="150" cy="30" r="1" fill="white" opacity="0.3"/><circle cx="30" cy="150" r="1" fill="white" opacity="0.7"/><circle cx="170" cy="170" r="1" fill="white" opacity="0.4"/></svg>') repeat;
    animation: sparkle 3s linear infinite;
}

.twinkling {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: transparent url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="300" height="300" viewBox="0 0 300 300"><circle cx="75" cy="75" r="1" fill="gold" opacity="0.8"/><circle cx="225" cy="45" r="1" fill="gold" opacity="0.6"/><circle cx="45" cy="225" r="1" fill="gold" opacity="0.9"/><circle cx="255" cy="255" r="1" fill="gold" opacity="0.5"/></svg>') repeat;
    animation: sparkle 2s linear infinite reverse;
}

@keyframes sparkle {
    from { transform: translateX(0px); }
    to { transform: translateX(-300px); }
}

/* Header Styles */
.casino-header {
    padding: 2rem 0;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.3), rgba(139, 0, 0, 0.3));
    border-bottom: 3px solid #FFD700;
    box-shadow: 0 4px 20px rgba(220, 20, 60, 0.5);
}

.logo-text {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: #FFD700;
    text-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700,
        0 0 30px #FFD700,
        0 0 40px #FF6347;
    animation: glow 2s ease-in-out infinite alternate;
    margin: 0;
}

.logo-link {
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
    text-decoration: none;
}

.logo-link:hover .logo-text {
    color: #FFD700;
}

.red-text {
    color: #DC143C;
    text-shadow: 
        0 0 10px #DC143C,
        0 0 20px #DC143C,
        0 0 30px #DC143C;
}

.tagline {
    font-style: italic;
    color: #FFD700;
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

.credits-display {
    background: linear-gradient(45deg, #1a1a1a, #333);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 2px solid #FFD700;
    font-size: 1.3rem;
    font-weight: bold;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.credit-amount {
    color: #00FF00;
    font-size: 1.5rem;
    text-shadow: 0 0 10px #00FF00;
}

/* Navigation Styles */
.casino-nav {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(26, 0, 0, 0.8));
    border-bottom: 2px solid #FFD700;
    padding: 1rem 0;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.nav-link {
    color: #FFD700;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 0.5rem 1.5rem;
    border: 2px solid transparent;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.nav-link:hover {
    color: #FFD700;
    border-color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.nav-link.active {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #000;
    border-color: #FFD700;
}

.nav-link i {
    margin-right: 0.5rem;
}

/* Welcome Section */
.welcome-section {
    margin: 3rem 0;
}

.section-title {
    margin-bottom: 2rem;
}

.neon-text {
    font-size: 2.5rem;
    color: #00FFFF;
    text-shadow: 
        0 0 5px #00FFFF,
        0 0 10px #00FFFF,
        0 0 15px #00FFFF,
        0 0 20px #00FFFF;
    animation: neonFlicker 1.5s infinite alternate;
}

.vegas-title {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(45deg, #FFD700, #FF6347, #DC143C, #FFD700);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease infinite;
}

.welcome-text {
    font-size: 1.2rem;
    color: #ddd;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Slot Machine Styles */
.slot-machine {
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border: 5px solid #FFD700;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.8),
        inset 0 0 50px rgba(255, 215, 0, 0.1);
    margin: 2rem auto;
    max-width: 800px;
}

.machine-top {
    text-align: center;
    margin-bottom: 2rem;
}

.machine-title {
    font-size: 2.5rem;
    color: #FFD700;
    text-shadow: 0 0 20px #FFD700;
    margin-bottom: 1rem;
    font-family: 'Cinzel', serif;
}

.machine-logo-text {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: #FFD700;
    text-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700,
        0 0 30px #FFD700,
        0 0 40px #FF6347;
    animation: glow 2s ease-in-out infinite alternate;
    margin: 0;
}

.machine-logo-text .red-text {
    color: #DC143C;
    text-shadow: 
        0 0 10px #DC143C,
        0 0 20px #DC143C,
        0 0 30px #DC143C;
}

.payout-info {
    background: rgba(0, 0, 0, 0.7);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #FFD700;
    border: 1px solid #FFD700;
}

.reels-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(145deg, #000, #1a1a1a);
    border-radius: 15px;
    border: 3px solid #333;
}

.reel {
    width: 120px;
    height: 150px;
    background: linear-gradient(145deg, #fff, #f0f0f0);
    border: 3px solid #333;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.reel.spinning {
    animation: reelSpin 1s ease-out;
}

.symbol {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.win-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.win-line.active {
    opacity: 1;
    animation: winLinePulse 1s infinite;
}

/* Control Styles */
.machine-bottom {
    text-align: center;
    margin-top: 2rem;
}

.betting-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.bet-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.bet-controls label {
    font-size: 1rem;
    color: #FFD700;
    font-weight: bold;
}

.bet-select {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    border: 2px solid #FFD700;
    background: #1a1a1a;
    color: #FFD700;
    font-family: 'Orbitron', monospace;
    font-weight: bold;
}

.spin-button, .max-bet-button {
    padding: 1rem 3rem;
    font-size: 1.5rem;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Orbitron', monospace;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.spin-button {
    background: linear-gradient(45deg, #DC143C, #FF6347);
    color: white;
    box-shadow: 0 5px 20px rgba(220, 20, 60, 0.4);
}

.spin-button:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.6);
}

.spin-button:disabled {
    background: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.max-bet-button {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #000;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.max-bet-button:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
}

.max-bet-button:disabled {
    background: #666;
    cursor: not-allowed;
    color: #999;
}

/* Results Section */
.results-section {
    text-align: center;
    margin: 2rem 0;
}

.result-display {
    background: linear-gradient(45deg, #1a1a1a, #333);
    padding: 1rem 2rem;
    border-radius: 10px;
    border: 2px solid #FFD700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.win-amount {
    font-size: 2rem;
    font-weight: bold;
    color: #00FF00;
    text-shadow: 0 0 20px #00FF00;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.big-win {
    animation: bigWinPulse 1s infinite;
    font-size: 3rem !important;
}

/* Game Info Cards */
.game-info {
    margin: 4rem 0;
}

.info-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.1), rgba(220, 20, 60, 0.1));
    border: 2px solid transparent;
    border-radius: 15px;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    background-clip: padding-box;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.info-card i {
    font-size: 3rem;
    color: #FFD700;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px #FFD700;
}

.info-card h4 {
    color: #FFD700;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.info-card p {
    color: #ddd;
    line-height: 1.6;
}

/* Sponsored Links Section */
.sponsored-section {
    margin: 4rem 0;
}

.sponsored-container {
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.8), rgba(26, 0, 0, 0.8));
    border: 2px solid #FFD700;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
}

.sponsored-title {
    color: #FFD700;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px #FFD700;
}

.sponsored-subtitle {
    color: #ccc;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.sponsored-link {
    background: linear-gradient(145deg, #1a1a1a, #333);
    border: 2px solid #666;
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
}

.sponsored-link:hover {
    border-color: #FFD700;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

.sponsored-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.sponsored-content i {
    font-size: 2rem;
    color: #FFD700;
    flex-shrink: 0;
}

.sponsored-text {
    flex-grow: 1;
    text-align: left;
}

.sponsored-text h5 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.sponsored-text p {
    color: #ccc;
    margin: 0;
    font-size: 0.9rem;
}

.sponsored-label {
    background: #FFD700;
    color: #000;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    align-self: flex-start;
    margin-bottom: 0.5rem;
}

.sponsored-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
}

.sponsored-main-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.advertise-with-us {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #666;
}

.advertise-with-us p {
    color: #ccc;
    margin: 0;
}

.advertise-with-us a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
}

.advertise-with-us a:hover {
    color: #FFA500;
    text-decoration: underline;
}

/* Footer */
.casino-footer {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(26, 0, 0, 0.9));
    padding: 2rem 0;
    border-top: 2px solid #FFD700;
    margin-top: 4rem;
}

.footer-title {
    color: #FFD700;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px #FFD700;
}

.casino-footer .col-md-4 p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

.casino-footer .col-md-4 p i {
    color: #FFD700;
    margin-right: 0.5rem;
    width: 20px;
}

.footer-divider {
    border-color: #666;
    margin: 2rem 0 1rem 0;
}

.casino-footer p {
    margin: 0.5rem 0;
    color: #ccc;
}

/* Particles Effect */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #FFD700;
    border-radius: 50%;
    animation: particleFall 2s linear forwards;
}

/* Animations */
@keyframes glow {
    from { text-shadow: 0 0 10px #FFD700, 0 0 20px #FFD700, 0 0 30px #FFD700; }
    to { text-shadow: 0 0 20px #FFD700, 0 0 30px #FFD700, 0 0 40px #FFD700, 0 0 50px #FF6347; }
}

@keyframes neonFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes reelSpin {
    0% { transform: translateY(0); }
    50% { transform: translateY(-200px); }
    100% { transform: translateY(0); }
}

@keyframes winLinePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes bigWinPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes particleFall {
    to {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Blackjack Game Styles */
.blackjack-section {
    margin: 4rem 0;
}

.blackjack-game {
    background: linear-gradient(145deg, #0d4a0d, #1a1a1a);
    border: 5px solid #228B22;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.8),
        inset 0 0 50px rgba(34, 139, 34, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

.game-header {
    margin-bottom: 2rem;
}

.game-title {
    font-size: 2.5rem;
    color: #228B22;
    text-shadow: 0 0 20px #228B22;
    margin-bottom: 1rem;
    font-family: 'Cinzel', serif;
}

.blackjack-credits {
    background: linear-gradient(45deg, #1a1a1a, #333);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    border: 2px solid #228B22;
    font-size: 1.2rem;
    font-weight: bold;
    display: inline-block;
    box-shadow: 0 0 15px rgba(34, 139, 34, 0.3);
}

.game-table {
    background: linear-gradient(145deg, #006400, #228B22);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    border: 3px solid #32CD32;
    position: relative;
}

.table-logo {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.9), rgba(255, 165, 0, 0.9));
    padding: 0.5rem 1rem;
    border-radius: 10px;
    border: 2px solid #FFD700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    margin-bottom: 1rem;
}

.table-logo-text {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: #000;
    text-shadow: none;
    margin: 0;
}

.table-logo-text .red-text {
    color: #DC143C;
    text-shadow: none;
}

.dealer-section, .player-section {
    margin: 2rem 0 1.5rem 0;
    text-align: center;
}

.dealer-section h4, .player-section h4 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.dealer-score, .player-score {
    font-size: 1.2rem;
    color: #FFD700;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px #FFD700;
}

.dealer-cards, .player-cards {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    min-height: 120px;
    align-items: center;
}

.card {
    width: 80px;
    height: 110px;
    background: linear-gradient(145deg, #fff, #f0f0f0);
    border: 2px solid #333;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card.red {
    color: #DC143C;
}

.card.black {
    color: #000;
}

.card-back {
    background: linear-gradient(45deg, #000080, #4169E1);
    color: #FFD700;
    font-size: 0.8rem;
    justify-content: center;
}

.game-controls {
    margin-top: 2rem;
}

.bet-section label {
    color: #228B22;
    font-weight: bold;
    margin-right: 1rem;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.blackjack-button {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Orbitron', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 120px;
}

.deal-button {
    background: linear-gradient(45deg, #228B22, #32CD32);
    color: white;
    box-shadow: 0 5px 15px rgba(34, 139, 34, 0.4);
}

.hit-button {
    background: linear-gradient(45deg, #FF6347, #DC143C);
    color: white;
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.4);
}

.stand-button {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #000;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.blackjack-button:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.blackjack-button:disabled {
    background: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    color: #999;
}

.result-message {
    background: linear-gradient(45deg, #1a1a1a, #333);
    padding: 1rem 2rem;
    border-radius: 10px;
    border: 2px solid #228B22;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Game History Styles */
.game-history {
    background: linear-gradient(45deg, #1a1a1a, #333);
    padding: 1rem;
    border-radius: 10px;
    border: 2px solid #228B22;
    margin-top: 2rem;
}

.game-history h5 {
    color: #228B22;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.2rem;
    text-shadow: 0 0 10px #228B22;
}

.history-display {
    color: #fff;
}

.game-entry {
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border: 2px solid #666;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.game-entry:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.game-entry.win {
    border-color: #00FF00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
}

.game-entry.loss {
    border-color: #FF6347;
    box-shadow: 0 0 10px rgba(255, 99, 71, 0.2);
}

.game-scores {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.player-score {
    color: #00BFFF;
}

.vs {
    color: #FFD700;
    font-size: 0.9rem;
}

.dealer-score {
    color: #FF6347;
}

.game-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.result-status {
    font-weight: bold;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.result-status.win {
    background: #00FF00;
    color: #000;
}

.result-status.loss {
    background: #FF6347;
    color: #fff;
}

.bet-amount {
    color: #FFD700;
    font-size: 0.9rem;
}

.win-amount {
    font-weight: bold;
    font-size: 0.9rem;
}

.win-amount.win {
    color: #00FF00;
}

.win-amount.loss {
    color: #FF6347;
}

.game-time {
    text-align: center;
    color: #ccc;
    font-size: 0.8rem;
}

/* Responsive Design for Blackjack */
@media (max-width: 768px) {
    .game-title {
        font-size: 2rem;
    }
    
    .machine-logo-text {
        font-size: 1.2rem;
    }
    
    .game-table {
        padding: 1rem;
    }
    
    .table-logo-text {
        font-size: 1.2rem;
    }
    
    .card {
        width: 60px;
        height: 85px;
        font-size: 1rem;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .blackjack-button {
        width: 200px;
        margin: 0.5rem 0;
    }
    
    .game-result {
        flex-direction: column;
        text-align: center;
        gap: 0.3rem;
    }
    
    .game-scores {
        flex-direction: column;
        gap: 0.3rem;
    }
}

/* Roulette Game Styles */
.roulette-section {
    margin: 4rem 0;
}

.roulette-game {
    background: linear-gradient(145deg, #0d2818, #1a1a1a);
    border: 5px solid #228B22;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.8),
        inset 0 0 50px rgba(34, 139, 34, 0.1);
    max-width: 1200px;
    margin: 0 auto;
}

.roulette-table {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: center;
}

.wheel-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.roulette-spinner {
    width: 100%;
    max-width: 600px;
    margin: 2rem 0;
}

.spinner-window {
    height: 120px;
    background: linear-gradient(145deg, #1a1a1a, #333);
    border: 5px solid #FFD700;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.number-strip {
    display: flex;
    transition: transform 3s cubic-bezier(0.25, 0.1, 0.25, 1);
    height: 100%;
}

.number-slot {
    min-width: 80px !important;
    width: 80px !important;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    border-right: 2px solid #666;
    flex-shrink: 0;
}

.number-slot.red {
    background: #DC143C;
}

.number-slot.black {
    background: #000;
}

.number-slot.green {
    background: #228B22;
}

.winning-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 80%;
    background: linear-gradient(to bottom, transparent, #FFD700, transparent);
    box-shadow: 0 0 30px #FFD700, 0 0 50px #FFD700;
    z-index: 10;
}

.winning-number {
    font-size: 2rem;
    font-weight: bold;
    padding: 1rem 2rem;
    border-radius: 10px;
    border: 3px solid #FFD700;
    background: #1a1a1a;
    color: #fff;
    text-shadow: 0 0 10px currentColor;
}

.winning-number.red {
    color: #DC143C;
    border-color: #DC143C;
}

.winning-number.black {
    color: #fff;
    border-color: #fff;
}

.winning-number.green {
    color: #228B22;
    border-color: #228B22;
}

.betting-board {
    background: linear-gradient(145deg, #006400, #228B22);
    border-radius: 15px;
    padding: 1.5rem;
    border: 3px solid #32CD32;
    max-width: 600px;
    position: relative;
}

.board-logo {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: linear-gradient(145deg, rgba(34, 139, 34, 0.8), rgba(0, 100, 0, 0.8));
    border-radius: 10px;
    border: 2px solid #FFD700;
}

.board-logo-text {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 900;
    color: #FFD700;
    text-shadow: 
        0 0 10px #FFD700,
        0 0 20px #FFD700,
        0 0 30px #FFD700;
    margin: 0;
    animation: glow 2s ease-in-out infinite alternate;
}

.board-logo-text .red-text {
    color: #DC143C;
    text-shadow: 
        0 0 10px #DC143C,
        0 0 20px #DC143C,
        0 0 30px #DC143C;
}

.numbers-grid {
    margin-bottom: 1rem;
}

.bet-spot {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    border: 2px solid #fff;
    background: #000;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.9rem;
}

.bet-spot:hover {
    background: rgba(255, 215, 0, 0.3);
    transform: scale(1.05);
}

.bet-spot.red {
    background: #DC143C;
}

.bet-spot.zero {
    background: #228B22;
    grid-column: 1;
    grid-row: 1 / 4;
    writing-mode: vertical-lr;
    font-size: 1.5rem;
}

.numbers-section {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2px;
    margin-left: 50px;
}

.number-row {
    display: contents;
}

.outside-bets {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.outside-row {
    display: flex;
    gap: 2px;
}

.bet-spot.outside {
    background: #1a1a1a;
    color: #fff;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    min-width: 80px;
}

.bet-spot.red-bet {
    background: #DC143C;
}

.bet-spot.black-bet {
    background: #000;
}

.bet-spot.has-bet {
    box-shadow: 0 0 15px #FFD700;
    border-color: #FFD700;
}

.bet-spot.winning-bet {
    animation: winningBetPulse 1s infinite;
}

.chip-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #FFD700;
    color: #000;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    border: 2px solid #000;
}

.roulette-button {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Orbitron', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 120px;
    margin: 0 0.5rem;
}

.roulette-button.spin-button {
    background: linear-gradient(45deg, #DC143C, #FF6347);
    color: white;
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.4);
}

.roulette-button.clear-button {
    background: linear-gradient(45deg, #666, #888);
    color: white;
    box-shadow: 0 5px 15px rgba(102, 102, 102, 0.4);
}

.roulette-button:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.roulette-button:disabled {
    background: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    color: #999;
}

.current-bets {
    background: linear-gradient(45deg, #1a1a1a, #333);
    padding: 1rem;
    border-radius: 10px;
    border: 2px solid #228B22;
}

.current-bets h5 {
    color: #228B22;
    margin-bottom: 0.5rem;
}

.bets-display {
    color: #fff;
}

.number-history {
    background: linear-gradient(45deg, #1a1a1a, #333);
    padding: 1rem;
    border-radius: 10px;
    border: 2px solid #FFD700;
}

.number-history h5 {
    color: #FFD700;
    margin-bottom: 0.5rem;
}

.history-display {
    color: #fff;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.history-number {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    border: 2px solid #fff;
    color: #fff;
}

.history-number.red {
    background: #DC143C;
    border-color: #DC143C;
}

.history-number.black {
    background: #000;
    border-color: #fff;
}

.history-number.green {
    background: #228B22;
    border-color: #228B22;
}

.bet-chip {
    background: #FFD700;
    color: #000;
    padding: 0.2rem 0.5rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-right: 0.5rem;
    display: inline-block;
    margin-bottom: 0.2rem;
}

/* Roulette Spin Results History */
.spin-results-history {
    background: linear-gradient(45deg, #1a1a1a, #333);
    padding: 1rem;
    border-radius: 10px;
    border: 2px solid #DC143C;
    margin-top: 2rem;
}

.spin-results-history h5 {
    color: #DC143C;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.2rem;
    text-shadow: 0 0 10px #DC143C;
}

.results-history-display {
    color: #fff;
}

.spin-result-entry {
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border: 2px solid #666;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.spin-result-entry:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.spin-result-entry.win {
    border-color: #00FF00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
}

.spin-result-entry.loss {
    border-color: #FF6347;
    box-shadow: 0 0 10px rgba(255, 99, 71, 0.2);
}

.spin-result-entry.push {
    border-color: #FFD700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.spin-number-result {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.winning-number-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    border: 2px solid #fff;
    color: #fff;
    flex-shrink: 0;
}

.winning-number-small.red {
    background: #DC143C;
    border-color: #DC143C;
}

.winning-number-small.black {
    background: #000;
    border-color: #fff;
}

.winning-number-small.green {
    background: #228B22;
    border-color: #228B22;
}

.spin-details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.result-status {
    font-weight: bold;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    display: inline-block;
    width: fit-content;
}

.result-status.win {
    background: #00FF00;
    color: #000;
}

.result-status.loss {
    background: #FF6347;
    color: #fff;
}

.result-status.push {
    background: #FFD700;
    color: #000;
}

.bets-count {
    color: #ccc;
    font-size: 0.8rem;
}

.spin-financials {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.bet-amount {
    color: #FFD700;
}

.win-amount {
    color: #00BFFF;
}

.profit-amount {
    font-weight: bold;
}

.profit-amount.win {
    color: #00FF00;
}

.profit-amount.loss {
    color: #FF6347;
}

.profit-amount.push {
    color: #FFD700;
}

.spin-time {
    text-align: center;
    color: #ccc;
    font-size: 0.8rem;
}

@keyframes winningBetPulse {
    0%, 100% { 
        box-shadow: 0 0 15px #00FF00;
        border-color: #00FF00;
    }
    50% { 
        box-shadow: 0 0 25px #00FF00;
        border-color: #00FF00;
    }
}

/* Mobile-specific fixes for roulette winner display */
@media (max-width: 768px) {
    .roulette-spinner {
        width: 100%;
        max-width: 100%;
        margin: 1rem 0;
        position: relative;
    }
    
    .spinner-window {
        height: 120px !important;
        width: 100%;
        background: linear-gradient(145deg, #1a1a1a, #333);
        border: 5px solid #FFD700;
        border-radius: 15px;
        overflow: hidden;
        position: relative;
        box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
        display: flex;
        align-items: center;
    }
    
    .number-strip {
        display: flex;
        height: 120px !important;
        align-items: center;
        transition: transform 3s cubic-bezier(0.25, 0.1, 0.25, 1);
        position: relative;
    }
    
    .number-slot {
        min-width: 80px !important;
        width: 80px;
        height: 120px !important;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2.2rem !important;
        font-weight: bold;
        color: #fff;
        border-right: 2px solid #666;
        flex-shrink: 0;
        position: relative;
    }
    
    .winning-indicator {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 6px !important;
        height: 100px !important;
        background: linear-gradient(to bottom, transparent, #FFD700, transparent) !important;
        box-shadow: 0 0 30px #FFD700 !important;
        z-index: 100 !important;
        pointer-events: none;
    }
    
    .winning-number {
        font-size: 2rem !important;
        font-weight: bold;
        padding: 1rem 2rem;
        border-radius: 10px;
        border: 3px solid #FFD700;
        background: #1a1a1a;
        color: #fff;
        text-shadow: 0 0 10px currentColor;
        margin-top: 1rem;
        text-align: center;
        display: block;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Responsive Design for Roulette */
@media (max-width: 768px) {
    .roulette-table {
        flex-direction: column;
        align-items: center;
    }
    
    .wheel-container {
        width: 100%;
        max-width: 350px;
        margin-bottom: 2rem;
    }
    
    .spinner-window {
        height: 100px;
        position: relative;
        overflow: hidden;
    }
    
    .number-slot {
        min-width: 70px;
        font-size: 1.8rem;
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .winning-indicator {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 4px;
        height: 80px;
        background: linear-gradient(to bottom, transparent, #FFD700, transparent);
        box-shadow: 0 0 20px #FFD700;
        z-index: 20;
    }
    
    .number-strip {
        height: 100px;
        display: flex;
        align-items: center;
    }
    
    .winning-number {
        font-size: 1.5rem;
        padding: 0.8rem 1.5rem;
        margin-top: 1rem;
        display: block;
        text-align: center;
    }
    
    .betting-board {
        max-width: 100%;
        padding: 1rem;
        margin: 0;
    }
    
    .board-logo {
        margin-bottom: 1rem;
        padding: 0.5rem;
    }
    
    .board-logo-text {
        font-size: 1.5rem;
    }
    
    .numbers-grid {
        transform: scale(0.8);
        transform-origin: center;
        margin: -1rem 0;
    }
    
    .numbers-section {
        margin-left: 40px;
        grid-template-columns: repeat(12, 1fr);
        gap: 1px;
    }
    
    .bet-spot.zero {
        font-size: 1.2rem;
        min-width: 35px;
    }
    
    .bet-spot {
        min-width: 25px;
        min-height: 25px;
        font-size: 0.6rem;
        border-width: 1px;
    }
    
    .bet-spot.outside {
        min-width: 50px;
        font-size: 0.6rem;
        padding: 0.2rem 0.3rem;
        min-height: 30px;
    }
    
    .outside-bets {
        margin-top: 1rem;
    }
    
    .outside-row {
        gap: 1px;
        margin-bottom: 1px;
    }
    
    .chip-count {
        width: 16px;
        height: 16px;
        font-size: 0.6rem;
        top: -6px;
        right: -6px;
    }
    
    .roulette-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        margin: 0.2rem;
        min-width: 100px;
    }
    
    .game-controls {
        margin-top: 1rem;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .current-bets, .number-history, .spin-results-history {
        margin-top: 1.5rem;
        padding: 0.8rem;
    }
    
    .history-number {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .winning-number-small {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .spin-financials {
        flex-direction: column;
        text-align: center;
        gap: 0.3rem;
        font-size: 0.8rem;
    }
    
    .spin-number-result {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .betting-board {
        padding: 0.5rem;
    }
    
    .spinner-window {
        height: 90px;
    }
    
    .number-slot {
        min-width: 65px;
        font-size: 1.6rem;
        height: 90px;
    }
    
    .winning-indicator {
        height: 70px;
    }
    
    .number-strip {
        height: 90px;
    }
    
    .winning-number {
        font-size: 1.3rem;
        padding: 0.6rem 1.2rem;
    }
    
    .numbers-grid {
        transform: scale(0.7);
        margin: -2rem 0;
    }
    
    .bet-spot {
        min-width: 22px;
        min-height: 22px;
        font-size: 0.5rem;
    }
    
    .bet-spot.outside {
        min-width: 45px;
        font-size: 0.5rem;
        min-height: 25px;
    }
    
    .bet-spot.zero {
        font-size: 1rem;
        min-width: 30px;
    }
    
    .roulette-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        min-width: 90px;
    }
}

/* Blog Styles */
.blog-section {
    margin: 4rem 0;
}

.blog-post {
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.1), rgba(220, 20, 60, 0.1));
    border: 2px solid #FFD700;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    border-color: #FFA500;
}

.post-header {
    margin-bottom: 1.5rem;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 1rem;
}

.post-title {
    color: #FFD700;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px #FFD700;
    font-family: 'Cinzel', serif;
}

.post-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    color: #ccc;
    font-size: 0.9rem;
}

.post-date, .post-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-date i, .post-author i {
    color: #FFD700;
}

.post-content {
    color: #fff;
    line-height: 1.8;
}

.post-content h4 {
    color: #FFA500;
    margin: 1.5rem 0 1rem 0;
    font-size: 1.3rem;
    text-shadow: 0 0 5px #FFA500;
}

.post-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
    color: #ddd;
}

.post-content strong {
    color: #FFD700;
}

.post-links {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 215, 0, 0.3);
}

.post-link {
    display: inline-block;
    background: linear-gradient(45deg, #DC143C, #FF6347);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-right: 1rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 3px 10px rgba(220, 20, 60, 0.4);
}

.post-link:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.6);
    text-decoration: none;
}

.post-link i {
    margin-left: 0.5rem;
}

/* Contact Section */
.contact-section {
    margin: 4rem 0;
}

.contact-container {
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.8), rgba(26, 0, 0, 0.8));
    border: 2px solid #228B22;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
}

.contact-title {
    color: #228B22;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px #228B22;
    font-family: 'Cinzel', serif;
}

.contact-subtitle {
    color: #ccc;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.contact-info p {
    color: #fff;
    margin: 0;
    font-size: 1.1rem;
}

.contact-info i {
    color: #228B22;
    margin-right: 0.5rem;
    width: 20px;
}

.contact-info a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
}

.contact-info a:hover {
    color: #FFA500;
    text-decoration: underline;
}

/* Responsive Blog Design */
@media (max-width: 768px) {
    .blog-post {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .post-title {
        font-size: 1.5rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .contact-info {
        align-items: flex-start;
        text-align: left;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 0.4rem 1rem;
        letter-spacing: 0.5px;
    }
    
    .nav-link i {
        margin-right: 0.3rem;
    }
    
    .logo-text {
        font-size: 2.5rem;
    }
    
    .vegas-title {
        font-size: 2.5rem;
    }
    
    .neon-text {
        font-size: 1.8rem;
    }
    
    .reels-container {
        padding: 1rem;
        gap: 5px;
    }
    
    .reel {
        width: 80px;
        height: 100px;
        font-size: 2.5rem;
    }
    
    .betting-controls {
        flex-direction: column;
        gap: 1rem;
    }
    
    .spin-button, .max-bet-button {
        padding: 1rem 2rem;
        font-size: 1.2rem;
        width: 200px;
    }
    
    .credits-display {
        text-align: center;
        margin-top: 1rem;
    }
    
    .spin-entry {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .spin-symbols {
        min-width: auto;
    }
    
    .spin-time {
        min-width: auto;
        text-align: center;
    }
    
    .spin-financials {
        flex-direction: column;
        text-align: center;
        gap: 0.3rem;
    }
    
    .spin-number-result {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

@media (max-width: 576px) {
    .slot-machine {
        margin: 1rem;
        padding: 1rem;
    }
    
    .machine-title {
        font-size: 1.8rem;
    }
    
    .payout-info {
        font-size: 0.7rem;
        padding: 0.3rem 0.5rem;
    }
    
    .reel {
        width: 60px;
        height: 80px;
        font-size: 2rem;
    }
}