@import url("https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Inter:wght@300;400;500;600;700&display=swap");

:root {
  --primary-color: #0052ff;
  --primary-hover: #0045d1;
  --primary-light: rgba(0, 82, 255, 0.1);
  --background-color: #0a0a0c;
  --surface-color: #0d1117;
  --text-color: #e5e5e5;
  --heading-color: #ffffff;
  --animation-time: 0.3s;
  --border-radius: 10px;
}

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

html {
  overflow-x: hidden;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Press Start 2P", cursive;
  color: var(--heading-color);
  margin-bottom: 1rem;
}

.section-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
  text-shadow: 0 0 5px rgba(0, 82, 255, 0.3);
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color var(--animation-time) ease;
}

a:hover {
  color: var(--primary-hover);
}

section {
  padding: 80px 0;
  position: relative;
}

/* Navigation */
nav.main-nav {
  display: flex;
  width: 90%;
  max-width: 800px;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(0, 82, 255, 0.1);
  border-radius: 50px;
  padding: 10px 20px;
  margin: 20px auto;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all var(--animation-time) ease;
}

nav.main-nav.scrolled {
  padding: 8px 20px;
  background-color: rgba(10, 10, 12, 0.9);
  box-shadow: 0 5px 20px rgba(0, 82, 255, 0.2);
}

nav.main-nav img.logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  transition: transform var(--animation-time) ease;
}

nav.main-nav img.logo:hover {
  transform: scale(1.1);
}

nav.main-nav ul.main-menu {
  display: flex;
  align-items: center;
  gap: 15px;
}

nav.main-nav ul.main-menu li {
  transition: transform var(--animation-time) ease;
}

nav.main-nav ul.main-menu li a i {
  color: var(--primary-color);
  font-size: 24px;
  transition: color var(--animation-time) ease,
    transform var(--animation-time) ease;
}

nav.main-nav ul.main-menu li a i:hover {
  color: var(--primary-hover);
  transform: scale(1.2);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  cursor: pointer;
  z-index: 10;
  position: relative;
  transition: all 0.3s ease;
  padding: 5px;
  border-radius: 5px;
}

.hamburger:hover {
  background-color: rgba(0, 82, 255, 0.1);
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--primary-color);
  border-radius: 3px;
  transition: all 0.3s ease;
  box-shadow: 0 0 5px rgba(0, 82, 255, 0.3);
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: calc(100vh - 100px);
  background: radial-gradient(
    circle at center,
    var(--primary-light),
    transparent 70%
  );
  position: relative;
  overflow: hidden;
  padding: 80px 20px;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 2;
}

.hero h1 {
  font-size: 3.2rem;
  color: var(--primary-color);
  text-shadow: 0 0 10px rgba(0, 82, 255, 0.5);
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 50%;
  border: 4px solid var(--primary-color);
  box-shadow: 0 0 30px rgba(0, 82, 255, 0.3);
  transition: transform 0.5s ease;
  animation: float 6s ease-in-out infinite;
}

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

.button {
  display: inline-block;
  padding: 15px 30px;
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  font-family: "Press Start 2P", cursive;
  text-transform: uppercase;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--animation-time) ease;
  position: relative;
  overflow: hidden;
  border-radius: 5px;
}

.button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 82, 255, 0.2),
    transparent
  );
  transition: all 0.6s ease;
}

.button:hover {
  background-color: var(--primary-color);
  color: var(--background-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 82, 255, 0.3);
}

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

/* About Section */
.about-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  background-color: var(--surface-color);
  border-radius: var(--border-radius);
  padding: 60px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-left: 4px solid var(--primary-color);
  border-right: 4px solid var(--primary-color);
}

.about-content {
  flex: 1;
}

.about-content h2 {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-image img {
  max-width: 300px;
  border-radius: 50%;
  border: 4px solid var(--primary-color);
  transition: transform var(--animation-time) ease;
}

.about-image img:hover {
  transform: scale(1.05);
}

/* Projects Section */
.projects {
  padding: 80px 20px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.project {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  background-color: #222;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  height: 350px;
  transition: transform var(--animation-time) ease,
    box-shadow var(--animation-time) ease;
}

.project:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 82, 255, 0.2);
}

.project-image {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project:hover .project-image img {
  transform: scale(1.1);
}

.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  transform: translateY(100px);
  transition: transform var(--animation-time) ease;
}

.project:hover .project-info {
  transform: translateY(0);
}

.project-info h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #fff;
}

.project-buttons {
  display: flex;
  gap: 10px;
}

.btn {
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--animation-time) ease;
}

.btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px);
}

/* Popups */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity var(--animation-time) ease;
}

.popup.active {
  opacity: 1;
  display: flex;
}

.popup-content {
  background: var(--surface-color);
  padding: 30px;
  border-radius: var(--border-radius);
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.8);
  transition: transform var(--animation-time) ease;
  border: 2px solid var(--primary-color);
  box-shadow: 0 0 30px rgba(0, 82, 255, 0.3);
}

.popup.active .popup-content {
  transform: scale(1);
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: var(--primary-color);
  transition: color var(--animation-time) ease,
    transform var(--animation-time) ease;
}

.close:hover {
  color: var(--primary-hover);
  transform: scale(1.2);
}

.popup-container {
  width: 100%;
}

.popup-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.popup-header img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
}

.popup-header h2 {
  color: var(--primary-color);
  margin: 0;
}

.popup-container p {
  margin-bottom: 20px;
  line-height: 1.8;
}

/* Marquee */
.marquee-container {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.marquee-images {
  display: flex;
  gap: 30px;
  animation: scroll 30s linear infinite;
}

.marquee-images a {
  display: block;
}

.marquee-images img {
  height: 50px;
  width: auto;
  filter: grayscale(50%);
  transition: all var(--animation-time) ease;
}

.marquee-images img:hover {
  filter: grayscale(0%);
  transform: scale(1.2);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 15px));
  }
}

/* Mint Section */
.mint-section {
  text-align: center;
  padding: 80px 20px;
  background: radial-gradient(
    circle at center,
    var(--primary-light),
    transparent 70%
  );
  border-radius: var(--border-radius);
}

.mint-section h2 {
  color: var(--primary-color);
  margin-bottom: 40px;
}

.mint-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  max-width: 800px;
  margin: 0 auto;
}

.mint-preview {
  flex: 1;
}

.mint-preview img {
  max-width: 100%;
  border-radius: 10px;
  border: 3px solid var(--primary-color);
  box-shadow: 0 0 20px rgba(0, 82, 255, 0.3);
}

.mint-details {
  flex: 1;
  text-align: left;
}

.mint-info {
  font-size: 1.2rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.mint-controls {
  display: flex;
  align-items: center;
  margin: 20px 0;
}

.quantity-btn {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background-color var(--animation-time) ease;
}

.quantity-btn:hover {
  background-color: var(--primary-hover);
}

.quantity {
  width: 50px;
  text-align: center;
  font-size: 1.3rem;
  font-weight: bold;
}

.mint-button {
  display: block;
  width: 100%;
  padding: 15px;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-family: "Press Start 2P", cursive;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--animation-time) ease;
  margin-top: 20px;
}

.mint-button:hover {
  background-color: var(--primary-hover);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 82, 255, 0.3);
}

.nft-gallery {
  padding: 80px 20px;
  background-color: var(--surface-color);
  position: relative;
  border-top: 4px solid var(--primary-color);
  border-bottom: 4px solid var(--primary-color);
  margin-top: 60px;
  overflow: hidden;
}

.nft-gallery::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    var(--primary-light),
    transparent 70%
  );
  opacity: 0.5;
  pointer-events: none;
}

.slider-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto 40px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.slider-wrapper {
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  flex: 1;
}

.slider {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--primary-color);
  border-radius: var(--border-radius);
  background-color: rgba(13, 17, 23, 0.8);
}

.nft-image {
  width: 100%;
  height: 400px;
  object-fit: contain;
  background-color: var(--background-color);
  transition: transform 0.5s ease;
}

.slide:hover .nft-image {
  transform: scale(1.05);
}

.nft-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  color: #fff;
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.nft-info h3 {
  font-family: "Press Start 2P", cursive;
  font-size: 1rem;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.nft-rarity {
  font-weight: 600;
  font-size: 0.9rem;
}

.slider-button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.slider-button:hover {
  background-color: var(--primary-hover);
  transform: scale(1.1);
}

.slider-button i {
  color: #fff;
  font-size: 1.2rem;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

.nft-gallery-cta {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.nft-gallery-cta p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .nft-image {
    height: 300px;
  }

  .slider-container {
    gap: 10px;
  }

  .slider-button {
    width: 40px;
    height: 40px;
  }

  .nft-info h3 {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
}

/* Footer */
footer {
  background-color: var(--surface-color);
  padding: 70px 0 40px;
  text-align: center;
  border-top: 3px solid var(--primary-color);
  position: relative;
  overflow: hidden;
  margin-top: 20px;
}

footer::before {
  content: "";
  position: absolute;
  top: -30px;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(
    to bottom right,
    transparent 49%,
    var(--primary-color) 50%,
    transparent 51%
  );
  background-size: 15px 15px;
}

.footer-content {
  max-width: 1200px;
  margin: 10px auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  text-align: left;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
  color: var(--primary-color);
  font-family: "Press Start 2P", cursive;
  font-size: 1rem;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  box-shadow: 0 0 8px rgba(0, 82, 255, 0.5);
}

.footer-logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-logo img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  box-shadow: 0 0 15px rgba(0, 82, 255, 0.3);
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-logo img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(0, 82, 255, 0.5);
}

.footer-brand-name {
  font-family: "Press Start 2P", cursive;
  font-size: 1.2rem;
  color: var(--primary-color);
  line-height: 1.4;
}

.footer-about {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #b0b0b0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links li a {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all var(--animation-time) ease;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-links li a:hover {
  padding-left: 8px;
  border-bottom-color: rgba(0, 82, 255, 0.3);
}

.footer-links li a i {
  color: var(--primary-color);
  font-size: 16px;
  transition: transform 0.3s ease;
}

.footer-links li a:hover i {
  transform: translateX(5px);
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 0.95rem;
  color: #b0b0b0;
}

.contact-info li i {
  color: var(--primary-color);
  font-size: 18px;
  margin-top: 3px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin: 25px 0;
  flex-wrap: wrap;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background-color: rgba(0, 82, 255, 0.08);
  border-radius: 8px;
  transition: all var(--animation-time) ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 82, 255, 0.2);
}

.social-links a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: all 0.6s ease;
}

.social-links a:hover {
  transform: translateY(-5px) rotate(5deg);
  background-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 82, 255, 0.3);
}

.social-links a:hover::before {
  left: 100%;
}

.social-links a i {
  font-size: 20px;
  color: var(--text-color);
  transition: color var(--animation-time) ease;
}

.social-links a:hover i {
  color: #fff;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.newsletter-form p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #b0b0b0;
}

.newsletter-input-group {
  display: flex;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.newsletter-input {
  flex: 1;
  padding: 14px 16px;
  border: none;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-color);
  border-radius: 6px 0 0 6px;
  font-size: 0.95rem;
  transition: background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-right: none;
}

.newsletter-input:focus {
  background-color: rgba(255, 255, 255, 0.08);
  outline: none;
}

.newsletter-button {
  padding: 0 18px;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  transition: all var(--animation-time) ease;
  font-weight: 600;
}

.newsletter-button:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 0 15px rgba(0, 82, 255, 0.4);
}

.copyright-section {
  margin-top: 50px;
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.copyright {
  font-size: 0.95rem;
  color: #888;
}

.footer-bottom-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  font-size: 0.9rem;
  color: #999;
  position: relative;
  padding: 0 10px;
}

.footer-bottom-links a:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.2);
}

.footer-bottom-links a:hover {
  color: var(--primary-color);
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--surface-color);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-left: 4px solid var(--primary-color);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary-color);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  color: var(--text-color);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  transition: all var(--animation-time) ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(0, 82, 255, 0.2);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  padding: 15px 30px;
  font-family: "Press Start 2P", cursive;
  font-size: 0.9rem;
  border-radius: 5px;
  cursor: pointer;
  transition: all var(--animation-time) ease;
  display: block;
  width: 100%;
}

.submit-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 82, 255, 0.3);
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--animation-time) ease;
  z-index: 99;
  box-shadow: 0 5px 15px rgba(0, 82, 255, 0.3);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-hover);
  transform: translateY(-5px);
}

.back-to-top i {
  font-size: 24px;
}

/* Media Queries */
@media (max-width: 1200px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .hero p {
    font-size: 1.3rem;
  }

  .about-section {
    padding: 40px;
  }
}

@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
  }

  .hero-content {
    margin-bottom: 40px;
    max-width: 100%;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-image img {
    max-width: 300px;
  }

  .about-section {
    flex-direction: column;
    padding: 30px;
    gap: 30px;
  }

  .about-content {
    order: 2;
    text-align: center;
  }

  .about-image {
    order: 1;
  }

  .mint-container {
    flex-direction: column;
  }

  .mint-preview {
    margin-bottom: 30px;
  }

  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .about-content p {
    font-size: 1rem;
  }

  nav.main-nav {
    width: 95%;
  }

  .hamburger {
    display: flex;
  }

  .menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 8;
  }

  .menu-backdrop.active {
    opacity: 1;
    visibility: visible;
  }

  nav.main-nav ul.main-menu {
    position: fixed;
    top: 0;
    right: -900px;
    background: var(--surface-color);
    border-left: 3px solid var(--primary-color);
    height: 100vh;
    width: 280px;
    flex-direction: column;
    justify-content: flex-start;
    gap: 20px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    padding: 80px 30px 30px;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
    z-index: 9;
    overflow-y: auto;
  }

  nav.main-nav ul.main-menu::before {
    content: "MENU";
    position: absolute;
    top: 30px;
    left: 30px;
    font-family: "Press Start 2P", cursive;
    font-size: 0.9rem;
    color: var(--primary-color);
  }

  nav.main-nav ul.main-menu.active {
    right: 0;
  }

  nav.main-nav ul.main-menu li {
    width: 100%;
    opacity: 0;
    transform: translateX(500px);
    transition: all 0.4s ease;
    transition-delay: calc(0.1s * var(--i, 0));
  }

  nav.main-nav ul.main-menu.active li {
    opacity: 1;
    transform: translateX(0);
  }

  nav.main-nav ul.main-menu li a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
    width: 100%;
  }

  nav.main-nav ul.main-menu li a:hover {
    background-color: rgba(0, 82, 255, 0.1);
    padding-left: 20px;
  }

  nav.main-nav ul.main-menu li a i {
    font-size: 24px;
  }

  nav.main-nav ul.main-menu li a span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
  }

  .menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 82, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
  }

  .menu-close:hover {
    background-color: var(--primary-color);
  }

  .menu-close span {
    position: relative;
    width: 20px;
    height: 20px;
  }

  .menu-close span::before,
  .menu-close span::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
  }

  .menu-close:hover span::before,
  .menu-close:hover span::after {
    background-color: #fff;
  }

  .menu-close span::before {
    transform: rotate(45deg);
  }

  .menu-close span::after {
    transform: rotate(-45deg);
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    width: 80%;
    margin-left: 20%;
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
    width: 80%;
    margin-left: 20%;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .popup-content {
    padding: 20px;
  }

  .popup-header {
    flex-direction: column;
    text-align: center;
  }

  .popup-header h2 {
    font-size: 1.2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .footer-column h3::after {
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
  }

  .footer-logo-container {
    justify-content: center;
  }

  .footer-links li a {
    justify-content: center;
  }

  .footer-links li a:hover {
    padding-left: 0;
  }

  .contact-info li {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }

  .newsletter-input-group {
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 1.7rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .button {
    padding: 12px 20px;
    font-size: 12px;
  }

  .about-section {
    padding: 20px;
  }

  .about-image img {
    max-width: 200px;
  }

  .mint-info {
    font-size: 1rem;
  }

  footer {
    padding: 40px 0 30px;
    margin-top: 20px;
  }

  footer::before {
    background-size: 15px 15px;
  }

  .footer-content {
    gap: 40px;
    display: flex;
    justify-items: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 20px;
  }

  .footer-column h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
  }

  .footer-logo {
    width: 50px;
    height: 50px;
  }

  .footer-brand-name {
    font-size: 1rem;
  }

  .footer-links li {
    margin-bottom: 10px;
  }

  .social-links {
    gap: 10px;
  }

  .social-links a {
    width: 36px;
    height: 36px;
  }

  .social-links a i {
    font-size: 16px;
  }

  .nft-image {
    height: 250px;
  }

  .nft-info {
    padding: 15px;
  }

  .slider-button {
    width: 36px;
    height: 36px;
  }

  .slider-button i {
    font-size: 1rem;
  }

  .copyright-section {
    margin-top: 30px;
    padding-top: 15px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }

  .contact-form {
    padding: 20px;
  }

  .submit-btn {
    padding: 12px 20px;
    font-size: 0.8rem;
  }

  .popup-content {
    padding: 15px;
  }

  .close {
    top: 10px;
    right: 15px;
    font-size: 24px;
  }

  nav.main-nav ul.main-menu {
    width: 250px;
    padding: 70px 20px 20px;
  }

  nav.main-nav ul.main-menu li a {
    padding: 10px;
  }

  nav.main-nav ul.main-menu li a i {
    font-size: 20px;
  }

  nav.main-nav ul.main-menu li a span {
    font-size: 0.9rem;
  }

  nav.main-nav ul.main-menu::before {
    top: 25px;
    left: 20px;
    font-size: 0.8rem;
  }

  .menu-close {
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
  }
}

/* Dark mode toggle */
.theme-switch {
  position: relative;
  width: 60px;
  height: 30px;
  background-color: var(--surface-color);
  border-radius: 15px;
  cursor: pointer;
  padding: 3px;
  transition: all var(--animation-time) ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-switch-toggle {
  position: absolute;
  left: 3px;
  width: 24px;
  height: 24px;
  background-color: var(--primary-color);
  border-radius: 50%;
  transition: all var(--animation-time) ease;
}

.theme-switch.active .theme-switch-toggle {
  left: calc(100% - 27px);
  background-color: #ffcc00;
}

/* Animation effect for page transitions */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.page-transition.active {
  transform: translateY(0);
}

/* Loading animation */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--background-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(0, 82, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Accessibility improvements */
:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Print styles */
@media print {
  body {
    background-color: #fff;
    color: #000;
  }

  .hero,
  .about-section,
  .projects,
  .mint-section,
  footer {
    padding: 20px 0;
    page-break-inside: avoid;
  }

  nav.main-nav,
  .back-to-top,
  .popup,
  .marquee-container {
    display: none;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .project {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .project-info {
    position: static;
    transform: none;
    background: none;
    color: #000;
  }

  .project-info h3 {
    color: #000;
  }

  img {
    max-width: 100% !important;
  }

  h1,
  h2,
  h3,
  .section-title {
    color: #000;
    text-shadow: none;
  }
}
