body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    background-image: 
        linear-gradient(rgba(18, 18, 18, 0.9), rgba(18, 18, 18, 0.9)),
        url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='pokerPattern' patternUnits='userSpaceOnUse' width='100' height='100'%3E%3Cg fill='%23333' fill-opacity='0.3'%3E%3Cpath d='M50 50 L60 40 Q65 45, 70 40 Q75 35, 80 40 L90 50 L80 60 Q75 65, 70 60 Q65 55, 60 60 Z' stroke='%23444' stroke-width='2'/%3E%3Ccircle cx='25' cy='25' r='10' fill='%23444' fill-opacity='0.2'/%3E%3Ccircle cx='75' cy='75' r='8' fill='%23444' fill-opacity='0.2'/%3E%3C/g%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23pokerPattern)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
}

.navbar-dark {
    background: linear-gradient(135deg, #1e1e1e 0%, #2c2c2c 100%) !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.navbar-brand img {
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.1);
}

.card {
    background-color: #1e1e1e;
    color: #e0e0e0;
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.3);
}

.card-header {
    background: linear-gradient(135deg, #2c2c2c 0%, #3a3a3a 100%);
    border-bottom: none;
    color: #ff6666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.game-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    background-color: #2c2c2c;
    border: none;
    border-radius: 12px;
}

.game-card:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 15px 30px rgba(255,102,102,0.3);
}

.game-card img {
    height: 250px;
    object-fit: cover;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.btn-primary {
    background-color: #ff6666;
    color: #000;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #ff4d4d;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(255,102,102,0.4);
}

.list-group-item {
    background-color: #1e1e1e;
    color: #e0e0e0;
    border-color: #333;
    transition: all 0.3s ease;
}

.list-group-item:hover {
    background-color: #2c2c2c;
    transform: translateX(10px);
    color: #ff6666;
}

.badge-danger {
    background-color: #ff6666 !important;
    color: #000 !important;
    font-weight: 600;
}

footer {
    background: linear-gradient(135deg, #1e1e1e 0%, #2c2c2c 100%) !important;
    box-shadow: 0 -4px 6px rgba(0,0,0,0.1);
}

.context-menu {
  position: fixed;
  background-color: #2c2c2c;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  display: none;
  z-index: 1000;
  width: 250px;
  color: #e0e0e0;
}

.context-menu.show {
  display: block;
}

.context-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.context-menu li {
  padding: 10px 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
}

.context-menu li:hover {
  background-color: #3a3a3a;
  color: #ff6666;
}

.context-menu li i {
  margin-right: 10px;
  color: #ff6666;
}

.context-menu li:first-child {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.context-menu li:last-child {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.auth-card {
  background-color: #2c2c2c;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
  color: #e0e0e0;
}

.auth-toggle .btn {
  margin: 0 10px;
  transition: all 0.3s ease;
  border: 1px solid #ff6666;
  color: #e0e0e0;
}

.auth-toggle .btn.active {
  background-color: #ff6666;
  color: #000;
}

.social-login .btn {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 10px;
  transition: all 0.3s ease;
}

.social-login .btn:hover {
  background-color: #ff6666;
  color: #000;
}

.form-control {
  background-color: #1e1e1e;
  border-color: #333;
  color: #e0e0e0;
}

.form-control:focus {
  background-color: #1e1e1e;
  border-color: #ff6666;
  box-shadow: 0 0 0 0.2rem rgba(255,102,102,0.25);
  color: #e0e0e0;
}

#walletBalance {
  background-color: rgba(255, 102, 102, 0.1);
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 600;
  transition: all 0.3s ease;
}

#walletBalance:hover {
  background-color: rgba(255, 102, 102, 0.2);
  transform: scale(1.05);
}

#walletBalance i {
  color: #ff6666;
}

@media (max-width: 768px) {
    .game-card img {
        height: 200px;
    }
}