@charset "utf-8";

/* ========================================
   デベロッパーページ追加スタイル
   ベーススタイルは style_mobail.css で定義
======================================== */

/* デベロッパー名ヘッダー */
.dev-header {
  padding: 70px 20px 50px;
}

.dev-header h1 {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(
    270deg,
    #a78bfa, #7c3aed, #2dd4bf, #60a5fa, #a78bfa
  );
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease infinite;
  margin-bottom: 8px;
  letter-spacing: 4px;
  text-shadow: none;
  position: relative;
}

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

.dev-header .subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 500;
}

.dev-header::before {
  background: radial-gradient(
    ellipse at center,
    rgba(124, 58, 237, 0.1) 0%,
    rgba(45, 212, 191, 0.05) 40%,
    transparent 70%
  );
}

/* ロゴリングアニメーション */
.dev-logo-ring {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dev-logo-ring::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: #a78bfa;
  border-right-color: #7c3aed;
  animation: ringRotate 3s linear infinite;
}

.dev-logo-ring::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-bottom-color: #2dd4bf;
  border-left-color: #60a5fa;
  animation: ringRotate 2s linear infinite reverse;
}

.dev-logo-ring-inner {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.2);
}

.dev-logo-icon {
  font-size: 2.2rem;
  position: relative;
  z-index: 1;
  animation: float 3s ease-in-out infinite;
}

@keyframes ringRotate {
  to { transform: rotate(360deg); }
}

/* パーティクル */
.dev-header-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(167, 139, 250, 0.6);
  animation: particleFloat 8s ease-in-out infinite;
}

.particle:nth-child(1) {
  left: 15%; top: 20%;
  animation-delay: 0s;
  animation-duration: 7s;
}
.particle:nth-child(2) {
  left: 75%; top: 30%;
  animation-delay: 1.5s;
  animation-duration: 9s;
  background: rgba(96, 165, 250, 0.5);
}
.particle:nth-child(3) {
  left: 40%; top: 70%;
  animation-delay: 3s;
  animation-duration: 6s;
  background: rgba(45, 212, 191, 0.5);
}
.particle:nth-child(4) {
  left: 85%; top: 65%;
  animation-delay: 2s;
  animation-duration: 10s;
  width: 2px; height: 2px;
}
.particle:nth-child(5) {
  left: 25%; top: 50%;
  animation-delay: 4s;
  animation-duration: 8s;
  width: 4px; height: 4px;
  background: rgba(124, 58, 237, 0.4);
}

@keyframes particleFloat {
  0%, 100% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% { opacity: 1; }
  50% {
    transform: translateY(-30px) translateX(15px);
    opacity: 0.8;
  }
  90% { opacity: 0; }
}

/* ========================================
   アプリカードグリッド
======================================== */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 8px;
}

.app-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
}

.app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary) 0%, #64b5f6 100%);
  opacity: 0;
  transition: var(--transition-normal);
}

.app-card:hover {
  background: var(--card-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 0 20px rgba(33, 150, 243, 0.15);
}

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

/* アプリカード内レイアウト */
.app-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.app-card-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.app-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.app-card-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.app-card-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* アプリカード内リンク群 */
.app-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.app-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-fast);
}

.app-card-link--play {
  background: rgba(52, 168, 83, 0.15);
  color: #81c784;
  border: 1px solid rgba(52, 168, 83, 0.3);
}

.app-card-link--play:hover {
  background: rgba(52, 168, 83, 0.25);
  border-color: rgba(52, 168, 83, 0.5);
}

.app-card-link--detail {
  background: rgba(33, 150, 243, 0.1);
  color: var(--link-color);
  border: 1px solid rgba(33, 150, 243, 0.2);
}

.app-card-link--detail:hover {
  background: rgba(33, 150, 243, 0.2);
  border-color: rgba(33, 150, 243, 0.4);
}

/* ========================================
   アプリカードのアニメーション
======================================== */
.app-card {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.app-card:nth-child(1) {
  animation-delay: 0.15s;
}

.app-card:nth-child(2) {
  animation-delay: 0.3s;
}

.app-card:nth-child(3) {
  animation-delay: 0.45s;
}

/* ========================================
   レスポンシブ対応
======================================== */
@media (max-width: 600px) {
  .dev-header h1 {
    font-size: 2.2rem;
  }

  .dev-logo-ring {
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
  }

  .dev-logo-icon {
    font-size: 1.8rem;
  }

  .app-grid {
    grid-template-columns: 1fr;
  }

  .app-card {
    padding: 20px 16px;
  }

  .app-card-icon {
    width: 56px;
    height: 56px;
  }

  .app-card-links {
    flex-direction: column;
  }

  .app-card-link {
    justify-content: center;
  }
}
