:root {
  --neon-blue: #00f3ff;
  --neon-pink: #ff00ff;
  --neon-purple: #9d00ff;
  --dark-space: #0a0a1a;
  --space-gray: #1a1a2e;
  --glow-effect: 0 0 10px var(--neon-blue), 0 0 20px var(--neon-pink);
  --text-glow: 0 0 5px rgba(0, 243, 255, 0.7);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--dark-space);
  color: white;
  line-height: 1.6;
  overflow-x: hidden;
}

.neon-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(0, 243, 255, 0.05) 0%, transparent 25%),
    radial-gradient(circle at 80% 70%, rgba(255, 0, 255, 0.05) 0%, transparent 25%);
  z-index: -1;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  background-color: rgba(10, 10, 26, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 243, 255, 0.2);
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo img {
  width: 2.5rem;
  height: 2.5rem;
  animation: float 3s ease-in-out infinite;
}

.logo h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: var(--text-glow);
}

nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1rem;
  transition: all 0.3s ease-in-out;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.hamburger {
  display: none;
  background: none;
  border: 2px solid var(--neon-blue);
  color: var(--neon-blue);
  font-size: 1.4rem;
  border-radius: 5px;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background-color: rgba(10, 10, 26, 0.9);
    position: absolute;
    top: 80px;
    right: 5%;
    border: 1px solid var(--neon-blue);
    padding: 1rem;
    border-radius: 10px;
    z-index: 99;
  }

  nav ul.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}

/* Sticky header */
header {
  position: sticky;
  top: 0;
  z-index: 999;
}

button {
  background: transparent;
  border: 2px solid var(--neon-blue);
  color: var(--neon-blue);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-family: 'Orbitron', sans-serif;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.9rem;
}

button:hover {
  background: var(--neon-blue);
  color: var(--dark-space);
  box-shadow: var(--glow-effect);
}

.glow-btn {
  box-shadow: var(--glow-effect);
}

.pulse-btn {
  animation: pulse 2s infinite;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  text-align: center;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-family: 'Orbitron', sans-serif;
  text-shadow: var(--text-glow);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: var(--space-gray);
  margin: 5% auto;
  padding: 2rem;
  border: 1px solid var(--neon-blue);
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.5);
  position: relative;
}

.close {
  color: var(--neon-blue);
  float: right;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: var(--neon-pink);
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input {
  padding: 0.8rem;
  border: 1px solid var(--neon-blue);
  background-color: rgba(0, 0, 0, 0.3);
  color: white;
  border-radius: 5px;
  font-size: 1rem;
}

input:focus {
  outline: none;
  border-color: var(--neon-pink);
  box-shadow: 0 0 10px var(--neon-pink);
}

.dashboard {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.balance-card {
  background: linear-gradient(135deg, rgba(0, 243, 255, 0.1), rgba(157, 0, 255, 0.1));
  border: 1px solid var(--neon-blue);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--glow-effect);
}

.balance-amount {
  font-size: 3rem;
  font-family: 'Orbitron', sans-serif;
  margin: 1rem 0;
  color: var(--neon-blue);
}

.cobraz-address {
  font-family: monospace;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 0.5rem;
  border-radius: 5px;
  word-break: break-all;
}

.quick-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.transactions {
  background-color: var(--space-gray);
  border-radius: 10px;
  padding: 1.5rem;
  border: 1px solid rgba(0, 243, 255, 0.3);
}

.transactions h2 {
  margin-bottom: 1rem;
  font-family: 'Orbitron', sans-serif;
}

.transaction-item {
  padding: 1rem;
  border-bottom: 1px solid rgba(0, 243, 255, 0.2);
  display: flex;
  justify-content: space-between;
}

.transaction-item:last-child {
  border-bottom: none;
}

.transaction-amount {
  font-family: 'Orbitron', sans-serif;
}

.transaction-amount.positive {
  color: #00ff9d;
}

.transaction-amount.negative {
  color: #ff5555;
}

.copy-btn {
  background: rgba(0, 243, 255, 0.1);
  border: none;
  padding: 0.3rem 0.6rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.8rem;
}

.copy-btn:hover {
  background: rgba(0, 243, 255, 0.3);
}

.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.leaderboard-table th, .leaderboard-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(0, 243, 255, 0.2);
}

.leaderboard-table th {
  font-family: 'Orbitron', sans-serif;
  color: var(--neon-blue);
}

.leaderboard-table tr:hover {
  background-color: rgba(0, 243, 255, 0.05);
}

.admin-panel {
  background-color: var(--space-gray);
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid var(--neon-purple);
}

.admin-panel h2 {
  color: var(--neon-purple);
  font-family: 'Orbitron', sans-serif;
  margin-bottom: 1rem;
}

.admin-form {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

.admin-form button {
  grid-column: span 2;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@media (max-width: 768px) {
  .dashboard {
    grid-template-columns: 1fr;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .balance-amount {
    font-size: 2rem;
  }
  
  .quick-actions {
    flex-direction: column;
  }
  
  .admin-form {
    grid-template-columns: 1fr;
  }
  
  .admin-form button {
    grid-column: span 1;
  }
}
/* Add these new styles to your existing CSS */
.google-signin {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  color: #444;
  padding: 10px 20px;
  border-radius: 5px;
  border: none;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.google-signin:hover {
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  transform: translateY(-2px);
}

.google-signin img {
  width: 20px;
  height: 20px;
}

.sign-out {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
}

.sign-out:hover {
  background: var(--accent);
  color: var(--dark);
}

/* Receive page styles */
.receive-card {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.qr-code {
  width: 200px;
  height: 200px;
  margin: 1rem auto;
  background: white;
  padding: 10px;
}

.address-display {
  font-family: monospace;
  background: rgba(0, 0, 0, 0.3);
  padding: 1rem;
  border-radius: 5px;
  word-break: break-all;
  margin: 1rem 0;
}

.copy-btn {
  background: var(--primary);
  color: var(--dark);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
}

.copy-btn:hover {
  background: var(--secondary);
}
