/* ===================================
   星月夜ココロ - 個人VTuber Template
   ライトテーマ版
   =================================== */

:root {
    /* カラーパレット - パステル夜空テーマ（ライト版） */
    --primary: #8b5cf6;
    --primary-light: #a78bfa;
    --primary-dark: #6d28d9;
    --secondary: #f59e0b;
    --secondary-light: #fbbf24;
    --accent: #ec4899;
    --accent-light: #fce7f3;

    /* 背景色（ライト版） */
    --bg-light: #faf5ff;
    --bg-white: #ffffff;
    --bg-gradient: linear-gradient(180deg, #faf5ff 0%, #ede9fe 50%, #ddd6fe 100%);
    --bg-card: rgba(139, 92, 246, 0.08);
    --bg-card-hover: rgba(139, 92, 246, 0.15);

    /* テキスト */
    --text-dark: #1e1b4b;
    --text-main: #3730a3;
    --text-muted: #6b7280;
    --text-gold: #d97706;
    --text-purple: #7c3aed;

    /* その他 */
    --radius: 8px;
    --radius-lg: 16px;
    --shadow: 0 4px 20px rgba(139, 92, 246, 0.15);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ===================================
   ヘッダー
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo img {
    height: 36px;
}

.nav {
    display: flex;
    gap: 25px;
}

.nav a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--text-main);
    position: relative;
}

.nav a:hover {
    color: var(--primary);
}

.template-credit {
    font-size: 11px;
    color: var(--text-muted);
    opacity: 0.7;
}

.template-credit:hover {
    opacity: 1;
    color: var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
}

/* ===================================
   セクション共通
   =================================== */
section {
    padding: 80px 0;
}

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

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

.section-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-purple);
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}

.section-header p {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.2em;
}

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 30px;
    padding: 12px 30px;
    background: var(--bg-card);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius);
    color: var(--text-main);
    font-size: 14px;
}

.section-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* ===================================
   ヒーローセクション
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--bg-gradient);
    padding-top: 60px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%238b5cf6" opacity="0.3"/></svg>');
    background-size: 50px 50px;
    animation: twinkle 4s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.hero-sns {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.hero-sns a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.15);
    transition: var(--transition);
}

.hero-sns a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.hero-sns svg {
    color: var(--text-main);
}

.hero-sns a:hover svg {
    color: white;
}

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

.hero-label {
    font-size: 12px;
    letter-spacing: 0.3em;
    color: white;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content h1 {
    font-size: clamp(20px, 4vw, 32px);
    font-weight: 600;
    color: white;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-character {
    position: absolute;
    bottom: 0;
    right: 10%;
    height: 80%;
    z-index: 0;
    opacity: 0.85;
    pointer-events: none;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.3));
}

.hero-character img {
    height: 100%;
    object-fit: contain;
}

/* ===================================
   PickUp
   =================================== */
.pickup {
    background: white;
    padding: 40px 0;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.pickup .section-header {
    margin-bottom: 20px;
}

.pickup .section-header h2 {
    color: var(--text-dark);
}

.pickup-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.slider-prev,
.slider-next {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
}

.slider-prev:hover,
.slider-next:hover {
    color: var(--primary);
}

.pickup-slides {
    position: relative;
    width: 500px;
    height: 60px;
    overflow: hidden;
}

.pickup-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid rgba(139, 92, 246, 0.2);
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
}

.pickup-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.pickup-icon {
    font-size: 20px;
}

.pickup-slide p {
    font-size: 15px;
    color: var(--text-dark);
}

/* ===================================
   Profile
   =================================== */
.profile {
    background: var(--bg-light);
}

.profile-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.profile-list {
    list-style: none;
}

.profile-list li {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.profile-list .label {
    color: var(--text-purple);
    font-size: 13px;
    min-width: 100px;
    font-weight: 600;
}

.profile-list .value {
    color: var(--text-dark);
    font-size: 14px;
}

.profile-hashtags {
    margin-top: 30px;
    padding: 20px;
    background: white;
    border-radius: var(--radius);
    border: 1px solid rgba(139, 92, 246, 0.15);
    box-shadow: var(--shadow);
}

.profile-hashtags h3 {
    font-size: 14px;
    color: var(--text-purple);
    margin-bottom: 15px;
}

.hashtag-list {
    list-style: none;
}

.hashtag-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 8px 0;
}

.hashtag-list .label {
    font-size: 12px;
    color: var(--text-muted);
    min-width: 80px;
}

.hashtag-list .tag {
    font-size: 13px;
    color: var(--accent);
}

.profile-rules {
    padding: 20px;
    background: white;
    border-radius: var(--radius);
    border: 1px solid rgba(139, 92, 246, 0.15);
    box-shadow: var(--shadow);
}

.profile-rules p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.rules-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: var(--primary);
    border-radius: var(--radius);
    color: white;
}

.rules-link:hover {
    background: var(--primary-dark);
    color: white;
}

/* ===================================
   Video List
   =================================== */
.video-list {
    background: var(--bg-gradient);
}

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

.video-embed {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 56.25%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 3px solid white;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 12px 30px;
    background: white;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius);
    color: var(--text-main);
}

.video-link:hover {
    background: var(--primary);
    color: white;
}

/* ===================================
   Blog / Gallery / News
   =================================== */
.blog, .gallery, .news {
    background: var(--bg-light);
}

.blog-list, .gallery-list, .news-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.blog-item, .gallery-item, .news-item {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.1);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.blog-item:hover, .gallery-item:hover, .news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.2);
}

.blog-item img, .gallery-item img, .news-item img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.blog-info, .gallery-info, .news-info {
    padding: 15px;
}

.blog-info .date, .gallery-info .date, .news-info .date {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.blog-info .title, .gallery-info .title, .news-info .title {
    font-size: 14px;
    color: var(--text-dark);
}

/* ===================================
   フッター
   =================================== */
.footer {
    background: linear-gradient(180deg, #ede9fe 0%, #c4b5fd 100%);
    padding: 60px 0 30px;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-sns {
    margin-bottom: 40px;
}

.footer-sns .section-header {
    text-align: left;
    margin-bottom: 25px;
}

.footer-sns .section-header h2 {
    font-size: 20px;
    color: var(--text-dark);
}

.sns-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.sns-column {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.sns-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    font-size: 16px;
    flex-shrink: 0;
    color: white;
}

.sns-accounts {
    flex: 1;
}

.account {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 12px;
}

.account .id {
    color: var(--text-dark);
}

.account .desc {
    color: var(--text-muted);
}

.footer-nav {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 30px;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.footer-brand {
    max-width: 300px;
}

.footer-label {
    font-size: 11px;
    color: var(--text-purple);
    letter-spacing: 0.2em;
    margin-bottom: 10px;
}

.footer-brand h1 {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.5;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-main);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.copyright {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.footer-legal a {
    font-size: 11px;
    color: var(--text-muted);
}

.footer-legal a:hover {
    color: var(--primary);
}

.footer-credit {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    opacity: 0.7;
}

.footer-credit:hover {
    opacity: 1;
    color: var(--primary);
}

/* ===================================
   レスポンシブ
   =================================== */
@media (max-width: 1024px) {
    .sns-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-character {
        opacity: 0.5;
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 12px 15px;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .nav.active {
        display: flex;
    }

    .template-credit {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .profile-content {
        grid-template-columns: 1fr;
    }

    .blog-list, .gallery-list, .news-list {
        grid-template-columns: 1fr;
    }

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

    .footer-nav {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .pickup-slides {
        width: 280px;
    }

    .hero-character {
        display: none;
    }
}
