/*
Theme Name: V-MILLE Theme
Theme URI: https://uzumemusic.com
Description: V-MILLE Division Official Theme. A modern, clean bulletin-board style theme styled with community poster layouts and V-MILLE watercolor brand colors.
Version: 1.0.9
Author: Uzume Music
Author URI: https://uzumemusic.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: v-mille-theme
*/

/* ==========================================================================
   1. Design System & Brand Identity (Dark & Neon Virtual Theme)
   ========================================================================== */
:root {
    /* Brand Accent Colors (V-MILLE Logo Watercolor Gradient) */
    --brand-cyan: #4fc3f7;
    --brand-pink: #f48fb1;
    --brand-purple: #ce93d8;
    --brand-gradient: linear-gradient(135deg, #4fc3f7 0%, #f48fb1 50%, #ce93d8 100%);
    
    /* Board Elements (Darkened for Virtual Tech & Sleek Look) */
    --board-frame-metal: #252830; /* Sharp Charcoal/Titanium metallic frame */
    --board-surface-bg: #12141c; /* Deep virtual indigo/dark felt background */
    --board-grid-line: rgba(255, 255, 255, 0.02);
    
    /* Functional UI Colors */
    --text-dark: #1d2129; /* High contrast text on white cards */
    --text-muted: #5c6270;
    --bg-white: #ffffff;
    --border-light: #e6e9ee;
    
    /* Neon Glow Effects (Virtual Theme) */
    --glow-cyan: 0 10px 30px rgba(0, 0, 0, 0.25), 0 0 20px rgba(79, 195, 247, 0.15);
    --glow-pink: 0 10px 30px rgba(0, 0, 0, 0.25), 0 0 20px rgba(244, 143, 177, 0.15);
    --glow-purple: 0 10px 30px rgba(0, 0, 0, 0.25), 0 0 20px rgba(206, 147, 216, 0.15);
    
    /* Fonts */
    --font-sans: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-logo: "Quicksand", "Fredoka", var(--font-sans);
    --font-friendly: "Kiwi Maru", serif;
}

/* Reset & Basic Setup */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #050608; /* True deep black/dark virtual room backdrop */
    background-image: 
        radial-gradient(circle at 10% 15%, rgba(79, 195, 247, 0.14) 0%, transparent 35%),
        radial-gradient(circle at 88% 28%, rgba(244, 143, 177, 0.12) 0%, transparent 30%),
        radial-gradient(circle at 75% 82%, rgba(206, 147, 216, 0.1) 0%, transparent 45%),
        radial-gradient(circle at 25% 75%, rgba(79, 195, 247, 0.1) 0%, transparent 35%),
        radial-gradient(circle at 50% 45%, rgba(206, 147, 216, 0.08) 0%, transparent 40%);
    background-size: 100% 100%;
    background-attachment: fixed;
    color: #e0e6ed;
    font-family: var(--font-sans);
    line-height: 1.7;
    padding: 30px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.25s ease;
}

/* Typography Helpers */
.font-logo {
    font-family: var(--font-logo);
}

.font-friendly {
    font-family: var(--font-friendly);
}

/* ==========================================================================
   2. Modern Notice Board Frame (Charcoal Aluminum & Cyber Grid)
   ========================================================================== */
.site-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* Metallic Titanium frame replacing natural oak for a cyber/office pin board */
.board-frame {
    background-color: var(--board-frame-metal);
    border: 12px solid var(--board-frame-metal);
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6),
                inset 0 1px 3px rgba(255,255,255,0.1),
                inset 0 -2px 5px rgba(0,0,0,0.5);
    position: relative;
    padding: 4px;
}

/* Sleek chamfer/light reflection on metallic frame */
.board-frame::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border: 2px solid rgba(255, 255, 255, 0.05);
    border-color: rgba(255,255,255,0.08) rgba(0,0,0,0.3) rgba(0,0,0,0.4) rgba(255,255,255,0.05);
    pointer-events: none;
    border-radius: 4px;
}

/* Deep virtual dot fabric texture matching logo colors */
.board-surface-fabric {
    background-color: var(--board-surface-bg);
    background-image: 
        radial-gradient(rgba(79, 195, 247, 0.12) 2px, transparent 0),
        radial-gradient(rgba(244, 143, 177, 0.12) 2px, transparent 0),
        radial-gradient(rgba(206, 147, 216, 0.12) 2px, transparent 0);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px, 10px 30px;
    border-radius: 4px;
    box-shadow: inset 0 4px 20px rgba(0,0,0,0.8);
    padding: 40px;
    min-height: 800px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Subtle background watercolor glow representing V-MILLE color palette */
.board-surface-fabric::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(79, 195, 247, 0.04) 0%, rgba(206, 147, 216, 0.02) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* ==========================================================================
   3. Header & Navigation (Sleek Dark Board Interface)
   ========================================================================== */
.site-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 25px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.site-branding {
    display: flex;
    flex-direction: column;
}

.site-title .title-main {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.site-title .title-tag {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: -2px;
    display: block;
}

/* Sleek white button-like tabs glowing on dark background */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 12px;
}

.main-navigation li {
    background-color: var(--bg-white);
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.main-navigation li a {
    display: block;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
}

/* V-MILLE gradient slide-in */
.main-navigation li::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--brand-gradient);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.main-navigation li:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(79, 195, 247, 0.3);
    border-color: rgba(79, 195, 247, 0.3);
}

.main-navigation li:hover::before {
    transform: scaleX(1);
}

.main-navigation li.current-menu-item::before,
.main-navigation li.current_page_item::before {
    transform: scaleX(1);
}

/* ==========================================================================
   4. Posters & Grid Layout (Glowing White Posters on Dark Canvas)
   ========================================================================== */
.board-canvas {
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 35px;
}

/* Clean white posters with a soft glow representing neon backing */
.poster-sheet {
    background-color: var(--bg-white);
    color: var(--text-dark);
    padding: 35px;
    border-radius: 4px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

/* Neon Backlighting (Glow effect matching V-MILLE branding) */
.welcome-poster {
    grid-column: 1 / 8; /* span 7 */
    grid-row: 1 / 4;
    transform: rotate(0.2deg);
    box-shadow: var(--glow-cyan);
}

/* Right Column Stacked Posters */
.ec-poster {
    grid-column: 8 / 13;
    grid-row: 1 / 2;
    transform: rotate(0.1deg);
    box-shadow: var(--glow-pink);
    z-index: 3;
    margin-top: 80px; /* Positions top edge below welcome-poster's concept badge */
    align-self: start;
}

.youtube-poster {
    grid-column: 8 / 13;
    grid-row: 2 / 3;
    transform: rotate(-0.2deg);
    box-shadow: var(--glow-cyan);
    z-index: 3;
    align-self: start;
}

.news-poster {
    grid-column: 8 / 13; /* span 5 */
    grid-row: 3 / 6; /* Spans 3 rows for longer news content */
    transform: rotate(0.15deg);
    box-shadow: var(--glow-pink);
    z-index: 3;
    align-self: stretch;
}

.main-hp-poster {
    grid-column: 8 / 13;
    grid-row: 6 / 7;
    transform: rotate(-0.1deg);
    box-shadow: var(--glow-purple);
    z-index: 3;
    align-self: start;
}

.music-poster {
    grid-column: 1 / 8; /* span 7 */
    grid-row: 4 / 7;
    transform: rotate(-0.1deg);
    box-shadow: var(--glow-purple);
}

.works-poster {
    grid-column: span 12;
    grid-row: 7 / 8; /* Clean start after the overlapped sections */
    margin-top: 15px;
    transform: rotate(-0.1deg);
    box-shadow: var(--glow-purple);
}

/* Guidelines, Flow, and FAQ Posters (Masonry-like alignment) */
.rules-poster {
    grid-column: 7 / 13;
    grid-row: 8 / 9;
    transform: rotate(-0.2deg);
    box-shadow: var(--glow-pink);
    align-self: start;
}

/* Talent Showcase Row */
.talent-poster {
    grid-column: span 12;
    margin-top: 15px;
    transform: rotate(0.1deg);
    box-shadow: var(--glow-purple);
    align-self: start;
}

/* Creative Flow & FAQ Row */
.flow-poster {
    grid-column: 1 / 7;
    grid-row: 8 / 10;
    transform: rotate(-0.3deg);
    box-shadow: var(--glow-cyan);
    align-self: start;
}

.faq-poster {
    grid-column: 7 / 13;
    grid-row: 9 / 10;
    transform: rotate(0.2deg);
    box-shadow: var(--glow-pink);
    align-self: start;
}

/* Audition & Fan Board Row */
.audition-poster {
    grid-column: span 6;
    transform: rotate(0.3deg);
    box-shadow: var(--glow-purple);
}

.fanboard-poster {
    grid-column: span 6;
    transform: rotate(-0.4deg);
    box-shadow: var(--glow-cyan);
}

.links-container {
    grid-column: span 12;
    display: flex;
    gap: 25px;
    margin-top: 15px;
    margin-bottom: 20px;
}

/* Poster Header Badges */
.poster-badge {
    display: inline-block;
    background: var(--brand-gradient);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 30px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(79, 195, 247, 0.3);
}

.section-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 10px;
    position: relative;
}

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

.youtube-subtitle {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: -12px;
    margin-bottom: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.poster-content p {
    margin-bottom: 16px;
    color: var(--text-muted);
}

/* Welcome poster accent callout & H2 as a sticky memo (付箋風 - ロゴグラデーション仕様) */
.accent-callout,
.welcome-poster .poster-content h2,
.music-poster .poster-content h2 {
    position: relative;
    background: var(--brand-gradient); /* ロゴのシアン〜ピンク〜パープルグラデーション */
    color: #ffffff; /* 可読性向上のため白文字に */
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 4px;
    box-shadow: 0 8px 25px rgba(244, 143, 177, 0.25),
                inset 0 1px 1px rgba(255, 255, 255, 0.3);
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--font-friendly);
    text-align: center;
    transform: rotate(-1deg);
    border-left: none;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); /* 白文字を読みやすくするための影 */
}

/* 押しピンの追加 */
.accent-callout::before,
.welcome-poster .poster-content h2::before,
.music-poster .poster-content h2::before {
    content: '\f08d'; /* FontAwesome Thumbtack */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff; /* ピン本体はクリアホワイト */
    font-size: 1.15rem;
    /* ネオンピンク＆シアンのきらめくグロー効果 */
    text-shadow: 0 0 8px #f48fb1, 0 0 15px #4fc3f7, 2px 3px 5px rgba(0,0,0,0.3);
}

.accent-callout p {
    color: #ffffff !important;
    margin-bottom: 0 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   5. News Poster (Structured Activity Feed)
   ========================================================================== */
.news-list {
    list-style: none;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
}

.news-item:last-child {
    border-bottom: none;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.news-date {
    font-size: 0.85rem;
    font-family: var(--font-logo);
    color: var(--text-muted);
    font-weight: 600;
}

.news-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
    color: white;
    letter-spacing: 0.5px;
}

.badge-official {
    background-color: #1a1e24; /* Dark sleek color for official badge */
}

.badge-uzume {
    background-color: transparent;
    color: #1a1e24;
    border: 1px solid #1a1e24;
}

.badge-local {
    background: var(--brand-gradient);
}

.news-link {
    font-weight: 500;
    color: var(--text-dark);
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-link:hover {
    color: var(--brand-pink);
    text-decoration: underline;
}

/* ==========================================================================
   6. Works Showcase Grid (Main Site Integration)
   ========================================================================== */
.works-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.work-card {
    background-color: var(--bg-white);
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.work-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.work-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.1);
}

.work-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background-color: #f7f9fa;
    border-bottom: 1px solid var(--border-light);
}

.work-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.work-card:hover .work-thumbnail img {
    transform: scale(1.05);
}

.no-thumbnail {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    background: var(--brand-gradient);
    color: white;
    opacity: 0.85;
}

.work-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.work-date {
    font-size: 0.8rem;
    font-family: var(--font-logo);
    color: var(--brand-cyan);
    font-weight: 600;
    margin-bottom: 6px;
}

.work-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   7. Navigation Links (Modern Glowing Banners)
   ========================================================================== */
.flyer-link {
    flex: 1;
    background-color: var(--bg-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--text-dark);
}

.flyer-icon {
    font-size: 2.2rem;
}

.link-pricing .flyer-icon i { color: var(--brand-cyan); }
.link-store .flyer-icon i { color: var(--brand-purple); }
.link-contact .flyer-icon i { color: var(--brand-pink); }

.flyer-text h3 {
    font-size: 1.15rem;
    font-family: var(--font-logo);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

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

.flyer-arrow {
    margin-left: auto;
    font-size: 1.1rem;
    color: #b0b8c4;
    transition: transform 0.2s ease, color 0.2s ease;
}

.flyer-link:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.3);
}

.link-pricing:hover { box-shadow: 0 10px 25px rgba(79, 195, 247, 0.25); }
.link-store:hover { box-shadow: 0 10px 25px rgba(206, 147, 216, 0.25); }
.link-contact:hover { box-shadow: 0 10px 25px rgba(244, 143, 177, 0.25); }

.flyer-link:hover .flyer-arrow {
    transform: translateX(4px);
    color: var(--text-dark);
}

/* ==========================================================================
   8. Clear Acrylic Pins with Refracting Neon Glow
   ========================================================================== */
.pin.acrylic-pin {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3),
                inset 0 1px 2px rgba(255,255,255,0.8),
                inset -2px -2px 4px rgba(0,0,0,0.15);
    backdrop-filter: blur(0.5px);
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

/* Steel needle shadow */
.pin.acrylic-pin::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 10px;
    background-color: rgba(200, 200, 200, 0.4);
    bottom: -6px;
    left: 11px;
    transform: rotate(10deg);
    box-shadow: 2px 2px 3px rgba(0,0,0,0.4);
}

/* Soft glowing tinted glass effect for pins */
.welcome-poster .pin.acrylic-pin,
.video-poster .pin.acrylic-pin,
.flow-poster .pin.acrylic-pin,
.fanboard-poster .pin.acrylic-pin {
    background: radial-gradient(circle at 8px 8px, rgba(255, 255, 255, 0.95) 0%, rgba(79, 195, 247, 0.4) 60%, rgba(79, 195, 247, 0.7) 100%);
}

.news-poster .pin.acrylic-pin,
.rules-poster .pin.acrylic-pin,
.faq-poster .pin.acrylic-pin {
    background: radial-gradient(circle at 8px 8px, rgba(255, 255, 255, 0.95) 0%, rgba(244, 143, 177, 0.4) 60%, rgba(244, 143, 177, 0.7) 100%);
}

.works-poster .pin.acrylic-pin,
.music-poster .pin.acrylic-pin,
.talent-poster .pin.acrylic-pin,
.audition-poster .pin.acrylic-pin {
    background: radial-gradient(circle at 8px 8px, rgba(255, 255, 255, 0.95) 0%, rgba(206, 147, 216, 0.4) 60%, rgba(206, 147, 216, 0.7) 100%);
}

/* ==========================================================================
   8.5. Top Page Custom Components (Talent, Flow, FAQ, Audition, Fan Board)
   ========================================================================== */
.placeholder-desc {
    background-color: #f7f9fa;
    border: 1px dashed var(--border-light);
    border-left: 4px solid var(--brand-pink);
    padding: 15px;
    border-radius: 4px;
    font-size: 0.88rem;
    margin-bottom: 25px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Video Ratio Aspect Box */
.video-ratio-box {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 ratio */
}
.video-ratio-box iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border-radius: 4px;
    border: 1px solid var(--border-light);
}

.video-coming-soon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #12141c; /* Same dark theme as the board */
    border: 1px solid var(--border-light);
    border-radius: 4px;
    width: 100%;
    aspect-ratio: 16 / 9;
    color: var(--text-muted);
    margin-top: 15px;
    box-sizing: border-box;
}
.video-coming-soon i {
    font-size: 2.5rem;
    color: var(--brand-pink);
    margin-bottom: 10px;
    animation: youtube-pulse-glow 2s infinite ease-in-out;
}
.video-coming-soon p {
    margin: 0 !important;
    font-size: 0.85rem;
    font-weight: 500;
}

@keyframes youtube-pulse-glow {
    0% { transform: scale(1); opacity: 0.8; text-shadow: 0 0 5px rgba(244, 143, 177, 0.4); }
    50% { transform: scale(1.08); opacity: 1; text-shadow: 0 0 15px rgba(244, 143, 177, 0.8); }
    100% { transform: scale(1); opacity: 0.8; text-shadow: 0 0 5px rgba(244, 143, 177, 0.4); }
}

/* Talent Grid & Cards */
.talent-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.talent-card-placeholder {
    background: #fbfcfd;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 20px;
    text-align: center;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.talent-card-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    border-color: rgba(79, 195, 247, 0.3);
}

.talent-silhouette {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 15px auto;
    background: linear-gradient(135deg, rgba(79,195,247,0.2) 0%, rgba(206,147,216,0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--brand-cyan);
    position: relative;
    border: 2px solid rgba(79, 195, 247, 0.15);
}

.talent-silhouette.pink-theme {
    background: linear-gradient(135deg, rgba(244,143,177,0.2) 0%, rgba(206,147,216,0.2) 100%);
    color: var(--brand-pink);
    border-color: rgba(244, 143, 177, 0.15);
}

.talent-silhouette.purple-theme {
    background: linear-gradient(135deg, rgba(206,147,216,0.2) 0%, rgba(79,195,247,0.2) 100%);
    color: var(--brand-purple);
    border-color: rgba(206, 147, 216, 0.15);
}

.talent-status {
    display: inline-block;
    padding: 2px 8px;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 30px;
    background-color: #e8f5e9;
    color: #2e7d32;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.talent-status.offline {
    background-color: #f5f5f5;
    color: #9e9e9e;
}

.talent-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.talent-catch {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.talent-sns-links {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.talent-sns-links .sns-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: white;
    cursor: pointer;
    opacity: 0.85;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.talent-sns-links .sns-icon:hover {
    transform: scale(1.1);
    opacity: 1;
}

.dummy-yt { background-color: #ff0000; }
.dummy-x { background-color: #000000; }

/* Flow Steps */
.flow-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 15px;
}

.flow-step {
    background-color: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 20px;
    position: relative;
}

.flow-step:hover {
    border-color: rgba(79, 195, 247, 0.25);
    background-color: #f0f8ff;
}

.flow-step-wide {
    grid-column: span 2;
}

.step-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--brand-cyan);
    font-family: var(--font-logo);
    margin-bottom: 8px;
    opacity: 0.8;
}

.flow-step h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.flow-step p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0;
}

/* FAQ Accordion Placeholder */
.faq-list-placeholder {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.faq-item-placeholder {
    border: 1px solid var(--border-light);
    border-radius: 6px;
    overflow: hidden;
}

.faq-question {
    background-color: #fcfcfc;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background-color: #f5f7f8;
}

.faq-q {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--brand-pink);
    font-family: var(--font-logo);
}

.faq-question h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-dark);
    flex-grow: 1;
    margin-bottom: 0;
}

.faq-question i {
    font-size: 0.8rem;
    color: #a0a6b5;
}

.faq-answer {
    display: none;
    padding: 15px 18px;
    background-color: #ffffff;
    border-top: 1px solid var(--border-light);
}

.faq-item-placeholder.active .faq-answer {
    display: block;
}

.faq-answer p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Audition Box & Neon Button */
.audition-box {
    background-color: #12141c;
    color: white;
    border-radius: 6px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
    margin-top: 15px;
    position: relative;
    overflow: hidden;
}

.audition-status-badge {
    position: absolute;
    top: 15px; left: 15px;
    font-size: 0.65rem;
    font-weight: 700;
    background-color: #ff1744;
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(255, 23, 68, 0.5);
}

.audition-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 12px;
    color: white;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.audition-text {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}

.dummy-btn-neon {
    display: inline-block;
    padding: 10px 24px;
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    background: transparent;
    border: 1px solid var(--brand-pink);
    border-radius: 30px;
    box-shadow: 0 0 10px rgba(244, 143, 177, 0.3);
    cursor: pointer;
    transition: all 0.25s ease;
}

.dummy-btn-neon:hover {
    background-color: var(--brand-pink);
    box-shadow: 0 0 15px rgba(244, 143, 177, 0.6);
    color: var(--text-dark);
}

/* Fan Message Sticky Board */
.fanboard-canvas {
    background-color: #f5f6f8;
    border-radius: 6px;
    padding: 20px;
    min-height: 250px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    position: relative;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.05);
    margin-top: 15px;
}

.memo-sticky {
    width: 45%;
    min-width: 140px;
    background-color: #fff9db;
    color: #495057;
    padding: 15px;
    box-shadow: 2px 4px 10px rgba(0,0,0,0.1);
    position: relative;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.memo-sticky.memo-cyan {
    background-color: #e3fafc;
    transform: rotate(-1.5deg);
}

.memo-sticky.memo-pink {
    background-color: #fff0f6;
    transform: rotate(2deg);
}

.memo-sticky.memo-purple {
    background-color: #f3f0ff;
    transform: rotate(-0.5deg);
    width: 93%;
}

.memo-pin {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    color: #ff6b6b;
    font-size: 0.95rem;
    text-shadow: 1px 2px 2px rgba(0,0,0,0.2);
}

.memo-sticky.memo-cyan .memo-pin { color: #15aabf; }
.memo-sticky.memo-pink .memo-pin { color: #e64980; }
.memo-sticky.memo-purple .memo-pin { color: #7048e8; }

.memo-text {
    font-size: 0.78rem;
    line-height: 1.5;
    margin-bottom: 10px;
    color: #343a40;
}

.memo-author {
    font-size: 0.68rem;
    color: #868e96;
    text-align: right;
    font-weight: 600;
}

/* ========================================================================== */

/* ==========================================================================
   9. Custom Page Layouts (Pricing & Contact - Glowing Board Sheets)
   ========================================================================== */
.board-container {
    display: flex;
    justify-content: center;
    padding: 15px 0;
}

.pricing-poster, .contact-poster {
    max-width: 850px;
    width: 100%;
    transform: rotate(0.1deg);
    box-shadow: var(--glow-cyan);
}

.page-badge {
    display: inline-block;
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 12px;
    font-family: var(--font-logo);
}

.page-header {
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 25px;
    margin-bottom: 30px;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-intro {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* Pricing category sections */
.pricing-section {
    margin-bottom: 40px;
}

.pricing-cat-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-cat-title i {
    color: var(--brand-pink);
}

/* Clean Professional Table Layout */
.mille-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
}

.mille-table th, .mille-table td {
    padding: 14px 18px;
    text-align: left;
    font-size: 0.95rem;
}

.mille-table th {
    background-color: #f7f9fa;
    border-bottom: 2px solid var(--border-light);
    font-weight: 700;
    color: var(--text-dark);
}

.mille-table td {
    border-bottom: 1px solid var(--border-light);
    color: var(--text-muted);
}

.mille-table tr:hover td {
    background-color: #fafbfc;
}

.mille-table td:nth-child(3) {
    font-weight: 600;
    color: var(--text-dark);
}

.pricing-notice-box {
    background-color: #fcfcfc;
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--brand-purple);
    padding: 20px;
    margin: 30px 0;
    border-radius: 4px;
}

.notice-box-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.pricing-notice-box ul {
    list-style: none;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pricing-notice-box li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 6px;
}

.pricing-notice-box li::before {
    content: '・';
    position: absolute;
    left: 0;
}

.pricing-action-area {
    text-align: center;
    margin-top: 30px;
}

.btn.btn-mille {
    display: inline-block;
    padding: 14px 35px;
    background: var(--brand-gradient);
    color: white;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(235, 156, 192, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn.btn-mille:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(235, 156, 192, 0.6);
    opacity: 0.95;
}

/* ==========================================================================
   10. Sleek Contact Form
   ========================================================================== */
.mille-form {
    padding-top: 10px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 22px;
}

.form-group label {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.req {
    color: #e57373;
    font-size: 0.75rem;
    background-color: rgba(229, 115, 115, 0.08);
    padding: 1px 6px;
    border-radius: 3px;
    margin-left: 5px;
    vertical-align: middle;
}

.mille-input, .mille-select, .mille-textarea,
.wpcf7-form-control-wrap,
.wpcf7-text, .wpcf7-select, .wpcf7-textarea {
    width: 100%;
}

.wpcf7-form-control-wrap {
    display: block;
}

.mille-input, .mille-select, .mille-textarea,
.wpcf7-text, .wpcf7-select, .wpcf7-textarea {
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    background-color: #fafbfc;
    transition: all 0.2s ease;
    outline: none;
}

.mille-select, .wpcf7-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
}

.mille-input:focus, .mille-select:focus, .mille-textarea:focus,
.wpcf7-text:focus, .wpcf7-select:focus, .wpcf7-textarea:focus {
    background-color: #ffffff;
    border-color: var(--brand-cyan);
    box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.15);
}

.mille-textarea, .wpcf7-textarea {
    resize: vertical;
}

.form-action {
    text-align: center;
    margin-top: 30px;
}

.btn-submit {
    border: none;
}

/* ==========================================================================
   11. Footer Elements
   ========================================================================== */
.site-footer {
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-info {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-info a {
    text-decoration: underline;
}

.footer-info a:hover {
    color: var(--brand-cyan);
}

/* Gradient accent dots */
.footer-brand-accent {
    display: flex;
    gap: 6px;
}

.accent-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.4),
                0 2px 4px rgba(0,0,0,0.5);
}

.cyan-dot { background-color: var(--brand-cyan); box-shadow: 0 0 8px var(--brand-cyan); }
.pink-dot { background-color: var(--brand-pink); box-shadow: 0 0 8px var(--brand-pink); }
.purple-dot { background-color: var(--brand-purple); box-shadow: 0 0 8px var(--brand-purple); }

/* ==========================================================================
   12. Responsive Design Grid Adjustments
   ========================================================================== */
@media screen and (max-width: 960px) {
    .welcome-poster, .news-poster, .music-poster, .works-poster,
    .video-poster, .rules-poster,
    .talent-poster,
    .flow-poster, .faq-poster,
    .audition-poster, .fanboard-poster,
    .ec-poster, .youtube-poster, .main-hp-poster {
        grid-column: span 12;
        grid-row: auto !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        transform: none !important; /* Flatten rotations for simpler layouts on tablet */
    }
    .works-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .talent-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .links-container {
        flex-direction: column;
        gap: 15px;
    }
}

@media screen and (max-width: 768px) {
    body {
        padding: 10px;
    }
    .board-frame {
        border-width: 6px;
        padding: 2px;
    }
    .board-surface-fabric {
        padding: 20px;
    }
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    .main-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    .site-title .title-main {
        font-size: 2rem;
    }
    .works-container {
        grid-template-columns: 1fr;
    }
    .talent-grid, .flow-steps {
        grid-template-columns: 1fr;
    }
    .flow-step-wide {
        grid-column: span 1 !important;
    }
    .memo-sticky {
        width: 100% !important;
        transform: none !important;
    }
    .poster-sheet {
        padding: 20px;
    }
    .mille-table th, .mille-table td {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}

/* Twitter Timeline Styling (Smash Balloon Optimized) */
.twitter-timeline-wrapper {
    position: relative;
    background-color: var(--board-surface-bg);
    min-height: 380px;
    max-height: 420px;
    border-radius: 4px;
    border: 1px solid var(--border-light);
    overflow-y: auto;
    overflow-x: hidden;
}

/* Force elegant dark mode colors for Smash Balloon plugin on dark board background */
.twitter-timeline-wrapper #ctf {
    background-color: transparent !important;
    color: #e1e8ed !important;
    padding: 10px !important;
    font-family: inherit !important;
}

.twitter-timeline-wrapper #ctf .ctf-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 15px 10px !important;
    background: transparent !important;
}

.twitter-timeline-wrapper #ctf .ctf-item:last-child {
    border-bottom: none !important;
}

.twitter-timeline-wrapper #ctf .ctf-tweet-text {
    color: #e1e8ed !important;
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    margin-top: 8px !important;
}

.twitter-timeline-wrapper #ctf .ctf-author-name {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
}

.twitter-timeline-wrapper #ctf .ctf-author-screenname {
    color: #8899a6 !important;
    font-size: 0.8rem !important;
}

.twitter-timeline-wrapper #ctf .ctf-date {
    color: #8899a6 !important;
    font-size: 0.8rem !important;
}

.twitter-timeline-wrapper #ctf .ctf-tweet-actions a {
    color: #8899a6 !important;
}

.twitter-timeline-wrapper #ctf .ctf-tweet-actions a:hover {
    color: var(--brand-pink) !important;
}

/* Fallback Card styles inside Layer 1 */
.twitter-timeline-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    color: #ffffff;
    background-color: #0b0c10;
    border-radius: 4px;
    text-decoration: none !important;
    transition: background-color 0.25s ease;
}

.twitter-timeline-fallback:hover {
    background-color: #12141c;
}

.twitter-timeline-fallback strong {
    font-size: 1.15rem;
    color: var(--brand-cyan);
    margin-bottom: 4px;
}

.btn-follow-dummy {
    display: inline-block;
    padding: 8px 20px;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    background: transparent;
    border: 1px solid var(--brand-cyan);
    border-radius: 30px;
    box-shadow: 0 0 8px rgba(79, 195, 247, 0.3);
    transition: all 0.25s ease;
    text-shadow: none;
}

.twitter-timeline-fallback:hover .btn-follow-dummy {
    background: var(--brand-cyan);
    color: var(--text-dark);
    box-shadow: 0 0 12px rgba(79, 195, 247, 0.6);
}

/* ==========================================================================
   5. Slim Poster Components (EC Link, Main HP Link)
   ========================================================================== */
.slim-poster {
    padding: 20px 25px !important;
}

.slim-poster-link {
    display: flex;
    align-items: center;
    color: var(--text-dark) !important;
    text-decoration: none;
    width: 100%;
}

.slim-poster-link .poster-icon {
    font-size: 1.25rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.slim-poster-link .poster-logo-img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    transition: filter 0.25s ease;
}

.main-hp-poster:hover .poster-logo-img {
    filter: brightness(0) invert(1);
}

/* Specific colors for poster icons */
.ec-poster .poster-icon {
    background: rgba(244, 143, 177, 0.1);
    color: var(--brand-pink);
}
.main-hp-poster .poster-icon {
    background: rgba(79, 195, 247, 0.1);
    color: var(--brand-cyan);
}

.slim-poster-link .poster-link-text {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.slim-poster-link .link-label {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2px;
}

.slim-poster-link .link-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.slim-poster-link .poster-arrow {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: transform 0.25s ease, color 0.25s ease;
}

/* Hover Animations for Independent Slim Posters */
.slim-poster:hover {
    transform: translateY(-3px) scale(1.01) !important;
}

.ec-poster:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12), 0 0 25px rgba(244, 143, 177, 0.35) !important;
    border-color: rgba(244, 143, 177, 0.5) !important;
}
.ec-poster:hover .poster-icon {
    background: var(--brand-pink);
    color: white;
}

.main-hp-poster:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12), 0 0 25px rgba(79, 195, 247, 0.35) !important;
    border-color: rgba(79, 195, 247, 0.5) !important;
}
.main-hp-poster:hover .poster-icon {
    background: var(--brand-cyan);
    color: white;
}

.slim-poster-link:hover .poster-arrow {
    transform: translateX(3px);
    color: var(--text-dark);
}

/* ==========================================================================
   12. Interactive Pricing Selection
   ========================================================================== */
.pricing-row {
    cursor: pointer;
    transition: background-color 0.25s ease;
}

.pricing-row td {
    transition: all 0.25s ease;
}

.pricing-row:hover td {
    background-color: rgba(79, 195, 247, 0.04) !important;
}

.pricing-row.selected td {
    background-color: rgba(79, 195, 247, 0.08) !important;
    border-bottom-color: rgba(79, 195, 247, 0.3);
}

.pricing-row.selected td:first-child {
    box-shadow: inset 4px 0 0 var(--brand-cyan);
}

.pricing-row.selected strong {
    color: var(--brand-cyan);
}

/* Select check indicator inside table cell */
.select-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0;
    opacity: 0;
    margin-right: 0;
    color: var(--brand-cyan);
    transition: all 0.25s ease;
    vertical-align: middle;
}

.pricing-row.selected .select-indicator {
    width: 22px;
    opacity: 1;
    margin-right: 8px;
}

/* Submit button active neon pulse state */
@keyframes activePulse {
    0% {
        box-shadow: 0 4px 15px rgba(235, 156, 192, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(79, 195, 247, 0.8), 0 0 10px rgba(79, 195, 247, 0.4);
        transform: scale(1.02);
    }
    100% {
        box-shadow: 0 4px 15px rgba(235, 156, 192, 0.4);
    }
}

.btn-pricing-submit.active {
    background: linear-gradient(135deg, #4fc3f7 0%, #ce93d8 100%) !important;
    animation: activePulse 2s infinite ease-in-out;
}



