:root {
    --casino-green: #27AE60;
    --casino-dark-green: #1E8449;
    --card-red: #C0392B;
    --chip-black: #2C3E50;
    --gold: #F1C40F;
    --white: #ECF0F1;
    --font-heading: 'Rye', serif;
    --font-body: 'Lato', sans-serif;
}

body {
    background-color: var(--casino-green);
    color: var(--chip-black);
    font-family: var(--font-body);
    font-weight: 400;
    background-image: url('https://www.transparenttextures.com/patterns/felt.png');
    /* Felt texture */
}

/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Rye&display=swap');

h1,
h2,
h3 {
    font-family: var(--font-heading);
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2);
}

h1 {
    font-size: 3.5rem;
    color: var(--gold);
    text-transform: uppercase;
    text-shadow: 2px 2px 0 #000;
}

.section-title {
    font-size: 2.5rem;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    display: inline-block;
    padding: 0 40px;
    background: var(--casino-dark-green);
    border: 2px solid var(--gold);
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.section-title::before {
    content: '♠';
    position: absolute;
    left: 10px;
    color: var(--white);
}

.section-title::after {
    content: '♥';
    position: absolute;
    right: 10px;
    color: var(--card-red);
}

/* Components */
.poker-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #ddd;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
    position: relative;
    text-align: center;
}

.poker-card::before,
.poker-card::after {
    font-size: 2rem;
    position: absolute;
    font-family: serif;
}

.poker-card::before {
    content: 'A';
    top: 10px;
    left: 15px;
    color: var(--card-red);
}

.poker-card::after {
    content: 'A';
    bottom: 10px;
    right: 15px;
    transform: rotate(180deg);
    color: var(--card-red);
}

.btn-casino {
    background-color: var(--card-red);
    color: white;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    padding: 15px 40px;
    border: 3px dashed white;
    box-shadow: 0 0 0 3px var(--card-red), 0 5px 15px rgba(0, 0, 0, 0.4);
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    display: inline-block;
    text-decoration: none;
}

.btn-casino:hover {
    background-color: #a93226;
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

/* Hero */
.hero-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle, #2ecc71 0%, #27ae60 100%);
}

#chipsCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.welcome-sign {
    position: relative;
    z-index: 10;
    background: #F1C40F;
    /* Gold center */
    padding: 2rem;
    border: 5px solid white;
    border-radius: 50% 50% 10px 10px;
    /* Vegas sign shape approximation */
    box-shadow: 0 0 30px rgba(241, 196, 15, 0.6);
    transform: rotate(-5deg);
    text-align: center;
    max-width: 500px;
}

.welcome-sign h2 {
    color: var(--card-red);
    font-size: 1.5rem;
    margin: 0;
}

.welcome-sign h1 {
    font-size: 3rem;
    line-height: 1;
    margin: 10px 0;
    color: var(--chip-black);
    text-shadow: none;
}

.welcome-sign .stars {
    font-size: 2rem;
    color: var(--card-red);
}

/* Audio */
.music-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

.btn-music-casino {
    width: 60px;
    height: 60px;
    background: var(--chip-black);
    border: 2px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    font-size: 1.5rem;
    transition: transform 0.2s;
}

.btn-music-casino:hover {
    transform: scale(1.1) rotate(10deg);
}

/* Chips Decoration */
.chip-deco {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 5px dashed white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    margin: 0 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.chip-red {
    background: var(--card-red);
}

.chip-black {
    background: var(--chip-black);
}

.chip-blue {
    background: #3498DB;
}

/* Footer */
footer {
    background: var(--chip-black);
    color: var(--gold);
    padding: 3rem 0;
    border-top: 5px solid var(--card-red);
}