/* Reset base styles */
body {
    font-family: Arial, sans-serif;
    background-color: rgba(32, 32, 46, 0.95); /* Made slightly transparent */
    color: #fff;
    margin: 0;
    padding: 0;
    position: relative; /* Add stacking context */
}
/* Main content area */
.main-content {
    padding: 1rem;
    position: relative;
    z-index: 1; /* Ensure content is above particles */
    padding-top: 1rem;
}
/* Title styles */
.page-title {
    color: #60A5FA;
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
}
/* Tutorial button container */
.tutorial-button-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}
/* Modal and notification z-index control */
.modal-container,
.gpu-shop-modal,
.active-gpus-modal,
.tutorial-welcome,
.notification,
.navbar {
    z-index: 1000; /* Keep these above everything */
}
.notification { /* This entire style, ".notification", is what makes the notification pops out from the top right! */
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #333;
    color: white;
    padding: 10px;
    border-radius: 5px;
    z-index: 9999; /* Keep notifications on top */
}
.shadow-red-glow {
    box-shadow: 0 4px 15px -3px rgba(239, 68, 68, 0.3);
}
.shadow-green-glow {
    box-shadow: 0 4px 15px -3px rgba(16, 185, 129, 0.3);
}
/* GPU Inventory Styles */
.dashboard-card {
    @apply bg-gray-800 rounded-lg p-6 shadow-lg border border-gray-700;
    transition: transform 0.2s, box-shadow 0.2s;
}
.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.dashboard-card h2 {
    @apply text-xl font-bold mb-4 text-blue-400;
    border-bottom: 2px solid rgba(59, 130, 246, 0.2);
    padding-bottom: 0.5rem;
}
.stat-label {
    @apply text-gray-400 text-sm font-medium mb-1;
}
.stat-value {
    @apply text-2xl font-bold;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}
#gpu-inventory {
    @apply mt-4;
    min-height: 200px; /* Ensure minimum height even when empty */
}
.gpu-card {
    @apply bg-gray-800 rounded-lg p-4 shadow-lg mb-4;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
/* Updated Navigation Bar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: #001f3f;
    color: #fff;
    width: 100%;
    position: relative;
    z-index: 2000; /* Ensure navbar is above all other elements */
}
.navbar .logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-right: 20px; /* Add margin to separate logo from nav buttons */
}
.navbar .nav-buttons {
    display: flex;
    gap: 15px; /* Reduced gap between buttons */
    flex-wrap: nowrap; /* Prevent wrapping */
    align-items: center;
}
.navbar .nav-buttons a {
    color: #fff;
    text-decoration: none;
    font-size: 15px; /* Slightly smaller font size */
    padding: 6px 12px; /* Reduced padding */
    border-radius: 4px;
    transition: background-color 0.3s;
    white-space: nowrap; /* Prevent text wrapping */
}
.navbar .nav-buttons a:hover {
    background-color: #ff8c00;
}
.navbar .balance-display {
    background-color: #ff8c00;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: bold;
    margin-left: 20px;
    color: #fff;
    font-size: 0.99em; 
}
.navbar .balance-display #user-balance {
    font-size: 0.99em;
    margin-left: 3px;
}
body {
    font-family: Arial, sans-serif;
    background-color:rgb(32, 32, 46);
    margin: 0;
    padding: 0;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #001f3f;
    color: #fff;
}
.navbar .logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
}
.navbar .nav-buttons {
    display: flex;
    gap: 20px;
}
.navbar .nav-buttons a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.3s;
}
.navbar .nav-buttons a:hover {
    background-color: #ff8c00;
}
.dashboard {
    padding: 20px;
    display: flex;
    justify-content: flex-start;
    gap: 40px;
}
.dashboard-content {
    width: 70%;
}
.sidebar {
    width: 25%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.stock-table, .your-stocks {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.your-stocks, .stock-table {
    height: full;
}
.stock-table table, .your-stocks table {
    width: 100%;
    border-collapse: collapse;
}
.stock-table table, th, td, .your-stocks table, th, td {
    border: none;
}
.stock-table th, td, .your-stocks th, td {
    padding: 10px;
    text-align: left;
}
.stock-table th, .your-stocks th {
    background-color: #f2f2f2;
}
.welcome {
    font-size: 24px;
    font-weight: bold;
}
.summary-cards {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}
.card {
    padding: 0px;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex: 1;
    text-align: center;
    color: #fff;
    padding-bottom: -40px;
}
.card-orange {
    background-color: #FF8C00;
}
.card-purple {
    background-color: #6A0DAD;
}
.card-darkblue {
    background-color: #001f3f;
}
.card h2 {
    font-size: 20px;
}
.card p {
    font-size: 36px;
    font-weight: bold;
}
.chart-container {
    @apply bg-gray-800 rounded-lg p-6 border border-gray-700;
    height: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.chart {
    height: 100%;
    width: 100%;
    background-color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #999;
    flex: 1;
}
.search-container {
    margin-bottom: 20px;
    display: flex;
}
.search-container input[type="text"] {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    outline: none;
    font-size: 16px;
}
.search-button {
    background-color: #ff8c00;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}
.search-button:hover {
    background-color: #e07b00;
}
/* Unified Mining Button Effects */
.mining-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background-color: #0a0f2c; /* Default Navy */
  border: 2px solid transparent;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
}
.mining-button span {
  display: inline-block;
  font-weight: bold;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
  font-size: 1rem;
  text-decoration: none;
}
/* Start Mining (Red) */
.mining-button.start-mining {
  background: #2c0a0a;
  border-color: #ef4444;
}
.mining-button.start-mining span {
  color: #ef4444 !important;
  animation: text-glow-red 2s ease-in-out infinite alternate;
}
.mining-button.start-mining:hover {
  box-shadow: 0 0 10px #ef4444, 0 0 20px #ef4444, 0 0 30px #ef4444;
}

/* Mining Countdown Timer Styles */
#mining-countdown {
    background: rgba(17, 24, 39, 0.95);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(239, 68, 68, 0.3);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.2);
    transition: all 0.3s ease;
}

#mining-countdown.visible {
    animation: countdown-pulse 2s ease-in-out infinite;
}

@keyframes countdown-pulse {
    0% { box-shadow: 0 0 15px rgba(239, 68, 68, 0.2); }
    50% { box-shadow: 0 0 25px rgba(239, 68, 68, 0.4); }
    100% { box-shadow: 0 0 15px rgba(239, 68, 68, 0.2); }
}

#countdown-timer {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Mining Button Loading State */
.mining-button.start-mining.loading {
    position: relative;
    overflow: hidden;
}

.mining-button.start-mining.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(239, 68, 68, 0.2),
        transparent
    );
    animation: loading-shine 2s infinite;
}

@keyframes loading-shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Active state for mining button */
.mining-button.start-mining.active {
  background: #3c0a0a;
  border-color: #ff4444;
}
.mining-button.start-mining.active span {
  color: #ff4444 !important;
  animation: text-glow-red 2s ease-in-out infinite alternate;
}
/* Energy Plan (Green) */
.mining-button.energy-plan {
  background: #0a2c1a;
  border-color: #22c55e;
}
.mining-button.energy-plan span {
  color: #22c55e;
  animation: text-glow-green 2s ease-in-out infinite alternate;
}
.mining-button.energy-plan:hover {
  box-shadow: 0 0 10px #22c55e, 0 0 20px #22c55e, 0 0 30px #22c55e;
}
/* Energy Store (Blue) */
.mining-button.energy-store {
  background: #0a0f2c;
  border-color: #3b82f6;
}
.mining-button.energy-store span {
  color: #3b82f6;
  animation: text-glow-blue 2s ease-in-out infinite alternate;
}
.mining-button.energy-store:hover {
  box-shadow: 0 0 10px #3b82f6, 0 0 20px #3b82f6, 0 0 30px #3b82f6;
}
/* Text Glow Animations */
@keyframes text-glow-red {
  from { text-shadow: 0 0 5px rgba(239, 68, 68, 0.5); }
  to   { text-shadow: 0 0 15px rgba(239, 68, 68, 0.8); }
}
@keyframes text-glow-green {
  from { text-shadow: 0 0 5px rgba(34, 197, 94, 0.5); }
  to   { text-shadow: 0 0 15px rgba(34, 197, 94, 0.8); }
}
@keyframes text-glow-blue {
  from { text-shadow: 0 0 5px rgba(59, 130, 246, 0.5); }
  to   { text-shadow: 0 0 15px rgba(59, 130, 246, 0.8); }
}
/* GPU Shop Modal */
.gpu-shop-modal {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
/* GPU Shop Content */
.gpu-shop-content {
    background-color: #1F2937;
    width: 90%;
    max-width: 900px;
    max-height: 80vh;
    border-radius: 0.5rem;
    padding: 1.5rem;
    position: relative;
}
/* GPU List Container (with scrollbar) */
.gpu-list-container {
    overflow-y: auto;
    max-height: calc(80vh - 4rem);
    padding-right: 1rem;
    scrollbar-width: thin;
    scrollbar-color: #4B5563 #1F2937;
}
/* Scrollbar Style */
.gpu-list-container::-webkit-scrollbar {
    width: 8px;
}
.gpu-list-container::-webkit-scrollbar-track {
    background: #1F2937;
}
.gpu-list-container::-webkit-scrollbar-thumb {
    background-color: #4B5563;
    border-radius: 4px;
}
/* GPU Card Base Style */
.gpu-card {
    background: rgba(26, 31, 46, 0.95);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    backdrop-filter: blur(5px);
}
/* Different price GPU Hover Effect */
.gpu-card.starter:hover { /* Free GPU */
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
    border-color: rgba(34, 197, 94, 0.5);
}
.gpu-card.budget:hover { /* Entry-level */
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.5);
}
.gpu-card.mid-range:hover { /* Mid-range */
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(147, 51, 234, 0.3);
    border-color: rgba(147, 51, 234, 0.5);
}
.gpu-card.high-end:hover { /* High-end */
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(251, 146, 60, 0.3);
    border-color: rgba(251, 146, 60, 0.5);
}
.gpu-card.premium:hover { /* Premium */
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
    border-color: rgba(239, 68, 68, 0.5);
}
/* difference color = different category */
.gpu-card.starter h3 { color: #22C55E; }  /* Green */
.gpu-card.budget h3 { color: #3B82F6; }   /* Blue */
.gpu-card.mid-range h3 { color: #9333EA; } /* Purple */
.gpu-card.high-end h3 { color: #FB923C; } /* Orange */
.gpu-card.premium h3 { color: #EF4444; }  /* Red */
/* Buy Button Style */
.gpu-card button {
    background: rgba(39, 39, 42, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}
.gpu-card button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px currentColor;
}
/* Performance Metrics Style */
.gpu-card .performance-metrics {
    color: #A1A1AA;
    font-size: 0.875rem;
}
.gpu-card .performance-metrics span {
    color: white;
    font-weight: 500;
}
/* ROI Display Style */
.gpu-card .roi-indicator {
    color: #FACC15;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(250, 204, 21, 0.3);
}
/* Update the active-gpus-modal styles to match GPU Shop */
.active-gpus-modal {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}
.active-gpus-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #1f2937;
    border-radius: 0.5rem;
    padding: 1.5rem;
    width: 90%;
    max-width: 900px;
    max-height: 80vh;
}
#active-gpus-list {
    overflow-y: auto;
    max-height: calc(80vh - 120px);
    padding-right: 1rem;
    margin-right: -1rem;
    scrollbar-width: thin;
    scrollbar-color: #4b5563 #1f2937;
}
#active-gpus-list::-webkit-scrollbar {
    width: 8px;
}
#active-gpus-list::-webkit-scrollbar-track {
    background: #1f2937;
}
#active-gpus-list::-webkit-scrollbar-thumb {
    background-color: #4b5563;
    border-radius: 4px;
}
/* Update the GPU cards style */
#active-gpus-list .gpu-card {
    background: rgba(17, 24, 39, 0.95);
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(75, 85, 99, 0.4);
    transition: all 0.2s ease-in-out;
}
#active-gpus-list .gpu-card:hover {
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}
@keyframes rainbow-breathe {
    0% { background-position: 0% 50%; text-shadow: 0 0 10px #ff0000; }
    25% { background-position: 100% 50%; text-shadow: 0 0 10px #00ff00; }
    50% { background-position: 0% 50%; text-shadow: 0 0 10px #0000ff; }
    75% { background-position: 100% 50%; text-shadow: 0 0 10px #ff00ff; }
    100% { background-position: 0% 50%; text-shadow: 0 0 10px #ff0000; }
}
@keyframes rgb-border-breathe {
    0% { border-color: rgba(255, 0, 0, 0.7); box-shadow: 0 -4px 15px -3px rgba(255, 0, 0, 0.4); }
    33% { border-color: rgba(0, 255, 0, 0.7); box-shadow: 0 -4px 15px -3px rgba(0, 255, 0, 0.4); }
    66% { border-color: rgba(0, 0, 255, 0.7); box-shadow: 0 -4px 15px -3px rgba(0, 0, 255, 0.4); }
    100% { border-color: rgba(255, 0, 0, 0.7); box-shadow: 0 -4px 15px -3px rgba(255, 0, 0, 0.4); }
}
/* Add tutorial styles */
.introjs-tooltip {
    background-color: #1f2937;
    color: white;
    border: 1px solid #374151;
}
.introjs-tooltip-header {
    display: none !important;
}
.introjs-button {
    background-color: #3b82f6;
    color: white;
    border: none;
    text-shadow: none;
    white-space: nowrap;
    margin: 0 2px;
}
.introjs-skipbutton {
    color: #9ca3af;
    float: left !important;
    position: relative !important;
    width: auto !important;
    text-align: center;
    margin-right: 5px;
}
.introjs-skipbutton:hover {
    color: white;
}
.introjs-tooltipbuttons {
    display: flex;
    justify-content: center;
    align-items: center;
}
.introjs-helperLayer {
    background-color: rgba(59, 130, 246, 0.1);
    border: 2px solid #3b82f6;
}
.introjs-progress {
    background-color: #374151;
}
.introjs-progressbar {
    background-color: #3b82f6;
    border-radius: 2px;
}
/* Tutorial welcome modal */
.tutorial-welcome {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #1f2937;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-width: 600px;
    width: 95%;
    text-align: center;
}
.tutorial-welcome h2 {
    color: #3b82f6;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.tutorial-welcome p {
    color: #9ca3af;
    margin-bottom: 1.5rem;
}
.tutorial-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.tutorial-button {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.875rem;
    min-width: 120px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #374151;
    color: white;
    border: none;
    margin: 0.25rem;
}
.tutorial-button:hover {
    background-color: #4b5563;
}
.tutorial-button-primary {
    background-color: #3b82f6;
}
.tutorial-button-primary:hover {
    background-color: #2563eb;
}
.tutorial-button-tertiary {
    background-color: #1f2937;
    color: #9ca3af;
    border: 1px solid #374151;
}
.tutorial-button-tertiary:hover {
    background-color: #374151;
    color: white;
}
/* Tutorial button in the main page */
.tutorial-button-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.tutorial-button-container button {
    background: linear-gradient(to right, #3b82f6, #6366f1);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.85;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.tutorial-button-container button:hover {
    opacity: 1;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.tutorial-button-container button span:first-child {
    font-size: 1.25rem;
}
/* Tutorial Help Button */
.tutorial-help-button {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
}
.tutorial-help-button button {
    font-weight: bold;
    transform: scale(1);
    transition: transform 0.2s ease;
}
.tutorial-help-button button:hover {
    transform: scale(1.1);
}
/* Custom scrollbar for crypto modal */
#crypto-balances-container::-webkit-scrollbar,
#crypto-selection-container::-webkit-scrollbar {
    width: 6px;
}
#crypto-balances-container::-webkit-scrollbar-track,
#crypto-selection-container::-webkit-scrollbar-track {
    background: #1F2937;
    border-radius: 3px;
}
#crypto-balances-container::-webkit-scrollbar-thumb,
#crypto-selection-container::-webkit-scrollbar-thumb {
    background-color: #4B5563;
    border-radius: 3px;
}
/* Smooth scrolling */
#crypto-balances-container,
#crypto-selection-container {
    scroll-behavior: smooth;
}
/* Force scrolling for the crypto modal content */
#crypto-details-modal .overflow-y-auto {
    overflow-y: scroll !important;
    -webkit-overflow-scrolling: touch;
    max-height: calc(80vh - 70px); /* Account for header */
}
/* Improved scrollbar styles */
#crypto-details-modal .overflow-y-auto::-webkit-scrollbar {
    width: 8px;
}
#crypto-details-modal .overflow-y-auto::-webkit-scrollbar-track {
    background: #1F2937;
    border-radius: 4px;
}
#crypto-details-modal .overflow-y-auto::-webkit-scrollbar-thumb {
    background-color: #4B5563;
    border-radius: 4px;
    border: 2px solid #1F2937;
}
/* Prevent body scrolling when modal is open */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}
/* Add these new styles for the energy buttons */
/* Text glow for energy buttons */
/* Red Text Glow */
/* Volume Control Button */
.volume-control button {
    transition: all 0.3s ease;
}

.volume-control button:hover {
    transform: scale(1.1);
}

.volume-control button.muted {
    opacity: 0.5;
}

.volume-control button.muted:hover {
    opacity: 0.8;
}

/* Top Control Bar */
.top-control-bar {
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(75, 85, 99, 0.4);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/* Crypto-themed floating animations */
#crypto-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0; /* Place behind content */
    background: transparent;
}

#crypto-particles canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.crypto-particle {
    position: absolute;
    background: transparent;
    pointer-events: none;
    opacity: 0.6;
    animation: float-up 15s linear infinite;
}

.crypto-particle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.crypto-particle.bitcoin::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f7931a'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-1-13h2v6h-2zm0 8h2v2h-2z'/%3E%3C/svg%3E");
}

.crypto-particle.ethereum::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23627eea'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-1-13h2v6h-2zm0 8h2v2h-2z'/%3E%3C/svg%3E");
}

.crypto-particle.hash::before {
    content: '#';
    color: #00ff00;
    font-family: monospace;
    font-weight: bold;
    font-size: 1.2em;
}

.crypto-particle.binary::before {
    content: '01';
    color: #00ffff;
    font-family: monospace;
    font-weight: bold;
    font-size: 0.8em;
}

@keyframes float-up {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Add some random movement to particles */
.crypto-particle:nth-child(odd) {
    animation: float-up 15s linear infinite, sway 3s ease-in-out infinite;
}

.crypto-particle:nth-child(even) {
    animation: float-up 15s linear infinite, sway 3s ease-in-out infinite reverse;
}

@keyframes sway {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(20px);
    }
}