@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&family=Noto+Serif+SC:wght@400;600;700;900&display=swap');

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

:root {
  --bg-primary: #0f1923;
  --bg-card: #1a2332;
  --bg-card-hover: #243044;
  --accent: #00a8ff;
  --accent-glow: rgba(0, 168, 255, 0.4);
  --text-primary: #ffffff;
  --text-secondary: #b0bec5;
  --text-muted: #78909c;
  --gradient-hero: linear-gradient(180deg, rgba(15, 25, 35, 0.3) 0%, rgba(15, 25, 35, 0.95) 100%);
  --gradient-accent: linear-gradient(135deg, #00a8ff 0%, #0077cc 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans SC', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  display: block;
}

/* ============ HEADER / NAV ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: linear-gradient(180deg, rgba(15, 25, 35, 0.95) 0%, rgba(15, 25, 35, 0.6) 80%, transparent 100%);
  backdrop-filter: blur(12px);
  transition: background 0.3s ease, padding 0.3s ease;
}

.site-header.scrolled {
  background: rgba(15, 25, 35, 0.98);
  padding: 0.6rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--text-primary);
}

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

.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text-primary);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

.nav-search {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 0.4rem 1rem;
  gap: 0.5rem;
}

.nav-search input {
  background: none;
  border: none;
  color: var(--text-primary);
  outline: none;
  font-size: 0.9rem;
  width: 140px;
}

.nav-search input::placeholder {
  color: var(--text-muted);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.05);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  background: var(--gradient-accent);
  color: #fff;
  padding: 0.3rem 1rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: 'Noto Serif SC', serif;
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  max-width: 700px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px var(--accent-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ============ CONTENT SECTIONS ============ */
main {
  position: relative;
  z-index: 3;
  margin-top: -80px;
}

.section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.section-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.8rem;
  font-weight: 700;
  position: relative;
  padding-left: 1rem;
}

.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 70%;
  background: var(--accent);
  border-radius: 2px;
}

.section-more {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
}

.section-more:hover {
  text-decoration: underline;
}

/* ============ HORIZONTAL SCROLL ROW ============ */
.scroll-row {
  position: relative;
  margin-bottom: 3rem;
}

.scroll-container {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem 0.5rem 1.5rem;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg-primary);
}

.scroll-container::-webkit-scrollbar {
  height: 6px;
}

.scroll-container::-webkit-scrollbar-track {
  background: var(--bg-primary);
  border-radius: 3px;
}

.scroll-container::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}

.card {
  flex: 0 0 auto;
  width: 200px;
  background: var(--bg-card);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 40px rgba(0, 168, 255, 0.25);
  z-index: 10;
}

.card-poster {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
}

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

.card:hover .card-poster img {
  transform: scale(1.08);
}

.card-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  background: var(--accent);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  z-index: 2;
}

.card-rating {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  color: #ffd700;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
}

.card-info {
  padding: 0.8rem 1rem 1rem;
}

.card-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  border: none;
  border-radius: 50%;
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.scroll-btn:hover {
  background: var(--accent);
}

.scroll-btn.prev {
  left: 0.5rem;
}

.scroll-btn.next {
  right: 0.5rem;
}

/* ============ GRID LAYOUTS ============ */
.grid-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
}

.grid-16 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.genre-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.genre-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.genre-card:hover::before {
  opacity: 0.15;
}

.genre-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.genre-card-icon {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 1;
}

.genre-card-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.2rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.genre-card-count {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  position: relative;
  z-index: 1;
}

/* ============ SIDEBAR LAYOUT ============ */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.sidebar {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 1.5rem;
  height: fit-content;
  position: sticky;
  top: 90px;
}

.sidebar h3 {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rank-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all 0.3s ease;
}

.rank-item:last-child {
  border-bottom: none;
}

.rank-item:hover {
  padding-left: 0.5rem;
}

.rank-num {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.5rem;
  font-weight: 900;
  width: 30px;
  text-align: center;
}

.rank-item:nth-child(1) .rank-num {
  color: #ff4757;
}
.rank-item:nth-child(2) .rank-num {
  color: #ffa502;
}
.rank-item:nth-child(3) .rank-num {
  color: #ffd700;
}

.rank-poster {
  width: 60px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.rank-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-info {
  flex: 1;
  min-width: 0;
}

.rank-title {
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ============ TABS / FILTERS ============ */
.filter-tabs {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-tab {
  background: var(--bg-card);
  border: 1px solid transparent;
  color: var(--text-secondary);
  padding: 0.6rem 1.4rem;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.filter-tab:hover {
  color: var(--text-primary);
  background: var(--bg-card-hover);
}

.filter-tab.active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 15px var(--accent-glow);
}

/* ============ LATEST SECTIONS ============ */
.latest-group {
  margin-bottom: 3rem;
}

.latest-group-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.latest-group-title .date-badge {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}

.latest-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.latest-item {
  display: flex;
  gap: 1rem;
  background: var(--bg-card);
  padding: 0.8rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.latest-item:hover {
  background: var(--bg-card-hover);
  transform: translateX(5px);
}

.latest-item-poster {
  width: 80px;
  height: 110px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.latest-item-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.latest-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
}

.latest-item-title {
  font-size: 0.95rem;
  font-weight: 700;
}

.latest-item-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.latest-item-tag {
  display: inline-block;
  background: rgba(0, 168, 255, 0.15);
  color: var(--accent);
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 500;
  width: fit-content;
}

/* ============ ABOUT PAGE ============ */
.about-hero {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 4rem 3rem;
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  opacity: 0.15;
}

.about-hero h1 {
  font-family: 'Noto Serif SC', serif;
  font-size: 3rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.about-hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

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

.feature-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

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

.feature-card h3 {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

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

.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 50px;
  bottom: -2.5rem;
  width: 2px;
  background: rgba(0, 168, 255, 0.3);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-year {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  z-index: 1;
}

.timeline-content {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: 10px;
  flex: 1;
}

.timeline-content h4 {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ============ CONTACT PAGE ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.contact-form {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 12px;
}

.contact-form h2 {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: 12px;
}

.info-card h3 {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-card p,
.info-card li {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
}

.info-card ul {
  list-style: none;
}

.info-card li {
  padding-left: 1rem;
  position: relative;
}

.info-card li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.faq-item {
  background: var(--bg-card);
  margin-bottom: 0.8rem;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  padding: 1rem 1.2rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: var(--bg-card-hover);
}

.faq-answer {
  padding: 0 1.2rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 1.2rem 1rem;
}

.faq-item.open .faq-question::after {
  content: '−';
}

.faq-question::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--accent);
}

/* ============ FOOTER ============ */
.site-footer {
  background: #0a121b;
  margin-top: 4rem;
  padding: 4rem 0 2rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.footer-brand h3 {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

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

.footer-col li {
  margin-bottom: 0.8rem;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3rem;
  }

  .content-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-card);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: right 0.3s ease;
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.5);
  }

  .main-nav.open {
    right: 0;
  }

  .nav-search {
    display: none;
  }

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

  .hero-desc {
    font-size: 0.95rem;
  }

  .section,
  .grid-section {
    padding: 2rem 1rem;
  }

  .content-layout {
    padding: 2rem 1rem;
  }

  .card {
    width: 150px;
  }

  .grid-12 {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-hero {
    padding: 2.5rem 1.5rem;
  }

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

  .contact-form {
    padding: 1.5rem;
  }

  .timeline-item {
    flex-direction: column;
    gap: 1rem;
  }

  .timeline-item::before {
    left: 25px;
    top: 50px;
  }
}

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

  .btn {
    padding: 0.7rem 1.4rem;
    font-size: 0.9rem;
  }

  .card {
    width: 130px;
  }

  .grid-12 {
    grid-template-columns: repeat(2, 1fr);
  }

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