/*
Theme Name: Crypterio Purple ICO
Theme URI: https://crypterio.stylemixthemes.com/purple/
Description: Modern ICO & Cryptocurrency Landing Page Theme in Purple Palette
Version: 1.0.0
Author: Antigravity AI
Text Domain: crypterio-purple
*/

:root {
  --bg-dark: #0c071e;
  --bg-card: rgba(30, 20, 60, 0.65);
  --bg-card-hover: rgba(45, 30, 90, 0.75);
  --border-glass: rgba(140, 110, 230, 0.18);
  --border-glow: rgba(0, 255, 233, 0.4);
  
  --primary-cyan: #00ffe9;
  --primary-teal: #1dd5e5;
  --primary-pink: #f15a91;
  --primary-purple: #603cab;
  --primary-blue: #004eff;
  
  --text-main: #ffffff;
  --text-muted: #b6b0dd;
  --text-dim: #827aa9;
  
  --font-heading: 'Rajdhani', sans-serif;
  --font-body: 'Exo 2', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(96, 60, 171, 0.25) 0%, transparent 40%),
    radial-gradient(circle at 85% 35%, rgba(0, 255, 233, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 50% 75%, rgba(241, 90, 145, 0.15) 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: #ffffff;
}

a {
  color: var(--primary-cyan);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(0, 255, 233, 0.5);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navbar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(12, 7, 30, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 0;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  padding: 12px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 2px;
}

.brand-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(0, 255, 233, 0.4);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

.main-nav a {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-muted);
  padding: 6px 0;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-cyan);
  transition: width 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #ffffff;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-selector {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-cyan {
  background: linear-gradient(135deg, #00ffe9, #1dd5e5);
  color: #0c071e;
  box-shadow: 0 0 20px rgba(0, 255, 233, 0.4);
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 255, 233, 0.7);
  color: #0c071e;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--border-glass);
  color: #ffffff;
}

.btn-outline:hover {
  border-color: var(--primary-cyan);
  background: rgba(0, 255, 233, 0.08);
  color: var(--primary-cyan);
}

.btn-pink {
  background: linear-gradient(135deg, var(--primary-pink), #c0386e);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(241, 90, 145, 0.4);
}

.btn-pink:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(241, 90, 145, 0.7);
}

/* Hero Section */
.hero-section {
  padding: 180px 0 100px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  background: rgba(0, 255, 233, 0.1);
  border: 1px solid var(--border-glow);
  color: var(--primary-cyan);
  padding: 6px 16px;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 54px;
  line-height: 1.15;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 40%, var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 19px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* Crypto Floating Art */
.crypto-art-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.art-glow-circle {
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(96, 60, 171, 0.6) 0%, rgba(0, 255, 233, 0.2) 60%, transparent 80%);
  border-radius: 50%;
  filter: blur(40px);
  animation: pulse-glow 4s infinite alternate ease-in-out;
}

@keyframes pulse-glow {
  0% { transform: scale(0.9); opacity: 0.7; }
  100% { transform: scale(1.1); opacity: 1; }
}

.crypto-graphic {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.5));
  animation: float-slow 6s ease-in-out infinite;
}

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

/* Presale Countdown Box */
.presale-card {
  margin-top: 60px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}

.presale-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-cyan), var(--primary-pink), var(--primary-purple));
}

.presale-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.presale-header h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.presale-header span.cyan {
  color: var(--primary-cyan);
}

.timer-box {
  display: flex;
  gap: 16px;
}

.timer-unit {
  background: rgba(12, 7, 30, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px 18px;
  text-align: center;
  min-width: 75px;
}

.timer-num {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-cyan);
}

.timer-label {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* Progress Bar & Cap */
.progress-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
}

.cap-item {
  text-align: center;
}

.cap-val {
  font-size: 18px;
  color: #ffffff;
}

.cap-lbl {
  font-size: 12px;
  color: var(--text-muted);
}

.bar-container {
  height: 16px;
  background: rgba(12, 7, 30, 0.8);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  margin: 16px 0 24px;
}

.bar-fill {
  height: 100%;
  width: 38%;
  background: linear-gradient(90deg, var(--primary-purple), var(--primary-cyan));
  border-radius: 20px;
  box-shadow: 0 0 15px rgba(0, 255, 233, 0.5);
  position: relative;
}

.presale-footer-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.rate-badge {
  font-size: 14px;
  color: var(--text-muted);
}

/* Section Title Component */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 42px;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary-cyan);
  margin: 14px auto 0;
  border-radius: 2px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

/* Section Spacing */
.section {
  padding: 100px 0;
  position: relative;
}

/* About Section & Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 36px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  box-shadow: 0 15px 35px rgba(0, 255, 233, 0.15);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(0, 255, 233, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary-cyan);
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 14px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Ratings Widget Grid */
.ratings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.rating-card {
  background: rgba(20, 14, 42, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}

.rating-score {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-cyan);
  margin: 10px 0 6px;
}

.rating-stars {
  color: #ffc107;
  font-size: 14px;
  margin-top: 6px;
}

/* Roadmap Timeline */
.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: linear-gradient(180deg, var(--primary-cyan), var(--primary-purple), var(--primary-pink));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 40px 40px;
}

.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.right {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 3px solid var(--primary-cyan);
  box-shadow: 0 0 12px var(--primary-cyan);
  z-index: 2;
}

.timeline-item.left .timeline-dot {
  right: -10px;
}

.timeline-item.right .timeline-dot {
  left: -10px;
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 24px;
}

.timeline-date {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-cyan);
  margin-bottom: 6px;
}

.timeline-title {
  font-size: 20px;
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 14px;
  color: var(--text-muted);
}

/* Token Distribution Section */
.token-dist-bar {
  display: flex;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  margin: 40px 0;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.dist-segment {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: #ffffff;
  transition: opacity 0.3s ease;
}

.dist-segment:hover {
  opacity: 0.85;
}

.token-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.token-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 24px;
}

.token-info-card label {
  font-size: 13px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.token-info-card .val {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 4px;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 20px;
  object-fit: cover;
  border: 3px solid var(--primary-cyan);
  box-shadow: 0 0 20px rgba(0, 255, 233, 0.3);
}

.team-name {
  font-size: 20px;
  margin-bottom: 4px;
}

.team-role {
  font-size: 14px;
  color: var(--primary-cyan);
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 14px;
}

.team-socials {
  display: flex;
  justify-content: center;
  gap: 12px;

}

.team-socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.team-socials a:hover {
  background: var(--primary-cyan);
  color: #0c071e;
}

/* Modal Popup */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(12, 7, 30, 0.85);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: #171033;
  border: 1px solid var(--border-glow);
  border-radius: 24px;
  padding: 40px;
  max-width: 550px;
  width: 100%;
  box-shadow: 0 25px 60px rgba(0, 255, 233, 0.2);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
}

.contract-address-box {
  background: rgba(12, 7, 30, 0.9);
  border: 1px dashed var(--primary-cyan);
  padding: 16px;
  border-radius: 12px;
  word-break: break-all;
  font-family: monospace;
  font-size: 15px;
  color: var(--primary-cyan);
  margin: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* Footer */
.site-footer {
  background: #080415;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 80px 0 40px;
  margin-top: 100px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: var(--text-muted);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dim);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .presale-grid { grid-template-columns: 1fr; }
  .ratings-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline-container::before { left: 20px; }
  .timeline-item { width: 100%; padding-left: 50px; text-align: left !important; }
  .timeline-item.right { left: 0; }
  .timeline-item.left .timeline-dot, .timeline-item.right .timeline-dot { left: 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 38px; }
  .ratings-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .presale-card { padding: 24px; }
}
