/* Import IBM Plex Sans from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --primary-gold: #f0b90b;
  --dark-bg: #0a0a12;
  --card-bg: rgba(15, 15, 25, 0.9);
  --gradient-bg: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f1e 100%);
}

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

body { 
  background: var(--gradient-bg);
  color: white;
  font-family: 'IBM Plex Sans', 'Inter', 'Roboto', 'Arial', sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
}

/* For headings to match Binance's bold style */
h1, h2, h3, .hero-title {
    font-family: 'IBM Plex Sans', 'Inter', 'Roboto', Arial, sans-serif;
    font-weight: 600;
}

/* Header */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--primary-gold);
}

/* Main Logo in Header */
.main-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-main {
  height: 80px;
  width: 80px;
  border-radius: 50%;
  animation: glow 2s ease-in-out infinite alternate;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 15px rgba(240, 185, 11, 0.6));
}

.logo-main:hover {
  transform: scale(1.1) rotate(360deg);
  filter: drop-shadow(0 0 25px rgba(240, 185, 11, 0.9));
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-gold);
  line-height: 1;
}

.logo-subtitle {
  font-size: 0.9rem;
  color: rgba(240, 185, 11, 0.8);
  font-weight: 400;
}

.nav-buttons button {
  background: rgba(240, 185, 11, 0.1);
  border: 1px solid var(--primary-gold);
  color: var(--primary-gold);
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 500;
}

.nav-buttons button:hover {
  background: var(--primary-gold);
  color: black;
  transform: translateY(-2px);
}

/* Prof Section */
.prof-section {
  max-width: 1200px;
  margin: 2rem auto;
  background: var(--card-bg);
  border-radius: 15px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  border: 2px solid var(--primary-gold);
}

.prof-section h2 {
  text-align: center;
  color: var(--primary-gold);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}

.proof-card {
  background: rgba(240, 185, 11, 0.1);
  border: 2px solid var(--primary-gold);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.proof-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(240, 185, 11, 0.4);
}

.proof-card img {
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.proof-card p {
  color: var(--primary-gold);
  font-weight: 600;
  font-size: 1.1rem;
}

/* Main Container */
.container {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Left Panel */
.left-panel {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  border: 2px solid var(--primary-gold);
}

/* Hero Section */
.hero-section {
  text-align: center;
  margin-bottom: 2rem;
}

.hero-logo {
  height: 120px;
  width: 120px;
  border-radius: 50%;
  margin-bottom: 1rem;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(240, 185, 11, 0.7));
  transition: all 0.3s ease;
}

.hero-logo:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 0 30px rgba(240, 185, 11, 1));
}

.hero-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1rem;
  animation: glow 2s ease-in-out infinite alternate;
  color: var(--primary-gold);
}

.meme-description {
  background: rgba(240, 185, 11, 0.1);
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary-gold);
}

.meme-description p {
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 500;
}

.index-display {
  text-align: center;
  margin: 2rem 0;
}

.index-number {
  font-size: 4rem;
  color: #00ff88;
  font-weight: 700;
  animation: glow 2s ease-in-out infinite alternate;
  text-shadow: 0 0 20px #00ff88;
}

.index-change {
  font-size: 1.2rem;
  color: var(--primary-gold);
  margin-top: 0.5rem;
  font-weight: 600;
}

.price-display {
  font-size: 1.5rem;
  color: white;
  margin-top: 1rem;
  font-weight: 500;
}

/* Rocket Counter */
.rocket-counter {
  background: rgba(255, 0, 0, 0.1);
  padding: 1rem;
  border-radius: 10px;
  margin: 1rem 0;
  text-align: center;
  border: 2px solid #ff4444;
}

.rocket-counter h3 {
  color: #ff4444;
  margin-bottom: 0.5rem;
}

.rocket-counter button {
  background: #ff4444;
  border: none;
  color: white;
  padding: 0.5rem 1rem;
  margin: 0 0.5rem;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: 'IBM Plex Sans', sans-serif;
}

.rocket-counter button:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px #ff4444;
}

#rocketMessage {
  margin-top: 0.5rem;
  color: var(--primary-gold);
  font-weight: 600;
}

/* Hype Meter */
.hype-meter {
  margin: 2rem 0;
  text-align: center;
}

.hype-meter h3 {
  color: var(--primary-gold);
  margin-bottom: 1rem;
}

.progress-bar {
  width: 100%;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin: 1rem 0;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-gold) 0%, #00ff88 100%);
  width: 95%;
  border-radius: 10px;
  animation: pulse 2s ease-in-out infinite;
}

.hype-meter p {
  color: #00ff88;
  font-weight: 600;
  margin-top: 0.5rem;
}

/* Action Buttons */
.action-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.btn-primary {
  background: var(--primary-gold);
  border: none;
  color: black;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'IBM Plex Sans', sans-serif;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(240, 185, 11, 0.4);
  animation: bounce 0.6s ease;
}

/* Contract Section */
.contract-section {
  text-align: center;
  margin-top: 2rem;
}

.btn-secondary {
  background: rgba(240, 185, 11, 0.1);
  border: 2px solid var(--primary-gold);
  color: var(--primary-gold);
  padding: 0.75rem 1rem;
  margin: 0.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 500;
}

.btn-secondary:hover {
  background: var(--primary-gold);
  color: black;
}

.contract-address {
  margin-top: 1rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  font-family: monospace;
  font-size: 0.9rem;
  word-break: break-all;
  border: 1px solid var(--primary-gold);
}

/* Right Panel */
.right-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.trending-coins, .meme-news {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  border: 2px solid var(--primary-gold);
}

.trending-coins h3, .meme-news h3 {
  color: var(--primary-gold);
  margin-bottom: 1rem;
  text-align: center;
}

.coin-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  margin: 0.5rem 0;
  background: rgba(240, 185, 11, 0.05);
  border-radius: 8px;
  border-left: 3px solid var(--primary-gold);
}

.coin-emoji {
  font-size: 1.5rem;
  animation: spin 2s linear infinite;
  margin-right: 0.5rem;
}

.coin-change {
  color: #00ff88;
  font-weight: 600;
}

.news-item {
  background: rgba(255, 0, 0, 0.1);
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid #ff4444;
  font-weight: 500;
  color: white;
  line-height: 1.4;
}

/* Floating Elements */
.floating-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.floating-rocket, .floating-moon, .floating-diamond {
  position: absolute;
  font-size: 2rem;
  animation: float 6s ease-in-out infinite;
}

.floating-rocket {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-moon {
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.floating-diamond {
  top: 80%;
  left: 70%;
  animation-delay: 4s;
}

/* Animations */
@keyframes glow {
  from { 
    filter: drop-shadow(0 0 15px rgba(240, 185, 11, 0.6));
    text-shadow: 0 0 20px rgba(240, 185, 11, 0.5);
  }
  to { 
    filter: drop-shadow(0 0 25px rgba(240, 185, 11, 0.9));
    text-shadow: 0 0 30px rgba(240, 185, 11, 0.8);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

@keyframes flyRocket {
  from { transform: translateX(-100px); opacity: 0; }
  50% { opacity: 1; }
  to { transform: translateX(calc(100vw + 100px)); opacity: 0; }
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
  
  .prof-section {
    margin: 1rem;
    padding: 1rem;
  }
  
  .proof-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-logo {
    height: 80px;
    width: 80px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .logo-main {
    height: 60px;
    width: 60px;
  }
  
  .logo-title {
    font-size: 1.4rem;
  }
  
  .logo-subtitle {
    font-size: 0.8rem;
  }
  
  .index-number {
    font-size: 2.5rem;
  }
  
  .action-buttons {
    grid-template-columns: 1fr;
  }
  
  .main-header {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  
  .nav-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
  
  .nav-buttons button {
    margin: 0.25rem;
  }
}

@media (max-width: 480px) {
  .hero-logo {
    height: 60px;
    width: 60px;
  }
  
  .hero-title {
    font-size: 1.5rem;
  }
  
  .logo-main {
    height: 50px;
    width: 50px;
  }
  
  .logo-title {
    font-size: 1.2rem;
  }
  
  .logo-subtitle {
    font-size: 0.7rem;
  }
  
  .index-number {
    font-size: 2rem;
  }
  
  .proof-card img {
    max-width: 100%;
  }
  
  .coin-item {
    font-size: 0.9rem;
  }
}