/* Vortex Market - Icecode Theme Styles */

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

body {
  font-family: 'Manrope', sans-serif;
  background: linear-gradient(135deg, #0a0a0f 0%, #000 100%);
  color: #eee;
  overflow-x: hidden;
  min-width: 1100px;
  position: relative;
}

/* Ice Canvas Background */
#iceCanvas {
  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 20px;
}

/* Section Titles */
.section-title {
  font-size: 3rem;
  font-weight: 700;
  color: #b06df2;
  text-align: center;
  margin-bottom: 3rem;
  text-shadow: 0 0 20px rgba(176, 109, 242, 0.5), 0 0 40px 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);
  box-shadow: 0 0 10px #b06df2;
}

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

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(10, 10, 15, 0.8) 0%, rgba(0, 0, 0, 0.9) 100%);
  backdrop-filter: blur(1px);
}

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

.logo-container {
  margin-bottom: 2rem;
  animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
  0% { filter: drop-shadow(0 0 20px rgba(176, 109, 242, 0.3)); }
  100% { filter: drop-shadow(0 0 40px rgba(176, 109, 242, 0.6)); }
}

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

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  color: #b06df2;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 30px rgba(176, 109, 242, 0.7);
  animation: titleFreeze 4s ease-in-out infinite;
}

@keyframes titleFreeze {
  0%, 100% { text-shadow: 0 0 30px rgba(176, 109, 242, 0.7); }
  50% { text-shadow: 0 0 50px rgba(176, 109, 242, 0.9), 0 0 80px rgba(255, 255, 255, 0.3); }
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #13950e;
  margin-bottom: 2rem;
  text-shadow: 0 0 15px rgba(19, 149, 14, 0.5);
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ddd;
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(176, 109, 242, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 30px rgba(176, 109, 242, 0.1);
}

/* Ice Particles */
.ice-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

/* Mirror Section */
.mirror-box {
  padding: 4rem 0;
  background: rgba(0, 0, 0, 0.8);
  border-top: 2px solid rgba(176, 109, 242, 0.3);
  border-bottom: 2px solid rgba(176, 109, 242, 0.3);
}

.ice-frame {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  border: 2px solid rgba(176, 109, 242, 0.3);
  backdrop-filter: blur(15px);
  box-shadow: 0 0 50px rgba(176, 109, 242, 0.2);
  position: relative;
}

.ice-frame::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #b06df2, transparent, #13950e, transparent, #b06df2);
  border-radius: 22px;
  z-index: -1;
  animation: borderGlow 3s linear infinite;
}

@keyframes borderGlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

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

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

.mirror-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(176, 109, 242, 0.2), transparent);
  transition: left 0.5s ease;
}

.mirror-link:hover::before {
  left: 100%;
}

.mirror-link:hover {
  background: rgba(176, 109, 242, 0.1);
  border-color: #b06df2;
  box-shadow: 0 0 20px rgba(176, 109, 242, 0.3);
  transform: translateY(-2px);
}

/* About Section */
.about-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(10, 10, 15, 0.8) 100%);
}

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

.ice-sphere {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 3rem 2rem;
  border: 1px solid rgba(176, 109, 242, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 30px rgba(176, 109, 242, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.ice-sphere::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(176, 109, 242, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ice-sphere:hover::before {
  opacity: 1;
}

.ice-sphere:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(176, 109, 242, 0.2);
  border-color: rgba(176, 109, 242, 0.4);
}

.ice-sphere h3 {
  color: #b06df2;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 10px rgba(176, 109, 242, 0.5);
}

.ice-sphere p {
  line-height: 1.7;
  color: #ddd;
}

/* Registration Section */
.registration-section {
  padding: 6rem 0;
  background: rgba(0, 0, 0, 0.9);
}

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

.step-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 2rem;
  border: 1px solid rgba(176, 109, 242, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 30px rgba(176, 109, 242, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(176, 109, 242, 0.2);
  border-color: rgba(176, 109, 242, 0.4);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 2rem;
  background: linear-gradient(135deg, #b06df2, #13950e);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 0 20px rgba(176, 109, 242, 0.5);
}

.step-card h3 {
  color: #b06df2;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.step-card p {
  color: #ddd;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.step-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid rgba(176, 109, 242, 0.2);
  box-shadow: 0 0 20px rgba(176, 109, 242, 0.1);
}

/* Crypto Section */
.crypto-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, rgba(10, 10, 15, 0.9) 0%, rgba(0, 0, 0, 0.8) 100%);
}

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

.crypto-sphere {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 3rem 2rem;
  border: 1px solid rgba(176, 109, 242, 0.2);
  backdrop-filter: blur(15px);
  box-shadow: 0 0 40px rgba(176, 109, 242, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.crypto-sphere::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(176, 109, 242, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.crypto-sphere:hover::before {
  opacity: 1;
}

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

.crypto-icon {
  font-size: 4rem;
  color: #b06df2;
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(176, 109, 242, 0.7);
  animation: cryptoPulse 2s ease-in-out infinite alternate;
}

@keyframes cryptoPulse {
  0% { text-shadow: 0 0 20px rgba(176, 109, 242, 0.7); }
  100% { text-shadow: 0 0 40px rgba(176, 109, 242, 1), 0 0 60px rgba(176, 109, 242, 0.5); }
}

.crypto-sphere h3 {
  color: #b06df2;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.crypto-rate {
  font-size: 2rem;
  font-weight: 700;
  color: #13950e;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 15px rgba(19, 149, 14, 0.5);
  font-family: 'IBM Plex Mono', monospace;
}

.crypto-sphere p {
  color: #ddd;
  line-height: 1.6;
}

.crypto-features {
  margin-top: 4rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid rgba(176, 109, 242, 0.2);
  backdrop-filter: blur(10px);
}

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

.crypto-features p {
  color: #ddd;
  line-height: 1.7;
  font-size: 1.1rem;
}

/* Security Section */
.security-section {
  padding: 6rem 0;
  background: rgba(0, 0, 0, 0.9);
}

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

.security-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(176, 109, 242, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 30px rgba(176, 109, 242, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.security-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(176, 109, 242, 0.2);
  border-color: rgba(176, 109, 242, 0.4);
}

.security-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
  text-align: center;
  filter: drop-shadow(0 0 10px rgba(176, 109, 242, 0.5));
}

.security-item h3 {
  color: #b06df2;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  text-align: center;
  text-shadow: 0 0 10px rgba(176, 109, 242, 0.5);
}

.security-item p {
  color: #ddd;
  line-height: 1.6;
  text-align: center;
}

/* FAQ Section */
.faq-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, rgba(10, 10, 15, 0.9) 0%, rgba(0, 0, 0, 0.8) 100%);
}

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

.faq-image {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  border: 2px solid rgba(176, 109, 242, 0.3);
  box-shadow: 0 0 40px rgba(176, 109, 242, 0.2);
}

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

.faq-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(176, 109, 242, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 30px rgba(176, 109, 242, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(176, 109, 242, 0.4);
  box-shadow: 0 0 40px rgba(176, 109, 242, 0.2);
}

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

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

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

.faq-question:hover {
  background: rgba(176, 109, 242, 0.1);
  text-shadow: 0 0 10px rgba(176, 109, 242, 0.5);
}

.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 2rem;
  color: #ddd;
  line-height: 1.7;
}

/* Gallery Section */
.gallery-section {
  padding: 6rem 0;
  background: rgba(0, 0, 0, 0.9);
}

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

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(176, 109, 242, 0.2);
  box-shadow: 0 0 30px rgba(176, 109, 242, 0.1);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 50px rgba(176, 109, 242, 0.2);
  border-color: rgba(176, 109, 242, 0.4);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: all 0.3s ease;
}

.gallery-item:hover img {
  filter: brightness(1.1) contrast(1.1);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: #b06df2;
  padding: 2rem 1.5rem 1.5rem;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(176, 109, 242, 0.5);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* Footer Section */
.footer-section {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(10, 10, 15, 0.9) 100%);
  border-top: 2px solid rgba(176, 109, 242, 0.3);
  padding: 4rem 0 2rem;
}

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

.footer-logo img {
  filter: drop-shadow(0 0 20px rgba(176, 109, 242, 0.5));
}

.footer-info h3 {
  color: #b06df2;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(176, 109, 242, 0.5);
}

.footer-info p {
  color: #ddd;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-mirrors {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid rgba(176, 109, 242, 0.2);
  margin-top: 1.5rem;
}

.footer-mirrors p {
  margin-bottom: 0.5rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.9rem;
}

.footer-contact h4 {
  color: #13950e;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(19, 149, 14, 0.5);
}

.footer-contact p {
  color: #aaa;
  margin-bottom: 0.5rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.9rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(176, 109, 242, 0.2);
  color: #aaa;
  font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .registration-steps,
  .crypto-grid,
  .security-timeline {
    grid-template-columns: 1fr;
  }
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Scroll animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

