/* Core styling variables */
:root {
  --neon-cyan: #00f0ff;
  --neon-magenta: #ff007f;
  --neon-yellow: #ffb700;
  --neon-green: #39ff14;
  
  --bg-darker: #05050b;
  --bg-dark: #0a0a16;
  --bg-card: rgba(12, 12, 28, 0.75);
  
  --text-main: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --border-glass: rgba(0, 240, 255, 0.15);
  --border-glow: rgba(0, 240, 255, 0.4);
  
  --font-display: 'Orbitron', 'Outfit', sans-serif;
  --font-body: 'Outfit', sans-serif;
}

/* Reset and basic resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

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

/* Cyberpunk Neon Glow Background Gradients */
.glow-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(255, 0, 127, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(0, 240, 255, 0.06) 0%, transparent 45%),
    linear-gradient(rgba(10, 10, 22, 0.95), rgba(5, 5, 11, 0.98));
}

/* Layout container alignments */
.main-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation Bar */
.app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 5, 11, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 1.5px;
  display: flex;
  gap: 8px;
}

.logo-cyber {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

.logo-miner {
  color: var(--text-main);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  transition: color 0.2s, text-shadow 0.2s;
}

.nav-links a:hover {
  color: var(--neon-cyan);
  text-shadow: 0 0 8px var(--neon-cyan);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--neon-cyan);
  color: var(--bg-darker);
  border: 1px solid var(--neon-cyan);
}

.btn-secondary {
  background: var(--neon-magenta);
  color: var(--text-main);
  border: 1px solid var(--neon-magenta);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--text-muted);
}

.btn-glow {
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.35);
}

.btn-primary:hover {
  background: var(--bg-darker);
  color: var(--neon-cyan);
  box-shadow: 0 0 25px var(--neon-cyan);
}

.btn-secondary:hover {
  background: var(--bg-darker);
  color: var(--neon-magenta);
  box-shadow: 0 0 25px var(--neon-magenta);
}

.btn-outline:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
}

.nav-btn {
  padding: 10px 20px;
  font-size: 0.75rem;
}

/* Hero Section */
.hero-section {
  padding: 160px 0 80px 0;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 60px;
}

.badge {
  display: inline-block;
  background: rgba(0, 240, 255, 0.1);
  color: var(--neon-cyan);
  border: 1px solid var(--border-glass);
  padding: 6px 12px;
  border-radius: 20px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 24px;
}

.highlight-text {
  color: var(--neon-cyan);
  text-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-actions .btn {
  display: flex;
  gap: 14px;
}

.btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.btn-label {
  font-size: 0.95rem;
  font-weight: 900;
}

.btn-subtext {
  font-size: 0.65rem;
  font-weight: 400;
  opacity: 0.8;
  letter-spacing: 0.5px;
}

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

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-wrapper {
  position: relative;
  border-radius: 12px;
  padding: 6px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
  animation: float 5s ease-in-out infinite;
}

.promo-image {
  display: block;
  width: 100%;
  max-width: 440px;
  border-radius: 8px;
  border: 1px solid var(--bg-darker);
}

.image-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  filter: blur(25px);
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
  opacity: 0.4;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px) rotate(0.5deg); }
  50% { transform: translateY(-12px) rotate(-0.5deg); }
  100% { transform: translateY(0px) rotate(0.5deg); }
}

/* Features Grid */
.features-section {
  padding: 80px 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(226, 232, 240, 0.15);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.01);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.glass-panel:hover {
  border-color: var(--border-glow);
  box-shadow: 0 8px 32px rgba(0, 240, 255, 0.15), inset 0 0 15px rgba(0, 240, 255, 0.05);
  transform: translateY(-4px);
}

.feature-card {
  padding: 40px;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--neon-cyan);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* How to Play Section */
.how-to-play-section {
  padding: 80px 0;
}

.how-to-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.how-to-panel {
  padding: 40px;
}

.how-to-panel h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 12px;
}

.controls-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.control-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.key-cap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-darker);
  border: 1px solid var(--text-muted);
  box-shadow: 0 3px 0 var(--text-muted);
  border-radius: 6px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.9rem;
  width: 36px;
  height: 36px;
  color: var(--neon-cyan);
}

.wide-key {
  width: 90px;
}

.font-cap {
  width: auto;
  padding: 0 12px;
}

.control-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.manual-notice {
  margin-top: 32px;
  font-size: 0.85rem;
  color: var(--neon-magenta);
  line-height: 1.5;
  border-left: 2px solid var(--neon-magenta);
  padding-left: 12px;
}

.items-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.item-desc {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.item-symbol {
  font-size: 1.8rem;
  background: rgba(255, 255, 255, 0.03);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border-glass);
}

.item-desc div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.item-desc div p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Pricing Section */
.pricing-section {
  padding: 80px 0;
  display: flex;
  justify-content: center;
}

.pricing-card {
  max-width: 600px;
  width: 100%;
  padding: 60px 40px;
  text-align: center;
  border-left: 4px solid var(--neon-yellow) !important;
}

.pricing-badge {
  display: inline-block;
  background: rgba(255, 183, 0, 0.1);
  color: var(--neon-yellow);
  border: 1px solid rgba(255, 183, 0, 0.25);
  padding: 6px 16px;
  border-radius: 20px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
}

.pricing-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 20px;
}

.pricing-jpy {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  color: var(--neon-yellow);
  text-shadow: 0 0 20px rgba(255, 183, 0, 0.2);
  margin-bottom: 24px;
}

.currency {
  font-size: 1.5rem;
  color: var(--text-secondary);
}

.pricing-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
}

.pricing-details {
  max-width: 420px;
  margin: 0 auto 40px auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-item {
  font-size: 0.95rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-action .btn {
  background: var(--neon-yellow);
  color: var(--bg-darker);
  border-color: var(--neon-yellow);
  box-shadow: 0 0 15px rgba(255, 183, 0, 0.35);
  font-size: 1.05rem;
  padding: 16px 40px;
}

.pricing-action .btn:hover {
  background: var(--bg-darker);
  color: var(--neon-yellow);
  box-shadow: 0 0 25px var(--neon-yellow);
}

/* Footer */
.app-footer {
  background: #030307;
  border-top: 1px solid var(--border-glass);
  padding: 60px 0;
  margin-top: 80px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-brand p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.footer-info {
  text-align: right;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Responsive CSS Media Queries */
@media (max-width: 968px) {
  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 120px 0 60px 0;
  }
  
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .how-to-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-info {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
}
