:root {
  --bg: #0a0a0f;
  --fg: #e8eef7;
  --muted: #9db0c9;
  --accent: #00ffff;
  --accent-glow: #00ffff;
  --card: #0f141c;
  --ring: #2a3340;
  --neon-blue: #00ffff;
  --neon-purple: #ff00ff;
  --neon-pink: #ff0080;
  --cosmic-blue: #0066ff;
  --cosmic-purple: #6600ff;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Orbitron', 'Courier New', monospace, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  color: var(--fg);
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(0, 102, 255, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(255, 0, 255, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 40% 60%, rgba(0, 255, 255, 0.15) 0%, transparent 50%),
    linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
  position: relative;
  transition: all 0.3s ease;
}

/* Loading animation */
body.loaded {
  animation: body-glow 2s ease-in-out;
}

@keyframes body-glow {
  0% { filter: brightness(0.8) saturate(0.8); }
  50% { filter: brightness(1.2) saturate(1.2); }
  100% { filter: brightness(1) saturate(1); }
}

/* Animated Background */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

/* Floating Particles */
.floating-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, #00ffff, transparent),
    radial-gradient(2px 2px at 40px 70px, #ff00ff, transparent),
    radial-gradient(1px 1px at 90px 40px, #ffff00, transparent),
    radial-gradient(1px 1px at 130px 80px, #00ffff, transparent),
    radial-gradient(2px 2px at 160px 30px, #ff0080, transparent);
  background-repeat: repeat;
  background-size: 200px 100px;
  animation: particle-float 20s linear infinite;
  opacity: 0.6;
}

@keyframes particle-float {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-100px); }
}

/* Energy Waves */
.energy-waves {
  display: none;
}

/* Cosmic Dots */
.cosmic-dots {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(3px 3px at 50px 50px, #0066ff, transparent),
    radial-gradient(2px 2px at 150px 150px, #6600ff, transparent),
    radial-gradient(4px 4px at 250px 100px, #00ffff, transparent),
    radial-gradient(2px 2px at 350px 200px, #ff00ff, transparent);
  background-repeat: no-repeat;
  animation: cosmic-rotate 30s linear infinite;
}

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

/* Nebula Clouds */
.nebula-clouds {
  position: absolute;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse 300px 100px at 25% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 200px 150px at 75% 25%, rgba(255, 0, 255, 0.08) 0%, transparent 50%);
  animation: nebula-drift 25s ease-in-out infinite;
}

@keyframes nebula-drift {
  0%, 100% { transform: translateX(0px) translateY(0px); }
  33% { transform: translateX(-20px) translateY(-10px); }
  66% { transform: translateX(20px) translateY(10px); }
}

.wrap {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(16px, 3vw, 40px);
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  animation: fade-in-up 1s ease-out;
}

@keyframes fade-in-up {
  0% { 
    opacity: 0; 
    transform: translateY(30px); 
  }
  100% { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

.hero {
  text-align: center;
  margin-top: 6vh;
  animation: hero-float 6s ease-in-out infinite;
}

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

/* Logo Container with Neon Effects */
.logo-container {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
  animation: logo-appear 1.5s ease-out 0.5s both;
}

@keyframes logo-appear {
  0% { 
    opacity: 0; 
    transform: scale(0.5) rotate(-10deg); 
  }
  100% { 
    opacity: 1; 
    transform: scale(1) rotate(0deg); 
  }
}

.logo-neon {
  font-weight: 900;
  letter-spacing: 2px;
  font-size: clamp(20px, 3vw, 28px);
  color: var(--neon-blue);
  text-shadow: 
    0 0 5px var(--neon-blue),
    0 0 10px var(--neon-blue),
    0 0 15px var(--neon-blue),
    0 0 20px var(--neon-blue);
  animation: neon-pulse 2s ease-in-out infinite alternate;
  position: relative;
  z-index: 2;
  cursor: pointer;
  transition: all 0.3s ease;
}

.logo-neon:hover {
  transform: scale(1.05);
  text-shadow: 
    0 0 10px var(--neon-blue),
    0 0 20px var(--neon-blue),
    0 0 30px var(--neon-blue),
    0 0 40px var(--neon-blue),
    0 0 50px var(--neon-blue);
}

/* Emoji icon styling - same color as text */
.logo-neon::before {
  content: '🚀';
  color: var(--neon-blue);
  filter: hue-rotate(0deg) brightness(1.2) saturate(1.5);
  text-shadow: 
    0 0 5px var(--neon-blue),
    0 0 10px var(--neon-blue),
    0 0 15px var(--neon-blue);
  margin-right: 8px;
  display: inline-block;
  animation: emoji-glow 2s ease-in-out infinite alternate;
}

@keyframes emoji-glow {
  0% { 
    filter: hue-rotate(0deg) brightness(1.2) saturate(1.5);
    transform: scale(1);
  }
  100% { 
    filter: hue-rotate(0deg) brightness(1.5) saturate(2);
    transform: scale(1.05);
  }
}

.logo-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(0, 255, 255, 0.3) 0%, transparent 70%);
  filter: blur(20px);
  animation: glow-breathe 3s ease-in-out infinite;
  z-index: 1;
}

@keyframes neon-pulse {
  0% { 
    text-shadow: 
      0 0 5px var(--neon-blue),
      0 0 10px var(--neon-blue),
      0 0 15px var(--neon-blue),
      0 0 20px var(--neon-blue);
  }
  100% { 
    text-shadow: 
      0 0 10px var(--neon-blue),
      0 0 20px var(--neon-blue),
      0 0 30px var(--neon-blue),
      0 0 40px var(--neon-blue);
  }
}

@keyframes glow-breathe {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.1); }
}

@keyframes pulse-ring {
  0% { 
    transform: scale(1);
    opacity: 1;
  }
  100% { 
    transform: scale(1.2);
    opacity: 0;
  }
}

/* Animated Title */
.title-animated {
  font-size: clamp(32px, 7vw, 56px);
  margin: 20px 0 15px;
  background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple), var(--neon-pink));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: title-gradient 4s ease-in-out infinite, title-float 3s ease-in-out infinite;
  animation-delay: 0.8s;
  opacity: 0;
  animation-fill-mode: both;
}

@keyframes title-gradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes title-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

.animated-text {
  color: var(--fg);
  margin: 0;
  animation: text-fade-in 2s ease-in-out 1s both;
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 500;
  letter-spacing: 0.5px;
  line-height: 1.4;
  text-shadow: 
    0 0 10px rgba(232, 238, 247, 0.3),
    0 1px 2px rgba(0, 0, 0, 0.5);
  opacity: 0.95;
  background: linear-gradient(45deg, var(--fg), #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

@keyframes text-fade-in {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Countdown Styling */
.countdown-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px 0;
  animation: countdown-appear 1s ease-out 1.2s both;
}

@keyframes countdown-appear {
  0% { 
    opacity: 0; 
    transform: scale(0.8); 
  }
  100% { 
    opacity: 1; 
    transform: scale(1); 
  }
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 20px;
  align-items: stretch;
  width: 100%;
  max-width: 900px;
  height: 120px;
  margin-bottom: 100px;
}

.box {
  background: linear-gradient(135deg, 
    rgba(15, 20, 28, 0.9) 0%, 
    rgba(0, 20, 40, 0.8) 100%);
  border: 2px solid transparent;
  border-radius: 20px;
  padding: 24px 16px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.box::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(0, 255, 255, 0.2), 
    transparent);
  transition: left 0.5s ease;
}

.box:hover::before {
  left: 100%;
}

.box:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: var(--neon-blue);
  box-shadow: 
    0 15px 40px rgba(0, 255, 255, 0.3),
    0 0 20px rgba(0, 255, 255, 0.2);
}

.floating-box {
  animation: box-float 6s ease-in-out infinite;
  animation-delay: calc(var(--animation-delay, 0) * 0.5s);
}

.floating-box:nth-child(1) { --animation-delay: 0; }
.floating-box:nth-child(2) { --animation-delay: 1; }
.floating-box:nth-child(3) { --animation-delay: 2; }
.floating-box:nth-child(4) { --animation-delay: 3; }

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

.box span {
  display: block;
  font-variant-numeric: tabular-nums;
  font-size: clamp(36px, 7vw, 56px);
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1;
  color: var(--neon-blue);
  text-shadow: 
    0 0 10px var(--neon-blue),
    0 0 20px var(--neon-blue);
  animation: number-glow 2s ease-in-out infinite alternate;
  transition: all 0.3s ease;
}

@keyframes number-glow {
  0% { 
    text-shadow: 
      0 0 10px var(--neon-blue),
      0 0 20px var(--neon-blue);
  }
  100% { 
    text-shadow: 
      0 0 15px var(--neon-blue),
      0 0 30px var(--neon-blue),
      0 0 40px var(--neon-blue);
  }
}

.box label {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  transition: color 0.3s ease;
}

.box:hover label {
  color: var(--neon-blue);
}

.foot {
  text-align: center;
  color: var(--muted);
  margin-top: 40px;
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.2);
  border-radius: 20px;
  animation: foot-appear 1s ease-out 1.5s both;
  position: relative;
  overflow: hidden;
  z-index: 10;
}

/* Footer'da tüm pseudo-element efektleri kaldırıldı */
.foot::before,
.foot::after {
  display: none !important;
  content: none !important;
  background: none !important;
  animation: none !important;
  transition: none !important;
}

.foot:hover::before,
.foot:hover::after {
  display: none !important;
  content: none !important;
  background: none !important;
  animation: none !important;
  transition: none !important;
}

/* Footer'ın üstündeki tüm animasyonları kaldır */
.foot *::before,
.foot *::after {
  display: none !important;
  content: none !important;
  background: none !important;
  animation: none !important;
  transition: none !important;
}

@keyframes foot-appear {
  0% { 
    opacity: 0; 
    transform: translateY(20px); 
  }
  100% { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

/* Responsive Design */
@media (max-width: 900px) {
  .countdown {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    margin-bottom: 150px;
  }
  .box {
    min-height: 180px;
  }
}

@media (max-width: 520px) {
  .countdown {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 250px;
  }
  .box {
    border-radius: 16px;
    padding: 18px 12px;
  }
  .logo-neon {
    font-size: clamp(18px, 4vw, 24px);
  }
  .title-animated {
    font-size: clamp(28px, 8vw, 40px);
  }
}

/* Additional Glow Effects */
@keyframes cosmic-glow {
  0%, 100% { 
    box-shadow: 
      0 0 20px rgba(0, 255, 255, 0.5),
      0 0 40px rgba(0, 255, 255, 0.3),
      0 0 60px rgba(0, 255, 255, 0.1);
  }
  50% { 
    box-shadow: 
      0 0 30px rgba(0, 255, 255, 0.7),
      0 0 60px rgba(0, 255, 255, 0.5),
      0 0 90px rgba(0, 255, 255, 0.3);
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection styling */
::selection {
  background: rgba(0, 255, 255, 0.3);
  color: var(--fg);
}

::-moz-selection {
  background: rgba(0, 255, 255, 0.3);
  color: var(--fg);
}

/* Ripple effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Enhanced hover effects */
.box:hover .box span {
  animation: number-bounce 0.6s ease-in-out;
}

@keyframes number-bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Cosmic background enhancement */
.animated-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 30% 20%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(255, 0, 255, 0.1) 0%, transparent 50%);
  animation: cosmic-shift 20s ease-in-out infinite;
  pointer-events: none;
}

@keyframes cosmic-shift {
  0%, 100% { 
    transform: translateX(0px) translateY(0px) scale(1); 
    opacity: 0.1;
  }
  33% { 
    transform: translateX(-50px) translateY(-30px) scale(1.1); 
    opacity: 0.2;
  }
  66% { 
    transform: translateX(50px) translateY(30px) scale(0.9); 
    opacity: 0.15;
  }
}