@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Orbitron:wght@600&display=swap');

body {
  background: url('../img/ofjb3p0kxzud1.jpeg') no-repeat center center fixed;
  background-size: cover;
  color: white;
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  padding: 0;
  position: relative;
  overflow-x: hidden;
}

.krypto-community-wrapper {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
}

.krypto-platform-img {
  width: 100%;
  display: block;
}

.icon {
  position: absolute;
  width: 80px;
  height: 80px;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, filter 0.3s ease;
  z-index: 3;
}

.icon:hover {
  transform: translate(-50%, -50%) scale(1.05) rotate(10deg);
  transition: transform 0.3s ease;
  animation: bounceSpin 0.6s ease-in-out;
  transform: translate(-50%, -50%) scale(1.1);
  filter: drop-shadow(0 0 16px rgba(0, 191, 255));
}

.icon img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 8px rgba(0, 0, 0));
}

/* Position adjustments to match new platform */
.icon.telegram {
  top: 64.5%;   /* Slightly adjusted */
  left: 82%;    /* Nudged right */
  width: 80px;  /* Slightly smaller */
  animation: floatIcon 3s ease-in-out infinite; 
}

.icon.x {
  top: 64.5%;
  left: 17%;    /* Nudged left */
  width: 80px;
  animation: floatIcon 3s ease-in-out infinite;
}

@keyframes bounceSpin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
  }
  40% {
    transform: translate(-50%, -50%) rotate(20deg) scale(1.05);
  }
  70% {
    transform: translate(-50%, -50%) rotate(-10deg) scale(1.1);
  }
  100% {
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
  }
}

@keyframes floatIcon {
  0%, 100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-10px);
  }
}


.top-banner {
  background: rgba(13, 202, 240, 0.08); /* soft theme-tinted transparency */
  color: white;
  padding: 0.4rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(13, 202, 240, 0.4); /* subtle line */
  font-family: 'Orbitron', sans-serif;
  backdrop-filter: blur(6px); /* for glassy effect */
  -webkit-backdrop-filter: blur(6px); /* Safari support */
  box-shadow: 0 1px 6px rgba(13, 202, 240, 0.1);
}
.krypto-container {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.krypto-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.krypto-container {
  position: relative;
  display: inline-block;
  max-width: 100%;
  text-align: center;
}


.electric-frame {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  overflow: hidden;
}

.electric-frame::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    120deg,
    #0dcaf0,
    #fbbf24,
    #0dcaf0,
    #0dcaf0
  );
  border-radius: 20px;
  z-index: -1;
  animation: electricMove 4s linear infinite;
  background-size: 300% 300%;
  filter: drop-shadow(0 0 5px #0dcaf0) drop-shadow(0 0 10px #fbbf24);
  opacity: 0.7;
}

@keyframes electricMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.speech-bubble {
  display: none;
  position: absolute;
  top: 10%;
  left: 100%;
  transform: translateX(10px);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 10px 15px;
  border-radius: 10px;
  border: 1px solid #0dcaf0;
  font-size: 0.9rem;
  backdrop-filter: blur(4px);
  white-space: nowrap;
  z-index: 5;
  box-shadow: 0 0 12px #0dcaf0;
}

.krypto-chat {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #0dcaf0;
  color: #000;
  padding: 10px 14px;
  border-radius: 50px;
  font-weight: bold;
  box-shadow: 0 0 12px #0dcaf0aa;
  cursor: pointer;
  z-index: 999;
  transition: background 0.3s;
}
.krypto-chat:hover {
  background: #20c997;
}

.krypto-chatbox {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 280px;
  background: rgba(0,0,0,0.85);
  border: 1px solid #0dcaf0;
  border-radius: 12px;
  display: none;
  flex-direction: column;
  font-family: 'Open Sans', sans-serif;
  z-index: 998;
}

.chat-header {
  background: #0dcaf0;
  color: #000;
  padding: 10px;
  font-weight: bold;
  border-radius: 12px 12px 0 0;
}



.chat-body {
  padding: 10px;
  height: 150px;
  overflow-y: auto;
  color: #fff;
  font-size: 0.9rem;
}

.chat-body p {
  margin: 0 0 8px;
}

.krypto-chatbox input {
  border: none;
  padding: 10px;
  border-top: 1px solid #0dcaf0;
  border-radius: 0 0 12px 12px;
  width: 100%;
  background: #111;
  color: #fff;
}

.krypto-hover:hover + .speech-bubble {
  display: block;
}

.top-banner .highlight {
  color: #0dcaf0;
  font-weight: bold;
  text-decoration: none;
}

.top-banner .highlight:hover {
  color: #00f2fe;
  text-shadow: 0 0 6px #0dcaf0;
}

.top-banner .solana-icon {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin: 0 4px;
}

.top-banner .arrow {
  margin-left: 4px;
  font-weight: bold;
  color: #0dcaf0;
}

.banner-text {
  font-weight: 600;
}



body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
  background: linear-gradient(-45deg, #0dcaf066, #6610f266, #20c99766, #ffc10766);
  background-size: 400% 400%;
  animation: gradientMove 20s ease infinite;
  backdrop-filter: blur(6px);
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.krypto-float {
  animation: floatUpDown 3.5s ease-in-out infinite;
}
@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.overlay {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 30px rgba(0,0,0,0.3);
  border-radius: 15px;
  padding: 3rem 1rem;
  max-width: 800px;
  margin: auto;
  text-align: center;
}

.electric-frame {
  filter: url(#electric-noise);
  animation: electricPulse 1.5s infinite alternate;
}

@keyframes electricPulse {
  0% {
    filter: url(#electric-noise);
    transform: scale(1);
  }
  100% {
    filter: url(#electric-noise);
    transform: scale(1.01);
  }
}



.copy-tooltip {
  font-size: 0.85rem;
  margin-left: 10px;
  color: #0dcaf0;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.copy-tooltip.show {
  opacity: 1;
}

.ca-frame {
  border: 1px dashed #0dcaf0;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  background-color: rgba(13, 202, 240, 0.1);
  color: #0dcaf0;
  max-width: 600px;
  margin: 1rem auto 0 auto;
  font-size: 0.95rem;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0 0 transparent;
}

.ca-frame:hover {
  box-shadow: 0 0 12px #0dcaf0, 0 0 24px rgba(13, 202, 240, 0.5), 0 0 48px rgba(13, 202, 240, 0.3);
  border-color: rgba(13, 202, 240, 0.5);
  background-color: rgba(13, 202, 240, 0.15);
}

.btn-copy:hover,
.social-icons img:hover {
  box-shadow: 0 0 10px #0dcaf0, 0 0 20px #0dcaf0;
  transform: scale(1.1);
  transition: all 0.3s ease;
}

button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px #0dcaf0, 0 0 24px #fbbf24;
}

.social-icons img {
  width: 32px;
  height: 32px;
  margin: 0 8px;
  transition: transform 0.2s;
}

/* 🌌 TOKENOMICS SECTION - Cosmic Themed */
.tokenomics-section {
  background: rgba(0, 20, 40, 0.3);
  border-top: 2px solid #0dcaf0;
  border-bottom: 2px solid #0dcaf0;
  padding: 3rem 1rem;
  margin-top: 4rem;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 40px rgba(13, 202, 240, 0.15);
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.stat-box {
  background: rgba(13, 202, 240, 0.08);
  border: 1px solid #20c997;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  min-width: 150px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-box:hover {
  transform: scale(1.05);
  box-shadow: 0 0 16px #0dcaf0, 0 0 32px rgba(13, 202, 240, 0.4);
}

.stat-box .label {
  font-size: 0.9rem;
  color: #20c997;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.stat-box .value {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0dcaf0;
  text-shadow: 0 0 6px rgba(0, 255, 255, 0.3), 1px 1px 8px rgba(13, 202, 240, 0.4);
}

/* 🔹 Custom Scrollbar Styling */
body::-webkit-scrollbar {
  width: 8px;
}

body::-webkit-scrollbar-thumb {
  background: #0dcaf0; /* Your theme's neon blue */
  border-radius: 5px;
}

/* Twinkling Stars Layers */
.stars, .stars2, .stars3 {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0; left: 0;
  background-repeat: repeat;
  z-index: -2;
  animation: moveStars 200s linear infinite;
  pointer-events: none;
}

.stars {
  background-image: url('../img/stars1.png');
  z-index: -3;
}

.stars2 {
  background-image: url('../img/stars2.png');
  animation-duration: 300s;
  z-index: -4;
}

.stars3 {
  background-image: url('../img/stars3.png');
  animation-duration: 500s;
  z-index: -5;
}

@keyframes moveStars {
  0% { background-position: 0 0; }
  100% { background-position: -10000px 5000px; }
}


.krypto-slice {
  font-size: clamp(4rem, 12vw, 8rem); /* corrected from 4rem(4rem...) */
  font-family: 'Orbitron', sans-serif;
  display: flex;
  justify-content: center;
  gap: 0.05em;
  text-align: center;
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
  will-change: transform;
}

.krypto-slice span {
  display: inline-block;
  color: red;
  font-weight: 900;
  opacity: 0;
  transform: translateY(-120%) rotateX(120deg) scale(1.2);
  animation: sliceIn 0.6s ease-out forwards, glowGradient 6s ease-in-out infinite;
  animation-delay: var(--delay);
  -webkit-text-stroke: 1.5px #fbbf24; /* gold outline */
  text-shadow:
    -1px -1px 0 #fbbf24,
    1px -1px 0 #fbbf24,
    -1px 1px 0 #fbbf24,
    1px 1px 0 #fbbf24,
    2px 2px 10px rgba(0, 0, 0, 0.4);
}


@keyframes glowGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.krypto-slice span:nth-child(1) {
  animation-delay: 0.5s, 0.12s;
}
.krypto-slice span:nth-child(2) {
  animation-delay: 0.12s, 0.17s;
}
.krypto-slice span:nth-child(3) {
  animation-delay: 0.17s, 0.27s;
}
.krypto-slice span:nth-child(4) {
  animation-delay: 0.27s, 0.36s;
}
.krypto-slice span:nth-child(5) {
  animation-delay: 0.36s, 0.47s;
}
.krypto-slice span:nth-child(6) {
  animation-delay: 0.47s, 0.60s;
}

@keyframes sliceIn {
  0% {
    transform: translateY(-120%) rotateX(120deg) scale(1.2);
    opacity: 0;
    filter: blur(2px);
  }
  60% {
    transform: translateY(10%) rotateX(-10deg) scale(1);
    opacity: 0.7;
    filter: blur(0.5px);
  }
  100% {
    transform: translateY(0) rotateX(0deg) scale(1);
    opacity: 1;
    filter: blur(0);
  }
}

/* 👇 Add this at the bottom of styles.css */

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0px rgba(0, 191, 255);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 15px rgba(0, 191, 255);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 0 0px rgba(0, 191, 255);
    transform: scale(1);
  }
}

/* 💥 SUPERDOG Tagline Style */
.superdog-tagline {
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #e61919; /* Rich red */
  -webkit-text-stroke: 0.8px #ff9900; /* Softer golden stroke */
  text-shadow:
    1px 1px 1px #ff9900,
    2px 2px 2px rgba(0, 0, 0, 0.4);
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 1px;
  margin-top: 0.5rem;
}