/* Dream Market V2 - Main Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --dm-bg: #fafbfc;
  --dm-panel: #ffd4db;
  --dm-border: #ef3d4a;
  --dm-primary: #ef3d4a;
  --dm-danger: #dc3545;
  --dm-light-pink: #f1e5e5;
  --dm-header: #222326;
  --dm-muted: #72757e;
  --dm-info-bg: #d4ecff;
  --dm-orange: #f5a623;
  --dm-monero: #f26822;
  --dm-white: #fff;
  --dm-success: #47b881;
  
  /* Neumorphic shadows */
  --shadow-light: 8px 8px 16px rgba(239, 61, 74, 0.1), -8px -8px 16px rgba(255, 255, 255, 0.8);
  --shadow-inset: inset 4px 4px 8px rgba(239, 61, 74, 0.1), inset -4px -4px 8px rgba(255, 255, 255, 0.8);
  --shadow-hover: 12px 12px 24px rgba(239, 61, 74, 0.15), -12px -12px 24px rgba(255, 255, 255, 0.9);
}

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

html {
  scroll-behavior: smooth;
  font-size: 18px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--dm-bg);
  color: var(--dm-header);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background Canvas */
#background-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Navigation */
.floating-nav {
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  box-shadow: var(--shadow-light);
  padding: 1rem 2rem;
  transition: all 0.3s ease;
}

.floating-nav:hover {
  box-shadow: var(--shadow-hover);
  transform: translateX(-50%) translateY(-2px);
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--dm-primary);
}

.nav-logo img {
  width: 132px;
  height: 52px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-link {
  text-decoration: none;
  color: var(--dm-muted);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--dm-primary);
  background: var(--dm-light-pink);
  transform: translateY(-2px);
}

.nav-link.mirror-link {
  background: var(--dm-primary);
  color: var(--dm-white);
  box-shadow: 0 4px 12px rgba(239, 61, 74, 0.3);
}

.nav-link.mirror-link:hover {
  box-shadow: 0 6px 16px rgba(239, 61, 74, 0.4);
  transform: translateY(-3px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 3px;
  background: var(--dm-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 0 4rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  color: var(--dm-primary);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(239, 61, 74, 0.1);
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--dm-muted);
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.4s both;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-light);
}

.btn-primary {
  background: var(--dm-primary);
  color: var(--dm-white);
}

.btn-primary:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  background: #d63447;
}

.btn-secondary {
  background: var(--dm-white);
  color: var(--dm-primary);
  border: 2px solid var(--dm-primary);
}

.btn-secondary:hover {
  background: var(--dm-primary);
  color: var(--dm-white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* Sections */
.section {
  padding: 6rem 0;
  position: relative;
}

.section:nth-child(even) {
  background: linear-gradient(135deg, rgba(255, 212, 219, 0.3) 0%, rgba(250, 251, 252, 0.8) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dm-header);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--dm-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Content Grid */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.content-text p {
  margin-bottom: 1.5rem;
  color: var(--dm-muted);
  line-height: 1.8;
}

.content-image img {
  width: 100%;
  min-width: 400px;
  border-radius: 20px;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
}

.content-image img:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}

/* Links Preview */
.links-preview {
  background: var(--dm-white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-light);
  margin-bottom: 2rem;
}

.link-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  margin-bottom: 1rem;
  background: var(--dm-light-pink);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.link-item:hover {
  transform: translateX(5px);
  box-shadow: 4px 4px 8px rgba(239, 61, 74, 0.1);
}

.link-item a {
  color: var(--dm-primary);
  text-decoration: none;
  font-family: monospace;
  font-weight: 500;
}

.copy-btn {
  background: var(--dm-primary);
  color: var(--dm-white);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.copy-btn:hover {
  background: #d63447;
  transform: scale(1.05);
}

.links-notice {
  background: var(--dm-info-bg);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
}

.links-notice p {
  color: var(--dm-muted);
  margin-bottom: 1.5rem;
}

/* Security Grid */
.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.security-card {
  background: var(--dm-white);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
}

.security-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.security-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.security-card h3 {
  color: var(--dm-header);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.security-card p {
  color: var(--dm-muted);
  line-height: 1.6;
}

.security-content p {
  color: var(--dm-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Gallery */
.gallery-container {
  position: relative;
  margin: 2rem 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
}

.gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 1rem;
  padding: 1rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-track img {
  min-width: 400px;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
}

.gallery-track img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-hover);
}

.gallery-prev,
.gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--dm-white);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--dm-primary);
  cursor: pointer;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  z-index: 10;
}

.gallery-prev {
  left: 1rem;
}

.gallery-next {
  right: 1rem;
}

.gallery-prev:hover,
.gallery-next:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-50%) scale(1.1);
}

/* Registration Content */
.registration-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.registration-text p {
  color: var(--dm-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Crypto Grid */
.crypto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.crypto-card {
  background: var(--dm-white);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
}

.crypto-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.crypto-icon {
  font-size: 4rem;
  color: var(--dm-primary);
  margin-bottom: 1rem;
  display: block;
}

.crypto-card h3 {
  color: var(--dm-header);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.crypto-card p {
  color: var(--dm-muted);
  line-height: 1.6;
}

.crypto-content p {
  color: var(--dm-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.feature-card {
  background: var(--dm-white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.feature-card h3 {
  color: var(--dm-header);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.feature-card p {
  color: var(--dm-muted);
  line-height: 1.6;
}

.features-content p {
  color: var(--dm-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Community Content */
.community-content p {
  color: var(--dm-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Disclaimer */
.disclaimer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.disclaimer-card {
  background: var(--dm-white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-light);
  border-left: 4px solid var(--dm-primary);
}

.disclaimer-card h3 {
  color: var(--dm-header);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.disclaimer-card p {
  color: var(--dm-muted);
  line-height: 1.6;
}

/* Footer */
.footer {
  background: var(--dm-header);
  color: var(--dm-white);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-column h4 {
  margin-bottom: 1rem;
  color: var(--dm-white);
}

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

.footer-column li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--dm-white);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Responsive Design */
@media (max-width: 768px) {
  html {
    font-size: 16px;
  }
  
  .floating-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transform: none;
    border-radius: 0;
    padding: 1rem;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dm-white);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-light);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .content-image img {
    min-width: 90vw;
  }
  
  .gallery-track {
    flex-direction: column;
    align-items: center;
  }
  
  .gallery-track img {
    min-width: 90vw;
    width: 90vw;
  }
  
  .gallery-prev,
  .gallery-next {
    position: static;
    transform: none;
    margin: 0.5rem;
  }
  
  .security-grid,
  .crypto-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .container {
    padding: 0 1rem;
  }
}

