/* ========== 字体声明区域 ========== */
@font-face {
  font-family: 'Pixel';
  src: url('../fonts/pixel.ttf') format('truetype');
}


/* ========== 全局通用样式 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;

}
        
/* ========== 页面布局样式 ========== */
body {
    background-color: rgb(252, 244, 212);

    line-height: 1.6;
}

        html {
            scroll-behavior: smooth;
        }

/* ========= 导航栏 ========= */
        .navbar {
            height: 60px;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: rgba(255, 255, 255, 0.55);
            z-index: 1000;
            backdrop-filter: blur(12px);
            box-shadow: 0 10px 20px rgba(55, 54, 54, 0.3), 0 0 1px rgba(225, 225, 225, 0.4);
            -webkit-backdrop-filter: blur(12px);
        }

        .nav-container {
            max-width: 1200px;
            height: 60px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 24px;
        }

        .nav-links {
            display: flex;
            gap: 40px;
        }

        .nav-links a {
            color: #000000;
            text-decoration: none;
            font-size: 1.1rem;
            font-weight: 500;
            transition: color 0.3s ease;
            position: relative;
        }


        .nav-links a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -4px;
            left: 0;
            background-color: rgb(0, 0, 0);
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

/* ======== 板块 ======== */
        .hero {
            max-width: 1050px;
            margin: 120px auto;
            background-color: rgba(255, 255, 255, 0.75);
            border-radius: 30px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 1px rgba(225, 225, 225, 0.4);
            align-items: center;
            text-align: center;
            padding: 60px 40px;
            backdrop-filter: blur(20px) saturate(180%);
            border: 1px solid rgba(225, 225, 225, 0.1);
            scroll-margin-top: 60px;
        }

        .hero-content {
            color: #000;
            max-width: 800px;
            padding: 20px;
            margin: 0 auto;
            text-align: center;
            pointer-events: auto;
        }

        .hero.no-bg {
            height: 76vh;
            pointer-events: none;
            background-color: transparent !important;
            border: none !important;
            box-shadow: none !important;
            backdrop-filter: none !important;
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
        }

        .hero.no-bg .hero-content {
            pointer-events: auto;
            transition: filter 0.5s ease, opacity 0.5s ease;
        }

        @media (min-height: 1300px) {
            .hero.no-bg {
                height: 90vh;
            }
        }

        @media (max-width: 500px) {
            .h1 {
                font-size: 1.8rem;
            }
            .h2 {
                font-size: 1.5rem;
            }
            .hero {
              max-width: 1000px;
            }
        }

        body.scrolled .hero.no-bg .hero-content {
            filter: blur(5px);
            opacity: 0.6;
        }

        .scroll-down-indicator {
          margin-top: 40px;
          font-size: 2rem;
          color: #555;
          animation: bounce 1.5s infinite;
          opacity: 0.7;
          pointer-events: none;
        }

        .scroll-down-indicator:hover {
            opacity: 1;
        }

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


        .hero h1 {
            color: #000;
            font-family: 'Pixel', sans-serif;
            font-size: 2.5rem;
            margin-bottom: 20px;
            text-transform: uppercase;
            letter-spacing: 10px;
            animation: fadeIn 1.5s ease-in;
        }

        .hero h2 {
            color: #777777;
            font-family: 'Pixel', sans-serif;
            font-size: 2.5rem;
            margin-bottom: 20px;
            text-transform: uppercase;
            letter-spacing: 10px;
            animation: fadeIn 1.5s ease-in;
        }


        .hero p {
            color: #000;
            font-size: 1rem;
            margin-bottom: 15px;
            letter-spacing: 1.5px;
            animation: fadeIn 1s ease-in 0.5s;
            animation-fill-mode: both;
        }

        /* ======== Button ======== */
        .cta-button {
            display: inline-block;
            padding: 12px 32px;
            margin-top: 20px;
            margin-bottom: 20px;
            background-color: rgba(42, 91, 226, 0.822);
            color: #ffffff;
            backdrop-filter: blur(10px);
            border-radius: 30px;
            font-size: 1.2rem;
            transition: transform 0.3s ease;
            animation: fadeIn 1s ease-in 1s;
            animation-fill-mode: both;
            text-decoration: none;
        }

        .cta-button:hover {
            transform: scale(1.05);
            background-color: rgba(114, 114, 114, 0.75);
        }

        .about-section h2 {
            color: #000000;
            margin-bottom: 30px;
            font-size: 2.5rem;
            height: 5px;
        }

        .about-section p {
            max-width: 800px;
            margin: 0 auto;
            font-size: 1.2rem;
            color: #cccccc;
        }

        .features {
            padding-top: 400px;
            padding: 100px 20px;
            background-color: #111111;
        }

        .features-grid {
            display: flex;
            overflow-x: visible;
            position: relative;
            gap: 30px;
            padding-bottom: 20px;
            overflow-x: auto;
            overflow-y: visible;
            scroll-snap-type: x mandatory;
            scroll-behavior: smooth;
        }

        .feature-card {
            font-family: 'Pixel';
            color: #000;
            background-color: #ffffff;
            padding: 30px;
            border-radius: 10px;
            text-align: center;
            transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
            box-shadow 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);;
            box-shadow: 0 0 0 rgba(0, 0, 0, 0);
            will-change: transform, box-shadow;
            flex: 0 0 300px;
            scroll-snap-align: start;
        }

        .features-grid::-webkit-scrollbar {
          height: 8px;
        }

        .features-grid::-webkit-scrollbar-thumb {
          background: rgba(0,0,0,0.2);
          border-radius: 4px;
        }

        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 1px rgba(225, 225, 225, 0.4);
            z-index: 10;
            position: relative;
        }

        .feature-card h3 {
            font-family: 'Pixel';
            color: #000000;
            margin-bottom: 5px;
            font-size: 1.5rem;
            letter-spacing: 1.5px;
        }

         .feature-card h4 {
            font-family: 'Pixel';
            color: #000000;
            margin-bottom: 15px;
            font-size: 1rem;
            letter-spacing: 1.5px;
        }

         .feature-link {
            text-decoration: none;
            color: inherit;
            display: block;
        }

        .submit-section h2 {
            color: #000000;
            margin-bottom: 30px;
            font-size: 2.5rem;
        }

        .submit-section p {
            max-width: 800px;
            margin: 0 auto;
            font-size: 1.2rem;
            color: #cccccc;
        }

        .portfolio-section h2 {
            color: #000000;
            margin-bottom: 30px;
            font-size: 2.5rem;
        }

        .portfolio-section p {
            max-width: 800px;
            margin: 0 auto;
            font-size: 1.2rem;
            color: #cccccc;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Fade-in effect styles */
        .fade-in-section {
            /* opacity: 0; */ /* Temporarily commented out to ensure visibility */
            /* transform: translateY(20px); */ /* Temporarily commented out */
            transition: opacity 0.8s ease-out, transform 0.8s ease-out;
        }

        .fade-in-section.is-visible {
            opacity: 1;
            transform: translateY(0);
        }

        @media (max-width: 768px) {
            .nav-links {
                gap: 20px;
            }
            .nav-links a {
                font-size: 1rem;
            }
            .hero h1 {
                color: #000;
                font-family: 'Pixel', sans-serif;
                font-size: 2.5rem;
            }
            .hero p {
                font-size: 1.2rem;
            }
        }

.clean-list {
  list-style-position: inside;
  padding-left: 1.5em;
  line-height: 1.8;
  font-size: 1.1rem;
  color: #000;
  margin-bottom: 20px;
}

.clean-list li {
    margin-top: 10px;
  margin-bottom: 10px;
  text-align: left;
}

.sub-list {
  margin-top: 10px;
  padding-left: 1em;
  list-style-type: disc;
  color: #333;
  font-size: 1rem;
}

.sub-list li {
  margin-bottom: 6px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo img {
  display: block;
  height: 30px;
  width: 30px;
}

.site-name {
  font-family: 'Pixel', sans-serif;
  font-size: 1.1rem;
  line-height: 1;
  color: #000;
  letter-spacing: 1px;
  user-select: none;
  display: inline-block;
  transform: translateY(3px);
}

@media (max-width: 500px) {
  .site-name {
    display: none;
  }
  .feature-card:first-child{
    margin-left: auto;
    margin-right: auto;
  }
}


/* ======== Cover ======== */
.cover {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 10px;
}

/* ======== Background Logo ======== */
.bg-logo {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30vw;
  height: auto;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;

  animation: beat 1s infinite cubic-bezier(0.7, 0, 0.3, 1);
  transform-origin: center;
}

@keyframes beat {
    0% { transform: translate(-50%, -50%) scale(1);}
    40% { transform: translate(-50%, -50%) scale(1.15);}
    100% { transform: translate(-50%, -50%) scale(1);}
}

/* ======== Playlist Card ======== */
.playlist-card {
    flex: 1 1 400px;
    box-sizing: border-box;
    color: #000;
    background-color: #ffffff;
    padding: 30px 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    line-height: 1.75;
    font-size: 1rem;
}

.iframe-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    aspect-ratio: 330 / 430;
    overflow: hidden;
    border-radius: 10px;
}

.iframe-container iframe {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ======== Submission Section ======== */
.submission-container {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto;
}

.submission-card {
    flex: 1 1 400px;
    box-sizing: border-box;
    color: #000;
    background-color: #ffffff;
    padding: 24px 32px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    line-height: 1.4;
    font-size: 1rem;
    letter-spacing: 0;
}

.submission-card h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: #222;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5rem;
  letter-spacing: 3px;
}

.submission-card p {
  margin: 0.5em 0;
  line-height: 1.5;
  letter-spacing: normal;
}

.submission-card strong {
  color: #444;
}

.submission-card em {
  color: #666;
  font-style: italic;
}

.sub-list {
  margin: 0.3em 0 1em 1em;
  padding-left: 1em;
  list-style-type: disc;
  color: #333;
  font-size: 1rem;
  line-height: 1.4;
}

.sub-list li {
  margin-bottom: 4px;
}

.submission-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 500px) {
  .submission-card h2 {
    font-size: 1.2rem;
  }
  .submission-card p {
    font-size: 0.9rem;
  }
}

/* Footer */
.site-footer {
  background-color: rgba(255, 255, 255, 0.75);
  color: #000000;
  padding: 2em 1em;
  text-align: center;
  font-size: 0.9em;
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-nav {
  margin-top: 1em;
}

.footer-nav a {
  margin: 0 1em;
  color: #000000;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: #000000;
  text-decoration: none;
}

.footer-logo {
    position: center;
    width: 30px;
    height: 30px;
    margin-top: 5px;
}

