/* ========================================
   ESPORTS GAMING NEWS - 3D Interactive Design
   ======================================== */

:root {
  --neon-cyan: #00f0ff;
  --neon-pink: #ff00ff;
  --neon-green: #00ff88;
  --neon-yellow: #ffdd00;
  --neon-purple: #aa00ff;
  --dark-bg: #0a0a0f;
  --dark-card: #12121a;
  --dark-surface: #1a1a25;
  --text-primary: #ffffff;
  --text-secondary: rgba(255,255,255,0.7);
  --text-muted: rgba(255,255,255,0.4);
}

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

body {
  font-family: 'Rajdhani', 'Noto Sans JP', sans-serif;
  background: var(--dark-bg);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ========================================
   Background Effects
   ======================================== */

.esports-wrapper {
  position: relative;
  min-height: 100vh;
}

.bg-effects {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* grid-overlay removed */

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: orbFloat 8s ease-in-out infinite;
}

.glow-orb-1 {
  width: 400px;
  height: 400px;
  background: var(--neon-cyan);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.glow-orb-2 {
  width: 300px;
  height: 300px;
  background: var(--neon-pink);
  bottom: 20%;
  right: -50px;
  animation-delay: -3s;
}

.glow-orb-3 {
  width: 250px;
  height: 250px;
  background: var(--neon-purple);
  top: 50%;
  left: 30%;
  animation-delay: -5s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.1); }
}

/* scan-line removed */

/* ========================================
   Header
   ======================================== */

.esports-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,15,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,240,255,0.2);
}

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

.logo-3d {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  perspective: 1000px;
}

.logo-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  border-radius: 12px;
  font-size: 22px;
  color: white;
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
  box-shadow: 0 0 20px rgba(0,240,255,0.5);
}

.logo-3d:hover .logo-icon {
  transform: rotateY(15deg) rotateX(-10deg) scale(1.1);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 3px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-sub {
  font-size: 10px;
  letter-spacing: 5px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  gap: 8px;
}

.nav-link {
  position: relative;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--neon-cyan);
}

.nav-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--neon-cyan);
  transform: translateX(-50%);
  transition: width 0.3s ease;
  box-shadow: 0 0 10px var(--neon-cyan);
}

.nav-link:hover .nav-glow, .nav-link.active .nav-glow {
  width: 80%;
}

/* PIXEL PROMO special nav link - 目立つデザイン */
.nav-link-promo {
  background: linear-gradient(135deg, #00f0ff, #aa00ff) !important;
  border: none !important;
  border-radius: 8px;
  padding: 8px 16px !important;
  margin-left: 8px;
  box-shadow: 0 0 20px rgba(170,0,255,0.4), 0 0 40px rgba(0,240,255,0.2);
  animation: promoGlow 2s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.nav-link-promo::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: promoShine 3s ease-in-out infinite;
}

@keyframes promoGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(170,0,255,0.4), 0 0 40px rgba(0,240,255,0.2); }
  50% { box-shadow: 0 0 30px rgba(170,0,255,0.6), 0 0 60px rgba(0,240,255,0.4); }
}

@keyframes promoShine {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}

.nav-link-promo:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 0 40px rgba(170,0,255,0.7), 0 0 80px rgba(0,240,255,0.5);
}

.nav-link-promo .nav-text {
  color: #fff !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  background: none !important;
  -webkit-text-fill-color: #fff !important;
  letter-spacing: 1px;
}

.nav-link-promo .nav-glow {
  display: none;
}

.header-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0,255,136,0.1);
  border: 1px solid rgba(0,255,136,0.3);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--neon-green);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--neon-green);
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 10px var(--neon-green);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ========================================
   Hero Section - Featured Cards
   ======================================== */

.hero-section {
  position: relative;
  padding: 40px 24px;
  z-index: 1;
}

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

.hero-title-wrapper {
  text-align: center;
  margin-bottom: 40px;
}

.hero-title {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: 8px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.glitch {
  animation: glitch 3s infinite;
}

@keyframes glitch {
  0%, 90%, 100% { text-shadow: none; }
  92% { text-shadow: -2px 0 var(--neon-cyan), 2px 0 var(--neon-pink); }
  94% { text-shadow: 2px 0 var(--neon-cyan), -2px 0 var(--neon-pink); }
  96% { text-shadow: -1px 0 var(--neon-pink), 1px 0 var(--neon-cyan); }
}

.hero-line {
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  margin: 16px auto 0;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  perspective: 1000px;
}

.featured-card {
  position: relative;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transform-style: preserve-3d;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  cursor: pointer;
}

.featured-card:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
  box-shadow: 
    0 20px 40px rgba(0,0,0,0.5),
    0 0 30px rgba(var(--card-color), 0.3);
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.card-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.card-gradient {
  position: absolute;
  inset: 0;
  opacity: 0.8;
}

.card-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(255,255,255,0.03) 10px,
      rgba(255,255,255,0.03) 20px
    );
}

.card-content {
  position: relative;
  height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 100%);
}

.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #000;
  width: fit-content;
  margin-bottom: 12px;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: white;
  margin: 0 0 12px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

.card-border {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  pointer-events: none;
  transition: border-color 0.3s ease;
}

.featured-card:hover .card-border {
  border-color: var(--card-color);
  box-shadow: inset 0 0 20px rgba(255,255,255,0.1);
}

.card-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--card-color);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.featured-card:hover .card-corner {
  opacity: 1;
}

.card-corner-tl { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.card-corner-tr { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.card-corner-bl { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.card-corner-br { bottom: -1px; right: -1px; border-left: none; border-top: none; }

/* ========================================
   Category Hero
   ======================================== */

.category-hero {
  padding: 60px 24px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.category-hero-inner {
  max-width: 600px;
  margin: 0 auto;
}

.category-icon-wrap {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 2px solid var(--cat-color);
  border-radius: 20px;
  font-size: 32px;
  color: var(--cat-color);
  animation: iconPulse 2s ease-in-out infinite;
  box-shadow: 0 0 30px rgba(var(--cat-color), 0.3);
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.category-title-big {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: 6px;
  margin-bottom: 16px;
}

.category-count-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(0,240,255,0.1);
  border: 1px solid var(--neon-cyan);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--neon-cyan);
}

/* ========================================
   Main Content Layout
   ======================================== */

.main-content {
  position: relative;
  z-index: 1;
  padding: 0 24px 40px;
}

.content-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
}

/* ========================================
   Sidebar
   ======================================== */

.sidebar-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  background: var(--dark-card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
}

.sidebar-header {
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(0,240,255,0.1), rgba(170,0,255,0.1));
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.sidebar-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--neon-cyan);
}

.category-list {
  display: flex;
  flex-direction: column;
}

.category-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  text-decoration: none;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.03);
  transition: all 0.3s ease;
  overflow: hidden;
}

.category-item:last-child {
  border-bottom: none;
}

.category-hover-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--item-color, var(--neon-cyan)), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-item:hover .category-hover-bg,
.category-item.active .category-hover-bg {
  opacity: 0.1;
}

.category-item:hover, .category-item.active {
  color: var(--text-primary);
}

.category-icon-small {
  position: relative;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  font-size: 14px;
  z-index: 1;
  transition: transform 0.3s ease;
}

.category-item:hover .category-icon-small {
  transform: scale(1.1) rotate(-5deg);
}

.category-name {
  position: relative;
  flex: 1;
  font-size: 13px;
  font-weight: 500;
  z-index: 1;
}

.category-count {
  position: relative;
  font-size: 11px;
  padding: 3px 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  z-index: 1;
}

.category-item.active .category-count {
  background: var(--neon-cyan);
  color: #000;
}

/* Stats Card */
.stats-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 20px;
  gap: 10px;
}

.stat-item {
  text-align: center;
  padding: 15px 10px;
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
}

.stat-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--neon-cyan);
  text-shadow: 0 0 20px rgba(0,240,255,0.5);
}

.stat-label {
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ========================================
   News Feed
   ======================================== */

.news-feed {
  background: var(--dark-card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
}

.feed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(0,240,255,0.15), rgba(170,0,255,0.15));
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.feed-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
}

.title-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--neon-cyan);
  border-radius: 10px;
  color: #000;
  font-size: 14px;
}

.feed-count {
  font-size: 12px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.1);
  border-radius: 20px;
  letter-spacing: 1px;
}

.news-list {
  display: flex;
  flex-direction: column;
}

.news-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  transition: all 0.3s ease;
  overflow: hidden;
  animation: fadeInUp 0.5s ease forwards;
  animation-delay: var(--delay);
  opacity: 0;
}

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

.news-hover-effect {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--item-color), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.news-item:hover .news-hover-effect {
  opacity: 0.05;
}

.news-item:hover {
  background: rgba(255,255,255,0.02);
}

.news-rank {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  min-width: 30px;
}

.news-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 16px;
  color: white;
  transition: transform 0.3s ease;
}

.news-item:hover .news-icon {
  transform: scale(1.1) rotate(-5deg);
}

.news-content {
  flex: 1;
  min-width: 0;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 11px;
}

.news-category {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.news-divider {
  color: var(--text-muted);
}

.news-time {
  color: var(--text-muted);
}

.news-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 6px 0;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}

.news-item:hover .news-title {
  color: var(--item-color);
}

.news-source {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
}

.news-source i {
  font-size: 9px;
}

.news-arrow {
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.news-item:hover .news-arrow {
  color: var(--item-color);
  transform: translateX(5px);
}

.feed-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(255,255,255,0.03);
}

.powered-by {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-muted);
}

.powered-by i {
  color: #4285f4;
}

/* ========================================
   Footer
   ======================================== */

.esports-footer {
  position: relative;
  z-index: 1;
  padding: 32px 24px;
  background: var(--dark-card);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--neon-cyan);
  margin-bottom: 12px;
}

.footer-text {
  font-size: 12px;
  color: var(--text-muted);
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 1200px) {
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .featured-card:nth-child(3) {
    grid-column: span 2;
    height: 250px;
  }
}

@media (max-width: 900px) {
  .content-container {
    grid-template-columns: 1fr;
  }
  
  .header-nav {
    display: none;
  }
  
  .sidebar-left {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
  }
  
  .hero-title {
    font-size: 32px;
    letter-spacing: 4px;
  }
  
  .featured-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .featured-card,
  .featured-card:nth-child(3) {
    grid-column: auto;
    height: 280px;
  }
}

@media (max-width: 600px) {
  .header-container {
    padding: 10px 16px;
  }
  
  .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  .logo-main {
    font-size: 16px;
  }
  
  .hero-section {
    padding: 40px 16px;
  }
  
  .hero-title {
    font-size: 24px;
    letter-spacing: 2px;
  }
  
  .sidebar-left {
    grid-template-columns: 1fr;
  }
  
  .stats-card {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .category-hero {
    padding: 40px 16px;
  }
  
  .category-title-big {
    font-size: 28px;
    letter-spacing: 3px;
  }
  
  .main-content {
    padding: 0 16px 40px;
  }
  
  .news-item {
    padding: 14px 16px;
    gap: 12px;
  }
  
  .news-rank {
    display: none;
  }
  
  .news-icon {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }
  
  .news-title {
    font-size: 13px;
  }
  
  .glow-orb {
    opacity: 0.2;
  }
}

/* Touch Devices */
@media (hover: none) {
  .featured-card:hover {
    transform: none;
  }
  
  .featured-card:active {
    transform: scale(0.98);
  }
  
  .news-item:hover .news-hover-effect {
    opacity: 0;
  }
  
  .news-item:active .news-hover-effect {
    opacity: 0.05;
  }
}

/* ========================================
   3D Interactive Enhancements
   ======================================== */

/* Card Spotlight Effect */
.featured-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%),
    rgba(255, 255, 255, 0.15),
    transparent 40%
  );
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.5s ease;
  border-radius: inherit;
}

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

/* Card Glass Morphism */
.featured-card {
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.featured-card:hover {
  border-color: rgba(0, 240, 255, 0.3);
}

/* Floating Animation */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.logo-icon {
  animation: float 3s ease-in-out infinite;
}

/* Neon Glow Pulse */
@keyframes neonPulse {
  0%, 100% { 
    box-shadow: 0 0 5px var(--neon-cyan), 0 0 20px var(--neon-cyan);
  }
  50% { 
    box-shadow: 0 0 10px var(--neon-cyan), 0 0 40px var(--neon-cyan), 0 0 60px var(--neon-cyan);
  }
}

.title-icon {
  animation: neonPulse 2s ease-in-out infinite;
}

/* Holographic Shimmer */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.card-badge {
  background-image: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.3),
    transparent
  );
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
}

/* News Item Hover Glow */
.news-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--item-color);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.news-item:hover::before {
  transform: scaleY(1);
}

/* Category Item 3D Lift */
.category-item {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.category-item:hover {
  transform: translateX(8px) translateZ(10px);
}

.category-item::after {
  content: '';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--item-color, var(--neon-cyan));
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  box-shadow: 0 0 10px var(--item-color, var(--neon-cyan));
}

.category-item:hover::after {
  opacity: 1;
}

/* Stats Card Glow */
.stats-card .stat-item {
  position: relative;
  overflow: hidden;
}

.stats-card .stat-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(0,240,255,0.1), transparent);
  transform: translateX(-100%);
  animation: statShine 3s ease-in-out infinite;
}

@keyframes statShine {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

/* Sidebar Card Hover Effect */
.sidebar-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sidebar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,240,255,0.1);
}

/* Feed Header Animated Border */
.feed-header {
  position: relative;
  overflow: hidden;
}

.feed-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), var(--neon-pink), transparent);
  animation: borderFlow 3s linear infinite;
}

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

/* Hero Section 3D Perspective */
.hero-section {
  perspective: 2000px;
}

.featured-grid {
  transform-style: preserve-3d;
}

/* Logo 3D Rotate on Hover */
.logo-3d:hover .logo-icon {
  animation: logoRotate 0.6s ease;
}

@keyframes logoRotate {
  0% { transform: rotateY(0deg); }
  50% { transform: rotateY(180deg); }
  100% { transform: rotateY(360deg); }
}

/* Status Dot Enhanced Animation */
.status-dot {
  position: relative;
}

.status-dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border: 2px solid var(--neon-green);
  border-radius: 50%;
  animation: statusRing 2s ease-out infinite;
}

@keyframes statusRing {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

/* Nav Link Underline Animation */
.nav-link {
  position: relative;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::before,
.nav-link.active::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* Glitch Effect for Title */
.hero-title {
  position: relative;
}

.hero-title::before,
.hero-title::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark-bg);
}

.hero-title::before {
  left: 2px;
  text-shadow: -2px 0 var(--neon-pink);
  clip: rect(24px, 550px, 90px, 0);
  animation: glitch-anim 3s infinite linear alternate-reverse;
}

.hero-title::after {
  left: -2px;
  text-shadow: -2px 0 var(--neon-cyan);
  clip: rect(85px, 550px, 140px, 0);
  animation: glitch-anim2 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
  0% { clip: rect(31px, 9999px, 94px, 0); }
  20% { clip: rect(62px, 9999px, 42px, 0); }
  40% { clip: rect(16px, 9999px, 78px, 0); }
  60% { clip: rect(89px, 9999px, 15px, 0); }
  80% { clip: rect(55px, 9999px, 68px, 0); }
  100% { clip: rect(24px, 9999px, 99px, 0); }
}

@keyframes glitch-anim2 {
  0% { clip: rect(65px, 9999px, 99px, 0); }
  20% { clip: rect(12px, 9999px, 47px, 0); }
  40% { clip: rect(88px, 9999px, 33px, 0); }
  60% { clip: rect(26px, 9999px, 71px, 0); }
  80% { clip: rect(41px, 9999px, 89px, 0); }
  100% { clip: rect(73px, 9999px, 21px, 0); }
}

/* News Feed Container Glow */
.news-feed {
  position: relative;
}

.news-feed::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(45deg, var(--neon-cyan), transparent, var(--neon-pink), transparent);
  border-radius: 17px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: borderRotate 4s linear infinite;
  background-size: 300% 300%;
}

@keyframes borderRotate {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.news-feed:hover::before {
  opacity: 0.5;
}

/* Hide custom cursor on mobile */
@media (hover: none), (max-width: 768px) {
  .mouse-tracker,
  .mouse-tracker + div,
  #particle-canvas {
    display: none !important;
  }
}

/* ========================================
   News Collapse / Expand
   ======================================== */

.news-item-hidden {
  display: none;
}

.news-expand-wrapper {
  padding: 20px 24px;
  display: flex;
  justify-content: center;
  border-top: 1px solid rgba(255,255,255,0.03);
}

.news-expand-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, rgba(0,240,255,0.15), rgba(170,0,255,0.15));
  border: 1px solid rgba(0,240,255,0.3);
  border-radius: 30px;
  color: var(--neon-cyan);
  font-family: 'Rajdhani', 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.news-expand-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-pink));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.news-expand-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(0,240,255,0.3);
  border-color: var(--neon-cyan);
}

.news-expand-btn:hover::before {
  opacity: 0.15;
}

.expand-icon {
  transition: transform 0.3s ease;
}

.news-expand-btn[data-expanded="true"] .expand-icon {
  transform: rotate(180deg);
}

.expand-count {
  font-size: 12px;
  color: var(--text-muted);
}

.news-item.news-item-showing {
  display: flex;
  animation: newsSlideIn 0.4s ease forwards;
}

@keyframes newsSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Blog Link Card in Sidebar - Enhanced Large Version */
.blog-link-card-large {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  text-decoration: none;
  color: var(--text-primary);
  background: linear-gradient(145deg, rgba(255,0,255,0.15), rgba(170,0,255,0.1), rgba(0,240,255,0.1));
  border: 2px solid rgba(255,0,255,0.3);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.blog-link-card-large::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(255,0,255,0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.blog-link-card-large:hover::before {
  transform: translateX(100%);
}

.blog-link-card-large:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 50px rgba(255,0,255,0.3), 0 0 30px rgba(255,0,255,0.2);
  border-color: rgba(255,0,255,0.6);
}

.blog-link-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-link-icon-large {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
  border-radius: 14px;
  font-size: 24px;
  color: white;
  box-shadow: 0 8px 25px rgba(255,0,255,0.4);
}

.blog-link-badge {
  padding: 4px 10px;
  background: linear-gradient(135deg, #00ff88, #00cc66);
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  color: #000;
  letter-spacing: 1px;
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

.blog-link-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.blog-link-title-large {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.blog-link-subtitle {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.blog-link-description {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.blog-link-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: white;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.blog-link-card-large:hover .blog-link-cta {
  box-shadow: 0 5px 20px rgba(255,0,255,0.5);
  transform: translateY(-2px);
}

.blog-link-cta i {
  transition: transform 0.3s ease;
}

.blog-link-card-large:hover .blog-link-cta i {
  transform: translateX(5px);
}

/* Recent Blogs Card */
.recent-blogs-card {
  padding: 0;
  overflow: hidden;
}

.recent-blogs-card .sidebar-header {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.recent-blogs-list {
  display: flex;
  flex-direction: column;
}

.recent-blog-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 20px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  transition: all 0.3s ease;
}

.recent-blog-item:hover {
  background: rgba(255,0,255,0.05);
  padding-left: 24px;
}

.recent-blog-category {
  font-size: 10px;
  font-weight: 600;
  color: var(--neon-pink);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.recent-blog-title {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}

.recent-blog-item:hover .recent-blog-title {
  color: var(--text-primary);
}

.recent-blogs-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  color: var(--neon-cyan);
  background: rgba(0,240,255,0.05);
  transition: all 0.3s ease;
}

.recent-blogs-more:hover {
  background: rgba(0,240,255,0.1);
  color: var(--text-primary);
}

.recent-blogs-more i {
  font-size: 10px;
  transition: transform 0.3s ease;
}

.recent-blogs-more:hover i {
  transform: translateX(4px);
}

/* Legacy small blog link card (kept for compatibility) */
.blog-link-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  text-decoration: none;
  color: var(--text-primary);
  background: linear-gradient(135deg, rgba(255,0,255,0.1), rgba(0,240,255,0.1));
  border: 1px solid rgba(255,0,255,0.2);
  transition: all 0.3s ease;
}

.blog-link-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255,0,255,0.2);
  border-color: rgba(255,0,255,0.4);
}

.blog-link-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
  border-radius: 10px;
  font-size: 16px;
  color: white;
}

.blog-link-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-link-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}

.blog-link-desc {
  font-size: 11px;
  color: var(--text-muted);
}

.blog-link-arrow {
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.blog-link-card:hover .blog-link-arrow {
  transform: translateX(5px);
  color: var(--neon-pink);
}

/* Footer Links */
.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 12px;
  transition: color 0.3s ease;
}

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

/* ========================================
   Blog Editor Page (SEO/LLMO対応)
   ======================================== */

.blog-editor-main {
  padding: 40px 24px 60px;
  min-height: calc(100vh - 200px);
}

.editor-container {
  max-width: 900px;
  margin: 0 auto;
}

.editor-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--neon-cyan);
}

.editor-title i {
  font-size: 24px;
}

.blog-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Form Sections */
.form-section {
  background: var(--dark-card);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.05);
}

.form-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.form-section-title i {
  color: var(--neon-cyan);
}

.form-section-badge {
  font-size: 10px;
  padding: 4px 10px;
  background: rgba(0,240,255,0.15);
  border: 1px solid rgba(0,240,255,0.3);
  border-radius: 12px;
  color: var(--neon-cyan);
  letter-spacing: 1px;
  font-weight: 600;
}

/* Form Groups */
.form-group {
  margin-bottom: 20px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-hint {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 4px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Form Inputs */
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0,240,255,0.15);
  background: rgba(255,255,255,0.05);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23888' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group input[type="number"] {
  max-width: 120px;
}

/* Character Counter */
.char-counter {
  font-size: 11px;
  color: var(--text-muted);
  text-align: right;
  margin-top: 4px;
}

.char-counter.warning {
  color: #ffaa00;
}

.char-counter.over {
  color: #ff4444;
  font-weight: 600;
}

/* Form Help Text */
.form-help {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.02);
  border-radius: 6px;
  border-left: 3px solid var(--neon-cyan);
}

/* Form Actions */
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.btn-cancel {
  padding: 14px 24px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-cancel:hover {
  border-color: var(--text-secondary);
  color: var(--text-primary);
}

.btn-submit {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,240,255,0.3);
}

.btn-submit i {
  font-size: 14px;
}

/* ========================================
   Blog List & Detail Pages
   ======================================== */

.blog-main {
  padding: 40px 24px 60px;
  min-height: calc(100vh - 200px);
}

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

.blog-header {
  text-align: center;
  margin-bottom: 40px;
}

.blog-header-top {
  margin-bottom: 20px;
}

.blog-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(170, 0, 255, 0.15));
  border: 1px solid var(--neon-cyan);
  border-radius: 25px;
  color: var(--neon-cyan);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.blog-home-btn:hover {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.3), rgba(170, 0, 255, 0.3));
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
  transform: translateY(-2px);
  color: #fff;
}

.blog-home-btn i {
  font-size: 16px;
}

.blog-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--neon-cyan);
  margin-bottom: 10px;
}

.blog-subtitle {
  color: var(--text-muted);
  font-size: 14px;
  letter-spacing: 2px;
}

.blog-categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.blog-cat-btn {
  padding: 8px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-cat-btn:hover,
.blog-cat-btn.active {
  background: rgba(0,240,255,0.1);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.blog-card {
  background: var(--dark-card);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
  border-color: rgba(0,240,255,0.2);
}

.blog-card-link {
  display: block;
  padding: 24px;
  text-decoration: none;
  color: inherit;
}

.blog-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.blog-card-category {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-card-date {
  font-size: 11px;
  color: var(--text-muted);
}

.blog-card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.blog-card-excerpt {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

.blog-card-author,
.blog-card-time {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-card-read-more {
  margin-left: auto;
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease;
}

.blog-card:hover .blog-card-read-more {
  gap: 10px;
}

.blog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.blog-empty i {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.blog-empty p {
  margin-bottom: 20px;
}

.blog-write-btn,
.blog-new-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  border-radius: 8px;
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-write-btn:hover,
.blog-new-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,240,255,0.3);
}

.blog-login-btn {
  background: linear-gradient(135deg, #ffaa00, #ff6600) !important;
}

.blog-login-btn:hover {
  box-shadow: 0 10px 30px rgba(255,170,0,0.3) !important;
}

.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.pagination-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.pagination-btn:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
}

.pagination-info {
  font-size: 14px;
  color: var(--text-muted);
}

.blog-actions {
  text-align: center;
}

/* Blog Detail Page */
.blog-detail-main {
  padding: 40px 24px 60px;
}

.blog-article {
  max-width: 800px;
  margin: 0 auto;
  background: var(--dark-card);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid rgba(255,255,255,0.05);
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.article-back:hover {
  color: var(--neon-cyan);
}

.article-header {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.article-category {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.article-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-reading-time {
  color: var(--neon-cyan);
}

.article-difficulty {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
}

.article-difficulty.difficulty-beginner {
  background: rgba(0,255,136,0.15);
  color: #00ff88;
}

.article-difficulty.difficulty-intermediate {
  background: rgba(0,240,255,0.15);
  color: #00f0ff;
}

.article-difficulty.difficulty-advanced {
  background: rgba(255,0,255,0.15);
  color: #ff00ff;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.article-tag {
  padding: 4px 10px;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  font-size: 12px;
  color: var(--text-secondary);
}

.article-audience {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  padding: 8px 12px;
  background: rgba(255,255,255,0.02);
  border-radius: 6px;
}

.article-summary {
  background: linear-gradient(135deg, rgba(0,240,255,0.1), rgba(170,0,255,0.1));
  border: 1px solid rgba(0,240,255,0.2);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 30px;
}

.article-summary strong {
  display: block;
  margin-bottom: 8px;
  color: var(--neon-cyan);
}

.article-summary p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.article-content {
  line-height: 1.8;
  color: var(--text-secondary);
  white-space: pre-wrap;
  word-wrap: break-word;
}

.article-content h2 {
  font-size: 22px;
  color: var(--text-primary);
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--neon-cyan);
}

.article-content h3 {
  font-size: 18px;
  color: var(--text-primary);
  margin: 30px 0 12px;
}

.article-content p {
  margin-bottom: 16px;
}

.article-content ul,
.article-content ol {
  margin: 16px 0;
  padding-left: 24px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-content a {
  color: var(--neon-cyan);
  text-decoration: underline;
}

.article-content strong {
  color: var(--text-primary);
}

.article-content code {
  padding: 2px 6px;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  font-family: monospace;
  color: var(--neon-green);
}

.article-content pre {
  background: rgba(0,0,0,0.3);
  border-radius: 8px;
  padding: 16px;
  overflow-x: auto;
  margin: 16px 0;
}

.article-content pre code {
  background: none;
  padding: 0;
}

.article-related-topics {
  margin-top: 30px;
  padding: 20px;
  background: rgba(255,255,255,0.02);
  border-radius: 12px;
}

.article-related-topics h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.related-topics-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.related-topic {
  padding: 6px 12px;
  background: rgba(0,240,255,0.1);
  border: 1px solid rgba(0,240,255,0.2);
  border-radius: 20px;
  font-size: 12px;
  color: var(--neon-cyan);
}

.article-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.article-share {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.share-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.share-btn.twitter {
  background: #1da1f2;
}

.share-btn.facebook {
  background: #1877f2;
}

.share-btn.line {
  background: #00b900;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Article Actions (Delete Button) */
.article-actions {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: flex-end;
}

.btn-delete {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255,68,68,0.1);
  border: 1px solid rgba(255,68,68,0.3);
  border-radius: 8px;
  color: #ff4444;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.btn-delete:hover {
  background: rgba(255,68,68,0.2);
  border-color: #ff4444;
  box-shadow: 0 0 20px rgba(255,68,68,0.2);
}

.btn-delete i {
  font-size: 12px;
}

/* Toast Messages */
.toast-message {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  padding: 16px 28px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1000;
  animation: toastIn 0.4s ease, toastOut 0.4s ease 3s forwards;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.toast-success {
  background: rgba(0,255,136,0.15);
  border: 1px solid rgba(0,255,136,0.4);
  color: #00ff88;
}

.toast-error {
  background: rgba(255,68,68,0.15);
  border: 1px solid rgba(255,68,68,0.4);
  color: #ff4444;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes toastOut {
  from {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  to {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
}

.related-posts {
  max-width: 800px;
  margin: 40px auto 0;
}

.related-posts h2 {
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.related-card {
  display: block;
  padding: 20px;
  background: var(--dark-card);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
  text-decoration: none;
  transition: all 0.3s ease;
}

.related-card:hover {
  border-color: rgba(0,240,255,0.2);
  transform: translateY(-3px);
}

.related-card .related-category {
  font-size: 10px;
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}

.related-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .blog-article {
    padding: 24px;
  }
  
  .article-title {
    font-size: 22px;
  }
  
  .article-meta {
    flex-direction: column;
    gap: 10px;
  }
}

/* ========================================
   WORLDS SECTION - おすすめワールド
   ======================================== */

.worlds-section {
  padding: 40px 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,240,255,0.02) 50%, transparent 100%);
  border-top: 1px solid rgba(255,255,255,0.05);
}

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

/* ヘッダー行：タイトル + 投稿ボタンを横並び */
.worlds-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.worlds-title-compact {
  display: flex;
  align-items: center;
  gap: 10px;
}

.worlds-title-compact i {
  font-size: 20px;
  color: var(--neon-cyan);
}

.worlds-title-compact h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0;
}

.worlds-badge {
  padding: 3px 10px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  border-radius: 12px;
  font-size: 9px;
  font-weight: 700;
  color: white;
  letter-spacing: 1px;
}

/* コンパクト投稿ボタン */
.worlds-submit-btn-compact {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 12px rgba(0,240,255,0.25);
}

.worlds-submit-btn-compact:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,240,255,0.4);
}

/* 旧スタイル（互換性のため残す） */
.worlds-header {
  text-align: center;
  margin-bottom: 24px;
}

.worlds-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 10px;
}

.worlds-title i {
  font-size: 24px;
  color: var(--neon-cyan);
}

.worlds-title h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.worlds-subtitle {
  color: var(--text-muted);
  font-size: 13px;
}

/* 投稿ボタン */
.worlds-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 20px;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,240,255,0.25);
}

.worlds-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,240,255,0.4);
}

/* カテゴリフィルター */
.worlds-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.worlds-cat-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.worlds-cat-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--cat-color, var(--neon-cyan));
  color: var(--cat-color, var(--neon-cyan));
}

.worlds-cat-btn.active {
  background: var(--cat-color, var(--neon-cyan));
  border-color: var(--cat-color, var(--neon-cyan));
  color: #000;
}

.worlds-cat-btn i {
  font-size: 10px;
}

/* ワールドグリッド */
.worlds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

/* ワールドカード */
.world-card {
  background: var(--dark-card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.world-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0,240,255,0.3);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3), 0 0 20px rgba(0,240,255,0.1);
}

.world-image {
  position: relative;
  width: 100%;
  height: 150px;
  background: linear-gradient(135deg, rgba(0,240,255,0.1), rgba(170,0,255,0.1));
  overflow: hidden;
}

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

.world-card:hover .world-image img {
  transform: scale(1.1);
}

.world-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: rgba(255,255,255,0.2);
}

.world-category-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 16px;
  font-size: 10px;
  font-weight: 700;
  color: #000;
}

.world-category-badge i {
  font-size: 10px;
}

.world-info {
  padding: 16px;
}

.world-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.3;
}

.world-description {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.world-island-code {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(0,240,255,0.1);
  border: 1px solid rgba(0,240,255,0.2);
  border-radius: 8px;
  margin-bottom: 10px;
}

.world-island-code i {
  color: var(--neon-cyan);
  font-size: 12px;
}

.island-code-text {
  flex: 1;
  font-size: 14px;
  font-weight: 700;
  color: var(--neon-cyan);
  font-family: 'Rajdhani', monospace;
  letter-spacing: 1px;
}

.copy-code-btn {
  padding: 4px 8px;
  background: rgba(0,240,255,0.2);
  border: none;
  border-radius: 4px;
  color: var(--neon-cyan);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 11px;
}

.copy-code-btn:hover {
  background: var(--neon-cyan);
  color: #000;
}

.copy-code-btn.copied {
  background: var(--neon-green);
  color: #000;
}

.world-creator {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.world-creator i {
  color: var(--neon-purple);
}

.world-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.world-meta {
  font-size: 10px;
  color: var(--text-muted);
}

.world-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.world-like-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255,68,68,0.1);
  border: 1px solid rgba(255,68,68,0.2);
  border-radius: 20px;
  color: #ff4444;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.world-like-btn:hover {
  background: rgba(255,68,68,0.2);
  transform: scale(1.05);
}

.world-like-btn.liked {
  background: #ff4444;
  color: white;
}

.world-link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.world-link-btn:hover {
  background: var(--neon-cyan);
  color: #000;
}

/* 空状態 */
.worlds-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.worlds-empty i {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.3;
}

.worlds-empty p {
  font-size: 16px;
  margin-bottom: 8px;
}

.worlds-empty-sub {
  font-size: 13px;
  opacity: 0.7;
}

/* もっと見るボタン */
.worlds-more-wrapper {
  text-align: center;
}

.worlds-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 30px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 30px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.worlds-more-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
}

/* ワールドカード非表示（折りたたみ用） */
.world-card-hidden {
  display: none;
}

.world-card-hidden.world-card-visible {
  display: block;
  animation: worldFadeIn 0.4s ease forwards;
}

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

/* 折りたたみボタン */
.worlds-expand-wrapper {
  text-align: center;
  margin-top: 20px;
}

.worlds-expand-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 30px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.worlds-expand-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
}

.worlds-expand-btn .expand-count {
  color: var(--text-muted);
  font-size: 13px;
}

.worlds-expand-btn .expand-icon {
  transition: transform 0.3s ease;
}

.worlds-expand-btn[data-expanded="true"] .expand-icon {
  transform: rotate(180deg);
}

/* ========================================
   Community Header - コミュニティ重視デザイン
   ======================================== */

.community-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(0,240,255,0.05) 0%, rgba(170,0,255,0.05) 100%);
  border: 1px solid rgba(0,240,255,0.15);
  border-radius: 16px;
}

.community-title-area {
  display: flex;
  align-items: center;
  gap: 16px;
}

.community-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  box-shadow: 0 4px 15px rgba(0,240,255,0.3);
}

.community-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.community-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: 0.5px;
}

.community-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* 投稿ボタン - コミュニティ重視デザイン */
.community-submit-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,240,255,0.3);
}

.community-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0,240,255,0.4);
}

.submit-btn-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
}

.submit-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.submit-main {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.submit-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.8);
}

/* Community Invite Message */
.community-invite {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(255,170,0,0.1) 0%, rgba(255,136,0,0.05) 100%);
  border: 1px dashed rgba(255,170,0,0.3);
  border-radius: 10px;
  color: #ffaa00;
  font-size: 14px;
}

.community-invite i {
  font-size: 16px;
  color: #ffdd00;
}

@media (max-width: 600px) {
  .community-invite {
    font-size: 12px;
    padding: 10px 14px;
    gap: 8px;
  }
  
  .community-invite i {
    font-size: 14px;
  }
}

/* ========================================
   Sponsor Banner - 控えめなPR
   ======================================== */

.sponsor-banner {
  padding: 16px 24px;
  background: linear-gradient(135deg, rgba(0,240,255,0.05) 0%, rgba(170,0,255,0.05) 100%);
  border-top: 1px solid rgba(0,240,255,0.1);
  border-bottom: 1px solid rgba(0,240,255,0.1);
}

.sponsor-banner-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 600px;
  margin: 0 auto;
  padding: 12px 20px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(0,240,255,0.15);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.sponsor-banner-link:hover {
  background: rgba(0,240,255,0.1);
  border-color: rgba(0,240,255,0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,240,255,0.15);
}

.sponsor-badge {
  padding: 4px 10px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  color: #000;
  letter-spacing: 1px;
}

.sponsor-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.sponsor-icon {
  width: 36px;
  height: 36px;
  background: rgba(0,240,255,0.15);
  border: 1px solid rgba(0,240,255,0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-cyan);
  font-size: 16px;
}

.sponsor-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sponsor-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.sponsor-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.sponsor-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(0,240,255,0.1);
  border: 1px solid rgba(0,240,255,0.2);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--neon-cyan);
  transition: all 0.3s ease;
}

.sponsor-banner-link:hover .sponsor-cta {
  background: var(--neon-cyan);
  color: #000;
}

.sponsor-cta i {
  font-size: 10px;
  transition: transform 0.3s ease;
}

.sponsor-banner-link:hover .sponsor-cta i {
  transform: translateX(3px);
}

/* Responsive - Sponsor Banner */
@media (max-width: 600px) {
  .sponsor-banner {
    padding: 12px 16px;
  }
  
  .sponsor-banner-link {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 16px;
  }
  
  .sponsor-content {
    flex: 1 1 auto;
    min-width: 0;
  }
  
  .sponsor-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  
  .sponsor-name {
    font-size: 13px;
  }
  
  .sponsor-desc {
    font-size: 11px;
  }
  
  .sponsor-cta {
    padding: 6px 12px;
    font-size: 11px;
  }
}

/* Responsive - Community Header */
@media (max-width: 768px) {
  .community-header {
    flex-direction: column;
    gap: 16px;
    padding: 16px;
  }
  
  .community-title-area {
    width: 100%;
  }
  
  .community-submit-btn {
    width: 100%;
    justify-content: center;
  }
  
  .community-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  .community-title {
    font-size: 17px;
  }
  
  .community-subtitle {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .community-header {
    padding: 14px;
  }
  
  .community-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  
  .community-title {
    font-size: 15px;
  }
  
  .submit-btn-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  
  .submit-main {
    font-size: 13px;
  }
  
  .submit-sub {
    font-size: 10px;
  }
  
  .sponsor-link {
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
  }
}

/* トップ配置用のスタイル */
.worlds-section-top {
  padding-top: 24px;
  padding-bottom: 32px;
  margin-top: 70px;
  border-top: none;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: linear-gradient(180deg, rgba(0,240,255,0.02) 0%, transparent 100%);
}



/* ========================================
   MODAL - モーダル
   ======================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: var(--dark-bg);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9);
  opacity: 0;
  transition: all 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: none;
  border-radius: 50%;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1;
}

.modal-close:hover {
  background: rgba(255,68,68,0.2);
  color: #ff4444;
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 24px 0;
  margin-bottom: 20px;
}

.modal-header i {
  font-size: 24px;
  color: var(--neon-cyan);
}

.modal-header h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

/* ワールドフォーム */
.world-form {
  padding: 0 24px 24px;
}

.world-form .form-group {
  margin-bottom: 18px;
}

.world-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.world-form .required {
  color: #ff4444;
}

.world-form input,
.world-form select,
.world-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.world-form input:focus,
.world-form select:focus,
.world-form textarea:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0,240,255,0.15);
}

.world-form input::placeholder,
.world-form textarea::placeholder {
  color: var(--text-muted);
}

.world-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23888' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
}

.world-form textarea {
  resize: vertical;
  min-height: 80px;
}

.world-form .form-hint {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

.world-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Image Upload Area */
.image-upload-area {
  position: relative;
  border: 2px dashed rgba(0,240,255,0.3);
  border-radius: 12px;
  background: rgba(0,240,255,0.03);
  transition: all 0.3s ease;
  cursor: pointer;
  overflow: hidden;
}

.image-upload-area:hover,
.image-upload-area.dragover {
  border-color: var(--neon-cyan);
  background: rgba(0,240,255,0.08);
}

.image-upload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  text-align: center;
}

.image-upload-content i {
  font-size: 40px;
  color: var(--neon-cyan);
  margin-bottom: 12px;
}

.image-upload-content p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.image-upload-content .form-hint {
  font-size: 11px;
  color: var(--text-muted);
}

.image-preview-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect ratio */
}

.image-preview-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-remove-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,68,68,0.9);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}

.image-remove-btn:hover {
  background: #ff4444;
  transform: scale(1.1);
}

.image-upload-progress {
  margin-top: 10px;
}

.progress-bar {
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
  width: 0%;
  transition: width 0.3s ease;
}

.progress-text {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 6px;
}

.world-form .form-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.world-form .btn-cancel {
  flex: 1;
  padding: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.world-form .btn-cancel:hover {
  background: rgba(255,255,255,0.1);
}

.world-form .btn-submit {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  border: none;
  border-radius: 10px;
  color: white;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.world-form .btn-submit:hover {
  box-shadow: 0 5px 20px rgba(0,240,255,0.4);
  transform: translateY(-2px);
}

.world-form .btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* トースト通知 */
.toast-message {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  padding: 14px 24px;
  background: var(--dark-card);
  border-radius: 12px;
  border: 1px solid;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2000;
  animation: toastSlideIn 0.3s ease, toastFadeOut 0.3s ease 3s forwards;
}

.toast-success {
  border-color: var(--neon-green);
  color: var(--neon-green);
}

.toast-error {
  border-color: #ff4444;
  color: #ff4444;
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes toastFadeOut {
  to {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
}

/* レスポンシブ - ワールドセクション */
@media (max-width: 768px) {
  .worlds-section {
    padding: 20px 16px;
  }
  
  .worlds-section-top {
    margin-top: 60px;
    padding-top: 16px;
  }
  
  /* ヘッダー行のスマホ対応 */
  .worlds-header-row {
    margin-bottom: 12px;
  }
  
  .worlds-title-compact h2 {
    font-size: 16px;
  }
  
  .worlds-title-compact i {
    font-size: 18px;
  }
  
  .worlds-badge {
    padding: 2px 8px;
    font-size: 8px;
  }
  
  .worlds-submit-btn-compact {
    padding: 6px 12px;
    font-size: 11px;
  }
  
  .worlds-title h2 {
    font-size: 18px;
  }
  
  .worlds-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  /* スマホで画像全体を表示 */
  .world-image {
    height: auto;
    aspect-ratio: 16 / 9;
  }
  
  .world-image img {
    object-fit: contain;
    background: linear-gradient(135deg, rgba(0,240,255,0.05), rgba(170,0,255,0.05));
  }
  
  .world-image-placeholder {
    aspect-ratio: 16 / 9;
  }
  
  .worlds-categories {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 10px;
    margin-bottom: 12px;
    -webkit-overflow-scrolling: touch;
  }
  
  .worlds-cat-btn {
    flex-shrink: 0;
  }
  
  .modal-content {
    max-height: 85vh;
  }
  
  .world-form .form-row {
    grid-template-columns: 1fr;
  }
}
