/* Haranir.com - 温暖色调设计 (方案3) */
:root {
  --primary: #ea580c;
  --secondary: #78716c;
  --background: #fefaf6;
  --surface: #ffffff;
  --text: #292524;
  --accent: #f97316;
  --success: #059669;
  --warning: #d97706;
  --border: #d6d3d1;
  --shadow: rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--background);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background: var(--surface);
  box-shadow: 0 2px 10px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s ease;
}

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

/* Game Section */
.game-section {
  padding: 2rem 0;
  text-align: center;
  background: var(--surface);
  margin: 2rem 0;
  border-radius: 10px;
  box-shadow: 0 4px 20px var(--shadow);
}

.game-iframe {
  width: 100%;
  max-width: 800px;
  height: 600px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 15px var(--shadow);
}

/* Content Sections */
.section {
  margin: 3rem 0;
  padding: 2rem 0;
}

.section h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  text-align: center;
}

.section h3 {
  font-size: 1.8rem;
  color: var(--secondary);
  margin: 2rem 0 1rem 0;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.content-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px var(--shadow);
  transition: transform 0.3s ease;
}

.content-card:hover {
  transform: translateY(-5px);
}

.hero-section {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  text-align: center;
  padding: 4rem 0;
  margin-bottom: 3rem;
}

.hero-section h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.hero-section p {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.cta-button {
  background: var(--surface);
  color: var(--primary);
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--shadow);
}

/* Image Styles */
.feature-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px var(--shadow);
  margin: 2rem auto;
  display: block;
}

/* Footer */
footer {
  background: var(--text);
  color: var(--surface);
  text-align: center;
  padding: 3rem 0;
  margin-top: 4rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-links a {
  color: var(--surface);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .content-grid {
    grid-template-columns: 1fr;
  }
  
  .game-iframe {
    height: 400px;
  }
}

/* AdSense Optimization */
.ad-container {
  margin: 2rem auto;
  text-align: center;
  max-width: 728px;
}

/* SEO Enhancement */
.breadcrumb {
  padding: 1rem 0;
  color: var(--secondary);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--secondary);
  text-decoration: none;
}

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