:root {
    --color-primary: #B0B0B0;
    /* Soft Gray */
    --color-primary-dark: #4A4A4A;
    /* Dark Charcoal */
    --color-accent: #FFD4D4;
    /* Pastel Pink for cute accents (cheeks/hearts) */
    --color-text: #333333;
    --color-bg: #FFFFFF;
    --color-bg-soft: #F5F5F5;
    /* Very light gray */
    --font-main: 'M PLUS Rounded 1c', sans-serif;
    --border-radius-lg: 20px;
    --border-radius-md: 12px;
}

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

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.leelee-float {
    animation: float 4s ease-in-out infinite;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Hero Section */
.hero {
    background: url('assets/images/clouds.png') no-repeat center center;
    background-size: cover;
    /* Cover the area */
    /* Maintain the gradient overlay if desired, or just use the image. 
       If the image is transparent PNG clouds, we might want to keep a bg color behind it.
       Let's assume it's a full background image for now based on 'clouds.png'. 
       If it needs a color behind, we can add it. */
    background-color: var(--color-bg-soft);
    text-align: center;
    padding: 3rem 1rem;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    /* For absolute positioning of title */
}

.hero h2 {
    font-size: 1.5rem;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
}

.site-title {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 1.1rem;
    color: var(--color-text);
    background-color: #E0E0E0;
    /* Darker gray */
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 900;
    /* Extra bold for cuteness */
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    margin: 0;
    z-index: 10;
}

.title-sub {
    font-size: 0.7em;
    font-weight: 700;
    color: #888;
    letter-spacing: -0.05em;
    margin: 0 2px;
}

.hero-image-container {
    width: 250px;
    margin: 1rem auto;
    position: relative;
    /* For text positioning if needed */
    z-index: 2;
}

.hero-text {
    position: relative;
    z-index: 2;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 1.5rem 0;
    color: var(--color-text);
}

/* Countdown */
.countdown-container {
    background-color: var(--color-primary);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    color: white;
    box-shadow: 0 10px 20px rgba(100, 100, 100, 0.2);
    margin-top: 1rem;
    width: 100%;
    max-width: 400px;
}

.countdown-label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.countdown-timer {
    font-size: 1.5rem;
    font-weight: 900;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.countdown-timer span {
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0 5px;
    border-radius: 8px;
}

/* Sections General */
.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    color: var(--color-primary-dark);
    margin-bottom: 2.5rem;
    line-height: 1.4;
}

/* Profile Section */
.profile {
    background-color: var(--color-bg-soft);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.feature-card {
    background: white;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    /* For full width image */
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-img {
    width: 100%;
    height: auto;
    margin: 0;
    display: block;
}

.feature-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 16/9;
    /* Match works cards if possible, or adjust based on GIF */
}

.feature-card h3 {
    color: var(--color-primary-dark);
    margin: 1.5rem 1.5rem 0.5rem;
    /* Padding for text */
    font-size: 1.3rem;
}

.feature-card p {
    margin: 0 1.5rem 2rem;
    /* Padding for text */
}

/* Works Section */
.works-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.work-card {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.work-card:hover {
    transform: translateY(-5px);
}

.work-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.work-content {
    padding: 1.5rem;
    text-align: center;
}

.work-content h3 {
    margin-bottom: 0.5rem;
    color: var(--color-primary-dark);
}

.work-content p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.btn-link {
    display: inline-block;
    background-color: var(--color-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    transition: background-color 0.3s;
}

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

/* Event Section */
.event {
    background-image: repeating-linear-gradient(45deg, #fff 0, #fff 20px, #f5fdf9 20px, #f5fdf9 40px);
}

/* Event Section (Scrapbook Style) */
.event {
    background-image: repeating-linear-gradient(45deg, #fff 0, #fff 20px, #f5fdf9 20px, #f5fdf9 40px);
    overflow: hidden;
    /* Prevent rotation overflow */
}

.event-container-scrapbook {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 1rem;
}

/* Polaroid Style */
.polaroid-photo {
    background: white;
    padding: 15px 15px 40px 15px;
    /* Bottom padding for caption space */
    box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.15);
    transform: rotate(-3deg);
    width: 280px;
    position: relative;
    transition: transform 0.3s ease;
}

.polaroid-photo:hover {
    transform: rotate(0deg) scale(1.05);
    z-index: 10;
}

.polaroid-photo img {
    width: 100%;
    height: auto;
    border: 1px solid #eee;
}

.photo-caption {
    font-family: 'Zen Maru Gothic', var(--font-main);
    /* Fallback */
    font-weight: 700;
    color: #444;
    text-align: center;
    margin-top: 15px;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
}

.masking-tape {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%) rotate(2deg);
    width: 100px;
    height: 30px;
    background-color: rgba(255, 230, 230, 0.8);
    /* Pastel pink tape */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 5;
    opacity: 0.9;
}

/* Notebook/Memo Style */
.event-ticket-box {
    background-color: #FFFDE7;
    /* Pale Yellow */
    background-image:
        linear-gradient(#e6e6e6 1px, transparent 1px),
        linear-gradient(90deg, #e6e6e6 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0;
    padding: 2.5rem;
    border-radius: 15px;
    position: relative;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: rotate(1deg);
    text-align: center;
    border: none;
    /* Remove dashed border */
}

/* Spiral binding holes at the top */
.event-ticket-box::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 10px;
    right: 10px;
    height: 30px;
    background-image: radial-gradient(circle, #f5fdf9 30%, #555 31%, #555 40%, transparent 41%);
    background-size: 30px 30px;
    background-repeat: repeat-x;
    z-index: 5;
}

.ticket-content h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    border-bottom: 2px dotted #eee;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
}

.location-label {
    background: var(--color-text);
    color: white;
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 4px;
    vertical-align: middle;
}

.highlight {
    margin-top: 1.5rem;
    color: #FF8BA7;
    font-weight: 900;
    font-size: 1.2rem;
    background: #FFF0F5;
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    transform: rotate(-2deg);
    box-shadow: 0 2px 5px rgba(255, 139, 167, 0.2);
}

@media (min-width: 768px) {
    .event-container-scrapbook {
        flex-direction: row;
        justify-content: center;
        gap: 4rem;
    }

    .polaroid-photo {
        transform: rotate(-5deg);
    }

    .event-ticket-box {
        transform: rotate(2deg);
    }
}

/* Footer */
.footer {
    background-color: var(--color-primary-dark);
    color: white;
    padding: 3rem 0 6rem;
    /* Extra padding bottom for floating btn */
    text-align: center;
}

.link-list {
    list-style: none;
    margin-bottom: 2rem;
}

.link-list li {
    margin-bottom: 1rem;
}

.link-list a {
    font-weight: 700;
    border-bottom: 1px dotted white;
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #06C755;
    /* LINE Green */
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(6, 199, 85, 0.4);
    z-index: 1000;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.floating-cta:hover {
    transform: scale(1.05);
}

.cta-icon {
    font-weight: 900;
    font-size: 1.2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .site-title {
        position: relative;
        top: auto;
        left: auto;
        display: inline-block;
        margin-bottom: 2rem;
        font-size: 1rem;
    }

    .hero {
        padding-top: 2rem;
        justify-content: flex-start;
        /* Ensure content starts from top */
    }



    .hero h2 {
        font-size: 1.2rem;
    }

    .hero-text {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .event-container-scrapbook {
        transform: scale(0.9);
        /* Scale down event section slightly for mobile */
    }
}

@media (min-width: 768px) {

    .features-grid,
    .works-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        justify-content: center;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero-text {
        font-size: 1.5rem;
    }

    .hero-image-container {
        width: 350px;
    }

    .floating-cta {
        bottom: 30px;
        right: 30px;
        padding: 15px 30px;
        font-size: 1.1rem;
    }
}