/* ============================================
   四虎视频 - 野生动物纪录片平台
   主样式文件 sh-main.css
   CSS前缀: sh- (Sihu)
   设计风格: 非洲大草原自然风
   ============================================ */

/* --- CSS Variables --- */
:root {
  --sh-color-primary: #D2B48C;
  --sh-color-green: #8FBC8F;
  --sh-color-orange: #FFA07A;
  --sh-color-dark: #2C1810;
  --sh-color-text: #3B2F2F;
  --sh-color-light: #FFF8F0;
  --sh-color-white: #FFFFFF;
  --sh-color-gray: #6B5B4F;
  --sh-color-border: #E8D5C0;
  --sh-font-heading: 'Patrick Hand', cursive;
  --sh-font-body: 'Noto Serif SC', serif;
  --sh-font-sans: 'Noto Sans SC', sans-serif;
  --sh-radius: 8px;
  --sh-shadow: 0 4px 20px rgba(44, 24, 16, 0.12);
  --sh-shadow-hover: 0 8px 32px rgba(44, 24, 16, 0.2);
  --sh-transition: all 0.3s ease;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sh-font-body);
  color: var(--sh-color-text);
  background-color: var(--sh-color-light);
  line-height: 1.8;
  overflow-x: hidden;
}

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

a {
  color: var(--sh-color-dark);
  text-decoration: none;
  transition: var(--sh-transition);
}

a:hover {
  color: var(--sh-color-orange);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--sh-font-heading);
  color: var(--sh-color-dark);
  line-height: 1.3;
  margin-bottom: 0.6em;
}

h1 { font-size: 1.8rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }

p {
  margin-bottom: 1em;
}

ul, ol {
  list-style: none;
}

/* --- Container --- */
.sh-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 16px;
}

/* --- Navigation --- */
.sh-nav {
  background: rgba(143, 188, 143, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sh-color-border);
  padding: 12px 0;
  z-index: 100;
}

.sh-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.sh-nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sh-font-heading);
  font-size: 1.4rem;
  color: var(--sh-color-dark);
  font-weight: 700;
}

.sh-nav-logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.sh-nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.sh-nav-logo-sub {
  font-size: 0.65rem;
  color: var(--sh-color-gray);
  font-family: var(--sh-font-sans);
}

.sh-nav-links {
  display: none;
  flex-direction: column;
  width: 100%;
  gap: 0;
  order: 3;
}

.sh-nav-links.sh-nav-active {
  display: flex;
}

.sh-nav-link {
  display: block;
  padding: 10px 16px;
  font-family: var(--sh-font-sans);
  font-size: 0.95rem;
  color: var(--sh-color-text);
  border-bottom: 1px solid var(--sh-color-border);
  transition: var(--sh-transition);
}

.sh-nav-link:hover,
.sh-nav-link.sh-active {
  color: var(--sh-color-orange);
  transform: scale(1.02);
  background: rgba(255, 160, 122, 0.08);
}

.sh-nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sh-nav-search {
  display: none;
}

.sh-nav-search input {
  padding: 6px 12px;
  border: 1px solid var(--sh-color-border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  outline: none;
  width: 160px;
  transition: var(--sh-transition);
}

.sh-nav-search input:focus {
  border-color: var(--sh-color-green);
  width: 200px;
}

.sh-nav-login {
  padding: 6px 16px;
  background: var(--sh-color-orange);
  color: var(--sh-color-white);
  border-radius: 20px;
  font-size: 0.85rem;
  font-family: var(--sh-font-sans);
  border: none;
  cursor: pointer;
  transition: var(--sh-transition);
}

.sh-nav-login:hover {
  background: #e8896a;
  color: var(--sh-color-white);
}

/* Hamburger */
.sh-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.sh-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--sh-color-dark);
  transition: var(--sh-transition);
  border-radius: 2px;
}

.sh-hamburger.sh-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.sh-hamburger.sh-active span:nth-child(2) {
  opacity: 0;
}

.sh-hamburger.sh-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Banner --- */
.sh-hero {
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 500px;
  overflow: hidden;
}

.sh-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.sh-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(44, 24, 16, 0.2) 0%,
    rgba(44, 24, 16, 0.5) 60%,
    rgba(44, 24, 16, 0.8) 100%
  );
}

.sh-hero-content {
  position: absolute;
  bottom: 15%;
  left: 5%;
  right: 5%;
  color: var(--sh-color-white);
  z-index: 2;
}

.sh-hero-tag {
  display: inline-block;
  padding: 4px 14px;
  background: var(--sh-color-orange);
  border-radius: 20px;
  font-size: 0.8rem;
  font-family: var(--sh-font-sans);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.sh-hero-title {
  font-size: 2rem;
  color: var(--sh-color-white);
  margin-bottom: 12px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.sh-hero-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.sh-hero-btn {
  display: inline-block;
  padding: 12px 32px;
  background: var(--sh-color-orange);
  color: var(--sh-color-white);
  border-radius: 30px;
  font-family: var(--sh-font-sans);
  font-size: 1rem;
  font-weight: 600;
  transition: var(--sh-transition);
  border: 2px solid transparent;
}

.sh-hero-btn:hover {
  background: transparent;
  border-color: var(--sh-color-orange);
  color: var(--sh-color-orange);
}

/* --- Section Common --- */
.sh-section {
  padding: 50px 0;
}

.sh-section-header {
  text-align: center;
  margin-bottom: 36px;
}

.sh-section-header h2 {
  font-size: 1.6rem;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.sh-section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--sh-color-orange);
  border-radius: 2px;
}

.sh-section-header p {
  color: var(--sh-color-gray);
  margin-top: 10px;
  font-size: 0.95rem;
}

.sh-section-alt {
  background: rgba(143, 188, 143, 0.08);
}

/* --- Star Species --- */
.sh-star-species {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: var(--sh-color-white);
  border-radius: var(--sh-radius);
  overflow: hidden;
  box-shadow: var(--sh-shadow);
}

.sh-star-img {
  width: 100%;
  height: 260px;
  overflow: hidden;
}

.sh-star-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sh-star-info {
  padding: 20px;
}

.sh-star-badge {
  display: inline-block;
  padding: 3px 12px;
  background: #D32F2F;
  color: var(--sh-color-white);
  border-radius: 4px;
  font-size: 0.75rem;
  font-family: var(--sh-font-sans);
  margin-bottom: 10px;
}

.sh-star-info h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.sh-star-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.sh-star-meta-item {
  font-size: 0.8rem;
  color: var(--sh-color-gray);
  font-family: var(--sh-font-sans);
  padding: 3px 10px;
  background: rgba(210, 180, 140, 0.2);
  border-radius: 12px;
}

.sh-star-info p {
  font-size: 0.95rem;
  color: var(--sh-color-text);
}

/* --- Video Section --- */
.sh-video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.sh-video-card {
  position: relative;
  border-radius: var(--sh-radius);
  overflow: hidden;
  box-shadow: var(--sh-shadow);
  background: var(--sh-color-dark);
  cursor: pointer;
  transition: var(--sh-transition);
}

.sh-video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-shadow-hover);
}

.sh-video-player {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  background: #000;
}

.sh-video-info {
  padding: 14px;
  background: var(--sh-color-white);
}

.sh-video-info h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.sh-video-info p {
  font-size: 0.85rem;
  color: var(--sh-color-gray);
}

.sh-video-duration {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 2px 8px;
  background: rgba(0,0,0,0.7);
  color: var(--sh-color-white);
  border-radius: 4px;
  font-size: 0.75rem;
  font-family: var(--sh-font-sans);
}

/* --- Guardian Story --- */
.sh-guardian-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--sh-color-white);
  border-radius: var(--sh-radius);
  overflow: hidden;
  box-shadow: var(--sh-shadow);
}

.sh-guardian-img {
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.sh-guardian-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sh-guardian-text {
  padding: 20px;
}

.sh-guardian-quote {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--sh-color-dark);
  border-left: 3px solid var(--sh-color-orange);
  padding-left: 16px;
  margin-bottom: 14px;
  line-height: 1.7;
}

.sh-guardian-name {
  font-family: var(--sh-font-sans);
  font-size: 0.9rem;
  color: var(--sh-color-gray);
}

/* --- Live Stream --- */
.sh-live-wrapper {
  position: relative;
  border-radius: var(--sh-radius);
  overflow: hidden;
  box-shadow: var(--sh-shadow);
}

.sh-live-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: #D32F2F;
  color: var(--sh-color-white);
  border-radius: 4px;
  font-size: 0.8rem;
  font-family: var(--sh-font-sans);
  z-index: 5;
  animation: sh-pulse 2s infinite;
}

.sh-live-dot {
  width: 8px;
  height: 8px;
  background: var(--sh-color-white);
  border-radius: 50%;
}

@keyframes sh-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.sh-live-viewers {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 12px;
  background: rgba(0,0,0,0.6);
  color: var(--sh-color-white);
  border-radius: 4px;
  font-size: 0.8rem;
  font-family: var(--sh-font-sans);
  z-index: 5;
}

.sh-live-video {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  background: #000;
}

.sh-live-info {
  padding: 14px;
  background: var(--sh-color-dark);
  color: var(--sh-color-white);
}

.sh-live-info h3 {
  color: var(--sh-color-white);
  font-size: 1.1rem;
}

.sh-live-info p {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
}

/* --- Gallery --- */
.sh-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.sh-gallery-item {
  position: relative;
  border-radius: var(--sh-radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.sh-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--sh-transition);
}

.sh-gallery-item:hover img {
  transform: scale(1.08);
}

.sh-gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--sh-color-white);
  font-size: 0.8rem;
  font-family: var(--sh-font-sans);
}

/* --- Knowledge Cards --- */
.sh-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.sh-flip-card {
  perspective: 1000px;
  height: 220px;
  cursor: pointer;
}

.sh-flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.sh-flip-card.sh-flipped .sh-flip-card-inner {
  transform: rotateY(180deg);
}

.sh-flip-card-front,
.sh-flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: var(--sh-radius);
  overflow: hidden;
}

.sh-flip-card-front {
  background: var(--sh-color-dark);
}

.sh-flip-card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.sh-flip-card-front-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: var(--sh-color-white);
  font-family: var(--sh-font-heading);
  font-size: 1.1rem;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

.sh-flip-card-back {
  background: linear-gradient(135deg, var(--sh-color-primary), var(--sh-color-green));
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.sh-flip-card-back h4 {
  color: var(--sh-color-white);
  font-size: 1rem;
  margin-bottom: 10px;
}

.sh-flip-card-back p {
  color: var(--sh-color-white);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* --- Map Section --- */
.sh-map-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #E8D5C0 0%, #D2B48C 50%, #8FBC8F 100%);
  border-radius: var(--sh-radius);
  overflow: hidden;
  box-shadow: var(--sh-shadow);
}

.sh-map-svg {
  width: 100%;
  height: 100%;
}

.sh-map-pin {
  cursor: pointer;
  transition: var(--sh-transition);
}

.sh-map-pin:hover {
  transform: scale(1.3);
}

.sh-map-tooltip {
  display: none;
  position: absolute;
  padding: 8px 14px;
  background: var(--sh-color-dark);
  color: var(--sh-color-white);
  border-radius: 6px;
  font-size: 0.8rem;
  font-family: var(--sh-font-sans);
  white-space: nowrap;
  z-index: 10;
  pointer-events: none;
}

.sh-map-tooltip.sh-visible {
  display: block;
}

/* --- CTA Section --- */
.sh-cta {
  position: relative;
  padding: 60px 0;
  text-align: center;
  background: var(--sh-color-dark);
  overflow: hidden;
}

.sh-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(44,24,16,0.9), rgba(44,24,16,0.7));
  z-index: 1;
}

.sh-cta-content {
  position: relative;
  z-index: 2;
}

.sh-cta h2 {
  color: var(--sh-color-white);
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.sh-cta p {
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto 24px;
  font-size: 1rem;
}

.sh-cta-btn {
  display: inline-block;
  padding: 14px 40px;
  background: var(--sh-color-orange);
  color: var(--sh-color-white);
  border-radius: 30px;
  font-family: var(--sh-font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  transition: var(--sh-transition);
}

.sh-cta-btn:hover {
  background: var(--sh-color-green);
  color: var(--sh-color-white);
  transform: translateY(-2px);
}

/* --- Footer --- */
.sh-footer {
  background: var(--sh-color-dark);
  color: rgba(255,255,255,0.7);
  padding: 40px 0 0;
}

.sh-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.sh-footer-col h4 {
  color: var(--sh-color-white);
  font-size: 1.1rem;
  margin-bottom: 14px;
  font-family: var(--sh-font-heading);
}

.sh-footer-col p {
  font-size: 0.85rem;
  line-height: 1.7;
}

.sh-footer-col a {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  padding: 3px 0;
  font-family: var(--sh-font-sans);
}

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

.sh-footer-honors {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  text-align: center;
}

.sh-footer-honors-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.sh-footer-honor-item {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  font-family: var(--sh-font-sans);
  padding: 4px 12px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
}

.sh-footer-license {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-top: 10px;
}

.sh-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 0;
  text-align: center;
  font-size: 0.8rem;
}

/* --- Modal --- */
.sh-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.sh-modal-overlay.sh-visible {
  display: flex;
}

.sh-modal-content {
  width: 90%;
  max-width: 800px;
  position: relative;
}

.sh-modal-close {
  position: absolute;
  top: -36px;
  right: 0;
  color: var(--sh-color-white);
  font-size: 1.8rem;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--sh-font-sans);
}

.sh-modal-video {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--sh-radius);
}

/* --- Lightbox --- */
.sh-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.sh-lightbox.sh-visible {
  display: flex;
}

.sh-lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--sh-radius);
}

.sh-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--sh-color-white);
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
}

/* --- Inner Page Styles --- */
.sh-page-hero {
  position: relative;
  height: 45vh;
  min-height: 300px;
  overflow: hidden;
}

.sh-page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sh-page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(44,24,16,0.3), rgba(44,24,16,0.7));
}

.sh-page-hero-text {
  position: absolute;
  bottom: 15%;
  left: 5%;
  right: 5%;
  color: var(--sh-color-white);
  z-index: 2;
}

.sh-page-hero-text h1 {
  color: var(--sh-color-white);
  font-size: 2rem;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.sh-breadcrumb {
  padding: 12px 0;
  font-size: 0.85rem;
  font-family: var(--sh-font-sans);
  color: var(--sh-color-gray);
}

.sh-breadcrumb a {
  color: var(--sh-color-gray);
}

.sh-breadcrumb a:hover {
  color: var(--sh-color-orange);
}

.sh-breadcrumb span {
  margin: 0 6px;
}

.sh-article {
  max-width: 860px;
  margin: 0 auto;
  padding: 30px 16px 50px;
}

.sh-article h2 {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--sh-color-border);
}

.sh-article h3 {
  margin-top: 20px;
}

.sh-article p {
  text-indent: 2em;
  text-align: justify;
}

.sh-article-img {
  margin: 24px 0;
  border-radius: var(--sh-radius);
  overflow: hidden;
  box-shadow: var(--sh-shadow);
}

.sh-article-img img {
  width: 100%;
}

.sh-article-img figcaption {
  padding: 8px 12px;
  font-size: 0.8rem;
  color: var(--sh-color-gray);
  text-align: center;
  font-family: var(--sh-font-sans);
  background: var(--sh-color-white);
}

/* --- Guardian Plan Page --- */
.sh-plan-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.sh-plan-stat {
  text-align: center;
  padding: 20px;
  background: var(--sh-color-white);
  border-radius: var(--sh-radius);
  box-shadow: var(--sh-shadow);
}

.sh-plan-stat-num {
  font-size: 2rem;
  font-family: var(--sh-font-heading);
  color: var(--sh-color-orange);
  display: block;
}

.sh-plan-stat-label {
  font-size: 0.8rem;
  color: var(--sh-color-gray);
  font-family: var(--sh-font-sans);
}

.sh-plan-layout {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sh-plan-animals {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.sh-plan-animal-card {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: var(--sh-color-white);
  border-radius: var(--sh-radius);
  box-shadow: var(--sh-shadow);
  cursor: pointer;
  transition: var(--sh-transition);
  border: 2px solid transparent;
}

.sh-plan-animal-card:hover,
.sh-plan-animal-card.sh-selected {
  border-color: var(--sh-color-orange);
}

.sh-plan-animal-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.sh-plan-animal-info h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.sh-plan-animal-info p {
  font-size: 0.8rem;
  color: var(--sh-color-gray);
}

.sh-plan-animal-price {
  font-family: var(--sh-font-heading);
  color: var(--sh-color-orange);
  font-size: 1.1rem;
  margin-top: 4px;
}

.sh-plan-form {
  background: var(--sh-color-white);
  border-radius: var(--sh-radius);
  padding: 24px;
  box-shadow: var(--sh-shadow);
}

.sh-plan-form h3 {
  margin-bottom: 20px;
}

.sh-form-group {
  margin-bottom: 16px;
}

.sh-form-group label {
  display: block;
  font-size: 0.85rem;
  font-family: var(--sh-font-sans);
  color: var(--sh-color-text);
  margin-bottom: 6px;
}

.sh-form-group input,
.sh-form-group select,
.sh-form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--sh-color-border);
  border-radius: var(--sh-radius);
  font-size: 0.9rem;
  font-family: var(--sh-font-body);
  outline: none;
  transition: var(--sh-transition);
  background: var(--sh-color-light);
}

.sh-form-group input:focus,
.sh-form-group select:focus,
.sh-form-group textarea:focus {
  border-color: var(--sh-color-green);
}

.sh-form-group textarea {
  height: 100px;
  resize: vertical;
}

.sh-amount-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.sh-amount-btn {
  padding: 8px 20px;
  border: 1px solid var(--sh-color-border);
  border-radius: 20px;
  background: var(--sh-color-light);
  cursor: pointer;
  font-family: var(--sh-font-sans);
  font-size: 0.9rem;
  transition: var(--sh-transition);
}

.sh-amount-btn:hover,
.sh-amount-btn.sh-selected {
  background: var(--sh-color-orange);
  color: var(--sh-color-white);
  border-color: var(--sh-color-orange);
}

.sh-submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--sh-color-orange);
  color: var(--sh-color-white);
  border: none;
  border-radius: 30px;
  font-size: 1.05rem;
  font-family: var(--sh-font-sans);
  font-weight: 600;
  cursor: pointer;
  transition: var(--sh-transition);
  margin-top: 10px;
}

.sh-submit-btn:hover {
  background: var(--sh-color-green);
}

/* --- Thank You Animation --- */
.sh-thank-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.sh-thank-overlay.sh-visible {
  display: flex;
}

.sh-thank-box {
  background: var(--sh-color-white);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  animation: sh-fadeInUp 0.5s ease;
}

@keyframes sh-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sh-thank-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  display: block;
  animation: sh-grow 1s ease;
}

@keyframes sh-grow {
  0% { transform: scale(0); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.sh-thank-box h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.sh-thank-box p {
  font-size: 0.9rem;
  color: var(--sh-color-gray);
}

.sh-thank-close {
  margin-top: 20px;
  padding: 10px 30px;
  background: var(--sh-color-green);
  color: var(--sh-color-white);
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-family: var(--sh-font-sans);
  font-size: 0.9rem;
}

/* --- APP Download Page --- */
.sh-app-hero {
  text-align: center;
  padding: 50px 16px;
}

.sh-app-mockup {
  max-width: 280px;
  margin: 0 auto 30px;
  border-radius: 24px;
  box-shadow: var(--sh-shadow-hover);
  overflow: hidden;
}

.sh-app-mockup img {
  width: 100%;
}

.sh-app-btns {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  margin-top: 24px;
}

.sh-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 30px;
  font-family: var(--sh-font-sans);
  font-size: 1rem;
  font-weight: 600;
  transition: var(--sh-transition);
  min-width: 220px;
  justify-content: center;
}

.sh-app-btn-ios {
  background: var(--sh-color-dark);
  color: var(--sh-color-white);
}

.sh-app-btn-android {
  background: var(--sh-color-green);
  color: var(--sh-color-white);
}

.sh-app-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-shadow-hover);
}

.sh-app-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 40px 0;
}

.sh-app-feature {
  text-align: center;
  padding: 24px;
  background: var(--sh-color-white);
  border-radius: var(--sh-radius);
  box-shadow: var(--sh-shadow);
}

.sh-app-feature-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
}

.sh-app-feature h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.sh-app-feature p {
  font-size: 0.85rem;
  color: var(--sh-color-gray);
}

/* --- Content Grid (for inner pages) --- */
.sh-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.sh-content-card {
  background: var(--sh-color-white);
  border-radius: var(--sh-radius);
  overflow: hidden;
  box-shadow: var(--sh-shadow);
  transition: var(--sh-transition);
}

.sh-content-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-shadow-hover);
}

.sh-content-card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.sh-content-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--sh-transition);
}

.sh-content-card:hover .sh-content-card-img img {
  transform: scale(1.05);
}

.sh-content-card-body {
  padding: 16px;
}

.sh-content-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.sh-content-card-body p {
  font-size: 0.85rem;
  color: var(--sh-color-gray);
  text-indent: 0;
}

.sh-content-card-tag {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(143,188,143,0.2);
  color: var(--sh-color-green);
  border-radius: 12px;
  font-size: 0.75rem;
  font-family: var(--sh-font-sans);
  margin-bottom: 8px;
}

/* ============================================
   Responsive Breakpoints (Mobile-First)
   320px (base) -> 768px -> 1024px -> 1440px
   ============================================ */

/* --- 768px and up --- */
@media (min-width: 768px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.4rem; }

  .sh-container {
    padding: 0 30px;
  }

  .sh-nav-links {
    display: flex;
    flex-direction: row;
    width: auto;
    order: 0;
    gap: 0;
  }

  .sh-nav-link {
    border-bottom: none;
    padding: 8px 12px;
  }

  .sh-hamburger {
    display: none;
  }

  .sh-nav-search {
    display: block;
  }

  .sh-hero-title {
    font-size: 2.8rem;
  }

  .sh-hero-subtitle {
    font-size: 1.15rem;
  }

  .sh-section {
    padding: 70px 0;
  }

  .sh-section-header h2 {
    font-size: 2rem;
  }

  .sh-star-species {
    flex-direction: row;
  }

  .sh-star-img {
    width: 45%;
    height: auto;
    min-height: 320px;
  }

  .sh-star-info {
    width: 55%;
    padding: 30px;
  }

  .sh-video-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .sh-guardian-card {
    flex-direction: row;
  }

  .sh-guardian-img {
    width: 40%;
    height: auto;
    min-height: 280px;
  }

  .sh-guardian-text {
    width: 60%;
    padding: 30px;
  }

  .sh-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .sh-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .sh-flip-card {
    height: 250px;
  }

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

  .sh-plan-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .sh-plan-layout {
    flex-direction: row;
  }

  .sh-plan-animals {
    width: 45%;
  }

  .sh-plan-form {
    width: 55%;
  }

  .sh-app-btns {
    flex-direction: row;
    justify-content: center;
  }

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

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

  .sh-page-hero-text h1 {
    font-size: 2.6rem;
  }
}

/* --- 1024px and up --- */
@media (min-width: 1024px) {
  .sh-container {
    padding: 0 40px;
  }

  .sh-nav-link {
    padding: 8px 16px;
    font-size: 0.95rem;
  }

  .sh-hero-title {
    font-size: 3.2rem;
  }

  .sh-section {
    padding: 80px 0;
  }

  .sh-gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .sh-cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .sh-footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .sh-app-features {
    grid-template-columns: repeat(4, 1fr);
  }

  .sh-content-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- 1440px and up --- */
@media (min-width: 1440px) {
  .sh-container {
    padding: 0 60px;
  }

  .sh-hero-title {
    font-size: 3.6rem;
  }

  .sh-hero-subtitle {
    font-size: 1.25rem;
  }

  .sh-section {
    padding: 100px 0;
  }
}

/* ===========================
   APP Download Page
   =========================== */
.sh-app-download-box {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 16px;
  padding: 40px;
  color: #fff;
}

.sh-app-download-info {
  flex: 1;
  min-width: 280px;
}

.sh-app-download-info h2 {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: #f5c842;
}

.sh-app-download-info > p {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 20px;
}

.sh-app-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.sh-app-stars {
  color: #f5c842;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.sh-app-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.sh-app-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.sh-app-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.sh-app-btn-ios {
  background: linear-gradient(135deg, #333 0%, #111 100%);
}

.sh-app-btn-android {
  background: linear-gradient(135deg, #34a853 0%, #1e7e34 100%);
}

.sh-app-btn-apk {
  background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
}

.sh-app-btn-icon {
  font-size: 1.5rem;
}

.sh-app-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.sh-app-btn-text small {
  font-size: 0.7rem;
  opacity: 0.7;
}

.sh-app-version {
  font-size: 0.8rem;
  opacity: 0.6;
  margin-top: 8px;
}

.sh-app-download-qr {
  flex-shrink: 0;
}

.sh-qr-placeholder {
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sh-qr-box {
  width: 160px;
  height: 160px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #333;
  text-align: center;
}

.sh-qr-box p {
  font-size: 0.85rem;
  font-weight: 600;
  margin: 4px 0 2px;
}

.sh-qr-box small {
  font-size: 0.7rem;
  color: #888;
}

/* ===========================
   User Reviews
   =========================== */
.sh-reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.sh-review-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: transform 0.3s;
}

.sh-review-card:hover {
  transform: translateY(-4px);
}

.sh-review-stars {
  color: #f5c842;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.sh-review-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #444;
  font-style: italic;
  margin-bottom: 16px;
}

.sh-review-author {
  font-size: 0.85rem;
  color: #888;
  font-weight: 600;
}

/* ===========================
   Thank You Overlay (Guardian Plan)
   =========================== */
.sh-thank-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.sh-thank-overlay.sh-show {
  display: flex;
}

.sh-thank-box {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: sh-fadeInUp 0.4s ease;
}

.sh-thank-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 16px;
}

.sh-thank-box h3 {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.5rem;
  color: #2d5016;
  margin-bottom: 12px;
}

.sh-thank-box p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

.sh-thank-close {
  margin-top: 20px;
  padding: 10px 30px;
  background: linear-gradient(135deg, #2d5016, #4a7c23);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}

.sh-thank-close:hover {
  opacity: 0.85;
}

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

/* ===========================
   Mobile Responsive for new components
   =========================== */
@media (max-width: 768px) {
  .sh-app-download-box {
    flex-direction: column;
    padding: 24px;
    text-align: center;
  }

  .sh-app-download-info h2 {
    font-size: 1.4rem;
  }

  .sh-app-buttons {
    justify-content: center;
  }

  .sh-app-btn {
    padding: 10px 16px;
    font-size: 0.85rem;
  }

  .sh-reviews {
    grid-template-columns: 1fr;
  }

  .sh-thank-box {
    margin: 0 20px;
    padding: 28px;
  }
}
