@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;700&family=Roboto:wght@400;700&display=swap');

:root {
  --bg-color-main: #0b1a0e;
  --bg-color-secondary: #142818;
  --accent-color: #d4af37; /* Gold */
  --felt-green: #006400;
  --text-main: #e0e0e0;
  --text-muted: #a0a0a0;
  --glass-bg: rgba(20, 40, 24, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
  --card-hover-bg: rgba(30, 60, 35, 0.9);
  --transition-speed: 0.3s;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto', 'Noto Serif JP', serif;
  background-color: var(--bg-color-main);
  background-image: radial-gradient(circle at center, #1a3c20 0%, #0b1a0e 100%);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-speed);
}

a:hover {
  color: var(--accent-color);
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Header */
header {
  text-align: center;
  padding: 40px 0;
  animation: fadeInDown 1s ease-out;
}

.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
}

/* Intro Section */
.intro {
  text-align: center;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  animation: fadeIn 1.2s ease-out;
}

.intro p {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

/* Navigation Grid */
.nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 20px 0;
}

.nav-card {
  background: var(--bg-color-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: center;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed), background var(--transition-speed);
  position: relative;
  overflow: hidden;
}

.nav-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  background: var(--card-hover-bg);
  border-color: var(--accent-color);
}

.nav-card img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-right: 15px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.nav-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nav-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  display: block;
}

.nav-card-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 5px;
}

/* Ads Section */
.ads-section {
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  margin: 20px 0;
}

.bottom-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Footer */
footer {
  text-align: center;
  padding: 40px 0;
  margin-top: auto;
  width: 100%;
  border-top: 1px solid var(--glass-border);
}

.footer-image {
  margin-bottom: 20px;
}

.footer-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .nav-grid {
    grid-template-columns: 1fr;
  }
  
  .container {
    padding: 10px;
  }
}
