/* ==================================================
    パフォーマー一覧 - シック & ゴージャスデザイン
   - 高級感のあるダークテーマ
   - 金色のアクセント
   - エレガントなアニメーション
   - トランプカード360度回転アニメーション統合
   - レスポンシブ対応
   ================================================== */

/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cinzel', 'Playfair Display', 'Noto Serif JP', serif;
    background: 
        radial-gradient(circle at 20% 50%, rgba(139, 69, 19, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(184, 134, 11, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(139, 69, 19, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 10% 90%, rgba(196, 69, 105, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(196, 69, 105, 0.06) 0%, transparent 35%),
        linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 25%, #2d2d2d 50%, #1a1a1a 75%, #0a0a0a 100%);
    background-attachment: fixed;
    min-height: 100vh;
    color: #f5f5dc;
    position: relative;
    overflow-x: hidden;
}

/* 背景の装飾パターン */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(196, 69, 105, 0.03) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(196, 69, 105, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 15% 85%, rgba(196, 69, 105, 0.02) 1.5px, transparent 1.5px),
        radial-gradient(circle at 85% 15%, rgba(196, 69, 105, 0.025) 1px, transparent 1px);
    background-size: 100px 100px, 50px 50px, 80px 80px, 60px 60px;
    pointer-events: none;
    z-index: -1;
}

/* Burlesque Header統合のためのレイアウト調整 */
body {
    padding-top: 80px; /* ヘッダーの高さ分のパディングを追加 */
}

/* モバイル対応でヘッダーの高さを調整 */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 60px;
    }
}

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

/* ページヘッダー（検索フォーム部分） */
.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    color: #c44569;
    font-size: 3rem;
    margin-bottom: 12px;
    text-shadow: 
        0 0 30px rgba(196, 69, 105, 0.8),
        0 0 60px rgba(196, 69, 105, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 400;
    letter-spacing: 4px;
    font-family: 'Cinzel', serif;
    position: relative;
    text-transform: uppercase;
}

.page-header h1::before {
    content: '♠';
    position: absolute;
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: #c44569;
    opacity: 0.7;
}

.page-header h1::after {
    content: '♠';
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%) scaleX(-1);
    font-size: 2rem;
    color: #c44569;
    opacity: 0.7;
}

.subtitle {
    color: #c44569;
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-weight: 400;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    opacity: 0.9;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

/* アニメーションコントロール */
.animation-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.animation-btn {
    background: linear-gradient(45deg, #dc2626, #b91c1c);
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.3);
}

.animation-btn:hover {
    background: linear-gradient(45deg, #b91c1c, #991b1b);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
    transform: translateY(-2px);
}

.animation-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.5);
}

/* 使用説明 */
.usage-info {
    background: rgba(0,0,0,0.4);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(220, 38, 38, 0.3);
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
    text-align: center;
}

.usage-info h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-weight: 500;
}

.usage-info p {
    color: #cccccc;
    font-size: 0.9rem;
    margin-bottom: 6px;
    line-height: 1.5;
}

.usage-info p:last-child {
    margin-bottom: 0;
}

/* 検索フォーム */
.search-form {
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(26,26,26,0.9) 50%, rgba(0,0,0,0.8) 100%);
    padding: 32px;
    border-radius: 20px;
    border: 2px solid rgba(196, 69, 105, 0.4);
    backdrop-filter: blur(20px);
    margin-bottom: 30px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(218, 165, 32, 0.2),
        0 0 0 1px rgba(139, 69, 19, 0.1),
        0 0 0 3px rgba(196, 69, 105, 0.1);
}

.search-form::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(196, 69, 105, 0.6) 0%, 
        rgba(196, 69, 105, 0.3) 20%,
        rgba(139, 69, 19, 0.4) 25%, 
        rgba(196, 69, 105, 0.6) 50%, 
        rgba(196, 69, 105, 0.3) 70%,
        rgba(139, 69, 19, 0.4) 75%, 
        rgba(196, 69, 105, 0.6) 100%);
    border-radius: 22px;
    z-index: -1;
    opacity: 0.3;
}

.search-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.search-row:last-child {
    margin-bottom: 0;
}

.search-field {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-label {
    color: #c44569;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-family: 'Cinzel', serif;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.search-input,
.search-select {
    padding: 14px 20px;
    border: 2px solid rgba(196, 69, 105, 0.3);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(26,26,26,0.8) 100%);
    color: #f5f5dc;
    font-size: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    font-family: 'Cinzel', serif;
    letter-spacing: 0.5px;
    box-shadow: 
        inset 0 2px 8px rgba(0, 0, 0, 0.4),
        0 1px 2px rgba(218, 165, 32, 0.1);
}

.search-input:focus,
.search-select:focus {
    border-color: rgba(196, 69, 105, 0.8);
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(26,26,26,0.9) 100%);
    box-shadow: 
        0 0 0 3px rgba(196, 69, 105, 0.3),
        inset 0 2px 8px rgba(0, 0, 0, 0.6),
        0 4px 20px rgba(196, 69, 105, 0.2);
    transform: translateY(-1px);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-select option {
    background: #1a1a1a;
    color: #ffffff;
}

/* 検索アクション */
.search-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(220, 38, 38, 0.2);
}

.search-btn,
.reset-btn {
    padding: 12px 32px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.search-btn {
    background: linear-gradient(135deg, #c44569 0%, #e91e63 30%, #c44569 70%, #ad3458 100%);
    color: #ffffff;
    font-weight: 700;
    text-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.8),
        0 0 10px rgba(196, 69, 105, 0.6);
    box-shadow: 
        0 8px 25px rgba(196, 69, 105, 0.5),
        0 4px 15px rgba(196, 69, 105, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3),
        0 0 30px rgba(196, 69, 105, 0.4);
    border: 2px solid rgba(196, 69, 105, 0.6);
    position: relative;
    overflow: hidden;
}

/* ゴージャスなキラキラエフェクト */
.search-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    transform: rotate(45deg) translate(-100%, -100%);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.search-btn:hover::before {
    transform: rotate(45deg) translate(100%, 100%);
}

@keyframes sparkle {
    0%, 100% { 
        opacity: 0.8; 
        transform: translateY(-50%) scale(1);
    }
    50% { 
        opacity: 1; 
        transform: translateY(-50%) scale(1.2);
    }
}

.search-btn:hover {
    background: linear-gradient(135deg, #e91e63 0%, #ff4081 30%, #e91e63 70%, #c44569 100%);
    box-shadow: 
        0 12px 35px rgba(196, 69, 105, 0.7),
        0 6px 20px rgba(233, 30, 99, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.4),
        0 0 40px rgba(196, 69, 105, 0.6);
    transform: translateY(-4px) scale(1.05);
    border-color: rgba(233, 30, 99, 0.8);
    text-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.9),
        0 0 15px rgba(255, 255, 255, 0.3);
}

.search-btn:active {
    background: linear-gradient(135deg, #ad3458 0%, #c44569 50%, #ad3458 100%);
    box-shadow: 
        0 4px 15px rgba(196, 69, 105, 0.6),
        inset 0 2px 4px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(196, 69, 105, 0.5);
    transform: translateY(-1px) scale(1.02);
    border-color: rgba(173, 52, 88, 0.8);
}

.reset-btn {
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(26,26,26,0.8) 100%);
    color: #c44569;
    border: 2px solid rgba(196, 69, 105, 0.4);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.reset-btn:hover {
    background: linear-gradient(135deg, rgba(196, 69, 105, 0.2) 0%, rgba(139, 69, 19, 0.2) 100%);
    border-color: rgba(196, 69, 105, 0.7);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 15px rgba(196, 69, 105, 0.3);
}

/* フィルターコントロール */
.filter-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(26,26,26,0.8) 50%, rgba(0,0,0,0.7) 100%);
    padding: 20px;
    border-radius: 15px;
    border: 2px solid rgba(196, 69, 105, 0.3);
    backdrop-filter: blur(15px);
    margin-bottom: 30px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(196, 69, 105, 0.1);
}

.items-per-page {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #c44569;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Cinzel', serif;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

#itemsPerPage {
    padding: 12px 16px;
    border: 2px solid rgba(196, 69, 105, 0.4);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(26,26,26,0.8) 100%);
    color: #f5f5dc;
    font-size: 15px;
    font-family: 'Cinzel', serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        inset 0 2px 6px rgba(0, 0, 0, 0.4),
        0 2px 4px rgba(218, 165, 32, 0.1);
}

#itemsPerPage:hover {
    background: linear-gradient(135deg, rgba(196, 69, 105, 0.2) 0%, rgba(139, 69, 19, 0.2) 100%);
    border-color: rgba(196, 69, 105, 0.7);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        inset 0 2px 6px rgba(0, 0, 0, 0.6),
        0 4px 15px rgba(218, 165, 32, 0.3);
}

#itemsPerPage option {
    background: #1a1a1a;
    color: #ffffff;
}

/* メインコンテンツ */
.main-content {
    min-height: 600px;
    position: relative;
}

/* キャストグリッド */
.cast-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

/* レスポンシブグリッド（1〜4列） */
@media (min-width: 576px) {
    .cast-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (min-width: 992px) {
    .cast-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (min-width: 1200px) {
    .cast-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
}

/* ==================================================
   トランプカード基本スタイル
   ================================================== */

/* 基本のトランプカードコンテナ */
.trump-card {
    position: relative;
    width: 100%;
    height: 420px;
    perspective: 1200px;
    transform-style: preserve-3d;
    cursor: pointer;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 15px 60px rgba(0, 0, 0, 0.6),
        0 0 0 2px rgba(196, 69, 105, 0.3),
        0 0 0 4px rgba(196, 69, 105, 0.2),
        inset 0 1px 0 rgba(196, 69, 105, 0.2);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(0, 0, 0, 0.95) 100%);
}

/* ホバー時の3D効果 */
.trump-card:not(.flip-360):hover {
    transform: translateY(-12px) scale(1.03) rotateX(2deg);
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.7),
        0 0 0 3px rgba(196, 69, 105, 0.6),
        0 0 0 5px rgba(196, 69, 105, 0.4),
        0 0 40px rgba(196, 69, 105, 0.4),
        0 0 60px rgba(196, 69, 105, 0.3),
        inset 0 1px 0 rgba(196, 69, 105, 0.3);
}

.trump-card:not(.flip-360):hover .trump-inner {
    transform: rotateY(3deg) rotateX(3deg) translateZ(10px);
}

/* カード内部コンテナ */
.trump-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

/* 360度回転アニメーション適用時 */
.trump-card.flip-360 {
    animation: trumpCard360Rotation 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    pointer-events: none;
}

.trump-card.flip-360 .trump-inner {
    animation: trumpInner360Rotation 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* カードの表面 */
.trump-front {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transform: rotateY(0deg);
    z-index: 2;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
}

/* カードの裏面 */
.trump-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transform: rotateY(180deg);
    z-index: 1;
    border-radius: 20px;
    overflow: hidden;
    background: 
        radial-gradient(circle at 30% 30%, rgba(218, 165, 32, 0.1) 0%, transparent 70%),
        radial-gradient(circle at 70% 70%, rgba(139, 69, 19, 0.15) 0%, transparent 70%),
        linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 25%, #2d2d2d 50%, #1a1a1a 75%, #0a0a0a 100%);
    border: 3px solid rgba(196, 69, 105, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 50px rgba(196, 69, 105, 0.1);
}

/* カード裏面のパターン装飾 */
.trump-back::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(196, 69, 105, 0.4) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(196, 69, 105, 0.4) 2px, transparent 2px),
        radial-gradient(circle at 25% 75%, rgba(139, 69, 19, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 75% 25%, rgba(139, 69, 19, 0.3) 1px, transparent 1px),
        linear-gradient(45deg, transparent 45%, rgba(196, 69, 105, 0.05) 50%, transparent 55%);
    background-size: 60px 60px, 60px 60px, 30px 30px, 30px 30px, 120px 120px;
    background-position: 0 0, 0 0, 30px 30px, 30px 30px, 0 0;
    opacity: 0.8;
}

/* カード裏面の中央ロゴエリア */
.trump-back-logo {
    width: 140px;
    height: 140px;
    border: 3px solid rgba(196, 69, 105, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        radial-gradient(circle at center, rgba(196, 69, 105, 0.1) 0%, rgba(0, 0, 0, 0.6) 70%);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
    box-shadow: 
        0 0 30px rgba(196, 69, 105, 0.5),
        inset 0 2px 4px rgba(196, 69, 105, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.5);
}

.trump-back-logo::after {
    content: '♠';
    font-size: 56px;
    color: #c44569;
    font-weight: bold;
    text-shadow: 
        0 0 20px rgba(196, 69, 105, 0.8),
        0 2px 8px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(196, 69, 105, 0.4);
    filter: drop-shadow(0 0 10px rgba(196, 69, 105, 0.6));
}

/* メインの360度回転アニメーション */
@keyframes trumpCard360Rotation {
    0% {
        transform: rotateY(0deg) scale(1);
        opacity: 1;
    }
    25% {
        transform: rotateY(90deg) scale(0.95);
        opacity: 0.9;
    }
    50% {
        transform: rotateY(180deg) scale(0.9);
        opacity: 0.8;
    }
    75% {
        transform: rotateY(270deg) scale(0.95);
        opacity: 0.9;
    }
    100% {
        transform: rotateY(360deg) scale(1);
        opacity: 1;
    }
}

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

/* コンテンツの表示制御アニメーション */
.trump-card.flip-360 .trump-front {
    animation: trumpFrontVisibility 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.trump-card.flip-360 .trump-back {
    animation: trumpBackVisibility 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes trumpFrontVisibility {
    0%, 24% {
        opacity: 1;
        visibility: visible;
    }
    25%, 74% {
        opacity: 0;
        visibility: hidden;
    }
    75%, 100% {
        opacity: 1;
        visibility: visible;
    }
}

@keyframes trumpBackVisibility {
    0%, 24% {
        opacity: 0;
        visibility: hidden;
    }
    25%, 74% {
        opacity: 1;
        visibility: visible;
    }
    75%, 100% {
        opacity: 0;
        visibility: hidden;
    }
}

/* キャスト情報用の表面スタイル */
.trump-cast-front {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* キャスト情報オーバーレイ */
.trump-cast-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: 
        linear-gradient(to top, 
            rgba(196, 69, 105, 0.85) 0%, 
            rgba(196, 69, 105, 0.7) 20%,
            rgba(139, 69, 19, 0.6) 50%,
            rgba(196, 69, 105, 0.4) 80%,
            rgba(196, 69, 105, 0.15) 100%
        ),
        linear-gradient(135deg, 
            rgba(0, 0, 0, 0.7) 0%, 
            rgba(0, 0, 0, 0.5) 40%, 
            rgba(0, 0, 0, 0.3) 70%,
            rgba(0, 0, 0, 0.1) 100%
        ),
        linear-gradient(45deg, 
            rgba(196, 69, 105, 0.1) 0%, 
            rgba(196, 69, 105, 0.08) 50%,
            transparent 100%
        );
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #f5f5dc;
    border-top: 1px solid rgba(196, 69, 105, 0.4);
}

.trump-cast-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 1px;
    font-family: 'Cinzel', serif;
    color: #c44569;
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 1),
        0 0 20px rgba(196, 69, 105, 0.8),
        0 4px 12px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(218, 165, 32, 0.4);
    text-transform: capitalize;
}

.trump-cast-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 12px;
    font-size: 0.85rem;
    margin-bottom: 8px;
    opacity: 0.9;
}

.trump-cast-info-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.trump-cast-info-label {
    color: #c44569;
    font-weight: 600;
    min-width: 36px;
    font-size: 0.85rem;
    text-shadow: 
        0 2px 6px rgba(0, 0, 0, 1),
        0 0 10px rgba(196, 69, 105, 0.6),
        0 1px 3px rgba(0, 0, 0, 0.9);
}

.trump-cast-info-value {
    color: #f5f5dc;
    font-weight: 600;
    text-shadow: 
        0 2px 6px rgba(0, 0, 0, 1),
        0 1px 3px rgba(0, 0, 0, 0.9),
        0 0 8px rgba(0, 0, 0, 0.7);
}

.trump-cast-tags {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-top: auto;
}

.trump-cast-tag {
    background: linear-gradient(135deg, #ff6b6b 0%, #dc2626 50%, #b91c1c 100%);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    box-shadow: 
        0 3px 8px rgba(220, 38, 38, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    letter-spacing: 0.3px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.trump-cast-tag:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 6px 15px rgba(220, 38, 38, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.trump-cast-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.trump-cast-tag:hover::before {
    left: 100%;
}

/* 新人バッジ */
.trump-newcomer-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: 
        linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ff6b35 100%);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    z-index: 10;
    border: 2px solid rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: 'Cinzel', serif;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    box-shadow: 
        0 4px 12px rgba(255, 107, 53, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 0 20px rgba(255, 107, 53, 0.4);
    animation: newBadgePulse 2s ease-in-out infinite alternate;
}

@keyframes newBadgePulse {
    0% {
        box-shadow: 
            0 4px 12px rgba(255, 107, 53, 0.6),
            inset 0 1px 0 rgba(255, 255, 255, 0.4),
            0 0 20px rgba(255, 107, 53, 0.4);
    }
    100% {
        box-shadow: 
            0 6px 20px rgba(255, 107, 53, 0.8),
            inset 0 1px 0 rgba(255, 255, 255, 0.6),
            0 0 30px rgba(255, 107, 53, 0.6);
    }
}

/* アニメーション実行中のスタイル */
.trump-card.flipping {
    pointer-events: none;
}

.trump-card.flipping:hover {
    transform: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.trump-card.flipping:hover .trump-inner {
    transform: none;
}

/* カードがページに表示される際のアニメーション */
.trump-card.fade-in {
    animation: cardAppear 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(30px) scale(0.9);
}

@keyframes cardAppear {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ローディング */
.loading {
    display: none;
    text-align: center;
    padding: 50px;
    color: #c44569;
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.loading.show {
    display: block;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(196, 69, 105, 0.3);
    border-top: 4px solid #c44569;
    border-right: 4px solid rgba(139, 69, 19, 0.6);
    border-radius: 50%;
    animation: spin 1.2s ease-in-out infinite;
    margin: 0 auto 20px;
    box-shadow: 0 0 20px rgba(196, 69, 105, 0.4);
}

@keyframes spin {
    0% { 
        transform: rotate(0deg);
        box-shadow: 0 0 20px rgba(196, 69, 105, 0.4);
    }
    50% {
        box-shadow: 0 0 30px rgba(196, 69, 105, 0.6);
    }
    100% { 
        transform: rotate(360deg);
        box-shadow: 0 0 20px rgba(196, 69, 105, 0.4);
    }
}

/* ページネーション */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 50px;
    flex-wrap: wrap;
    padding: 20px;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(26,26,26,0.7) 50%, rgba(0,0,0,0.6) 100%);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(196, 69, 105, 0.3);
}

.pagination-btn {
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(26,26,26,0.8) 100%);
    border: 2px solid rgba(196, 69, 105, 0.4);
    padding: 14px 24px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Cinzel', serif;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #c44569;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(196, 69, 105, 0.1);
}

.pagination-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(196, 69, 105, 0.2) 0%, rgba(139, 69, 19, 0.2) 100%);
    border-color: rgba(196, 69, 105, 0.7);
    color: #e91e63;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 8px 20px rgba(196, 69, 105, 0.4),
        inset 0 1px 0 rgba(196, 69, 105, 0.2);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.pagination-number {
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(26,26,26,0.7) 100%);
    border: 2px solid rgba(196, 69, 105, 0.4);
    width: 45px;
    height: 45px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Cinzel', serif;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #c44569;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    box-shadow: 
        0 3px 8px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(196, 69, 105, 0.1);
}

.pagination-number:hover {
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.3) 0%, rgba(139, 69, 19, 0.3) 100%);
    border-color: rgba(196, 69, 105, 0.7);
    color: #e91e63;
    transform: scale(1.1) translateY(-2px);
    box-shadow: 
        0 6px 15px rgba(196, 69, 105, 0.4),
        inset 0 1px 0 rgba(196, 69, 105, 0.2);
}

.pagination-number.active {
    background: linear-gradient(135deg, #c44569 0%, #ad3458 50%, #c44569 100%);
    color: #000000;
    font-weight: 700;
    transform: scale(1.1);
    border-color: rgba(196, 69, 105, 0.9);
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 6px 20px rgba(196, 69, 105, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

/* モーダル */
.cast-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cast-modal.show {
    display: block;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(196, 69, 105, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(139, 69, 19, 0.1) 0%, transparent 50%),
        rgba(0,0,0,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: 
        radial-gradient(circle at 20% 20%, rgba(196, 69, 105, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(139, 69, 19, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 50% 10%, rgba(196, 69, 105, 0.05) 0%, transparent 40%),
        linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 25%, #2d2d2d 50%, #1a1a1a 75%, #0a0a0a 100%);
    border-radius: 25px;
    max-width: 95vw;
    max-height: 95vh;
    width: 950px;
    overflow: hidden;
    box-shadow: 
        0 30px 80px rgba(0,0,0,0.9),
        0 0 0 3px rgba(196, 69, 105, 0.4),
        0 0 0 5px rgba(196, 69, 105, 0.2),
        inset 0 1px 0 rgba(196, 69, 105, 0.2);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(196, 69, 105, 0.3);
}

.cast-modal.show .modal-content {
    transform: translate(-50%, -50%) scale(1);
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(26,26,26,0.9) 100%);
    border: 2px solid rgba(196, 69, 105, 0.4);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
    cursor: pointer;
    color: #c44569;
    z-index: 30;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    font-weight: bold;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(196, 69, 105, 0.2);
}

.modal-close:hover {
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.3) 0%, rgba(139, 69, 19, 0.3) 100%);
    border-color: rgba(196, 69, 105, 0.7);
    color: #e91e63;
    transform: scale(1.15) rotate(90deg);
    box-shadow: 
        0 8px 25px rgba(196, 69, 105, 0.4),
        inset 0 1px 0 rgba(196, 69, 105, 0.3);
}

.modal-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 95vh;
    overflow-y: auto;
}

/* モーダルヘッダー */
.modal-header {
    position: relative;
    padding: 0;
    margin: 0;
}

/* 画像スライダー */
.image-slider-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: #000;
}

.image-slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease-in-out;
}

.slider-image {
    min-width: 100%;
    height: 100%;
    object-fit: contain;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffffff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 20;
}

.slider-nav:hover {
    background: rgba(220, 38, 38, 0.8);
    border-color: rgba(220, 38, 38, 0.6);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

/* サムネイルコンテナ */
.thumbnails-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 16px 20px;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(220, 38, 38, 0.5) rgba(0,0,0,0.3);
}

.thumbnails-container::-webkit-scrollbar {
    height: 6px;
}

.thumbnails-container::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.3);
    border-radius: 3px;
}

.thumbnails-container::-webkit-scrollbar-thumb {
    background: rgba(220, 38, 38, 0.5);
    border-radius: 3px;
}

.thumbnails-container::-webkit-scrollbar-thumb:hover {
    background: rgba(220, 38, 38, 0.7);
}

.thumbnail-item {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.thumbnail-item:hover {
    transform: scale(1.05);
    border-color: rgba(220, 38, 38, 0.5);
}

.thumbnail-item.active {
    border-color: rgba(220, 38, 38, 0.8);
    box-shadow: 0 0 12px rgba(220, 38, 38, 0.4);
    transform: scale(1.1);
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.3s ease;
}

.thumbnail-item:hover .thumbnail-image {
    transform: scale(1.1);
}

.thumbnail-item.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(220, 38, 38, 0.2);
    pointer-events: none;
}

/* モーダル情報エリア */
.modal-info {
    padding: 32px;
    flex-grow: 1;
}

.modal-cast-name {
    font-size: 2.5rem;
    font-weight: 600;
    color: #c44569;
    margin-bottom: 12px;
    letter-spacing: 2px;
    text-align: center;
    font-family: 'Cinzel', serif;
    text-shadow: 
        0 3px 8px rgba(0, 0, 0, 0.9),
        0 0 30px rgba(196, 69, 105, 0.6);
    text-transform: capitalize;
    position: relative;
}

.modal-cast-name::before {
    content: '♦';
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #c44569;
    opacity: 0.8;
    text-shadow: 
        0 0 15px rgba(196, 69, 105, 0.8),
        0 0 30px rgba(196, 69, 105, 0.4);
}

.modal-cast-name::after {
    content: '♦';
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #c44569;
    opacity: 0.8;
    text-shadow: 
        0 0 15px rgba(196, 69, 105, 0.8),
        0 0 30px rgba(196, 69, 105, 0.4);
}

.modal-cast-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px 30px;
    margin: 30px 0;
    padding: 30px;
    background: 
        linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(26,26,26,0.7) 50%, rgba(0,0,0,0.6) 100%);
    border-radius: 20px;
    border: 2px solid rgba(196, 69, 105, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 
        inset 0 2px 10px rgba(0, 0, 0, 0.5),
        0 4px 20px rgba(196, 69, 105, 0.1);
}

.modal-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(218, 165, 32, 0.2);
    position: relative;
}

.modal-detail-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30%;
    height: 1px;
    background: linear-gradient(90deg, rgba(196, 69, 105, 0.6) 0%, transparent 100%);
}

.modal-detail-label {
    font-weight: 600;
    color: #c44569;
    font-size: 1rem;
    font-family: 'Cinzel', serif;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.modal-detail-value {
    color: #f5f5dc;
    font-weight: 700;
    font-size: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.3px;
}

.modal-cast-comment {
    background: 
        linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(26,26,26,0.8) 50%, rgba(0,0,0,0.7) 100%);
    padding: 25px;
    border-radius: 15px;
    font-size: 1.1rem;
    color: #f5f5dc;
    line-height: 1.8;
    margin: 30px 0;
    border-left: 5px solid rgba(196, 69, 105, 0.8);
    border: 2px solid rgba(218, 165, 32, 0.2);
    backdrop-filter: blur(5px);
    font-style: italic;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    position: relative;
    box-shadow: 
        inset 0 2px 8px rgba(0, 0, 0, 0.4),
        0 4px 15px rgba(196, 69, 105, 0.1);
}

.modal-cast-comment::before {
    content: '“';
    position: absolute;
    top: -5px;
    left: 10px;
    font-size: 3rem;
    color: rgba(196, 69, 105, 0.4);
    font-family: serif;
}

.modal-cast-comment::after {
    content: '”';
    position: absolute;
    bottom: -15px;
    right: 15px;
    font-size: 3rem;
    color: rgba(196, 69, 105, 0.4);
    font-family: serif;
}

.modal-cast-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 24px;
}

.modal-cast-tag {
    background: linear-gradient(135deg, #ff6b6b 0%, #dc2626 50%, #b91c1c 100%);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 
        0 4px 16px rgba(220, 38, 38, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.modal-cast-tag:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 8px 25px rgba(220, 38, 38, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.modal-cast-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.modal-cast-tag:hover::before {
    left: 100%;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .animation-controls {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .animation-btn {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .usage-info {
        padding: 16px;
        margin-bottom: 20px;
    }
    
    .usage-info h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .usage-info p {
        font-size: 0.85rem;
    }
    
    .search-form {
        padding: 16px;
        margin-bottom: 16px;
    }
    
    .search-row {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 16px;
    }
    
    .search-field {
        min-width: 100%;
    }
    
    .search-actions {
        flex-direction: column;
        gap: 12px;
        margin-top: 16px;
        padding-top: 16px;
    }
    
    .search-btn,
    .reset-btn {
        padding: 10px 24px;
        font-size: 13px;
    }
    
    .filter-controls {
        flex-direction: column;
        gap: 15px;
    }
    
    .cast-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .trump-card {
        height: 350px;
    }
    
    .trump-cast-overlay {
        padding: 12px;
    }
    
    .trump-cast-name {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .trump-cast-info {
        font-size: 0.75rem;
        gap: 3px 8px;
        margin-bottom: 6px;
    }
    
    .trump-cast-tag {
        font-size: 0.65rem;
        padding: 2px 6px;
    }
    
    .trump-newcomer-badge {
        top: 8px;
        right: 8px;
        padding: 3px 6px;
        font-size: 0.65rem;
    }
    
    .trump-back-logo {
        width: 80px;
        height: 80px;
    }
    
    .trump-back-logo::after {
        font-size: 32px;
    }
    
    .pagination {
        gap: 5px;
    }
    
    .pagination-btn {
        padding: 10px 15px;
        font-size: 12px;
    }
    
    .pagination-number {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
    
    .modal-content {
        max-width: 95vw;
        max-height: 95vh;
        width: 95vw;
    }
    
    .image-slider-container {
        height: 250px;
    }
    
    .modal-info {
        padding: 20px;
    }
    
    .modal-cast-name {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }
    
    .modal-cast-details {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px;
        margin: 16px 0;
    }
    
    .modal-cast-comment {
        padding: 16px;
        margin: 16px 0;
        font-size: 0.9rem;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .slider-nav.prev {
        left: 10px;
    }
    
    .slider-nav.next {
        right: 10px;
    }
    
    .thumbnails-container {
        padding: 12px 15px;
        gap: 6px;
    }
    
    .thumbnail-item {
        width: 60px;
        height: 45px;
        border-radius: 4px;
    }
    
    .modal-close {
        top: 15px;
        right: 15px;
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

/* 小さい画面向けの調整 */
@media (max-width: 480px) {
    .trump-card {
        height: 300px;
    }
    
    .trump-cast-overlay {
        height: 40%;
        padding: 10px;
    }
    
    .trump-cast-info {
        grid-template-columns: 1fr;
        gap: 2px;
    }
    
    .trump-back-logo {
        width: 60px;
        height: 60px;
    }
    
    .trump-back-logo::after {
        font-size: 24px;
    }
}

/* アニメーション遅延用クラス */
.trump-card.delay-1 { animation-delay: 0.1s; }
.trump-card.delay-2 { animation-delay: 0.2s; }
.trump-card.delay-3 { animation-delay: 0.3s; }
.trump-card.delay-4 { animation-delay: 0.4s; }
.trump-card.delay-5 { animation-delay: 0.5s; }
