:root {
    /* Colors - Kawaii Sakura Palette */
    --color-bg: #fff5f7;
    --color-primary: #ffc0cb;
    /* Sakura Pink */
    --color-secondary: #ff85a1;
    /* Deep Pink */
    --color-accent: #ffd1dc;
    /* Lightest Pink */
    --color-text-main: #5d4037;
    /* Warm Brown for better contrast and "softness" */
    --color-text-muted: #8d6e63;
    --color-white: #ffffff;

    /* Shapes and Shadows */
    --radius-full: 40px;
    --radius-card: 32px;
    --shadow-soft: 0 10px 25px rgba(255, 192, 203, 0.3);
    --shadow-hover: 0 15px 35px rgba(255, 133, 161, 0.4);

    /* Fonts */
    --font-heading: 'Hachi Maru Pop', cursive;
    --font-body: 'M PLUS Rounded 1c', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 192, 203, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 133, 161, 0.1) 0%, transparent 25%);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius-card);
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes float {
    0% {
        transform: translateY(0);
    }

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

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

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

.pulse {
    animation: pulse 3s ease-in-out infinite;
}

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

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

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

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 0 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 20px 40px rgba(255, 133, 161, 0.3));
}

.hero-image {
    width: 100%;
    height: auto;
    border: 8px solid var(--color-white);
    background: var(--color-white);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 0 var(--color-white), 4px 4px 0 rgba(255, 192, 203, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-text-muted);
    font-weight: 500;
    margin-bottom: 2rem;
}

/* Links Grid */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

/* Card Components */
.card {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: var(--color-white);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    border: 4px solid transparent;
    position: relative;
}

.card:hover {
    transform: scale(1.05) rotate(1deg);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-primary);
}

.card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-right: 1.5rem;
    border-radius: 20px;
    background: var(--color-bg);
    color: var(--color-secondary);
    transition: all 0.3s ease;
}

.card:hover .card-icon {
    background: var(--color-primary);
    color: var(--color-white);
    transform: rotate(-10deg);
}

.card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-secondary);
    margin-bottom: 0.25rem;
}

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

/* Secondary Section */
.secondary-section {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 5rem;
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
}

.secondary-content {
    flex: 1;
}

.secondary-content h2 {
    font-family: var(--font-heading);
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.secondary-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 6px solid var(--color-primary);
}

/* Cherry Blossom Petals */
.petal {
    position: fixed;
    top: -10%;
    z-index: 9999;
    pointer-events: none;
    background: var(--color-primary);
    border-radius: 50% 0 50% 50%;
    opacity: 0.3;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        top: -10%;
        transform: translateX(0) rotate(0);
    }

    100% {
        top: 110%;
        transform: translateX(100px) rotate(360deg);
    }
}

footer {
    text-align: center;
    padding: 3rem 0;
    color: var(--color-text-muted);
    font-family: var(--font-heading);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .secondary-section {
        flex-direction: column;
        text-align: center;
    }

    .secondary-image {
        width: 150px;
        height: 150px;
    }
}