/*
  Skin Name: Sensual Night
  Description: アダルトライブチャットサイト向けの明るくも淫靡な雰囲気のスキン
  Skin URI: https://example.com/
  Author: Custom Design
  Author URI: https://example.com/
  Version: 1.0.0
  Priority: 10
*/

/* ===== カラー変数定義 ===== */
:root {
  --main-dark: #1a1a2e;
  --secondary-dark: #16213e;
  --accent-pink: #e94560;
  --accent-gold: #f39c12;
  --text-primary: #ffffff;
  --text-secondary: #b8b8b8;
  --border-color: #333366;
  --hover-pink: #ff6b8a;
  --gradient-primary: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  --gradient-accent: linear-gradient(135deg, #e94560 0%, #ff6b8a 100%);
  --gradient-gold: linear-gradient(135deg, #f39c12 0%, #ffb347 100%);
}

/* ===== 全体的なベーススタイル ===== */
body {
  background: var(--gradient-primary);
  color: var(--text-primary);
  font-family: 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

/* ===== ヘッダー ===== */
#header {
  background: var(--gradient-primary);
  border-bottom: 2px solid var(--accent-pink);
  box-shadow: 0 4px 20px rgba(233, 69, 96, 0.3);
}

#header-container {
  background: transparent;
}

.site-name-text a {
  color: var(--text-primary);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  transition: color 0.3s ease;
}

.site-name-text a:hover {
  color: var(--accent-pink);
}

.tagline {
  color: var(--text-secondary);
}

/* ===== ナビゲーション ===== */
#navi {
  background: rgba(22, 33, 62, 0.9);
  backdrop-filter: blur(10px);
}

.navi-in a {
  color: var(--text-primary);
  transition: all 0.3s ease;
  position: relative;
  padding: 10px 15px;
}

.navi-in a:hover {
  color: var(--accent-pink);
  background: rgba(233, 69, 96, 0.1);
  transform: translateY(-2px);
}

.navi-in a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navi-in a:hover::after {
  width: 80%;
}

/* ===== メインコンテンツエリア ===== */
#main {
  background: transparent;
}

#content {
  background: rgba(22, 33, 62, 0.3);
  border-radius: 15px;
  padding: 30px;
  margin: 20px 0;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ===== 記事カード ===== */
.entry-card {
  background: rgba(26, 26, 46, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 30px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.entry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(233, 69, 96, 0.2);
  border-color: var(--accent-pink);
}

.entry-card-thumb {
  position: relative;
  overflow: hidden;
}

.entry-card-thumb::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(233, 69, 96, 0.1), rgba(243, 156, 18, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.entry-card:hover .entry-card-thumb::after {
  opacity: 1;
}

.entry-card-content {
  padding: 20px;
}

.entry-card-title a {
  color: var(--text-primary);
  font-weight: bold;
  font-size: 1.2em;
  transition: color 0.3s ease;
  text-decoration: none;
}

.entry-card-title a:hover {
  color: var(--accent-pink);
}

.entry-card-snippet {
  color: var(--text-secondary);
  margin: 10px 0;
  line-height: 1.5;
}

.entry-card-meta {
  color: var(--text-secondary);
  font-size: 0.9em;
}

.entry-card-meta a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

.entry-card-meta a:hover {
  color: var(--hover-pink);
}

/* ===== サイドバー ===== */
#sidebar {
  background: transparent;
}

.widget {
  background: rgba(26, 26, 46, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 25px;
  padding: 20px;
  /*backdrop-filter: blur(5px);*/
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.widget-title {
  color: var(--text-primary);
  font-weight: bold;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-pink);
  position: relative;
}

.widget-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gradient-gold);
}

.widget ul {
  list-style: none;
  padding: 0;
}

.widget li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(51, 51, 102, 0.3);
}

.widget li:last-child {
  border-bottom: none;
}

.widget a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.widget a:hover {
  color: var(--accent-pink);
}

/* ===== ボタンスタイル ===== */
.btn, .button, input[type="submit"], button {
  background: var(--gradient-accent);
  color: var(--text-primary);
  border: none;
  border-radius: 25px;
  padding: 12px 25px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
  cursor: pointer;
}

.btn:hover, .button:hover, input[type="submit"]:hover, button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(233, 69, 96, 0.4);
  background: var(--gradient-gold);
}

/* ===== フォーム要素 ===== */
input[type="text"], input[type="email"], input[type="password"], textarea, select {
  background: rgba(26, 26, 46, 0.8);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  padding: 12px 15px;
  transition: all 0.3s ease;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, textarea:focus, select:focus {
  border-color: var(--accent-pink);
  box-shadow: 0 0 10px rgba(233, 69, 96, 0.3);
  outline: none;
}

/* ===== ページネーション ===== */
.pagination {
  text-align: center;
  margin: 30px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* ページネーションの基本スタイル */
.pagination .page-numbers {
  background: rgba(26, 26, 46, 0.8);
  color: var(--text-primary);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  line-height: 1;
  vertical-align: middle;
}

/* ページネーションのホバー効果 */
.pagination .page-numbers:hover {
  background: var(--gradient-accent);
  border-color: var(--accent-pink);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
  color: var(--text-primary);
}

/* 現在のページ */
.pagination .page-numbers.current {
  background: var(--gradient-accent);
  border-color: var(--accent-pink);
  color: var(--text-primary);
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
}

/* 次へボタン */
.pagination .next.page-numbers {
  background: var(--gradient-gold);
  border-color: var(--accent-gold);
  font-weight: bold;
}

.pagination .next.page-numbers:hover {
  background: var(--gradient-accent);
  border-color: var(--accent-pink);
}

/* 前へボタン */
.pagination .prev.page-numbers {
  background: var(--gradient-gold);
  border-color: var(--accent-gold);
  font-weight: bold;
}

.pagination .prev.page-numbers:hover {
  background: var(--gradient-accent);
  border-color: var(--accent-pink);
}

/* ドット（省略記号） */
.pagination .page-numbers.dots {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: default;
  box-shadow: none;
}

.pagination .page-numbers.dots:hover {
  background: transparent;
  border: none;
  transform: none;
  box-shadow: none;
}

/* FontAwesome アイコンの調整 */
.pagination .page-numbers .fa {
  font-size: 14px;
  line-height: 1;
}

/* スクリーンリーダー用テキストを非表示 */
.pagination .screen-reader-text {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* 古いスタイルとの互換性 */
.pagination a, .pagination span {
  background: rgba(26, 26, 46, 0.8);
  color: var(--text-primary);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  line-height: 1;
  vertical-align: middle;
}

.pagination a:hover {
  background: var(--gradient-accent);
  border-color: var(--accent-pink);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
  color: var(--text-primary);
}

.pagination .current, .pagination span.current {
  background: var(--gradient-accent);
  border-color: var(--accent-pink);
  color: var(--text-primary);
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
}

.pagination .prev, .pagination .next {
  background: var(--gradient-gold);
  border-color: var(--accent-gold);
  font-weight: bold;
}

.pagination .prev:hover, .pagination .next:hover {
  background: var(--gradient-accent);
  border-color: var(--accent-pink);
}

/* ===== フッター ===== */
#footer {
  background: var(--gradient-primary);
  border-top: 2px solid var(--accent-pink);
  color: var(--text-secondary);
  padding: 30px 0;
  margin-top: 50px;
}

#footer a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

#footer a:hover {
  color: var(--hover-pink);
}

/* ===== 見出しスタイル ===== */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: bold;
}

h1 {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  border-left: 4px solid var(--accent-pink);
  padding-left: 15px;
  margin: 25px 0 15px 0;
}

h3 {
  color: var(--accent-gold);
  border-bottom: 2px solid var(--accent-gold);
  padding-bottom: 5px;
}

/* ===== リンクスタイル ===== */
a {
  color: var(--accent-pink);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--hover-pink);
}

/* ===== テーブルスタイル ===== */
table {
  background: rgba(26, 26, 46, 0.8);
  border-collapse: collapse;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

th {
  background: var(--gradient-accent);
  color: var(--text-primary);
  padding: 12px;
  text-align: left;
}

td {
  padding: 12px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
}

tr:hover {
  background: rgba(233, 69, 96, 0.1);
}

/* ===== コードブロック ===== */
pre, code {
  background: rgba(26, 26, 46, 0.9);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--accent-gold);
}

pre {
  padding: 15px;
  overflow-x: auto;
}

code {
  padding: 2px 6px;
  font-size: 0.9em;
}

/* ===== 引用 ===== */
blockquote {
  background: rgba(26, 26, 46, 0.6);
  border-left: 4px solid var(--accent-pink);
  padding: 15px 20px;
  margin: 20px 0;
  border-radius: 0 8px 8px 0;
  color: var(--text-secondary);
  font-style: italic;
}

/* ===== レスポンシブデザイン ===== */
@media (max-width: 768px) {
  #content {
    padding: 20px;
    margin: 10px;
  }
  
  .entry-card-content {
    padding: 15px;
  }
  
  .widget {
    padding: 15px;
  }
  
  .btn, .button, input[type="submit"], button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  
  .pagination {
    gap: 4px;
  }
  
  .pagination .page-numbers,
  .pagination a, .pagination span {
    padding: 10px 12px;
    min-width: 40px;
    min-height: 40px;
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  #content {
    padding: 15px;
    margin: 5px;
  }
  
  .entry-card-title a {
    font-size: 1.1em;
  }
  
  .pagination {
    gap: 2px;
  }
  
  .pagination .page-numbers,
  .pagination a, .pagination span {
    padding: 8px 10px;
    min-width: 36px;
    min-height: 36px;
    font-size: 0.8em;
  }
  
  .pagination .prev.page-numbers, .pagination .next.page-numbers,
  .pagination .prev, .pagination .next {
    padding: 8px 12px;
  }
}

/* ===== アニメーション ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.entry-card {
  animation: fadeInUp 0.6s ease-out;
}

.widget {
  animation: fadeInUp 0.6s ease-out;
}

/* ===== スクロールバーカスタマイズ ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--main-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-accent);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gradient-gold);
}

/* ===== 追加のユーティリティクラス ===== */
.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glow-effect {
  box-shadow: 0 0 20px rgba(233, 69, 96, 0.5);
}

.blur-bg {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

