/* Vortex Market - Icecode Theme Styles */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(135deg, #faf6ff 0%, #f0f3fa 100%);
  color: #222;
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Ice Particles Canvas */
#ice-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Glass Effect Base */
.glass-effect {
  background: rgba(255, 255, 255, 0.78);
  border: 1.5px solid #b06df2;
  box-shadow: 0 6px 38px rgba(176, 109, 242, 0.11);
  border-radius: 22px;
  backdrop-filter: blur(7px);
}

/* Typography */
.section-title {
  font-size: 36px;
  font-weight: 700;
  color: #b06df2;
  text-align: center;
  margin-bottom: 3rem;
  text-shadow: 0 0 20px rgba(176, 109, 242, 0.3);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #b06df2, transparent);
  border-radius: 2px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: url('../img/back2.jpg') center/cover;
  background-attachment: fixed;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(250, 246, 255, 0.9) 0%, rgba(240, 243, 250, 0.8) 100%);
  z-index: 2;
}

.hero-content {
  text-align: center;
  z-index: 3;
  position: relative;
  max-width: 800px;
  padding: 2rem;
}

.logo-container {
  margin-bottom: 2rem;
  animation: float 6s ease-in-out infinite;
}

.main-logo {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(176, 109, 242, 0.4));
}

.hero-title {
  font-size: 72px;
  font-weight: 700;
  color: #b06df2;
  margin-bottom: 1rem;
  text-shadow: 0 0 30px rgba(176, 109, 242, 0.5);
  animation: glow 3s ease-in-out infinite alternate;
}

.hero-subtitle {
  font-size: 24px;
  color: #444;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.ice-button {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #b06df2;
  color: #b06df2;
  padding: 15px 40px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(176, 109, 242, 0.2);
  position: relative;
  overflow: hidden;
}

.ice-button:hover {
  background: #b06df2;
  color: white;
  border-color: #13950e;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(176, 109, 242, 0.4);
}

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

.ice-button:hover::before {
  left: 100%;
}

.ice-cracks {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M20,10 L30,30 L50,25 L70,40 L80,20" stroke="%23b06df2" stroke-width="0.5" fill="none" opacity="0.3"/><path d="M10,60 L25,70 L45,65 L60,80 L90,75" stroke="%23b06df2" stroke-width="0.5" fill="none" opacity="0.2"/></svg>') repeat;
  z-index: 2;
  animation: crack-spread 10s ease-in-out infinite;
}

/* Mirror Section */
.mirror-box {
  padding: 4rem 0;
  position: relative;
  z-index: 3;
}

.mirrors-container {
  background: rgba(255, 255, 255, 0.78);
  border: 1.5px solid #b06df2;
  border-radius: 22px;
  padding: 2rem;
  backdrop-filter: blur(7px);
  box-shadow: 0 6px 38px rgba(176, 109, 242, 0.11);
  text-align: center;
}

.mirror-link {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 20px;
  color: #b06df2;
  text-decoration: none;
  padding: 15px 20px;
  margin: 10px 0;
  background: rgba(176, 109, 242, 0.1);
  border: 1px solid #b06df2;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mirror-link:hover {
  background: #b06df2;
  color: white;
  transform: translateX(5px);
  box-shadow: 0 5px 20px rgba(176, 109, 242, 0.3);
}

.mirror-link::before {
  content: '🔗 ';
  margin-right: 10px;
}

/* About Section */
.about-section {
  padding: 6rem 0;
  position: relative;
  z-index: 3;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.about-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1.5px solid #b06df2;
  border-radius: 22px;
  padding: 2rem;
  backdrop-filter: blur(7px);
  box-shadow: 0 6px 38px rgba(176, 109, 242, 0.11);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.about-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(176, 109, 242, 0.2);
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #b06df2, #13950e);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.about-card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px rgba(176, 109, 242, 0.3));
}

.about-card h3 {
  color: #b06df2;
  font-size: 24px;
  margin-bottom: 1rem;
  font-weight: 700;
}

.about-card p {
  color: #444;
  line-height: 1.7;
}

/* Registration Section */
.registration-section {
  padding: 6rem 0;
  position: relative;
  z-index: 3;
}

.registration-flow {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 3rem;
}

.reg-step {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1.5px solid #b06df2;
  border-radius: 22px;
  padding: 2rem;
  backdrop-filter: blur(7px);
  box-shadow: 0 6px 38px rgba(176, 109, 242, 0.11);
  transition: all 0.3s ease;
}

.reg-step:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 50px rgba(176, 109, 242, 0.15);
}

.step-number {
  background: #b06df2;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 5px 20px rgba(176, 109, 242, 0.3);
}

.step-content {
  flex: 1;
}

.step-content h3 {
  color: #b06df2;
  font-size: 24px;
  margin-bottom: 1rem;
  font-weight: 700;
}

.step-content p {
  color: #444;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.step-image {
  margin: 1.5rem 0;
  text-align: center;
}

.step-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(176, 109, 242, 0.2);
}

/* Crypto Section */
.crypto-section {
  padding: 6rem 0;
  position: relative;
  z-index: 3;
}

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

.crypto-sphere {
  background: rgba(255, 255, 255, 0.78);
  border: 1.5px solid #b06df2;
  border-radius: 50%;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(7px);
  box-shadow: 0 6px 38px rgba(176, 109, 242, 0.11);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}

.crypto-sphere:hover {
  transform: scale(1.05) rotate(5deg);
  box-shadow: 0 15px 60px rgba(176, 109, 242, 0.2);
}

.crypto-sphere::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(176, 109, 242, 0.1), transparent);
  animation: rotate 10s linear infinite;
}

.sphere-content {
  text-align: center;
  z-index: 2;
  position: relative;
}

.crypto-icon {
  font-size: 3rem;
  color: #b06df2;
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(176, 109, 242, 0.5);
}

.crypto-sphere h3 {
  color: #b06df2;
  font-size: 20px;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.crypto-rate {
  font-size: 18px;
  color: #13950e;
  font-weight: 600;
  margin-bottom: 1rem;
  font-family: 'IBM Plex Mono', monospace;
}

.crypto-sphere p {
  color: #444;
  font-size: 14px;
  line-height: 1.5;
  max-width: 200px;
}

.crypto-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature {
  background: rgba(255, 255, 255, 0.78);
  border: 1.5px solid #b06df2;
  border-radius: 22px;
  padding: 1.5rem;
  backdrop-filter: blur(7px);
  box-shadow: 0 6px 38px rgba(176, 109, 242, 0.11);
  text-align: center;
}

.feature h4 {
  color: #b06df2;
  font-size: 18px;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.feature p {
  color: #444;
  font-size: 14px;
  line-height: 1.6;
}

/* Security Section */
.security-section {
  padding: 6rem 0;
  position: relative;
  z-index: 3;
}

.security-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.security-item {
  background: rgba(255, 255, 255, 0.78);
  border: 1.5px solid #b06df2;
  border-radius: 22px;
  padding: 2rem;
  backdrop-filter: blur(7px);
  box-shadow: 0 6px 38px rgba(176, 109, 242, 0.11);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.security-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 50px rgba(176, 109, 242, 0.15);
}

.security-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #b06df2, #13950e);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.security-item:hover::before {
  transform: scaleX(1);
}

.security-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.security-item h3 {
  color: #b06df2;
  font-size: 22px;
  margin-bottom: 1rem;
  font-weight: 700;
}

.security-item p {
  color: #444;
  line-height: 1.7;
}

/* FAQ Section */
.faq-section {
  padding: 6rem 0;
  position: relative;
  z-index: 3;
}

.faq-image {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-image img {
  max-width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(176, 109, 242, 0.2);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.78);
  border: 1.5px solid #b06df2;
  border-radius: 22px;
  margin-bottom: 1rem;
  backdrop-filter: blur(7px);
  box-shadow: 0 6px 38px rgba(176, 109, 242, 0.11);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 10px 50px rgba(176, 109, 242, 0.15);
}

.faq-question {
  padding: 1.5rem 2rem;
  font-size: 18px;
  font-weight: 600;
  color: #b06df2;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 2rem 1.5rem;
  color: #444;
  line-height: 1.7;
}

/* Footer */
.footer {
  background: rgba(255, 255, 255, 0.78);
  border-top: 1.5px solid #b06df2;
  backdrop-filter: blur(7px);
  padding: 3rem 0;
  position: relative;
  z-index: 3;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(176, 109, 242, 0.3));
}

.footer-text {
  flex: 1;
  max-width: 600px;
}

.footer-text p {
  color: #444;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

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

@keyframes glow {
  0% { text-shadow: 0 0 30px rgba(176, 109, 242, 0.5); }
  100% { text-shadow: 0 0 50px rgba(176, 109, 242, 0.8); }
}

@keyframes crack-spread {
  0%, 100% { opacity: 0.1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(1.05); }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 48px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .reg-step {
    flex-direction: column;
    text-align: center;
  }
  
  .crypto-sphere {
    width: 250px;
    height: 250px;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 36px;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .about-grid,
  .crypto-grid,
  .security-timeline {
    grid-template-columns: 1fr;
  }
  
  .crypto-sphere {
    width: 200px;
    height: 200px;
  }
}

