/* =========================================
   FLASHINU - NEO-BRUTALIST STYLES
   ========================================= */

:root {
  --brut-accent: #00FFFF; /* Neon Cyan */
  --brut-accent2: #FF1493; /* Hot Pink */
  --brut-bg: #FFFFFF;
  --brut-text: #000000;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Comic Neue', 'Comic Sans MS', cursive;
  background-color: var(--brut-bg);
  color: var(--brut-text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ACCESSIBILITY FOCUS */
:focus-visible {
  outline: 4px solid var(--brut-accent);
  outline-offset: 2px;
}

/* TYPOGRAPHY */
h1, h2, h3, .logo-text, .brut-btn, .cd-number, .step-number {
  font-family: 'Bungee', Impact, 'Arial Black', sans-serif;
  text-transform: uppercase;
  font-weight: normal;
}

.tagline, .section-subtitle, .tier-badge {
  font-family: 'Permanent Marker', 'Comic Sans MS', cursive;
}

/* UTILITIES */
.brut-card {
  background: #FFF;
  border: 6px solid #000;
  box-shadow: 8px 8px 0 #000;
  padding: 24px;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.brut-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0 #000;
}

.brut-btn {
  display: inline-block;
  padding: 16px 32px;
  border: 4px solid #000;
  box-shadow: 6px 6px 0 #000;
  font-size: 20px;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.1s;
  text-decoration: none;
  color: #000;
  background: var(--brut-accent);
  text-align: center;
}

.brut-btn:hover {
  transform: translate(-4px, -4px);
  box-shadow: 10px 10px 0 #000;
}

.brut-btn:active {
  transform: translate(4px, 4px);
  box-shadow: 2px 2px 0 #000;
}

/* ANIMATIONS */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes glitch {
  0%   { text-shadow: 4px 0 var(--brut-accent2), -4px 0 var(--brut-accent); }
  25%  { text-shadow: -4px 0 var(--brut-accent2), 4px 0 var(--brut-accent); }
  50%  { text-shadow: 4px 2px var(--brut-accent2), -4px -2px var(--brut-accent); }
  75%  { text-shadow: 0 0 var(--brut-accent2), 0 0 var(--brut-accent); }
  100% { text-shadow: 4px 0 var(--brut-accent2), -4px 0 var(--brut-accent); }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes pulse-shadow {
  0% { box-shadow: 8px 8px 0 #000; transform: translate(0, 0); }
  50% { box-shadow: 16px 16px 0 #000; transform: translate(-4px, -4px); }
  100% { box-shadow: 8px 8px 0 #000; transform: translate(0, 0); }
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-2deg); }
  75% { transform: rotate(2deg); }
}

.marquee-wrapper {
  background: var(--brut-accent2);
  color: #FFF;
  border-top: 8px solid #000;
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  font-family: 'Bungee', sans-serif;
  font-size: 28px;
}

.marquee {
  display: flex;
  animation: marquee 15s linear infinite;
  width: max-content;
}

.marquee span {
  padding: 0 20px;
  text-shadow: 2px 2px 0 #000;
}

@keyframes fillProgress {
  from { width: 0%; }
  to { width: 65%; }
}

@keyframes coin-fall {
  0%   { transform: translateY(-100px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

.mascot-float {
  animation: float 3s ease-in-out infinite;
}

.glitch-text {
  animation: glitch 0.3s steps(1) infinite;
}

.scroll-bounce {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.scroll-bounce.visible {
  opacity: 1;
  transform: translateY(0);
}

/* NAVIGATION */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #000;
  color: #FFF;
  z-index: 100;
  border-bottom: 4px solid var(--brut-accent);
  transition: transform 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-text {
  font-size: 28px;
  color: #FFF;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: #FFF;
  text-decoration: none;
  font-family: 'Bungee', sans-serif;
  font-size: 16px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--brut-accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-btn {
  padding: 10px 20px;
  font-size: 16px;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: #FFF;
  cursor: pointer;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--brut-accent);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: right 0.3s ease;
  border-left: 8px solid #000;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  text-align: center;
}

.mobile-link {
  font-family: 'Bungee', sans-serif;
  font-size: 32px;
  color: #000;
  text-decoration: none;
  text-shadow: 2px 2px 0 #FFF;
}

/* HERO SECTION */
#hero {
  position: relative;
  min-height: 100vh;
  padding-top: 100px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--brut-bg);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
}

.hero-content {
  flex: 1;
  max-width: 650px;
}

#hero h1 {
  font-size: clamp(40px, 10vw, 120px);
  color: #FFF;
  -webkit-text-stroke: 4px #000;
  text-shadow: 6px 6px 0 #000, 12px 12px 0 var(--brut-accent), 18px 18px 0 var(--brut-accent2);
  line-height: 1;
  margin-bottom: 20px;
}

.tagline {
  font-size: clamp(24px, 4vw, 36px);
  color: var(--brut-accent2);
  transform: rotate(-2deg);
  margin-bottom: 40px;
  text-shadow: 2px 2px 0 #000;
}

.presale-box {
  background: var(--brut-accent);
  border-width: 8px;
  padding: 32px;
}

.presale-title {
  font-size: 32px;
  margin-bottom: 24px;
  text-align: center;
}

.countdown-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.countdown-block {
  background: #FFF;
  border: 4px solid #000;
  box-shadow: 4px 4px 0 #000;
  padding: 12px;
  text-align: center;
  min-width: 70px;
  flex: 1 1 calc(25% - 16px);
}

.cd-number {
  display: block;
  font-size: 36px;
  line-height: 1;
}

.cd-label {
  font-family: 'Courier New', monospace;
  font-weight: bold;
  font-size: 14px;
}

.progress-container {
  margin-bottom: 32px;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  font-family: 'Courier New', monospace;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 8px;
}

.progress-bar-bg {
  width: 100%;
  height: 40px;
  background: #FFF;
  border: 4px solid #000;
  box-shadow: inset 4px 4px 0 rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--brut-accent2);
  width: 0%;
  border-right: 4px solid #000;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(0,0,0,0.2) 10px,
    rgba(0,0,0,0.2) 20px
  );
}

.progress-status {
  text-align: center;
  font-family: 'Bungee', sans-serif;
  margin-top: 8px;
  font-size: 18px;
}

.buy-actions {
  text-align: center;
}

.buy-btn {
  width: 100%;
  font-size: 28px;
  background: var(--brut-accent2);
  color: #FFF;
  margin-bottom: 12px;
}

.buy-note {
  font-family: 'Courier New', monospace;
  font-weight: bold;
  font-size: 16px;
}

.hero-mascot {
  flex: 1;
  display: flex;
  justify-content: center;
}

.mascot-img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(12px 12px 0 #000);
}

/* SECTIONS COMMON */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-title {
  font-size: clamp(40px, 6vw, 64px);
  text-align: center;
  margin-bottom: 16px;
  color: #FFF;
  -webkit-text-stroke: 2px #000;
  text-shadow: 4px 4px 0 #000;
}

.section-subtitle {
  text-align: center;
  font-size: 24px;
  margin-bottom: 48px;
  transform: rotate(1deg);
}

/* TIERS SECTION */
#tiers {
  background: #000;
  color: #FFF;
  border-top: 8px solid var(--brut-accent);
  border-bottom: 8px solid var(--brut-accent2);
}

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.tier-card {
  color: #000;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
}

.active-tier {
  background: var(--brut-accent);
  z-index: 2;
  animation: pulse-shadow 2s infinite;
}

.active-tier:hover {
  animation-play-state: paused;
  transform: translate(-4px, -4px);
  box-shadow: 16px 16px 0 #000;
}

.tier-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  background: var(--brut-accent2);
  color: #FFF;
  padding: 4px 16px;
  border: 2px solid #000;
  font-size: 18px;
  white-space: nowrap;
}

.tier-card h3 {
  font-size: 32px;
  margin-bottom: 16px;
  margin-top: 16px;
}

.tier-price {
  font-family: 'Courier New', monospace;
  font-size: 20px;
  font-weight: bold;
  background: #000;
  color: #FFF;
  padding: 8px;
  margin-bottom: 16px;
}

.tier-desc {
  font-size: 18px;
  flex-grow: 1;
  margin-bottom: 24px;
}

.tier-status {
  font-family: 'Bungee', sans-serif;
  font-size: 20px;
  border-top: 4px solid #000;
  padding-top: 16px;
}

/* HOW TO BUY SECTION */
#how-to-buy {
  background: var(--brut-accent);
}

#how-to-buy .section-title {
  color: var(--brut-accent2);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  text-align: center;
  position: relative;
  padding-top: 48px;
}

.step-number {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: var(--brut-accent2);
  color: #FFF;
  border: 4px solid #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 4px 4px 0 #000;
}

.step-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 18px;
}

/* REFERRALS SECTION */
#referrals {
  background: var(--brut-bg);
  background-image: radial-gradient(circle, #000 1px, transparent 1px);
  background-size: 20px 20px;
}

.rally-banner {
  background: var(--brut-accent2);
  color: #FFF;
  text-align: center;
  padding: 64px 32px;
}

.rally-title {
  font-size: clamp(36px, 5vw, 64px);
  margin-bottom: 16px;
  -webkit-text-stroke: 2px #000;
  text-shadow: 4px 4px 0 #000;
}

.rally-desc {
  font-size: 24px;
  max-width: 800px;
  margin: 0 auto 40px;
  text-shadow: 2px 2px 0 #000;
}

.referral-box {
  display: flex;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  gap: 12px;
}

.ref-input {
  flex: 1;
  width: 100%;
  padding: 16px;
  font-family: 'Courier New', monospace;
  font-size: 18px;
  font-weight: bold;
  border: 4px solid #000;
  background: #FFF;
  color: #000;
  text-overflow: ellipsis;
}

.copy-btn {
  background: var(--brut-accent);
  white-space: nowrap;
}

.copy-msg {
  font-family: 'Permanent Marker', cursive;
  font-size: 24px;
  color: var(--brut-accent);
  margin-top: 16px;
  text-shadow: 2px 2px 0 #000;
  opacity: 0;
  transition: opacity 0.3s;
}

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

/* FOOTER */
#footer {
  background: #000;
  color: #FFF;
  padding: 48px 24px;
  border-top: 8px solid var(--brut-accent);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
}

.footer-left {
  flex: 1;
  max-width: 500px;
}

.footer-left .logo-group {
  margin-bottom: 16px;
}

.disclaimer {
  font-size: 14px;
  color: #AAA;
}

.footer-right {
  text-align: right;
}

.social-links {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-bottom: 24px;
}

.social-btn {
  padding: 12px 24px;
  font-size: 16px;
  background: #FFF;
}

.copyright {
  font-family: 'Courier New', monospace;
  font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
    padding-top: 60px;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .tagline {
    margin: 0 auto 40px;
  }
  
  .tiers-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .active-tier {
    transform: none;
  }
  
  .active-tier:hover {
    transform: translate(-4px, -4px);
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-btn {
    display: none;
  }
  
  .hamburger {
    display: block;
  }
  
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }
  
  .referral-box {
    flex-direction: column;
  }
  
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-right {
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .section-container {
    padding: 40px 16px;
  }
  .countdown-container {
    flex-wrap: wrap;
  }
  .countdown-block {
    flex: 1 1 calc(50% - 16px);
    padding: 8px;
  }
  .cd-number {
    font-size: 28px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .step-number {
    width: 48px;
    height: 48px;
    font-size: 24px;
    top: -20px;
  }
  .step-card {
    padding-top: 36px;
  }
}

@media (hover: none) {
  .brut-card:hover { transform: none; box-shadow: 8px 8px 0 #000; }
  .brut-btn:hover  { transform: none; box-shadow: 6px 6px 0 #000; }
  .active-tier:hover { transform: none; box-shadow: 12px 12px 0 #000; }
}
