:root {
  /* New color scheme based on twitchapps.co.uk */
  --primary-color: #ff0000;       /* Red accent color */
  --primary-hover: #cc0000;       /* Darker red for hover states */
  --secondary-color: #ffcc00;     /* Gold/yellow for highlights */
  --bg-dark: #0a0a0a;             /* Very dark background */
  --bg-darker: #000000;           /* Black background for cards */
  --bg-card: #111111;             /* Slightly lighter black for cards */
  --bg-light: #1a1a1a;            /* Lighter background for elements */
  --text-primary: #ffffff;        /* Primary text color */
  --text-secondary: #cccccc;      /* Secondary text color */
  --text-muted: #999999;          /* Muted text color */
  --border-color: #ff0000;        /* Red border color */
  --success-color: #00cc00;       /* Success color (green) */
  --warning-color: #ffcc00;       /* Warning color (yellow) */
  --danger-color: #ff0000;        /* Danger/error color (red) */
  --plinko-color: #000000;        /* Plinko board color */
  --token-red: #ff0000;           /* Red token color */
  --token-yellow: #ffcc00;        /* Yellow token color */
  --shadow-sm: 0 2px 8px rgba(255, 0, 0, 0.15);  /* Small shadow with red tint */
  --shadow-md: 0 4px 16px rgba(255, 0, 0, 0.2);  /* Medium shadow with red tint */
  --shadow-lg: 0 8px 24px rgba(255, 0, 0, 0.25); /* Large shadow with red tint */
  --border-radius-sm: 4px;        /* Small border radius */
  --border-radius-md: 8px;        /* Medium border radius */
  --border-radius-lg: 12px;       /* Large border radius */
  --transition-fast: 0.2s ease;   /* Fast transition */
  --transition-normal: 0.3s ease; /* Normal transition */
  --transition-slow: 0.5s ease;   /* Slow transition */
  --glow-effect: 0 0 10px rgba(255, 0, 0, 0.7), 0 0 20px rgba(255, 0, 0, 0.4); /* Red glow effect */
}

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

body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  background-image: linear-gradient(to bottom, rgba(10, 10, 10, 0.9), rgba(0, 0, 0, 0.95)), url('https://images.unsplash.com/photo-1542751371-adc38448a05e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

h2 {
  font-size: 2rem;
  color: var(--primary-color);
}

h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-hover);
  text-shadow: var(--glow-effect);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header styles */
.main-header {
  background-color: rgba(0, 0, 0, 0.9);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(255, 0, 0, 0.3);
  padding: 1rem 0;
  border-bottom: 1px solid var(--primary-color);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
  display: flex;
  align-items: center;
}

.logo-icon {
  margin-right: 0.5rem;
  font-size: 2rem;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  margin-left: 1.5rem;
}

.nav-menu a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: all var(--transition-normal);
  transform: translateX(-50%);
}

.nav-menu a:hover::after, .nav-menu a.active::after {
  width: 80%;
}

.nav-menu a:hover, .nav-menu a.active {
  color: var(--primary-color);
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 5px 0;
  transition: all var(--transition-normal);
}

/* Hero section */
.hero-section {
  padding: 4rem 0;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9));
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--primary-color);
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  text-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(255, 0, 0, 0.3);
  border: 1px solid var(--primary-color);
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius-lg);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-md);
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  font-family: 'Roboto', sans-serif;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  box-shadow: 0 4px 10px rgba(255, 0, 0, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 0, 0, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: rgba(255, 0, 0, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(255, 0, 0, 0.2);
}

.btn-danger {
  background-color: var(--danger-color);
  color: white;
}

.btn-danger:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(255, 0, 0, 0.3);
}

/* Card styles */
.card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--primary-color);
  margin-bottom: 2rem;
  transition: all var(--transition-normal);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(255, 0, 0, 0.2);
}

.card-header {
  border-bottom: 1px solid var(--primary-color);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.card-header h2 {
  margin-bottom: 0;
}

.card-body {
  margin-bottom: 1.5rem;
}

.card-footer {
  border-top: 1px solid rgba(255, 0, 0, 0.2);
  padding-top: 1.5rem;
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

/* Game board styles */
.plinko-board {
  width: 100%;
  height: 500px;
  background: linear-gradient(to bottom, #000000, #111111);
  border-radius: var(--border-radius-lg);
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(255, 0, 0, 0.3);
  border: 2px solid var(--primary-color);
}

.drop-zone {
  display: flex;
  justify-content: space-around;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  border-bottom: 2px solid var(--primary-color);
}

.drop-slot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-weight: bold;
  transition: all var(--transition-fast);
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  box-shadow: inset 0 0 10px rgba(255, 0, 0, 0.3), 0 2px 3px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--primary-color);
}

.drop-slot:hover {
  background-color: rgba(255, 0, 0, 0.4);
  transform: scale(1.1);
  box-shadow: inset 0 0 15px rgba(255, 0, 0, 0.5), 0 3px 5px rgba(0, 0, 0, 0.3), 0 0 10px rgba(255, 0, 0, 0.3);
}

.peg {
  width: 10px;
  height: 10px;
  background-color: #ffffff;
  border-radius: 50%;
  position: absolute;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.7), inset 0 0 3px rgba(0, 0, 0, 0.3);
  z-index: 5;
}

.token {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  position: absolute;
  z-index: 10;
  transition: transform 0.1s linear;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
}

.token.red {
  background-color: var(--token-red);
  background-image: radial-gradient(circle at 30% 30%, #ff3333, #cc0000);
  box-shadow: inset 0 0 10px #ff6666, 0 0 15px rgba(255, 0, 0, 0.5);
}

.token.yellow {
  background-color: var(--token-yellow);
  background-image: radial-gradient(circle at 30% 30%, #ffdd33, #cc9900);
  box-shadow: inset 0 0 10px #ffee66, 0 0 15px rgba(255, 204, 0, 0.5);
}

/* Special token animations */
.token.bonus-token {
  animation: pulse-bonus 1s infinite alternate;
}

.token.multiplier-token {
  animation: rotate-multiplier 3s linear infinite;
}

.token.golden-token {
  animation: glow-golden 1.5s infinite alternate;
}

@keyframes pulse-bonus {
  from {
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.5), inset 0 0 10px rgba(255, 0, 0, 0.5);
    transform: scale(1);
  }
  to {
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.8), inset 0 0 20px rgba(255, 0, 0, 0.8);
    transform: scale(1.1);
  }
}

@keyframes rotate-multiplier {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes glow-golden {
  from {
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5), inset 0 0 10px rgba(255, 215, 0, 0.5);
  }
  to {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8), inset 0 0 20px rgba(255, 215, 0, 0.8);
  }
}

.landing-zone {
  display: flex;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 60px;
  background-color: rgba(0, 0, 0, 0.5);
  border-top: 2px solid var(--primary-color);
}

.landing-slot {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 18px;
  color: white;
  border: 1px solid rgba(255, 0, 0, 0.3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  transition: all var(--transition-normal);
}

.landing-slot:nth-child(odd) {
  background-color: rgba(0, 0, 0, 0.3);
}

.landing-slot:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.4);
}

/* Multiplier slots */
.landing-slot[data-points="5"] {
  background-color: rgba(255, 204, 0, 0.2);
  color: var(--secondary-color);
  text-shadow: 0 0 5px rgba(255, 204, 0, 0.5);
}

.landing-slot[data-points="2"] {
  background-color: rgba(0, 204, 0, 0.2);
  color: #00cc00;
  text-shadow: 0 0 5px rgba(0, 204, 0, 0.5);
}

.landing-slot[data-points="0"] {
  background-color: rgba(255, 0, 0, 0.2);
  color: var(--primary-color);
  text-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
}

.landing-slot.active {
  background-color: rgba(255, 0, 0, 0.3);
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

/* Recent drops section */
.recent-drops {
  margin: 2rem 0;
}

.recent-drops h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.drops-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.recent-drops-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.drop-card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  border: 1px solid var(--primary-color);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.drop-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), 0 0 15px rgba(255, 0, 0, 0.3);
}

.drop-player {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.drop-bet {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.drop-multiplier {
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 5px rgba(255, 204, 0, 0.5);
}

.drop-won {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.drop-time {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Leaderboard styles */
.leaderboard-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

.leaderboard-hero {
  text-align: center;
  margin-bottom: 3rem;
}

.leaderboard-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  text-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

.leaderboard-hero p {
  color: var(--text-secondary);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.leaderboard-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.leaderboard-card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg), 0 0 20px rgba(255, 0, 0, 0.2);
  border: 1px solid var(--primary-color);
  transition: all var(--transition-normal);
}

.leaderboard-card:hover {
  box-shadow: var(--shadow-lg), 0 0 30px rgba(255, 0, 0, 0.3);
  border: 1px solid var(--primary-color);
  transform: translateY(-5px);
}

.leaderboard-card h2 {
  color: var(--primary-color);
  margin-top: 0;
  border-bottom: 2px solid rgba(255, 0, 0, 0.3);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 1.8rem;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
  position: relative;
}

.leaderboard-card h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.leaderboard-table-container {
  max-height: 500px;
  overflow-y: auto;
  margin-bottom: 1.5rem;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255, 0, 0, 0.3);
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.2);
  background-color: rgba(0, 0, 0, 0.2);
}

.leaderboard-table-container::-webkit-scrollbar {
  width: 8px;
}

.leaderboard-table-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.leaderboard-table-container::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 4px;
}

.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
}

.leaderboard-table th, .leaderboard-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 0, 0, 0.1);
}

.leaderboard-table th {
  background-color: rgba(0, 0, 0, 0.4);
  color: var(--primary-color);
  font-weight: 700;
  position: sticky;
  top: 0;
  z-index: 10;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.leaderboard-table tr {
  transition: all var(--transition-fast);
}

.leaderboard-table tr:hover {
  background-color: rgba(255, 0, 0, 0.1);
  transform: translateX(5px);
}

/* Special styling for top 3 ranks */
.leaderboard-table tr.rank-1 {
  background-color: rgba(255, 215, 0, 0.1); /* Gold */
}

.leaderboard-table tr.rank-2 {
  background-color: rgba(192, 192, 192, 0.1); /* Silver */
}

.leaderboard-table tr.rank-3 {
  background-color: rgba(205, 127, 50, 0.1); /* Bronze */
}

.leaderboard-table tr.rank-1:hover {
  background-color: rgba(255, 215, 0, 0.15);
}

.leaderboard-table tr.rank-2:hover {
  background-color: rgba(192, 192, 192, 0.15);
}

.leaderboard-table tr.rank-3:hover {
  background-color: rgba(205, 127, 50, 0.15);
}

.leaderboard-table tr.rank-1 td:first-child {
  color: #FFD700; /* Gold */
  font-weight: 900;
  font-size: 1.1rem;
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.leaderboard-table tr.rank-2 td:first-child {
  color: #C0C0C0; /* Silver */
  font-weight: 800;
  font-size: 1.05rem;
  text-shadow: 0 0 5px rgba(192, 192, 192, 0.5);
}

.leaderboard-table tr.rank-3 td:first-child {
  color: #CD7F32; /* Bronze */
  font-weight: 800;
  font-size: 1.05rem;
  text-shadow: 0 0 5px rgba(205, 127, 50, 0.5);
}

.leaderboard-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stat-item {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(255, 0, 0, 0.2);
  transition: all var(--transition-normal);
}

.stat-item:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.2);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.server-status {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  border: 1px solid rgba(255, 0, 0, 0.2);
}

.status-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.status-item:last-child {
  margin-bottom: 0;
}

.status-label {
  color: var(--text-secondary);
}

.status-value {
  font-weight: 700;
  color: var(--primary-color);
}

/* Admin panel styles */
.admin-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--primary-color);
  padding-bottom: 1rem;
}

.tab-button {
  padding: 0.75rem 1.5rem;
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 0, 0, 0.2);
  border-radius: var(--border-radius-md);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: inherit;
  font-weight: 500;
}

.tab-button:hover, .tab-button.active {
  background-color: rgba(255, 0, 0, 0.1);
  color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.2);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.admin-card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--primary-color);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="password"],
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 0, 0, 0.2);
  border-radius: var(--border-radius-md);
  color: var(--text-primary);
  font-family: inherit;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.2);
}

.form-group input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.3);
  outline: none;
  margin: 10px 0;
}

.form-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-color);
  cursor: pointer;
  box-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
}

.form-group input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-color);
  cursor: pointer;
  box-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

/* Board layouts */
.board-layouts {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.board-option {
  position: relative;
}

.board-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.board-preview {
  width: 150px;
  height: 150px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: var(--border-radius-md);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 2px solid rgba(255, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.board-option input[type="radio"]:checked + label .board-preview {
  border-color: var(--primary-color);
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
  transform: scale(1.05);
}

.board-preview span {
  color: var(--text-primary);
  font-weight: 700;
  z-index: 2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.full-board::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 5px, rgba(0, 0, 0, 0.5) 5px);
  background-size: 20px 20px;
  opacity: 0.5;
}

.triangle-board::before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-left: 70px solid transparent;
  border-right: 70px solid transparent;
  border-bottom: 120px solid rgba(255, 0, 0, 0.2);
}

.smiley-board::after {
  content: "😊";
  font-size: 80px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.3;
}

/* Point values container */
.point-values-container {
  margin-bottom: 2rem;
}

.point-value-group {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.point-value-label {
  width: 80px;
  color: var(--text-secondary);
}

.point-value-input {
  width: 80px;
  padding: 0.5rem;
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 0, 0, 0.2);
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  text-align: center;
}

/* Footer styles */
.main-footer {
  background-color: rgba(0, 0, 0, 0.9);
  padding: 2rem 0;
  margin-top: auto;
  border-top: 1px solid var(--primary-color);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-color);
}

/* Animations */
@keyframes pulse {
  from {
    transform: scale(0.95);
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
  }
  to {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.8);
  }
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes glow {
  0% { box-shadow: 0 0 5px rgba(255, 0, 0, 0.5); }
  50% { box-shadow: 0 0 20px rgba(255, 0, 0, 0.8); }
  100% { box-shadow: 0 0 5px rgba(255, 0, 0, 0.5); }
}

/* Responsive styles */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
  }
  
  .hero-content {
    text-align: center;
    margin: 0 auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-image {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .leaderboard-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    padding: 1rem;
    display: none;
    z-index: 100;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--primary-color);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    margin: 0.5rem 0;
  }
  
  .nav-menu a {
    display: block;
    padding: 0.75rem 1rem;
  }
  
  .nav-menu a::after {
    display: none;
  }

  .game-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .status-bar {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .step-number {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .leaderboard-filters {
    justify-content: center;
  }
}

/* OBS Styles */
.obs-container {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: transparent !important;
}

.obs-game {
  width: 100%;
  height: 100%;
  position: relative;
}

.obs-leaderboard {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.obs-leaderboard-card {
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: var(--border-radius-lg);
  padding: 20px;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
  border: 2px solid var(--primary-color);
  width: 100%;
  max-width: 400px;
}

.obs-leaderboard-title {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 15px;
  font-size: 24px;
  border-bottom: 1px solid var(--primary-color);
  padding-bottom: 10px;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.obs-leaderboard-entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.obs-leaderboard-entry:last-child {
  border-bottom: none;
}

.obs-leaderboard-entry:hover {
  background-color: rgba(255, 0, 0, 0.1);
}

.obs-leaderboard-rank {
  font-weight: 700;
  color: var(--text-muted);
  width: 40px;
}

.obs-leaderboard-name {
  font-weight: 700;
  color: var(--text-primary);
  flex-grow: 1;
}

.obs-leaderboard-score {
  font-weight: 700;
  color: var(--primary-color);
  margin-left: auto;
}

/* How to Play OBS */
.howtoplay-container {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent !important;
}

.howtoplay-card {
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: var(--border-radius-lg);
  padding: 20px;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
  border: 2px solid var(--primary-color);
  width: 100%;
  max-width: 500px;
}

.howtoplay-title {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-size: 28px;
  border-bottom: 1px solid var(--primary-color);
  padding-bottom: 15px;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.step {
  display: flex;
  margin-bottom: 20px;
  align-items: flex-start;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 15px;
  border-radius: 10px;
  border: 1px solid rgba(255, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.step:hover {
  background-color: rgba(255, 0, 0, 0.1);
  transform: translateX(5px);
  border-color: var(--primary-color);
}

.step-number {
  background: linear-gradient(135deg, var(--primary-color), #990000);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  margin-right: 15px;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.step-content h3 {
  color: white;
  margin-bottom: 5px;
  font-size: 18px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.step-content p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
}

.command {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 3px 8px;
  border-radius: 4px;
  font-family: monospace;
  color: var(--primary-color);
  font-weight: bold;
}

.howtoplay-footer {
  text-align: center;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 0, 0, 0.2);
  font-size: 14px;
  color: var(--text-secondary);
}

.obs-navigation {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.nav-button {
  background-color: rgba(255, 0, 0, 0.2);
  color: white;
  border: 1px solid var(--primary-color);
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s ease;
  cursor: pointer;
}

.nav-button:hover {
  background-color: rgba(255, 0, 0, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 0 10px rgba(255, 0, 0, 0.3);
}