/* ---------------------------------------------------
   GLOBAL
--------------------------------------------------- */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0a0a0a;
    color: #f5d37a;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ---------------------------------------------------
   NAVIGATION
--------------------------------------------------- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: #111;
    border-bottom: 2px solid #f5d37a33;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav img {
    height: 55px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #f5d37a;
    font-weight: bold;
    transition: 0.3s;
}

nav ul li a:hover {
    color: white;
    text-shadow: 0 0 10px #f5d37a;
}

/* ---------------------------------------------------
   HERO SECTION
--------------------------------------------------- */
.hero {
    text-align: center;
    padding: 120px 20px;
    background: linear-gradient(180deg, #0a0a0a, #1a1a1a);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    color: #f5d37a;
    text-shadow: 0 0 20px #f5d37a55;
}

.hero p {
    font-size: 1.2rem;
    color: #d8c28a;
}

/* ---------------------------------------------------
   GAMES GRID
--------------------------------------------------- */
.games-section {
    padding: 60px 40px;
}

.games-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #f5d37a;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.game-card {
    background: #141414;
    border: 2px solid #f5d37a33;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: 0.3s;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px #f5d37a44;
    border-color: #f5d37a;
}

.game-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.game-card h3 {
    margin: 0;
    color: #f5d37a;
}

/* ---------------------------------------------------
   FOOTER
--------------------------------------------------- */
footer {
    text-align: center;
    padding: 30px;
    margin-top: 40px;
    border-top: 1px solid #f5d37a33;
    color: #d8c28a;
}

/* ---------------------------------------------------
   LOBBY UI
--------------------------------------------------- */
.wallet-box, .create-box {
    background: #141414;
    border: 2px solid #f5d37a33;
    padding: 20px;
    border-radius: 12px;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.xent-btn {
    background: #111;
    border: 2px solid #f5d37a;
    color: #f5d37a;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 10px;
    transition: 0.3s;
}

.xent-btn:hover {
    background: #f5d37a;
    color: #111;
    box-shadow: 0 0 15px #f5d37a;
}

.lobby-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.lobbyGame {
    background: #141414;
    border: 2px solid #f5d37a33;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    transition: 0.3s;
}

.lobbyGame:hover {
    border-color: #f5d37a;
    box-shadow: 0 0 20px #f5d37a44;
}

.lobbyGame button {
    margin-top: 10px;
}

/* ---------------------------------------------------
   CHECKERS GAME UI
--------------------------------------------------- */
.checkers-wrapper {
    max-width: 1000px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

#board {
    display: grid;
    grid-template-columns: repeat(8, 60px);
    grid-template-rows: repeat(8, 60px);
    border: 3px solid #f5d37a;
    box-shadow: 0 0 20px #f5d37a44;
}

.square {
    width: 60px;
    height: 60px;
    position: relative;
}

.square.light {
    background: #d8c28a22;
}

.square.dark {
    background: #111;
}

.piece img {
    width: 90%;
    height: 90%;
    margin: 5%;
}

.highlight {
    box-shadow: inset 0 0 10px #f5d37a;
}

.checkers-side {
    background: #141414;
    border: 2px solid #f5d37a33;
    border-radius: 12px;
    padding: 20px;
}

#status {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

#timer {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.wallet-display {
    font-size: 0.9rem;
    margin-bottom: 10px;
}
