/* ==========================================================================
   Design System & Base Settings (Pop & Bright Theme)
   ========================================================================== */
:root {
    /* Color Palette */
    --color-bg-primary: #fcfaff;
    --color-bg-gradient-start: #f8f6fc;
    --color-bg-gradient-end: #efeefa;
    --color-text-main: #332f56;
    --color-text-muted: #7c779b;
    --color-accent-pink: #ff5277;
    --color-accent-blue: #4d96ff;
    --color-accent-yellow: #ffd043;
    
    /* Fonts */
    --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-bg-gradient-start), var(--color-bg-gradient-end));
    font-family: var(--font-primary);
    color: var(--color-text-main);
    -webkit-font-smoothing: antialiased;
}

/* Canvas Background (Pop Bubbles) */
#bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Main Layout Container */
.container {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    min-height: 900px;
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3.5rem;
}

/* Header Styles */
header {
    height: 20px; /* 余白維持のための高さ確保 */
}

/* ==========================================================================
   Main Content Styles (Pop Teaser)
   ========================================================================== */
main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.teaser-wrapper {
    text-align: center;
    max-width: 800px;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* サブタイトル (ポップな太文字) */
.subtitle {
    font-size: clamp(0.8rem, 0.7rem + 0.5vw, 1.1rem);
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--color-accent-blue);
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 1s forwards 0.2s ease-out;
}

/* メイン Coming Soon タイトル (丸みを帯びたポップなシャドウとバウンドアニメーション) */
.main-title {
    font-size: clamp(2.2rem, 1.5rem + 5vw, 7rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.1;
    color: var(--color-text-main);
    /* ポップな多重シャドウ */
    text-shadow: 
        3px 3px 0 var(--color-accent-yellow),
        6px 6px 0 rgba(255, 82, 119, 0.2);
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1.2s forwards 0.5s ease-out, dotJump 1.5s infinite ease-in-out;
}

.main-title span {
    color: var(--color-accent-pink);
    display: inline-block;
}

/* ディバイダー */
.divider {
    width: 80px;
    height: 4px;
    background-color: var(--color-accent-yellow);
    border-radius: 2px;
    margin: 2rem 0;
    opacity: 0;
    animation: fadeIn 1.5s forwards 1.2s ease-out;
}

/* 説明テキスト */
.desc-text {
    font-size: clamp(0.95rem, 0.85rem + 0.5vw, 1.3rem);
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    max-width: 600px;
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 1s forwards 1s ease-out;
}

/* Footer Styles */
footer {
    display: flex;
    justify-content: center;
    align-items: center;
}

.copyright {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    opacity: 0;
    animation: fadeIn 1.5s forwards 1.4s ease-out;
}

/* ==========================================================================
   Animation Definitions
   ========================================================================== */

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

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* 弾むような浮遊感（バウンド） */
@keyframes bounceFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 三点リーダーがピョコピョコ跳ねる */
@keyframes dotJump {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* ==========================================================================
   Responsive Design (Media Queries)
   ========================================================================== */

/* Tablet Styles (768px or less) */
@media screen and (max-width: 768px) {
    .container {
        padding: 2.5rem;
        min-height: auto;
        height: 100%;
    }
}

/* Smartphone Styles (375px or less) */
@media screen and (max-width: 375px) {
    .container {
        padding: 1.5rem 1rem;
        min-height: auto;
    }

    .main-title {
        font-size: 2.2rem;
        white-space: nowrap;
        text-shadow: 
            2px 2px 0 var(--color-accent-yellow),
            4px 4px 0 rgba(255, 82, 119, 0.2);
    }

    .divider {
        margin: 1.5rem 0;
        width: 50px;
        height: 3px;
    }

    .desc-text {
        line-height: 1.6;
    }
}
