/* ============================================
   真城由理のボイトレ教室 - スタイルシート
   イマドキな美麗デザイン
============================================ */

/* CSS Variables */
:root {
    /* Color Palette */
    --primary: #8B5CF6;
    --primary-light: #A78BFA;
    --primary-dark: #7C3AED;
    
    --joy: #F59E0B;
    --joy-light: #FCD34D;
    --joy-gradient: linear-gradient(135deg, #F59E0B, #FBBF24);
    
    --anger: #EF4444;
    --anger-light: #F87171;
    --anger-gradient: linear-gradient(135deg, #EF4444, #F87171);
    
    --sorrow: #3B82F6;
    --sorrow-light: #60A5FA;
    --sorrow-gradient: linear-gradient(135deg, #3B82F6, #60A5FA);
    
    --pleasure: #EC4899;
    --pleasure-light: #F472B6;
    --pleasure-gradient: linear-gradient(135deg, #EC4899, #F472B6);
    
    /* Neutrals */
    --bg-primary: #0F0F1A;
    --bg-secondary: #1A1A2E;
    --bg-card: #252542;
    --text-primary: #FFFFFF;
    --text-secondary: #A0A0B8;
    --text-muted: #6B6B80;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(139, 92, 246, 0.3);
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
}

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

/* ============================================
   Hero Section
============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(236, 72, 153, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 70%),
        var(--bg-primary);
    animation: bgPulse 10s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 20px;
}

.logo-badge {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary), var(--pleasure));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: var(--shadow-glow);
    animation: float 3s ease-in-out infinite;
}

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

.logo-badge i {
    font-size: 40px;
    color: white;
}

.subtitle {
    font-size: 14px;
    letter-spacing: 4px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 500;
}

.main-title {
    margin-bottom: 20px;
}

.title-line {
    display: block;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: 2px;
}

.title-line.accent {
    font-size: clamp(2.5rem, 7vw, 5rem);
    background: linear-gradient(135deg, var(--primary-light), var(--pleasure-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--pleasure));
    margin: 30px auto;
    border-radius: 3px;
}

.sub-title {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
    line-height: 2;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 12px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ============================================
   Intro Section
============================================ */
.intro-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.intro-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    backdrop-filter: blur(10px);
    margin-bottom: 40px;
}

.intro-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.intro-icon i {
    font-size: 24px;
    color: white;
}

.intro-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.intro-card p {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.intro-card strong {
    color: var(--primary-light);
}

/* Emotion Navigation */
.emotion-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.emotion-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    color: white;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.emotion-btn.joy {
    background: var(--joy-gradient);
}

.emotion-btn.anger {
    background: var(--anger-gradient);
}

.emotion-btn.sorrow {
    background: var(--sorrow-gradient);
}

.emotion-btn.pleasure {
    background: var(--pleasure-gradient);
}

.emotion-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   Gender Navigation
============================================ */
.gender-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

.gender-nav .container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.gender-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.gender-tab i {
    font-size: 1.2rem;
}

.gender-tab:hover {
    border-color: var(--primary);
    color: var(--text-primary);
}

.gender-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-color: transparent;
    color: white;
    box-shadow: var(--shadow-glow);
}

/* ============================================
   Main Content
============================================ */
.main-content {
    padding: 60px 0;
}

.gender-content {
    display: none;
}

.gender-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

/* ============================================
   Emotion Sections
============================================ */
.emotion-section {
    padding: 80px 0;
    scroll-margin-top: 100px;
}

.emotion-section:nth-child(even) {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.emotion-badge {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: white;
    box-shadow: var(--shadow-md);
}

.emotion-badge.joy { background: var(--joy-gradient); }
.emotion-badge.anger { background: var(--anger-gradient); }
.emotion-badge.sorrow { background: var(--sorrow-gradient); }
.emotion-badge.pleasure { background: var(--pleasure-gradient); }

.section-header h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.section-header h2 span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-left: 15px;
    letter-spacing: 3px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ============================================
   Script Cards
============================================ */
.script-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    position: relative;
    transition: all var(--transition-normal);
    border: 1px solid var(--glass-border);
}

.script-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-label {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
}

.script-card.dramatic .card-label { background: rgba(139, 92, 246, 0.2); color: var(--primary-light); }
.script-card.bright .card-label { background: rgba(245, 158, 11, 0.2); color: var(--joy-light); }
.script-card.gentle .card-label { background: rgba(236, 72, 153, 0.2); color: var(--pleasure-light); }
.script-card.casual .card-label { background: rgba(59, 130, 246, 0.2); color: var(--sorrow-light); }
.script-card.quiet .card-label { background: rgba(255, 255, 255, 0.1); color: var(--text-secondary); }
.script-card.intense .card-label { background: rgba(239, 68, 68, 0.2); color: var(--anger-light); }
.script-card.cold .card-label { background: rgba(59, 130, 246, 0.2); color: var(--sorrow-light); }
.script-card.frustration .card-label { background: rgba(245, 158, 11, 0.2); color: var(--joy-light); }
.script-card.protective .card-label { background: rgba(139, 92, 246, 0.2); color: var(--primary-light); }
.script-card.grief .card-label { background: rgba(59, 130, 246, 0.2); color: var(--sorrow-light); }
.script-card.regret .card-label { background: rgba(139, 92, 246, 0.2); color: var(--primary-light); }
.script-card.loneliness .card-label { background: rgba(100, 100, 120, 0.2); color: var(--text-secondary); }
.script-card.acceptance .card-label { background: rgba(236, 72, 153, 0.2); color: var(--pleasure-light); }
.script-card.bittersweet .card-label { background: rgba(236, 72, 153, 0.2); color: var(--pleasure-light); }
.script-card.playful .card-label { background: rgba(245, 158, 11, 0.2); color: var(--joy-light); }
.script-card.romantic .card-label { background: rgba(236, 72, 153, 0.2); color: var(--pleasure-light); }
.script-card.excited .card-label { background: rgba(139, 92, 246, 0.2); color: var(--primary-light); }
.script-card.nostalgic .card-label { background: rgba(59, 130, 246, 0.2); color: var(--sorrow-light); }
.script-card.satisfied .card-label { background: rgba(59, 130, 246, 0.2); color: var(--sorrow-light); }
.script-card.cozy .card-label { background: rgba(236, 72, 153, 0.2); color: var(--pleasure-light); }

.script-content {
    padding: 30px;
}

.script-header {
    margin-bottom: 20px;
}

.scene-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--glass-bg);
    border-radius: 30px;
    font-size: 14px;
    color: var(--text-secondary);
}

.scene-tag i {
    font-size: 12px;
}

.script-text {
    font-size: 1.25rem;
    line-height: 2.2;
    padding: 30px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    border-left: 4px solid var(--primary);
    margin: 20px 0;
    font-style: normal;
}

/* Joy Section Script Text */
.joy-section .script-text {
    border-left-color: var(--joy);
}

/* Anger Section Script Text */
.anger-section .script-text {
    border-left-color: var(--anger);
}

/* Sorrow Section Script Text */
.sorrow-section .script-text {
    border-left-color: var(--sorrow);
}

/* Pleasure Section Script Text */
.pleasure-section .script-text {
    border-left-color: var(--pleasure);
}

/* ============================================
   Accordion
============================================ */
.accordion {
    margin-top: 20px;
}

.accordion-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    color: var(--primary-light);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.accordion-btn:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    border-color: var(--primary);
}

.accordion-btn.active {
    border-radius: 12px 12px 0 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(236, 72, 153, 0.2));
}

.accordion-btn i:first-child {
    font-size: 1.2rem;
}

.accordion-btn span {
    flex: 1;
    text-align: left;
}

.accordion-icon {
    transition: transform var(--transition-normal);
}

.accordion-btn.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.3s ease;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 0 24px;
}

.accordion-content.active {
    max-height: 1000px;
    padding: 24px;
    overflow: visible;
}

.accordion-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.accordion-content li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 16px;
    color: var(--text-secondary);
    line-height: 1.9;
    font-size: 0.95rem;
}

.accordion-content li:last-child {
    margin-bottom: 0;
}

.accordion-content li::before {
    content: '✦';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-light);
    font-size: 14px;
}

.accordion-content strong {
    color: var(--text-primary);
    background: rgba(139, 92, 246, 0.2);
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    margin-right: 4px;
}

/* ============================================
   Footer
============================================ */
.footer {
    background: var(--bg-secondary);
    padding: 60px 0;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-logo i {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--pleasure));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-message {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 2;
    margin-bottom: 30px;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================
   Responsive Design
============================================ */
@media (max-width: 768px) {
    .gender-nav .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .gender-tab {
        width: 100%;
        justify-content: center;
        padding: 12px 30px;
    }
    
    .emotion-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .emotion-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header h2 span {
        display: block;
        margin-left: 0;
        margin-top: 5px;
    }
    
    .script-text {
        font-size: 1.1rem;
        padding: 20px;
    }
    
    .card-label {
        position: static;
        display: inline-block;
        margin-bottom: 15px;
    }
    
    .intro-card {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .logo-badge {
        width: 80px;
        height: 80px;
    }
    
    .logo-badge i {
        font-size: 32px;
    }
    
    .emotion-badge {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .script-content {
        padding: 20px;
    }
    
    .accordion-btn {
        padding: 15px 18px;
        font-size: 0.9rem;
    }
    
    .accordion-content.active {
        padding: 20px;
    }
    
    .accordion-content li {
        padding-left: 24px;
        margin-bottom: 14px;
        font-size: 0.9rem;
        line-height: 1.8;
    }
    
    .accordion-content strong {
        padding: 2px 8px;
        font-size: 0.85rem;
    }
}

/* ============================================
   Animations & Effects
============================================ */
.script-card {
    animation: slideUp 0.6s ease backwards;
}

.script-card:nth-child(1) { animation-delay: 0.1s; }
.script-card:nth-child(2) { animation-delay: 0.2s; }
.script-card:nth-child(3) { animation-delay: 0.3s; }
.script-card:nth-child(4) { animation-delay: 0.4s; }
.script-card:nth-child(5) { animation-delay: 0.5s; }

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

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* Selection */
::selection {
    background: var(--primary);
    color: white;
}
