:root {
  --bg-color: #0d1612;
  --surface-color: #172b22;
  --primary: #00ff88;
  --primary-glow: rgba(0, 255, 136, 0.4);
  --secondary: #00cc6a;
  --text-main: #f0fff5;
  --text-muted: #9abfae;
  --font-en: 'Outfit', sans-serif;
  --font-ja: 'Noto Sans JP', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
  font-family: var(--font-ja);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .logo, .btn-primary, .btn-secondary, .btn-play, .ticker {
  font-family: var(--font-en);
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  background: rgba(13, 22, 18, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid rgba(0, 255, 136, 0.1);
}

.logo {
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 1px;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 2rem;
  font-weight: 700;
  font-size: 1.1rem;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

nav a:hover {
  color: var(--primary);
  text-shadow: 0 0 10px var(--primary-glow);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(circle at center, rgba(0,255,136,0.1) 0%, transparent 70%);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
  animation: pulseBg 10s infinite alternate;
}

@keyframes pulseBg {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.hero-content {
    animation: fadeIn 1.5s ease-out forwards;
}

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

.hero-content h1 {
  font-size: 6rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
  text-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
}

.hero-content h1 span {
  color: var(--primary);
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  letter-spacing: 1px;
}

.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: #000;
  padding: 1.2rem 3rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 900;
  box-shadow: 0 0 20px var(--primary-glow);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--primary-glow);
  background: #1aff9d;
}

/* Ticker */
.ticker {
    background: var(--primary);
    color: #000;
    padding: 10px 0;
    overflow: hidden;
    position: relative;
    font-weight: 900;
    font-size: 1.1rem;
}

.ticker-text {
    display: flex;
    white-space: nowrap;
    animation: tickerAnim 15s linear infinite;
}

.ticker-text span {
    margin-right: 50px;
}

@keyframes tickerAnim {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}


/* Sections */
section {
  padding: 6rem 5%;
}

section h2 {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 4rem;
  color: #fff;
  text-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
}

/* Games Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.game-card {
  background: var(--surface-color);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 136, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0,255,136,0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  border-color: rgba(0, 255, 136, 0.4);
}

.game-card:hover::before {
    opacity: 1;
}

.game-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.game-info {
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.game-info h3 {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
  color: #fff;
}

.game-info p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.8rem;
  min-height: 50px;
}

.btn-play {
  display: block;
  text-align: center;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 1rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.btn-play:hover {
  background: var(--primary);
  color: #000;
  box-shadow: 0 0 20px var(--primary-glow);
}

.btn-play.disabled {
  border-color: #3e5248;
  color: #6a8b7c;
  cursor: not-allowed;
}
.btn-play.disabled:hover {
  background: transparent;
  box-shadow: none;
}

/* Members Section */
.members-section {
    background: var(--bg-color);
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.member-card {
    background: var(--surface-color);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(0, 255, 136, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 255, 136, 0.2);
}

.member-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.icon-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--surface-color), #203a2e);
    border: 3px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

.member-info h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.member-role {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.member-info p:not(.member-role) {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* About & Contact Section */
.about-section {
  background: linear-gradient(to bottom, var(--surface-color), var(--bg-color));
}

.contact-section {
    background: var(--surface-color);
    text-align: center;
    border-top: 1px solid rgba(0, 255, 136, 0.1);
}

.about-content, .contact-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-text p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #fff;
    color: #000;
}

/* Footer */
footer {
  text-align: center;
  padding: 3rem;
  background: #09100d;
  color: #446655;
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 4rem; }
    section h2 { font-size: 2.2rem; }
    nav a { margin-left: 1rem; font-size: 1rem; }
}
