/* ==================================================
   Burlesque Header - シック & ゴージャスデザイン
   - 高級感のあるダークテーマ
   - 金色のアクセント
   - スクロール連動表示/非表示
   - 星が散らばるホバーアニメーション
   - エレガントなデザイン
   ================================================== */

/* ヘッダーメイン */
.burlesque-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    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%),
        linear-gradient(135deg, rgba(10, 10, 10, 0.98) 0%, rgba(26, 26, 26, 0.95) 50%, rgba(10, 10, 10, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(218, 165, 32, 0.3);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(218, 165, 32, 0.2),
        0 0 40px rgba(218, 165, 32, 0.1);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s ease,
                box-shadow 0.4s ease;
    padding: 0;
    height: 80px;
}

/* スクロール時のヘッダー非表示 */
.burlesque-header.hidden {
    transform: translateY(-100%);
    opacity: 0.8;
}

/* ヘッダー背景エフェクト */
.header-bg-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(218, 165, 32, 0.03) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(218, 165, 32, 0.03) 1px, transparent 1px);
    background-size: 100px 100px, 50px 50px;
    pointer-events: none;
    opacity: 0.6;
}

/* ナビゲーション */
.header-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* ロゴエリア */
.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 10;
}

.logo-text {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #daa520;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 
        0 0 20px rgba(218, 165, 32, 0.8),
        0 0 40px rgba(218, 165, 32, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.8);
    position: relative;
    cursor: pointer;
    transition: all 0.4s ease;
}

.logo-text:hover {
    color: #f4d03f;
    text-shadow: 
        0 0 30px rgba(218, 165, 32, 1),
        0 0 60px rgba(218, 165, 32, 0.6),
        0 2px 6px rgba(0, 0, 0, 0.9);
    transform: scale(1.05);
}

/* ロゴ画像スタイル */
.logo-image {
    height: 50px;
    width: auto;
    cursor: pointer;
    transition: all 0.4s ease;
    filter: 
        drop-shadow(0 0 20px rgba(218, 165, 32, 0.8))
        drop-shadow(0 0 40px rgba(218, 165, 32, 0.4))
        drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
    position: relative;
    z-index: 10;
}

.logo-image:hover {
    filter: 
        drop-shadow(0 0 30px rgba(218, 165, 32, 1))
        drop-shadow(0 0 60px rgba(218, 165, 32, 0.6))
        drop-shadow(0 2px 6px rgba(0, 0, 0, 0.9));
    transform: scale(1.05);
}

.logo-decoration {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* .logo-spade {
    font-size: 1.2rem;
    color: #c44569;
    opacity: 0.8;
    text-shadow: 0 0 10px rgba(218, 165, 32, 0.6);
    animation: logoSpadeFloat 3s ease-in-out infinite alternate;
}

.logo-spade:first-child {
    color: #c44569;
    text-shadow: 
        0 0 15px rgba(196, 69, 105, 0.8),
        0 0 30px rgba(196, 69, 105, 0.4);
}

.logo-spade:nth-child(2) {
    animation-delay: 1.5s;
} */

@keyframes logoSpadeFloat {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.8;
    }
    100% {
        transform: translateY(-3px) rotate(5deg);
        opacity: 1;
    }
}

/* メニューリスト */
.header-menu {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-item {
    position: relative;
}

.menu-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #f5f5dc;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    margin: 0 2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    overflow: hidden;
}

.menu-text {
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

/* ホバー時の星エフェクト */
.star-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
}

.menu-link:hover .star-effect {
    opacity: 1;
}

/* 星が散らばるアニメーション - より豪華なバージョン */
.star-effect::before,
.star-effect::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.star-effect::before {
    top: 15%;
    left: 15%;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 6px solid #daa520;
    transform: rotate(0deg) scale(0);
    animation: starTwinkle1 2s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(218, 165, 32, 0.8));
}

.star-effect::after {
    top: 65%;
    right: 20%;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-bottom: 5px solid #f4d03f;
    transform: rotate(180deg) scale(0);
    animation: starTwinkle2 2.5s ease-in-out infinite;
    animation-delay: 0.5s;
    filter: drop-shadow(0 0 6px rgba(244, 208, 63, 0.6));
}

/* 追加の星エフェクト */
.menu-link::before {
    content: '✦';
    position: absolute;
    top: 10%;
    right: 15%;
    color: #daa520;
    font-size: 6px;
    opacity: 0;
    transform: scale(0) rotate(0deg);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-shadow: 0 0 10px rgba(218, 165, 32, 0.8);
    animation: starPulse 3s ease-in-out infinite;
    animation-delay: 1s;
}

.menu-link::after {
    content: '✧';
    position: absolute;
    bottom: 15%;
    left: 10%;
    color: #f4d03f;
    font-size: 5px;
    opacity: 0;
    transform: scale(0) rotate(0deg);
    transition: all 0.6s ease;
    text-shadow: 0 0 8px rgba(244, 208, 63, 0.6);
    animation: starGlow 2.8s ease-in-out infinite;
    animation-delay: 0.8s;
}

/* ホバー時に星を表示 */
.menu-link:hover .star-effect::before,
.menu-link:hover .star-effect::after,
.menu-link:hover::before,
.menu-link:hover::after {
    opacity: 1;
    transform: scale(1) rotate(360deg);
}

/* 星のアニメーション */
@keyframes starTwinkle1 {
    0%, 100% {
        transform: rotate(0deg) scale(0.8);
        opacity: 0.4;
        filter: drop-shadow(0 0 4px rgba(218, 165, 32, 0.4));
    }
    25% {
        transform: rotate(90deg) scale(1.2);
        opacity: 0.8;
        filter: drop-shadow(0 0 12px rgba(218, 165, 32, 1));
    }
    50% {
        transform: rotate(180deg) scale(1);
        opacity: 1;
        filter: drop-shadow(0 0 16px rgba(218, 165, 32, 1));
    }
    75% {
        transform: rotate(270deg) scale(1.1);
        opacity: 0.7;
        filter: drop-shadow(0 0 10px rgba(218, 165, 32, 0.8));
    }
}

@keyframes starTwinkle2 {
    0%, 100% {
        transform: rotate(180deg) scale(0.6);
        opacity: 0.3;
        filter: drop-shadow(0 0 3px rgba(244, 208, 63, 0.3));
    }
    33% {
        transform: rotate(300deg) scale(1);
        opacity: 0.9;
        filter: drop-shadow(0 0 10px rgba(244, 208, 63, 0.9));
    }
    66% {
        transform: rotate(420deg) scale(1.3);
        opacity: 1;
        filter: drop-shadow(0 0 14px rgba(244, 208, 63, 1));
    }
}

@keyframes starPulse {
    0%, 100% {
        transform: scale(0.5) rotate(0deg);
        opacity: 0.2;
        text-shadow: 0 0 4px rgba(218, 165, 32, 0.4);
    }
    50% {
        transform: scale(1.5) rotate(180deg);
        opacity: 0.8;
        text-shadow: 0 0 16px rgba(218, 165, 32, 1);
    }
}

@keyframes starGlow {
    0%, 100% {
        transform: scale(0.4) rotate(0deg);
        opacity: 0.1;
        text-shadow: 0 0 3px rgba(244, 208, 63, 0.3);
    }
    40% {
        transform: scale(1.2) rotate(144deg);
        opacity: 0.7;
        text-shadow: 0 0 12px rgba(244, 208, 63, 0.8);
    }
    60% {
        transform: scale(1) rotate(216deg);
        opacity: 0.9;
        text-shadow: 0 0 14px rgba(244, 208, 63, 0.9);
    }
}

/* メニューリンクのホバー効果 */
.menu-link:hover {
    background: 
        radial-gradient(circle at center, rgba(218, 165, 32, 0.15) 0%, transparent 70%),
        linear-gradient(135deg, rgba(218, 165, 32, 0.1) 0%, rgba(139, 69, 19, 0.1) 100%);
    color: #daa520;
    text-shadow: 
        0 0 15px rgba(218, 165, 32, 0.8),
        0 1px 3px rgba(0, 0, 0, 0.9);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 6px 20px rgba(218, 165, 32, 0.3),
        inset 0 1px 0 rgba(218, 165, 32, 0.2),
        0 0 30px rgba(218, 165, 32, 0.2);
    border: 1px solid rgba(218, 165, 32, 0.4);
}

/* アクティブなメニュー項目 */
.menu-item.active .menu-link {
    background: 
        radial-gradient(circle at center, rgba(196, 69, 105, 0.15) 0%, transparent 40%),
        radial-gradient(circle at center, rgba(218, 165, 32, 0.2) 0%, transparent 70%),
        linear-gradient(135deg, rgba(218, 165, 32, 0.15) 0%, rgba(139, 69, 19, 0.15) 100%);
    color: #daa520;
    border: 1px solid rgba(196, 69, 105, 0.4);
    box-shadow: 
        0 4px 15px rgba(218, 165, 32, 0.4),
        0 0 20px rgba(196, 69, 105, 0.3),
        inset 0 1px 0 rgba(218, 165, 32, 0.3);
    text-shadow: 
        0 0 12px rgba(218, 165, 32, 0.7),
        0 0 8px rgba(196, 69, 105, 0.4),
        0 1px 3px rgba(0, 0, 0, 0.9);
}

.menu-item.active .menu-link:hover {
    background: 
        radial-gradient(circle at center, rgba(218, 165, 32, 0.25) 0%, transparent 70%),
        linear-gradient(135deg, rgba(218, 165, 32, 0.2) 0%, rgba(139, 69, 19, 0.2) 100%);
    transform: translateY(-3px) scale(1.08);
    box-shadow: 
        0 8px 25px rgba(218, 165, 32, 0.5),
        inset 0 1px 0 rgba(218, 165, 32, 0.4),
        0 0 40px rgba(218, 165, 32, 0.3);
}

/* メニューボタン（モバイル用 - 現在は非表示） */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.menu-line {
    width: 30px;
    height: 3px;
    background: #daa520;
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(218, 165, 32, 0.4);
}

/* ヘッダーにホバーしたときの全体エフェクト */
.burlesque-header:hover {
    box-shadow: 
        0 6px 30px rgba(0, 0, 0, 0.9),
        inset 0 1px 0 rgba(218, 165, 32, 0.3),
        0 0 60px rgba(218, 165, 32, 0.2);
}

/* 追加の装飾エフェクト */
.burlesque-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(218, 165, 32, 0.6) 20%, 
        rgba(218, 165, 32, 0.8) 50%, 
        rgba(218, 165, 32, 0.6) 80%, 
        transparent 100%);
    opacity: 0.7;
}

.burlesque-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(218, 165, 32, 0.4) 25%, 
        rgba(218, 165, 32, 0.8) 50%, 
        rgba(218, 165, 32, 0.4) 75%, 
        transparent 100%);
}

/* レスポンシブ対応の準備（現在はモバイル非対応） */
@media (max-width: 768px) {
    .burlesque-header {
        height: 70px;
    }
    
    .header-nav {
        height: 70px;
        padding: 0 15px;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .logo-image {
        height: 40px;
    }
}
