/* ========================================
   Laugh Tale Domain Sale - Shared Styles
   ======================================== */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700;900&family=Pirata+One&family=Noto+Sans+SC:wght@300;400;700;900&family=Open+Sans:wght@300;400;600&display=swap');

/* --- CSS Variables --- */
:root {
  --primary-color: #0a0a1a;
  --secondary-color: #0d1b2a;
  --accent-gold: #ffd700;
  --accent-gold-light: #ffec80;
  --accent-red: #e63946;
  --text-light: #e8e8e8;
  --text-muted: #a0a0a0;
  --ocean-blue: #1b3a5c;
  --deep-sea: #0a1628;
  --treasure-glow: rgba(255, 215, 0, 0.3);
}

/* --- Reset --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', 'Noto Sans SC', sans-serif;
  background: var(--primary-color);
  color: var(--text-light);
  overflow-x: hidden;
  line-height: 1.6;
}

/* --- Ocean Background Animation --- */
.ocean-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(180deg, var(--deep-sea) 0%, var(--secondary-color) 40%, var(--ocean-blue) 100%);
}

.ocean-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(27, 58, 92, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(255, 215, 0, 0.03) 0%, transparent 50%);
  animation: oceanMove 20s ease-in-out infinite;
}

@keyframes oceanMove {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-5%, -2%); }
  50% { transform: translate(0, -5%); }
  75% { transform: translate(5%, -2%); }
}

/* --- Wave Animation --- */
.wave-container {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  z-index: -1;
  overflow: hidden;
}

.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%230a1628' fill-opacity='0.5' d='M0,160L48,176C96,192,192,224,288,213.3C384,203,480,149,576,138.7C672,128,768,160,864,186.7C960,213,1056,235,1152,224C1248,213,1344,171,1392,149.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") repeat-x;
  background-size: 50% 100%;
  animation: waveMove 10s linear infinite;
}

.wave:nth-child(2) {
  opacity: 0.5;
  animation-duration: 15s;
  animation-direction: reverse;
}

@keyframes waveMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Header --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 40px;
  z-index: 100;
  background: rgba(10, 10, 26, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.logo {
  font-family: 'Pirata One', cursive;
  font-size: 2rem;
  color: var(--accent-gold);
  text-shadow: 0 0 20px var(--treasure-glow);
}

.lang-switch a {
  color: var(--text-light);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid var(--accent-gold);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.lang-switch a:hover {
  background: var(--accent-gold);
  color: var(--primary-color);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 20px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--treasure-glow) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-subtitle {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  color: var(--accent-gold-light);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-title {
  font-family: 'Pirata One', cursive;
  font-size: 5rem;
  color: var(--accent-gold);
  text-shadow: 
    0 0 30px var(--treasure-glow),
    0 0 60px rgba(255, 215, 0, 0.2);
  margin-bottom: 30px;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-domain {

  font-size: 2.5rem;
  color: var(--text-light);
  background: rgba(255, 215, 0, 0.1);
  padding: 20px 40px;
  border-radius: 10px;
  border: 2px solid var(--accent-gold);
  margin-bottom: 40px;
  animation: fadeInUp 1s ease 0.6s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cta-button {
  display: inline-block;
  padding: 18px 50px;
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
  border: none;
  border-radius: 50px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease 0.8s both, buttonPulse 2s ease-in-out infinite 2s;
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.5);
}

@keyframes buttonPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3); }
  50% { box-shadow: 0 10px 50px rgba(255, 215, 0, 0.6); }
}

/* --- Section Common Styles --- */
section {
  padding: 100px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Pirata One', cursive;
  font-size: 3rem;
  color: var(--accent-gold);
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.section-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
}

/* --- Origin Section --- */
.origin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.origin-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 15px;
  padding: 40px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.origin-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.origin-card:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 10px 40px rgba(255, 215, 0, 0.15);
  transform: translateY(-10px);
}

.origin-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.origin-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  color: var(--accent-gold);
  margin-bottom: 15px;
}

.origin-card p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Geography Section --- */
.geography-container {
  position: relative;
  padding: 60px 0;
}

.x-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Pirata One', cursive;
  font-size: 8rem;
  color: var(--accent-gold);
  opacity: 0.1;
  text-shadow: 0 0 50px var(--treasure-glow);
}

.poneglyph-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}

.poneglyph {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(27, 58, 92, 0.3));
  border: 2px solid var(--accent-gold);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  transition: all 0.4s ease;
}

.poneglyph:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 60px rgba(255, 215, 0, 0.2);
}

.poneglyph-number {
  font-family: 'Pirata One', cursive;
  font-size: 3rem;
  color: var(--accent-gold);
  margin-bottom: 10px;
}

.poneglyph h4 {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  color: var(--accent-gold-light);
  margin-bottom: 15px;
}

.poneglyph p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- History Section --- */
.timeline {
  position: relative;
  padding-left: 50px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--accent-gold), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -38px;
  top: 10px;
  width: 16px;
  height: 16px;
  background: var(--accent-gold);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--treasure-glow);
}

.timeline-year {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  color: var(--accent-gold);
  margin-bottom: 10px;
}

.timeline-content {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--accent-gold);
  padding: 25px;
  border-radius: 0 10px 10px 0;
}

.timeline-content h4 {
  font-size: 1.3rem;
  color: var(--accent-gold-light);
  margin-bottom: 10px;
}

.timeline-content p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Image Gallery --- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  border: 2px solid rgba(255, 215, 0, 0.3);
  transition: all 0.4s ease;
}

.gallery-item:hover {
  border-color: var(--accent-gold);
  transform: scale(1.03);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  font-family: 'Cinzel', serif;
  color: var(--accent-gold-light);
}

/* --- Purchase Section --- */
.purchase-section {
  text-align: center;
  padding: 100px 20px;
  background: linear-gradient(180deg, transparent, rgba(255, 215, 0, 0.05), transparent);
}

.purchase-cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 60px;
}

.purchase-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 20px;
  padding: 50px 40px;
  width: 350px;
  transition: all 0.3s ease;
}

.purchase-card:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 20px 60px rgba(255, 215, 0, 0.2);
  transform: translateY(-10px);
}

.purchase-card h3 {
  font-family: 'Pirata One', cursive;
  font-size: 2rem;
  color: var(--accent-gold);
  margin-bottom: 20px;
}

.purchase-card p {
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.6;
}

.purchase-card .cta-button {
  display: inline-block;
  padding: 15px 40px;
  font-size: 1rem;
  animation: none;
}

/* --- Contact Section --- */
.contact-section {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(180deg, transparent, rgba(255, 215, 0, 0.08), transparent);
}

.contact-box {
  max-width: 600px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(27, 58, 92, 0.4));
  border: 2px solid var(--accent-gold);
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: 0 20px 60px rgba(255, 215, 0, 0.2);
  animation: contactGlow 3s ease-in-out infinite;
}

@keyframes contactGlow {
  0%, 100% { box-shadow: 0 20px 60px rgba(255, 215, 0, 0.2); }
  50% { box-shadow: 0 20px 80px rgba(255, 215, 0, 0.4); }
}

.contact-label {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  color: var(--accent-gold-light);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.contact-email {
  font-size: 1.8rem;
  display: inline-block;
  font-family: '宋体', SimSun, serif;
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-email:hover {
  color: var(--accent-gold);
}

/* --- Footer --- */
footer {
  text-align: center;
  padding: 40px 20px;
  background: rgba(10, 10, 26, 0.95);
  border-top: 1px solid rgba(255, 215, 0, 0.2);
  color: var(--text-muted);
}

footer p {
  font-size: 0.9rem;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 4rem;
  }
  
  .hero-domain {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  header {
    padding: 15px 20px;
    flex-direction: column;
    gap: 15px;
  }
  
  .hero {
    padding: 80px 20px 60px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-domain {
    font-size: 1.5rem;
    padding: 15px 25px;
  }
  
  .cta-button {
    padding: 15px 35px;
    font-size: 1rem;
  }
  
  section {
    padding: 60px 20px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .poneglyph-points {
    grid-template-columns: 1fr;
  }
  
  .purchase-cards {
    flex-direction: column;
    align-items: center;
  }
  
  .purchase-card {
    width: 100%;
    max-width: 350px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-domain {
    font-size: 1.2rem;
  }
  
  .origin-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery {
    grid-template-columns: 1fr;
  }
}
