* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    color: #333;
    background-color: #f8f5f0;
}

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

header {
    padding: 40px 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 550px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.background-video {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    object-fit: cover;
    border: none;
    min-width: 100%;
    min-height: 100%;
}


.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 1;
}

/* removed video floating illustrations */

.scrolling-photos {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    overflow: hidden;
    z-index: 4;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.3), transparent, rgba(0, 0, 0, 0.3));
}

.photo-track {
    display: flex;
    animation: scrollLeft 20s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
}

.scroll-photo {
    width: 100px;
    object-fit: cover;
    margin-right: 20px;
    border-radius: 8px;
    flex-shrink: 0;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}

.header-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
}

/* spotlight and shine removed */

.main-logo {
    max-width: 720px;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    position: relative;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .35)) drop-shadow(0 2px 0 rgba(255, 255, 255, .4));
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.2);
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
}

/* prominent broadcast badge */
.broadcast-badge {
    position: relative;
    font-weight: 800;
    letter-spacing: .06em;
    color: #a11616;
    background: linear-gradient(180deg, #fffbe6 0%, #ffe6e6 100%);
    border: 2px solid rgba(161, 22, 22, .2);
    box-shadow: 0 8px 20px rgba(161, 22, 22, .25), inset 0 0 12px rgba(255, 255, 255, .6);
    padding: 10px 22px;
    border-radius: 999px;
    animation: badgePulse 2.2s ease-in-out infinite;
}

.broadcast-badge::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 999px;
    background: radial-gradient(closest-side, rgba(255, 87, 87, .25), transparent 70%);
    filter: blur(4px);
    z-index: -1;
}

@keyframes badgePulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(161, 22, 22, .25), inset 0 0 12px rgba(255, 255, 255, .6);
    }

    50% {
        transform: scale(1.04);
        box-shadow: 0 12px 28px rgba(161, 22, 22, .35), inset 0 0 18px rgba(255, 255, 255, .8);
    }
}

.cloud-bg {
    background-color: #fff;
    padding: 30px 20px;
    position: relative;
    overflow: hidden;
}

.intro-section {
    position: relative;
    z-index: 2;
}

/* removed floating illustrations */

.intro-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.intro-text strong {
    color: #4a7c59;
    font-size: 1.2em;
}

/* rice and travel themed intro card */
.intro-card {
    position: relative;
    background: radial-gradient(1200px 600px at 50% -200px, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 45%, rgba(255, 255, 255, 0.8) 100%), url('images/rice-texture.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    padding: 28px 28px 36px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    overflow: hidden;
}

.intro-card::before {
    content: "";
    position: absolute;
    left: -40px;
    right: -40px;
    top: 20px;
    height: 8px;
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .0) 0 16px, rgba(255, 99, 71, .25) 16px 24px);
    border-radius: 999px;
    filter: blur(0.3px);
}

.intro-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 8% 80%, rgba(255, 234, 180, .35) 0 18%, transparent 18%), radial-gradient(circle at 92% 15%, rgba(255, 211, 211, .35) 0 16%, transparent 16%);
    pointer-events: none;
}

.quote-line {
    display: inline-block;
    font-size: 1.35rem;
    font-weight: 800;
    color: #2c2c2c;
    background: rgba(255, 255, 255, .85);
    padding: 10px 14px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    position: relative;
}

.quote-line::before,
.quote-line::after {
    content: "“";
    position: absolute;
    font-size: 2.2rem;
    color: rgba(74, 124, 89, .35);
    transform: translateY(-30%);
}

.quote-line::before {
    left: -18px;
}

.quote-line::after {
    content: "”";
    right: -18px;
}

.intro-card .intro-text {
    text-align: center;
}

/* dotted travel path */
.intro-card .travel-path {
    position: absolute;
    bottom: 12px;
    left: 16px;
    right: 16px;
    height: 0;
    border-bottom: 2px dashed rgba(74, 124, 89, .5);
}

@media (max-width: 768px) {
    .intro-card {
        border-radius: 16px;
        padding: 20px 18px 26px;
        background-attachment: scroll;
    }

    .quote-line {
        font-size: 1.2rem;
        padding: 8px 12px;
    }
}

.cast-section {
    background: #fff;
    padding: 50px 20px;
    margin: 30px 0;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: #4a7c59;
    border-bottom: 3px solid #4a7c59;
    padding-bottom: 15px;
    display: inline-block;
    width: 100%;
}

.cast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.cast-item {
    text-align: center;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cast-item img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.cast-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #4a7c59;
}

.cast-item p {
    color: #666;
    font-size: 0.95rem;
}

.episode-section {
    background: #f8f5f0;
    padding: 50px 20px;
}

.episode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.episode-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.episode-item:hover {
    transform: translateY(-5px);
}

.episode-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.episode-content {
    padding: 20px;
}

.episode-content h3 {
    font-size: 1.2rem;
    color: #4a7c59;
    margin-bottom: 10px;
    line-height: 1.6;
}

.campaign-section {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
    padding: 50px 20px;
    text-align: center;
    margin: 30px 0;
    border-radius: 15px;
}

.campaign-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.campaign-section p {
    font-size: 1.3rem;
    line-height: 1.8;
}

footer {
    background: #333;
    color: white;
    padding: 30px 20px;
    text-align: center;
}

footer img {
    max-width: 200px;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    header {
        min-height: 300px;
    }

    .background-video {
        width: 150%;
        height: 150%;
        top: -25%;
        left: -25%;
    }

    .main-logo {
        max-width: 440px;
    }

    .cast-grid,
    .episode-grid {
        grid-template-columns: 1fr;
    }

    .intro-text {
        font-size: 1rem;
    }

    .floating-illustration {
        max-width: 60px;
    }

    .video-illustration {
        max-width: 70px;
    }

    .scrolling-photos {
        height: 60px;
    }

    .scroll-photo {
        width: 55px;
        height: 50px;
        margin-right: 15px;
    }
}

/* design refinements */
.header-content {
    z-index: 3
}


.subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    letter-spacing: .04em;
    padding: 8px 14px;
    border-radius: 999px;
    color: #16321f;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15)
}

/* enhanced broadcast badge overrides */
.subtitle.broadcast-badge {
    color: #a11616;
    background: linear-gradient(180deg, #fffbe6 0%, #ffe6e6 100%);
    border: 2px solid rgba(161, 22, 22, .25);
    font-weight: 800;
    letter-spacing: .06em;
    font-size: 1.35rem;
    padding: 12px 28px;
    box-shadow: 0 10px 28px rgba(161, 22, 22, .28), 0 0 0 4px rgba(255, 196, 196, .35) inset, inset 0 0 14px rgba(255, 255, 255, .7);
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .7);
}

.subtitle.broadcast-badge::after {
    content: "";
    position: absolute;
    top: -40%;
    left: -30%;
    width: 40%;
    height: 200%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .6) 45%, rgba(255, 255, 255, 0) 60%);
    transform: rotate(10deg);
    animation: badgeShine 3.2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes badgeShine {
    0% {
        left: -30%;
    }

    60% {
        left: 120%;
    }

    100% {
        left: 120%;
    }
}

/* date circle style */
.date-circle {
    display: inline-block;
    width: 1.6em;
    height: 1.6em;
    line-height: 1.6em;
    text-align: center;
    border: 2px solid #a11616;
    border-radius: 50%;
    margin: 0 2px;
    font-weight: 800;
    background: rgba(255, 255, 255, .3);
}

.intro-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 48px;
    font-size: 1.05rem;
    line-height: 2;
    color: #3b3b3b
}

.cast-item {
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    transition: transform .25s ease, box-shadow .25s ease
}

.cast-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .12)
}

.episode-item {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    transition: transform .25s ease, box-shadow .25s ease
}

.episode-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .12)
}

.scrolling-photos {
    background: linear-gradient(90deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, 0) 12%, rgba(0, 0, 0, 0) 88%, rgba(0, 0, 0, .25) 100%)
}

.scroll-photo {
    object-fit: contain;
    margin-right: 28px;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .25))
}

@media (max-width:768px) {
    .subtitle {
        font-size: .95rem;
        padding: 6px 12px
    }

    .intro-text {
        margin: 0 16px 36px;
        max-width: unset
    }
}

@media (max-width:768px) {
    .subtitle.broadcast-badge {
        font-size: 1.05rem;
        padding: 8px 16px;
        box-shadow: 0 8px 18px rgba(161, 22, 22, .24), 0 0 0 3px rgba(255, 196, 196, .3) inset, inset 0 0 10px rgba(255, 255, 255, .65);
    }
}

/* main logo animation */
.main-logo {
    animation: logoFloat 8s ease-in-out infinite;
    will-change: transform
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0) scale(1)
    }

    25% {
        transform: translateY(-6px) scale(1.01)
    }

    50% {
        transform: translateY(-3px) scale(1)
    }

    75% {
        transform: translateY(-9px) scale(1.01)
    }
}

@media (max-width:768px) {
    .main-logo {
        animation-duration: 10s
    }
}