:root {
    --primary-purple: #a569bd;
    --light-purple: #e8daef;
    --soft-white: #ffffff;
    --text-color: #5b2c6f;
    --shadow: 0 10px 25px rgba(165, 105, 189, 0.15);
}

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

body {
    font-family: 'Quicksand', sans-serif;
    background-color: #f7eff9;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255,255,255,0.7) 10%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255,255,255,0.7) 10%, transparent 20%);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Clouds Background */
.clouds-bg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, #fdfbfd, #f4ecf7);
}

/* Header */
.main-header {
    text-align: center;
    padding: 60px 20px 40px;
}

.profile-blob {
    width: 220px;
    height: 220px;
    margin: 0 auto;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    overflow: hidden;
    border: 5px solid white;
    box-shadow: var(--shadow);
    animation: blob-bounce 6s ease-in-out infinite;
    background: white;
    cursor: pointer;
    transition: transform 0.3s;
}

.profile-blob:hover {
    transform: scale(1.05);
}

.profile-blob img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes blob-bounce {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: translateY(0); }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; transform: translateY(-10px); }
}

.fluffy-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 3.5rem;
    color: var(--primary-purple);
    margin: 15px 0 5px;
    text-shadow: 3px 3px 0px rgba(232, 218, 239, 1);
}

.pill-badge {
    background: white;
    padding: 12px 35px;
    border-radius: 50px;
    display: inline-block;
    font-weight: bold;
    color: var(--primary-purple);
    box-shadow: 0 10px 25px rgba(165, 105, 189, 0.2); /* Stronger shadow */
    margin-bottom: 35px;
    border: 4px solid var(--light-purple); /* Soft border */
    font-size: 1.1rem;
    transition: transform 0.3s;
}

.pill-badge:hover {
    transform: scale(1.1);
}

/* Social Cloud */
.social-cloud {
    display: flex;
    justify-content: center;
    gap: 15px;
    background: white;
    padding: 15px 30px;
    border-radius: 50px;
    display: inline-flex;
    box-shadow: var(--shadow);
    position: relative;
}

/* Decorating the social cloud to look like a cloud */
.social-cloud::before, .social-cloud::after {
    content: '';
    position: absolute;
    background: white;
    border-radius: 50%;
    z-index: -1;
}
.social-cloud::before { width: 60px; height: 60px; top: -20px; left: 20px; }
.social-cloud::after { width: 50px; height: 50px; top: -15px; right: 20px; }

.s-icon {
    width: 55px;
    height: 55px; /* Bigger */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: var(--light-purple);
    color: white;
    font-size: 1.4rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 3px solid white;
}

.s-icon:hover {
    transform: scale(1.2) rotate(10deg);
}

.twitch { background: #9146FF; }
.yt { background: #FF0000; }
.yt-af { background: #cc0000; }
.steam { background: #171a21; }

/* Main Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Cards */
.fluffy-card {
    background: white;
    border-radius: 60px; /* Even rounder */
    padding: 50px;
    margin-bottom: 60px;
    position: relative;
    box-shadow: 
        0 20px 50px rgba(165, 105, 189, 0.15),
        inset 0 0 0 10px rgba(248, 240, 252, 0.5); /* Inner soft rim */
    transition: transform 0.3s;
    border: 8px solid white; /* Thick soft border */
}

.fluffy-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 
        0 30px 60px rgba(165, 105, 189, 0.2),
        inset 0 0 0 10px rgba(248, 240, 252, 0.5);
}

/* Fluff Tufts decoration - NOW FLUFFIER */
.decoration-tuft {
    position: absolute;
    background: white;
    border-radius: 50%;
    z-index: 10;
    /* ULTRA MEGA FLUFF */
    box-shadow: 
        25px 25px 0 5px white,
        -25px 25px 0 5px white,
        0px 40px 0 5px white,
        15px -15px 0 5px white,
        -15px -10px 0 5px white;
    filter: drop-shadow(0 5px 10px rgba(165, 105, 189, 0.1));
    animation: fluff-float 3s ease-in-out infinite alternate;
}

@keyframes fluff-float {
    0% { transform: translateY(0); }
    100% { transform: translateY(-5px); }
}

.tuft-1 { width: 70px; height: 70px; top: -35px; left: 30px; }
.tuft-2 { width: 60px; height: 60px; top: -25px; right: 70px; animation-delay: 0.5s; }
.tuft-3 { width: 80px; height: 80px; bottom: -35px; right: 40px; box-shadow: 25px -25px 0 5px white, -25px -25px 0 5px white, 0 -40px 0 5px white; animation-delay: 1s; }

.fluffy-card h2, .fluffy-card h3 {
    font-family: 'Fredoka', sans-serif;
    color: var(--primary-purple);
    margin-bottom: 25px;
    font-size: 2.5rem; /* Bigger title */
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 2px 2px 0 var(--light-purple);
    position: relative;
    z-index: 20;
}

/* Sweet Description Text */
.fluffy-card p {
    font-size: 1.3rem; /* Bigger text */
    line-height: 1.8;
    color: #4a4a4a;
    background: var(--light-purple);
    padding: 20px 25px;
    border-radius: 30px;
    border-bottom-left-radius: 5px; /* Speech bubble effect */
    margin-bottom: 20px;
    position: relative;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.fluffy-card p::before {
    content: '💭';
    position: absolute;
    top: -15px;
    left: -10px;
    font-size: 2rem;
    transform: rotate(-10deg);
}

/* Highlight Card */
.highlight-card {
    border: 5px solid var(--light-purple);
    background: #fffafa;
}

.ref-container {
    position: relative;
    border-radius: 40px; /* Rounder */
    overflow: visible; /* Let sparks fly out */
    box-shadow: 0 15px 40px rgba(165, 105, 189, 0.2);
    background: white;
    padding: 10px; /* Frame */
}

.main-ref {
    width: 100%;
    display: block;
    transition: transform 0.5s;
    cursor: zoom-in;
    border-radius: 30px;
}

.main-ref:hover {
    transform: scale(1.03);
}

.sparkle {
    position: absolute;
    font-size: 2rem;
    animation: spin-sparkle 3s infinite;
}

.s1 { top: 10px; right: 10px; }
.s2 { bottom: 10px; left: 10px; animation-delay: 1.5s; }

@keyframes spin-sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.8; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 1; }
}

/* Gallery Cloud */
.gallery-cloud {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none; /* Firefox */
}
.gallery-cloud::-webkit-scrollbar { display: none; } /* Chrome */

.gallery-cloud img {
    height: 150px;
    border-radius: 20px;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.gallery-cloud img:hover {
    transform: scale(1.1) rotate(2deg);
    z-index: 10;
}

/* Split Section */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.small-card {
    margin-bottom: 20px;
    padding: 30px;
}

.cloud-list {
    list-style: none;
}

.cloud-list li {
    background: var(--light-purple);
    color: var(--text-color);
    padding: 15px 25px;
    margin-bottom: 15px;
    border-radius: 50px; /* Pillow shape */
    font-weight: bold;
    text-align: center;
    transition: transform 0.2s;
    border: 3px solid white;
    box-shadow: 0 5px 10px rgba(0,0,0,0.05);
}

.cloud-list li:hover {
    transform: scale(1.05);
    background: var(--primary-purple);
    color: white;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.tags-cloud span {
    background: #f0f0f0;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* AF Section */
.af-section {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 50px;
}

.af-section p {
    font-family: 'Fredoka', sans-serif;
    color: #aaa;
    margin-bottom: 10px;
}

.af-logo-floating {
    max-width: 120px;
    filter: drop-shadow(0 10px 10px rgba(0,0,0,0.1));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    color: var(--primary-purple);
    font-weight: bold;
}

@media (max-width: 600px) {
    .split-section {
        grid-template-columns: 1fr;
    }
}


/* Pat Pat Button */
.pat-container {
    margin-top: -30px; /* Overlap slightly with blob */
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
}

.pat-button {
    background: #ffabcb; /* Pinkish */
    color: white;
    border: 4px solid white;
    padding: 10px 25px;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 171, 203, 0.4);
    transition: transform 0.1s;
}

.pat-button:active {
    transform: scale(0.9);
}

.pat-button:hover {
    background: #ff94b8;
    transform: scale(1.05);
}

.pat-counter {
    background: white;
    color: var(--primary-purple);
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-block;
    margin-left: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

