:root {
  /* Colors */
  --color-bg-primary: #0A0A0A;
  --color-bg-secondary: #0E0E0E;
  --color-text-primary: #F5F5F5;
  --color-text-secondary: #B5B5B5;
  --color-accent-gold: #C6A15B;
  --color-accent-platinum: #E5E4E2;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-gold: rgba(198, 161, 91, 0.3);
  --color-glass: rgba(255, 255, 255, 0.02);
  
  /* Typography */
  --font-primary: 'Space Grotesk', 'Noto Sans SC', sans-serif;
  --font-display: 'Bebas Neue', 'Noto Sans SC', sans-serif;
  --font-mono: 'Space Mono', monospace;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;
  
  /* Layout */
  --container-max-width: 1320px;
  --border-radius: 8px;
  --border-radius-lg: 16px;
  
  /* Shadows */
  --shadow-soft: 0 4px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 32px rgba(198, 161, 91, 0.1);
}

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

html, body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.6;
  font-size: 16px;
}

#particles-container {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* Toast Notification */
.toast {
  position: fixed;
  top: calc(var(--spacing-lg) + 50px);
  right: var(--spacing-lg);
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-accent-gold);
  border-radius: var(--border-radius);
  padding: var(--spacing-sm) var(--spacing-md);
  z-index: 1000;
  transform: translateX(400px);
  opacity: 0;
  transition: all 0.3s ease;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

/* Header */
.header {
  position: relative;
  z-index: 2;
  padding: var(--spacing-lg) 0;
  border-bottom: 1px solid var(--color-border);
  height: 48px;
}

.header__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__language .language-select {
  background: transparent;
}

.header__logo .logo-img {
  width: 48px;
  height: 48px;
}

/* Hero Section */
.hero {
  padding: var(--spacing-xxl) 0;
  min-height: 80vh;
  position: relative;
}

.hero__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('asset_name.png');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
}

.hero__content {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: var(--spacing-xxl);
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.hero__left {
  text-align: center;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-glass);
}

.hero__left-image-container {
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
  overflow: hidden;
  height: 300px;
  margin-bottom: var(--spacing-xl);
}

.hero__left-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero__left-content {
  padding: 0 var(--spacing-xl) var(--spacing-xl);
}

.hero__logo {
  margin-bottom: var(--spacing-xl);
}

.logo-circle {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--spacing-lg);
  position: relative;
  background: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

.logo-img--hero {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero__title-main {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-sm);
  background: linear-gradient(135deg, var(--color-text-primary), var(--color-accent-platinum));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__title-sub {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--color-accent-gold);
}

.hero__title-desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__supply-info {
  margin-top: var(--spacing-lg);
  padding: 0;
  border: none;
  background: none;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--color-accent-gold);
  text-align: center;
  line-height: 1.2;
}

/* Presale Box */
.presale-box {
  background: var(--color-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--color-accent-gold);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg) var(--spacing-xl);
  box-shadow: var(--shadow-soft);
  animation: fadeInUp 1s ease 0.2s both;
}

.presale-box__badge {
  display: flex;
  gap: var(--spacing-xs);
  justify-content: center;
  margin-bottom: var(--spacing-md);
}

.badge {
  background: var(--color-accent-gold);
  color: var(--color-bg-primary);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge--secondary {
  background: var(--color-text-secondary);
}

.badge--gold {
  background: linear-gradient(135deg, var(--color-accent-gold), #D4AF37);
}

.badge--platinum {
  background: linear-gradient(135deg, var(--color-accent-platinum), #C0C0C0);
  color: var(--color-bg-primary);
}

/* Countdown */
.countdown {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.countdown__display {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* Wallet Section */
.wallet-section {
  margin-bottom: var(--spacing-lg);
  text-align: center;
}

.network-hint {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin-top: var(--spacing-xs);
}

/* Wallet Status */
.wallet-status {
  margin-top: var(--spacing-sm);
  padding: var(--spacing-sm);
  background: var(--color-bg-secondary);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
}

.wallet-status.hidden {
  display: none;
}

.wallet-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  font-size: 0.85rem;
}

.wallet-address {
  color: var(--color-accent-gold);
  font-family: var(--font-mono);
  word-break: break-all;
}

.wallet-balance {
  color: var(--color-text-secondary);
}

/* Purchase Section */
.purchase-section {
  margin-bottom: var(--spacing-lg);
}

.input-group {
  position: relative;
  margin-bottom: var(--spacing-sm);
}

.input {
  width: 100%;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  color: var(--color-text-primary);
  font-size: 1.1rem;
  font-family: var(--font-primary);
  transition: all 0.3s ease;
}

.input:focus {
  outline: none;
  border-color: var(--color-accent-gold);
  box-shadow: 0 0 0 2px rgba(198, 161, 91, 0.1);
}

/* Hide number input spinners */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}

.input-label {
  position: absolute;
  right: var(--spacing-md);
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-secondary);
  font-weight: 500;
}

.conversion {
  text-align: center;
  margin-bottom: var(--spacing-md);
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

.purchase-limits {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  text-align: center;
}

.exchange-rates {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  text-align: center;
  margin-bottom: var(--spacing-xs);
  line-height: 1.4;
}

/* Buttons */
.btn {
  background: none;
  border: none;
  border-radius: var(--border-radius);
  padding: var(--spacing-md) var(--spacing-lg);
  font-family: var(--font-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-accent-gold), #D4AF37);
  color: var(--color-bg-primary);
  width: 100%;
  font-size: 1.1rem;
  padding: var(--spacing-md) var(--spacing-xl);
  box-shadow: var(--shadow-glow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(198, 161, 91, 0.2);
}

.btn--large {
  font-size: 1.1rem;
  padding: var(--spacing-md) var(--spacing-xl);
}

.btn--secondary {
  background: var(--color-bg-secondary);
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
  width: 100%;
}

.btn--secondary:hover {
  border-color: var(--color-accent-gold);
  color: var(--color-accent-gold);
}

.btn--outline {
  background: none;
  color: var(--color-accent-gold);
  border: 1px solid var(--color-accent-gold);
}

.btn--outline:hover {
  background: var(--color-accent-gold);
  color: var(--color-bg-primary);
}

.btn--small {
  padding: var(--spacing-xs) var(--spacing-sm);
  font-size: 0.8rem;
}

.incentive-row .btn--small {
  width: 210px;
}

.btn--icon {
  padding: var(--spacing-xs);
  width: auto;
  background: none;
  border: 1px solid var(--color-border);
  font-size: 1rem;
}

.btn--icon:hover {
  border-color: var(--color-accent-gold);
}

/* Progress Section */
.progress-section {
  margin-bottom: var(--spacing-lg);
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--color-bg-secondary);
  border-radius: 4px;
  margin-bottom: var(--spacing-sm);
  overflow: hidden;
}

.progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent-gold), var(--color-accent-platinum));
  border-radius: 4px;
  transition: width 1s ease;
}

.stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--spacing-sm);
  font-size: 0.9rem;
}

/* Incentives */
.incentives {
  border-top: 1px solid var(--color-border);
  padding-top: var(--spacing-md);
}

.incentive-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-sm);
  font-size: 0.9rem;
}

.incentive-row:last-child {
  margin-bottom: 0;
}

/* Sections */
.section {
  padding: var(--spacing-xxl) 0;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  z-index: 1;
}

.section__title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: var(--spacing-xl);
  background: linear-gradient(135deg, var(--color-text-primary), var(--color-accent-platinum));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.card {
  background: var(--color-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease both;
}

.card:nth-child(2) { animation-delay: 0.1s; }
.card:nth-child(3) { animation-delay: 0.2s; }

.card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent-gold);
}

.card__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--spacing-lg);
  border: 2px solid var(--color-accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-accent-gold);
}

.card__title {
  font-size: 1.3rem;
  margin-bottom: var(--spacing-sm);
}

.card__content {
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* Incentives Detail */
.incentives-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-xl);
}

.incentive-card {
  background: var(--color-glass);
  border: 1px solid var(--color-border-gold);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  animation: fadeInUp 0.8s ease both;
}

.incentive-card:nth-child(2) { animation-delay: 0.1s; }

.incentive-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-lg);
}

.incentive-card__header h3 {
  font-size: 1.4rem;
  color: var(--color-accent-gold);
}

.incentive-card__content {
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-lg);
  line-height: 1.6;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.step {
  text-align: center;
  position: relative;
  animation: fadeInUp 0.8s ease both;
}

.step:nth-child(2) { animation-delay: 0.1s; }
.step:nth-child(3) { animation-delay: 0.2s; }

.step__number {
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--color-accent-gold);
  color: var(--color-bg-primary);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.step__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-lg);
  border: 2px solid var(--color-accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-accent-gold);
  background: var(--color-glass);
}

.step__title {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-sm);
}

.step__content {
  color: var(--color-text-secondary);
}

.steps__disclaimer {
  text-align: center;
  color: var(--color-text-secondary);
  font-style: italic;
}

/* Dashboard */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.stat-card {
  background: var(--color-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease both;
}

.stat-card:nth-child(2) { animation-delay: 0.1s; }
.stat-card:nth-child(3) { animation-delay: 0.2s; }
.stat-card:nth-child(4) { animation-delay: 0.3s; }

.stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-accent-gold);
}

.stat-card__value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--color-accent-gold);
  margin-bottom: var(--spacing-xs);
}

.stat-card__label {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.image-section {
    padding: 0;
    line-height: 0; /* remove any extra space below image */
}

.full-width-image {
    width: 100%;
    display: block;
    object-fit: cover; /* This will cover the area, might crop */
    max-height: 600px; /* To prevent image from being too tall */
    object-position: center 20%;
}

.dashboard-links {
  display: flex;
  justify-content: center;
  gap: var(--spacing-xl);
  flex-wrap: wrap;
}

/* Horizontal Presale Box Section */
.presale-horizontal-section {
    background: var(--color-bg-primary);
}

.presale-box--horizontal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    max-width: 1024px;
    margin: 0 auto;
    padding: 0;
    align-items: flex-start;
    border: none;
    background: transparent;
    box-shadow: none;
}

.presale-box--horizontal .presale-box__left {
    text-align: center;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    background: var(--color-glass);
    overflow: hidden; /* To contain the border-radius of the image */
    position: relative;
}

.presale-box__left-image-container {
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
  overflow: hidden;
  height: 250px;
}

.presale-box__left-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.presale-box__left-content {
  padding: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.presale-box__left-content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--spacing-xl) var(--spacing-md) var(--spacing-sm);
    background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.9) 25%, rgba(0,0,0,0) 60%);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.presale-box--horizontal .presale-box__right {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    background: var(--color-glass);
    border: 1px solid var(--color-accent-gold);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg) var(--spacing-xl);
    box-shadow: var(--shadow-soft);
    animation: fadeInUp 1s ease 0.2s both;
}

.presale-box--horizontal .presale-box__right .exchange-rates {
    margin-bottom: 0;
}

/* Sol Matching */
.matching-card {
  background: var(--color-glass);
  border: 1px solid var(--color-border-gold);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  display: none;
}

.matching-card__desc {
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-xl);
  line-height: 1.6;
}

.matching-form {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.matching-form .input {
  flex: 1;
}

.matching-form .btn {
  white-space: nowrap;
}

/* Verification */
.verification-badges {
  display: flex;
  justify-content: center;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
  flex-wrap: wrap;
}

.verification-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--spacing-lg);
  background: var(--color-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  text-decoration: none;
  color: var(--color-text-primary);
  transition: all 0.3s ease;
  min-width: 120px;
  flex: 1;
  max-width: 220px;
  text-align: center;
}

.verification-badge:hover {
  border-color: var(--color-accent-gold);
  transform: translateY(-3px);
}

.verification-badge__icon {
  font-size: 2rem;
  margin-bottom: var(--spacing-sm);
  color: var(--color-accent-gold);
}

.contract-address {
  text-align: center;
  background: var(--color-bg-secondary);
  border-radius: var(--border-radius);
  padding: var(--spacing-lg);
  display: none;
}

.contract-address__label {
  display: block;
  margin-bottom: var(--spacing-sm);
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

.contract-address__value {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto var(--spacing-xl);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: var(--spacing-lg) 0;
}

.faq-question {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-sm);
  color: var(--color-accent-gold);
}

.faq-answer {
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.disclaimer {
  background: var(--color-bg-secondary);
  border-radius: var(--border-radius);
  padding: var(--spacing-xl);
  max-width: 800px;
  margin: 0 auto;
}

.disclaimer h3 {
  margin-bottom: var(--spacing-md);
  color: var(--color-accent-gold);
}

.disclaimer ul {
  list-style: none;
  color: var(--color-text-secondary);
}

.disclaimer li {
  margin-bottom: var(--spacing-xs);
  position: relative;
  padding-left: var(--spacing-md);
}

.disclaimer li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-accent-gold);
}

/* Footer */
.footer {
  padding: var(--spacing-xl) 0;
  border-top: 1px solid var(--color-border);
  position: relative;
  z-index: 1;
}

.footer__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  text-align: center;
}

.footer__copyright {
  color: var(--color-text-secondary);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  max-width: 65ch;
}

.footer__copyright code {
  color: var(--color-accent-gold);
  font-family: var(--font-mono);
  background-color: var(--color-bg-secondary);
  padding: 2px 4px;
  border-radius: 4px;
  word-break: break-all;
}

.footer-social-links {
  display: flex;
  gap: var(--spacing-lg);
  align-items: center;
}

.footer-social-link {
  display: inline-block;
  transition: transform 0.3s ease;
}

.footer-social-link:hover {
  transform: translateY(-2px);
}

.footer-social-link img {
  width: 24px;
  height: 24px;
  transition: opacity 0.3s ease;
  vertical-align: middle;
}

.footer-social-link .yeezy-icon {
    width: 32px;
    height: 32px;
}

.footer-social-link:hover img {
  opacity: 0.8;
  filter: brightness(1.5);
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  opacity: 1;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  visibility: visible;
}

.modal-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.modal-content {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-accent-gold);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  width: 90%;
  max-width: 500px;
  position: relative;
  transform: scale(1);
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.modal-overlay.hidden .modal-content {
  transform: scale(0.95);
}

.modal-close-btn {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  background: none;
  border: none;
  color: var(--color-text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.modal-close-btn:hover {
  color: var(--color-text-primary);
}

.modal-content h3 {
  font-size: 1.4rem;
  margin-bottom: var(--spacing-sm);
  color: var(--color-accent-platinum);
}

.modal-desc {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-xl);
    font-size: 0.9rem;
}

.upload-area {
    margin-bottom: var(--spacing-md);
}

#select-file-btn {
    width: auto;
    margin-bottom: var(--spacing-sm);
}

.file-info {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    min-height: 1.2em;
    word-break: break-all;
}

.upload-status {
    min-height: 1.2em;
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
    font-weight: 500;
}

.upload-status.error {
    color: #ff6b6b;
}

.upload-status.success {
    color: #51cf66;
}

#submit-file-btn {
    width: auto;
}

#submit-file-btn.hidden {
    display: none;
}

/* Links */
.link {
  color: var(--color-accent-gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.link:hover {
  border-bottom-color: var(--color-accent-gold);
}

/* Language Switcher */
.language-switcher {
  position: fixed;
  top: var(--spacing-lg);
  left: auto;
  right: var(--spacing-lg);
  z-index: 1000;
}

.language-select {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  color: var(--color-text-primary);
  padding: var(--spacing-xs) var(--spacing-sm);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.language-select:focus {
  border-color: var(--color-accent-gold);
  outline: none;
}

/* Responsive Design */
@media (max-width: 900px) {
  .presale-box--horizontal {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    max-width: 520px;
    align-items: stretch;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--spacing-md);
  }
  
  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--spacing-xl);
  }
  
  .hero__background {
      background-position: center;
      opacity: 0.1;
  }
  
  .hero__title-main {
    font-size: 2.5rem;
  }
  
  .hero__title-sub {
    font-size: 2rem;
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
  }
  
  .incentives-cards {
    grid-template-columns: 1fr;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .header {
    padding-top: var(--spacing-md);
  }

  .header__content {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  
  .currency-tabs {
    flex-direction: row;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .tokenomics-table__header {
    display: none;
  }

  .tokenomics-table__row {
    grid-template-columns: 1fr;
    padding: var(--spacing-md);
  }
  
  .tokenomics-table__col {
    display: block;
    padding: var(--spacing-sm) 0;
    text-align: left !important;
    border-bottom: 1px solid var(--color-border);
    word-break: break-word;
  }
  
  .tokenomics-table__row .tokenomics-table__col:last-child {
      border-bottom: none;
  }

  .tokenomics-table__col::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--color-accent-gold);
    display: block;
    margin-bottom: var(--spacing-xs);
    font-size: 0.8rem;
    text-transform: uppercase;
  }
  
  .tokenomics-table__row .tokenomics-table__col:nth-child(2) {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .section {
    padding: var(--spacing-xl) 0;
  }
  
  .hero__title-main {
    font-size: 2rem;
  }
  
  .hero__title-sub {
    font-size: 1.5rem;
  }
  
  .section__title {
    font-size: 2rem;
  }
  
  .presale-box {
    padding: var(--spacing-lg);
  }
  
  .countdown__display {
    font-size: 2rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Focus styles for accessibility */
.btn:focus,
.input:focus,
.link:focus {
  outline: 2px solid var(--color-accent-gold);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --color-border: rgba(255, 255, 255, 0.3);
    --color-text-secondary: #CCCCCC;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Currency Selector */
.currency-selector {
  margin-bottom: var(--spacing-md);
}

.currency-tabs {
  display: flex;
  background: var(--color-bg-secondary);
  border-radius: var(--border-radius);
  padding: 4px;
  gap: 4px;
  flex-direction: row;
  justify-content: center;
}

.currency-tab {
  flex: 1;
  background: none;
  border: none;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: calc(var(--border-radius) - 4px);
  color: var(--color-text-secondary);
  font-family: var(--font-primary);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.currency-tab.active {
  background: var(--color-accent-gold);
  color: var(--color-bg-primary);
}

.currency-tab:hover:not(.active) {
  color: var(--color-text-primary);
  background: var(--color-border);
}

/* Tokenomics Section */
.tokenomics {
  background: var(--color-bg-secondary);
}

.tokenomics__total {
  text-align: center;
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-xl);
  font-weight: 500;
}

.tokenomics-table {
  max-width: 1000px;
  margin: 0 auto;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  background: var(--color-glass);
}

.tokenomics-table__header,
.tokenomics-table__row {
  display: grid;
  grid-template-columns: 2fr 1fr 3fr;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
}

.tokenomics-table__row:last-child {
  border-bottom: none;
}

.tokenomics-table__header {
  background: rgba(198, 161, 91, 0.05);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: var(--color-accent-gold);
}

.tokenomics-table__col {
  padding: var(--spacing-md);
}

.tokenomics-table__row .tokenomics-table__col:nth-child(1) {
  font-weight: 500;
  color: var(--color-accent-platinum);
}

.tokenomics-table__row .tokenomics-table__col:nth-child(2) {
  text-align: right;
  font-family: var(--font-mono);
}

.tokenomics-table__row .tokenomics-table__col:nth-child(3) {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

.tokenomics-table__footer {
  background: var(--color-bg-secondary);
  font-weight: 600;
}