@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;600;700&family=Patrick+Hand&display=swap');

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

:root {
    --pink: #FFB6C1;
    --pink-light: #FFF0F5;
    --lavender: #E6E6FA;
    --mint: #B5EAD7;
    --peach: #FFDAB9;
    --cream: #FFF8E7;
    --yellow: #FFFACD;
    --blue-light: #B5D8F7;
    --text: #5D5D5D;
    --text-dark: #4A4A4A;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Quicksand', sans-serif;
    background-color: var(--cream);
    color: var(--text);
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255,182,193,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 40%, rgba(181,234,215,0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(230,230,250,0.15) 0%, transparent 50%);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--pink-light), var(--lavender), var(--mint));
    text-align: center;
    padding: 2.5rem 1rem 3.5rem;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--cream);
    border-radius: 50% 50% 0 0;
}

.hero-img-container {
    width: 220px;
    height: 220px;
    margin: 0 auto 1.2rem;
    border-radius: 50%;
    border: 6px solid white;
    box-shadow: 0 8px 30px rgba(255,182,193,0.5);
    overflow: hidden;
    animation: gentle-pulse 3s ease-in-out infinite;
}

.hero-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes gentle-pulse {
    0%, 100% { box-shadow: 0 8px 30px rgba(255,182,193,0.5); }
    50% { box-shadow: 0 8px 40px rgba(255,182,193,0.7); }
}

.hero h1 {
    font-family: 'Patrick Hand', cursive;
    font-size: 2.8rem;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.hero h1 .paw {
    display: inline-block;
    animation: bounce 2s infinite;
}

.hero p.subtitle {
    font-size: 1.15rem;
    color: #888;
    font-weight: 600;
}

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

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

/* Sections */
section {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem 1.2rem;
}

.section-title {
    font-family: 'Patrick Hand', cursive;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
}

.section-title .icon {
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

/* About card */
.about-card {
    background: white;
    border-radius: 24px;
    padding: 1.8rem;
    box-shadow: 0 4px 20px rgba(255,182,193,0.2);
    border: 2px solid var(--pink-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.about-item {
    background: var(--pink-light);
    border-radius: 16px;
    padding: 1rem;
    text-align: center;
}

.about-item:nth-child(2) { background: var(--lavender); }
.about-item:nth-child(3) { background: var(--mint); }
.about-item:nth-child(4) { background: var(--peach); }

.about-item .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 0.3rem;
}

.about-item .value {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.about-text {
    text-align: center;
    line-height: 1.8;
    font-size: 1rem;
}

/* Gallery */
.gallery-section {
    background: linear-gradient(180deg, transparent, var(--pink-light) 15%, var(--pink-light) 85%, transparent);
    padding: 2rem 0;
}

.gallery-grid {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1.2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 4px solid white;
    aspect-ratio: 1;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03) rotate(-1deg);
    box-shadow: 0 8px 25px rgba(255,182,193,0.4);
}

.gallery-item.featured {
    grid-column: span 2;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease;
}

/* Brighten dark nighttime photos */
.gallery-item.night-photo img {
    filter: brightness(1.3) contrast(1.1);
}

.gallery-item.night-photo:hover img {
    filter: brightness(1.4) contrast(1.15);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.5));
    color: white;
    padding: 2rem 1rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.gallery-item {
    position: relative;
}

/* Share trigger button (corner) */
.share-trigger {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: rgba(255,255,255,0.9);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 6;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: transform 0.2s ease, background 0.2s ease;
    opacity: 0;
    pointer-events: none;
}

.gallery-item:hover .share-trigger,
.share-trigger.active {
    opacity: 1;
    pointer-events: auto;
}

.share-trigger:hover {
    transform: scale(1.1);
    background: white;
}

.share-trigger svg {
    width: 18px;
    height: 18px;
    fill: var(--text-dark);
}

/* Share popup menu */
.share-popup {
    position: absolute;
    top: 54px;
    right: 10px;
    background: white;
    border-radius: 16px;
    padding: 0.6rem;
    display: none;
    flex-direction: column;
    gap: 0.3rem;
    z-index: 7;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    min-width: 170px;
    animation: popup-in 0.2s ease;
}

.share-popup.open {
    display: flex;
}

@keyframes popup-in {
    from { opacity: 0; transform: translateY(-8px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.share-popup-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.55rem 0.8rem;
    border: none;
    background: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-dark);
    transition: background 0.15s ease;
    white-space: nowrap;
}

.share-popup-item:hover {
    background: var(--pink-light);
}

.share-popup-item .sp-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.share-popup-item .sp-icon svg {
    width: 16px;
    height: 16px;
    fill: white;
}

.share-popup-item .sp-icon.ic-whatsapp { background: #25D366; }
.share-popup-item .sp-icon.ic-facebook { background: #1877F2; }
.share-popup-item .sp-icon.ic-twitter { background: #000; }
.share-popup-item .sp-icon.ic-tiktok { background: #010101; }
.share-popup-item .sp-icon.ic-download { background: var(--pink); }
.share-popup-item .sp-icon.ic-native { background: linear-gradient(135deg, var(--pink), var(--lavender)); }

/* Lightbox share trigger */
.lightbox-share-trigger {
    position: absolute;
    top: 1rem;
    right: 4.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: rgba(255,255,255,0.15);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    backdrop-filter: blur(5px);
    transition: transform 0.2s ease, background 0.2s ease;
}

.lightbox-share-trigger:hover {
    transform: scale(1.1);
    background: rgba(255,255,255,0.25);
}

.lightbox-share-trigger svg {
    width: 22px;
    height: 22px;
    fill: white;
}

/* Lightbox share popup */
.lightbox-share-popup {
    position: absolute;
    top: 4.2rem;
    right: 1.5rem;
    background: white;
    border-radius: 16px;
    padding: 0.6rem;
    display: none;
    flex-direction: column;
    gap: 0.3rem;
    z-index: 1002;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    min-width: 180px;
    animation: popup-in 0.2s ease;
}

.lightbox-share-popup.open {
    display: flex;
}

/* Share toast */
.share-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--text-dark);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 2000;
    transition: transform 0.3s ease;
    pointer-events: none;
}

.share-toast.visible {
    transform: translateX(-50%) translateY(0);
}

/* Buy Me a Coffee - floating icon */
.bmc-float {
    position: fixed;
    bottom: 1.2rem;
    right: 1.2rem;
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 0;
    background: #FFDD00;
    color: #000;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 0;
    width: 52px;
    height: 52px;
    padding: 0;
    border-radius: 50%;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255,221,0,0.45), 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    animation: bmc-entrance 0.5s ease 1s both;
    justify-content: center;
    overflow: hidden;
}

.bmc-float:hover {
    width: auto;
    padding: 0 1.3rem;
    border-radius: 50px;
    gap: 0.5rem;
    font-size: 0.95rem;
    box-shadow: 0 6px 28px rgba(255,221,0,0.55), 0 4px 12px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}

.bmc-float:active {
    transform: translateY(0) scale(0.97);
}

@keyframes bmc-entrance {
    from { opacity: 0; transform: translateY(30px) scale(0.5); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.bmc-float .bmc-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    line-height: 1;
    transition: transform 0.3s ease;
}

.bmc-float:hover .bmc-icon {
    transform: scale(1.1) rotate(-5deg);
}

.bmc-float .bmc-text {
    white-space: nowrap;
    opacity: 0;
    max-width: 0;
    transition: opacity 0.25s ease 0.1s, max-width 0.35s ease;
    overflow: hidden;
}

.bmc-float:hover .bmc-text {
    opacity: 1;
    max-width: 250px;
}

/* Friend section */
.friend-card {
    background: white;
    border-radius: 24px;
    padding: 1.8rem;
    box-shadow: 0 4px 20px rgba(181,234,215,0.3);
    border: 2px solid var(--mint);
    text-align: center;
}

.friend-card p {
    line-height: 1.8;
    font-size: 1rem;
}

.friend-badge {
    display: inline-block;
    background: var(--mint);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    margin: 0.8rem 0;
    font-size: 1.1rem;
}

.time-badge {
    display: inline-block;
    background: var(--yellow);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Map */
.map-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(181,216,247,0.3);
    border: 2px solid var(--blue-light);
}

.map-card .map-info {
    padding: 1.5rem;
    text-align: center;
}

.map-card .map-info p {
    line-height: 1.6;
}

.map-embed {
    width: 100%;
    height: 300px;
    border: none;
}

.location-pin {
    display: inline-block;
    background: var(--blue-light);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

/* Visit CTA */
.visit-section {
    text-align: center;
}

.visit-card {
    background: linear-gradient(135deg, var(--peach), var(--pink-light));
    border-radius: 24px;
    padding: 2rem;
    border: 2px solid white;
    box-shadow: 0 4px 20px rgba(255,218,185,0.3);
}

.visit-card h3 {
    font-family: 'Patrick Hand', cursive;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.visit-items {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.visit-item {
    background: white;
    border-radius: 16px;
    padding: 1rem 1.5rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.visit-item:hover {
    transform: translateY(-4px);
}

.visit-item .emoji {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.3rem;
}

.visit-note {
    font-size: 0.9rem;
    color: #999;
    font-style: italic;
}

/* Quote */
.quote-section {
    text-align: center;
    padding: 2.5rem 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.quote-card {
    background: linear-gradient(135deg, var(--lavender), var(--pink-light), var(--yellow));
    border-radius: 24px;
    padding: 2.5rem 2rem;
    border: 2px solid white;
    box-shadow: 0 4px 20px rgba(230,230,250,0.4);
    position: relative;
}

.quote-card::before,
.quote-card::after {
    font-size: 3rem;
    position: absolute;
    opacity: 0.3;
    font-family: 'Patrick Hand', cursive;
}

.quote-card::before {
    content: '\201C';
    top: 0.2rem;
    left: 1rem;
}

.quote-card::after {
    content: '\201D';
    bottom: -0.5rem;
    right: 1rem;
}

.quote-text {
    font-family: 'Patrick Hand', cursive;
    font-size: 1.35rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.quote-heart {
    font-size: 1.5rem;
    margin-top: 0.8rem;
    display: inline-block;
    animation: gentle-pulse 2s ease-in-out infinite;
}

/* Dark mode */
.dark-mode {
    --pink: #994455;
    --pink-light: #2A1A1E;
    --lavender: #1E1E2E;
    --mint: #1A2E24;
    --peach: #2E2218;
    --cream: #1A1A2E;
    --yellow: #2E2A18;
    --blue-light: #1A2230;
    --text: #C8C8D0;
    --text-dark: #E8E8F0;
}
.dark-mode body, .dark-mode { background-color: #1A1A2E; color: #C8C8D0; }
.dark-mode .hero { background: linear-gradient(135deg, #1E1225, #1E1E2E, #1A2E24); }
.dark-mode .hero::after { background: #1A1A2E; }
.dark-mode .about-card,
.dark-mode .friend-card,
.dark-mode .map-card,
.dark-mode .facts-card,
.dark-mode .timeline-card,
.dark-mode .qr-card,
.dark-mode .comments-card { background: #22223A; border-color: #333355; }
.dark-mode .about-item { background: #2A1A2E; }
.dark-mode .about-item:nth-child(2) { background: #1E1E35; }
.dark-mode .about-item:nth-child(3) { background: #1A2E24; }
.dark-mode .about-item:nth-child(4) { background: #2E2518; }
.dark-mode .gallery-section { background: linear-gradient(180deg, transparent, #1E1225 15%, #1E1225 85%, transparent); }
.dark-mode .gallery-item { border-color: #333; }
.dark-mode .visit-card { background: linear-gradient(135deg, #2E2218, #2A1A1E); }
.dark-mode .visit-item { background: #22223A; }
.dark-mode .quote-card { background: linear-gradient(135deg, #1E1E2E, #2A1A1E, #2E2A18); }
.dark-mode .love-card { background: linear-gradient(135deg, #2A1A1E, #251818, #1E1E2E); }
.dark-mode .tip-card { background: #22223A; }
.dark-mode .tip-card.tip-good { border-color: #2A5540; }
.dark-mode .tip-card.tip-bad { border-color: #553030; }
.dark-mode .tip-card p { color: #888; }
.dark-mode .share-popup, .dark-mode .lightbox-share-popup { background: #22223A; }
.dark-mode .share-popup-item { color: #E8E8F0; }
.dark-mode .share-popup-item:hover { background: #333355; }
.dark-mode .share-trigger { background: rgba(30,30,50,0.9); }
.dark-mode .share-trigger svg { fill: #E8E8F0; }
.dark-mode .sidebar-nav { background: rgba(30,30,50,0.9); border-color: rgba(100,100,150,0.3); }
.dark-mode .nav-dot:hover { background: #333355; }
.dark-mode .nav-dot.active { background: #994455; }
.dark-mode .nav-dot::after { background: #333355; }
.dark-mode footer { background: linear-gradient(180deg, transparent, #1E1E2E); }
.dark-mode .visitor-badge { background: rgba(30,30,50,0.85); }
.dark-mode .friend-badge { background: #1A3E2A; }
.dark-mode .time-badge { background: #2E2A18; }
.dark-mode .location-pin { background: #1A2A3E; }
.dark-mode .fact-nav-btn { border-color: #333355; background: #22223A; color: #E8E8F0; }
.dark-mode .fact-nav-btn:hover { background: #333355; }
.dark-mode .fact-dot { background: #333355; }
.dark-mode .fact-dot.active { background: #994455; }
.dark-mode .timeline::before { opacity: 0.6; }
.dark-mode .timeline-item::before { background: #22223A; }
.dark-mode .purr-float { background: #22223A; color: #E8E8F0; }
.dark-mode .purr-float.purring { background: #2A1A1E; }
.dark-mode .bmc-float { background: #CCAA00; }
.dark-mode .qr-print-btn { background: #333355; color: #E8E8F0; }

/* Dark mode toggle */
.dark-toggle {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 900;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: rgba(255,255,255,0.85);
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background 0.3s;
    backdrop-filter: blur(5px);
}
.dark-toggle:hover { transform: scale(1.1); }
.dark-mode .dark-toggle { background: rgba(30,30,50,0.85); }

/* Music toggle */
.music-toggle {
    position: fixed;
    top: 1rem;
    right: 4rem;
    z-index: 900;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: rgba(255,255,255,0.85);
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background 0.3s;
    backdrop-filter: blur(5px);
}
.music-toggle:hover { transform: scale(1.1); }
.music-toggle.playing { animation: music-pulse 1s ease-in-out infinite; }
.dark-mode .music-toggle { background: rgba(30,30,50,0.85); }
@keyframes music-pulse {
    0%,100% { box-shadow: 0 2px 12px rgba(0,0,0,0.1); }
    50% { box-shadow: 0 2px 20px rgba(255,182,193,0.4); }
}

/* Paw cursor trail */
.paw-trail {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    font-size: 1.2rem;
    opacity: 0.6;
    animation: paw-fade 1.2s ease-out forwards;
}
@keyframes paw-fade {
    0% { opacity: 0.6; transform: scale(1) rotate(var(--paw-rot)); }
    100% { opacity: 0; transform: scale(0.3) rotate(var(--paw-rot)); }
}

/* Hero entrance animation */
.hero-entrance .hero-img-container {
    animation: hero-walk-in 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.hero-entrance h1 {
    animation: hero-text-in 0.8s ease 0.6s both;
}
.hero-entrance .subtitle {
    animation: hero-text-in 0.8s ease 0.8s both;
}
.hero-entrance .visitor-badge {
    animation: hero-text-in 0.8s ease 1s both;
}
@keyframes hero-walk-in {
    0% { opacity: 0; transform: translateX(-100px) rotate(-10deg) scale(0.5); }
    60% { transform: translateX(10px) rotate(3deg) scale(1.05); }
    100% { opacity: 1; transform: translateX(0) rotate(0) scale(1); }
}
@keyframes hero-text-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Days counter */
.days-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--mint);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 0.5rem;
}

/* Health status */
.health-card {
    background: white;
    border-radius: 24px;
    padding: 1.8rem;
    box-shadow: 0 4px 20px rgba(181,234,215,0.25);
    border: 2px solid var(--mint);
    text-align: center;
}
.dark-mode .health-card { background: #22223A; border-color: #2A5540; }
.health-status {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0.8rem 0;
}
.health-status.healthy { background: #D4EDDA; color: #155724; }
.dark-mode .health-status.healthy { background: #1A3E2A; color: #7ECC90; }
.health-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: #28A745;
    animation: health-blink 2s ease-in-out infinite;
}
@keyframes health-blink {
    0%,100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.health-info { font-size: 0.85rem; color: #999; margin-top: 0.5rem; }

/* Vet card / ID */
.vet-card {
    background: linear-gradient(135deg, #FFF8E7, var(--pink-light));
    border-radius: 20px;
    padding: 1.5rem;
    border: 3px solid var(--pink);
    box-shadow: 0 4px 20px rgba(255,182,193,0.2);
    max-width: 380px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.dark-mode .vet-card { background: linear-gradient(135deg, #22223A, #2A1A1E); border-color: #994455; }
.vet-card::before {
    content: '🐾';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 5rem;
    opacity: 0.08;
    transform: rotate(15deg);
}
.vet-header {
    text-align: center;
    border-bottom: 2px dashed var(--pink);
    padding-bottom: 0.8rem;
    margin-bottom: 0.8rem;
}
.vet-header h4 {
    font-family: 'Patrick Hand', cursive;
    font-size: 1.2rem;
    color: var(--text-dark);
}
.vet-row {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    font-size: 0.9rem;
    border-bottom: 1px dotted rgba(0,0,0,0.1);
}
.dark-mode .vet-row { border-bottom-color: rgba(255,255,255,0.1); }
.vet-label { color: #999; font-weight: 600; }
.vet-value { font-weight: 700; color: var(--text-dark); }
.vet-photo {
    width: 70px; height: 70px;
    border-radius: 50%;
    border: 3px solid var(--pink);
    overflow: hidden;
    margin: 0 auto 0.5rem;
}
.vet-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Quiz */
.quiz-card {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(230,230,250,0.3);
    border: 2px solid var(--lavender);
    text-align: center;
}
.dark-mode .quiz-card { background: #22223A; border-color: #333355; }
.quiz-question {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    min-height: 50px;
}
.quiz-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-bottom: 1rem;
}
.quiz-opt {
    padding: 0.8rem;
    border-radius: 14px;
    border: 2px solid var(--lavender);
    background: var(--pink-light);
    cursor: pointer;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: all 0.2s;
}
.dark-mode .quiz-opt { background: #1E1E2E; border-color: #333355; }
.quiz-opt:hover { transform: scale(1.03); border-color: var(--pink); }
.quiz-opt.correct { background: #D4EDDA; border-color: #28A745; }
.quiz-opt.wrong { background: #F8D7DA; border-color: #DC3545; }
.dark-mode .quiz-opt.correct { background: #1A3E2A; border-color: #28A745; }
.dark-mode .quiz-opt.wrong { background: #3E1A1A; border-color: #DC3545; }
.quiz-opt:disabled { cursor: default; opacity: 0.7; }
.quiz-progress {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
}
.quiz-pip {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--lavender);
    transition: background 0.3s;
}
.quiz-pip.done { background: #28A745; }
.quiz-pip.fail { background: #DC3545; }
.quiz-pip.current { background: var(--pink); transform: scale(1.3); }
.quiz-score {
    font-family: 'Patrick Hand', cursive;
    font-size: 1.5rem;
    color: var(--text-dark);
}
.quiz-restart {
    margin-top: 0.8rem;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    border: none;
    background: var(--pink);
    color: white;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s;
}
.quiz-restart:hover { transform: scale(1.05); }

/* Collaborative gallery CTA */
.collab-card {
    background: linear-gradient(135deg, var(--mint), var(--blue-light));
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    border: 2px solid white;
    box-shadow: 0 4px 20px rgba(181,234,215,0.3);
}
.dark-mode .collab-card { background: linear-gradient(135deg, #1A2E24, #1A2230); border-color: #333; }
.collab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: var(--text-dark);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    margin-top: 1rem;
}
.dark-mode .collab-btn { background: #22223A; color: #E8E8F0; }
.collab-btn:hover { transform: translateY(-3px); }

/* Visitor counter badge */
.visitor-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.85);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-top: 0.8rem;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.visitor-badge .vb-count {
    color: var(--text-dark);
    font-weight: 700;
}

/* Rutina / Timeline */
.timeline-card {
    background: white;
    border-radius: 24px;
    padding: 1.8rem;
    box-shadow: 0 4px 20px rgba(255,218,185,0.25);
    border: 2px solid var(--peach);
}
.timeline {
    position: relative;
    padding-left: 2.5rem;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--peach), var(--pink), var(--lavender), var(--mint));
    border-radius: 3px;
}
.timeline-item {
    position: relative;
    padding: 0.8rem 0;
}
.timeline-item::before {
    content: attr(data-emoji);
    position: absolute;
    left: -2.1rem;
    top: 0.8rem;
    width: 28px;
    height: 28px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.timeline-time {
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--pink);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.timeline-desc {
    font-size: 0.95rem;
    margin-top: 0.15rem;
}

/* Love / Carino section */
.love-section { text-align: center; }
.love-card {
    background: linear-gradient(135deg, var(--pink-light), #FFE4E1, var(--lavender));
    border-radius: 24px;
    padding: 2rem;
    border: 2px solid white;
    box-shadow: 0 4px 20px rgba(255,182,193,0.25);
    position: relative;
    overflow: hidden;
}
.love-counter {
    font-family: 'Patrick Hand', cursive;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin: 0.5rem 0;
}
.love-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #FF6B81;
    color: white;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255,107,129,0.4);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.love-btn:hover { transform: scale(1.05); box-shadow: 0 6px 20px rgba(255,107,129,0.5); }
.love-btn:active { transform: scale(0.95); }
.love-btn .heart-icon { font-size: 1.3rem; }
.flying-heart {
    position: absolute;
    font-size: 1.5rem;
    pointer-events: none;
    animation: fly-up 1.2s ease-out forwards;
    z-index: 10;
}
@keyframes fly-up {
    0% { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(-120px) scale(1.5) rotate(20deg); }
}

/* Cat facts carousel */
.facts-card {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(230,230,250,0.3);
    border: 2px solid var(--lavender);
    text-align: center;
}
.fact-display {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.fact-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-dark);
    transition: opacity 0.3s ease;
}
.fact-emoji { font-size: 2.5rem; margin-bottom: 0.5rem; }
.fact-nav {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1rem;
}
.fact-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--lavender);
    background: white;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}
.fact-nav-btn:hover { background: var(--lavender); transform: scale(1.1); }
.fact-dots {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}
.fact-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--lavender);
    transition: background 0.2s, transform 0.2s;
}
.fact-dot.active { background: var(--pink); transform: scale(1.3); }

/* Purr button floating */
.purr-float {
    position: fixed;
    bottom: 1.2rem;
    left: 1.2rem;
    z-index: 900;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
    animation: bmc-entrance 0.5s ease 1.2s both;
}
.purr-float:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.purr-float:active { transform: scale(0.9); }
.purr-float.purring {
    animation: purr-vibrate 0.1s infinite;
    background: var(--pink-light);
}
@keyframes purr-vibrate {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px) rotate(-2deg); }
    75% { transform: translateX(2px) rotate(2deg); }
}

/* Tips section */
.tips-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.tip-card {
    background: white;
    border-radius: 18px;
    padding: 1.2rem;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
    text-align: center;
    transition: transform 0.2s;
}
.tip-card:hover { transform: translateY(-4px); }
.tip-card .tip-emoji { font-size: 2rem; margin-bottom: 0.4rem; }
.tip-card h4 {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}
.tip-card p {
    font-size: 0.8rem;
    line-height: 1.5;
    color: #999;
}
.tip-card.tip-good { border: 2px solid var(--mint); }
.tip-card.tip-bad { border: 2px solid #FFB3B3; }

/* QR section */
.qr-card {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 2px solid var(--lavender);
    text-align: center;
}
.qr-img {
    width: 180px;
    height: 180px;
    margin: 1rem auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.qr-img img { width: 100%; height: 100%; object-fit: contain; }
.qr-note { font-size: 0.85rem; color: #999; margin-top: 0.8rem; }
.qr-print-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--lavender);
    color: var(--text-dark);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 0.8rem;
    transition: background 0.2s, transform 0.2s;
}
.qr-print-btn:hover { background: var(--pink-light); transform: scale(1.05); }

/* Giscus comments */
.comments-section {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem 1.2rem;
}
.comments-card {
    background: white;
    border-radius: 24px;
    padding: 1.8rem;
    box-shadow: 0 4px 20px rgba(181,234,215,0.2);
    border: 2px solid var(--mint);
}

/* Sidebar Navigation */
.sidebar-nav {
    position: fixed;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    z-index: 800;
    padding: 0.8rem 0.5rem;
    background: rgba(255,255,255,0.85);
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,182,193,0.3);
}

.nav-dot {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
    background: transparent;
}

.nav-dot .dot-icon {
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.nav-dot:hover {
    transform: scale(1.15);
    background: var(--pink-light);
}

.nav-dot.active {
    background: var(--pink);
    transform: scale(1.1);
}

.nav-dot.active .dot-icon {
    filter: brightness(1.1);
}

/* Label tooltip */
.nav-dot::after {
    content: attr(data-label);
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%) translateX(-5px);
    background: var(--text-dark);
    color: white;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.7rem;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-dot:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(180deg, transparent, var(--lavender));
    font-size: 0.85rem;
    color: #aaa;
}

footer .paws {
    font-size: 1.5rem;
    letter-spacing: 8px;
    margin-bottom: 0.5rem;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    backdrop-filter: blur(5px);
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 92%;
    max-height: 92%;
    border-radius: 16px;
    box-shadow: 0 0 60px rgba(255,182,193,0.3);
    animation: lightbox-in 0.3s ease;
}

@keyframes lightbox-in {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(255,255,255,0.15);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    font-family: inherit;
}

/* Responsive - Sidebar on smaller screens */
@media (max-width: 900px) {
    .sidebar-nav {
        left: 0.5rem;
        gap: 0.4rem;
        padding: 0.6rem 0.35rem;
    }
    .nav-dot { width: 32px; height: 32px; }
    .nav-dot .dot-icon { font-size: 0.95rem; }
}

/* Responsive - Tablet */
@media (max-width: 768px) {
    .hero { padding: 2rem 1rem 3rem; }
    .hero-img-container { width: 200px; height: 200px; }
    .hero h1 { font-size: 2.4rem; }
    section { padding: 1.5rem 1rem; }
    .section-title { font-size: 1.6rem; }
    .about-card { padding: 1.5rem; }
    .friend-card { padding: 1.5rem; }
    .map-embed { height: 250px; }
    .visit-card { padding: 1.5rem; }
    .quote-card { padding: 2rem 1.5rem; }
    .quote-text { font-size: 1.2rem; }
}

/* Responsive - Mobile */
@media (max-width: 480px) {
    .hero { padding: 1.5rem 0.8rem 2.5rem; }
    .hero h1 { font-size: 1.8rem; }
    .hero p.subtitle { font-size: 1rem; }
    .hero-img-container { width: 150px; height: 150px; border-width: 4px; }
    .hero::after { height: 40px; }

    section { padding: 1.2rem 0.8rem; }
    .section-title { font-size: 1.4rem; margin-bottom: 0.8rem; }

    .about-card { padding: 1.2rem; border-radius: 18px; }
    .about-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
    .about-item { padding: 0.7rem; border-radius: 12px; }
    .about-item .label { font-size: 0.65rem; }
    .about-item .value { font-size: 0.95rem; }
    .about-text { font-size: 0.9rem; line-height: 1.6; }

    .gallery-section { padding: 1.5rem 0; }
    .gallery-grid { gap: 0.5rem; padding: 0 0.8rem; }
    .gallery-item { border-width: 3px; border-radius: 14px; }
    .gallery-item.featured { aspect-ratio: 16/10; }
    .gallery-caption { font-size: 0.75rem; padding: 1.5rem 0.7rem 0.5rem; }

    /* Share trigger always visible on mobile */
    .share-trigger { opacity: 1; pointer-events: auto; width: 34px; height: 34px; top: 8px; right: 8px; }
    .share-trigger svg { width: 16px; height: 16px; }
    .share-popup { top: 48px; right: 8px; min-width: 155px; }
    .share-popup-item { padding: 0.45rem 0.7rem; font-size: 0.8rem; }
    .share-popup-item .sp-icon { width: 26px; height: 26px; }
    .share-popup-item .sp-icon svg { width: 14px; height: 14px; }

    .friend-card { padding: 1.2rem; border-radius: 18px; }
    .friend-card p { font-size: 0.9rem; }
    .friend-badge { font-size: 1rem; padding: 0.4rem 1.2rem; }
    .time-badge { font-size: 0.85rem; padding: 0.3rem 1rem; }

    .map-card { border-radius: 18px; }
    .map-card .map-info { padding: 1rem; }
    .map-card .map-info p { font-size: 0.9rem; }
    .map-embed { height: 220px; }
    .location-pin { font-size: 0.8rem; }

    .visit-card { padding: 1.2rem; border-radius: 18px; }
    .visit-card h3 { font-size: 1.2rem; }
    .visit-items { gap: 0.6rem; }
    .visit-item { padding: 0.7rem 1rem; border-radius: 12px; }
    .visit-item .emoji { font-size: 1.5rem; }
    .visit-note { font-size: 0.8rem; }

    .quote-section { padding: 1.5rem 0.8rem; }
    .quote-card { padding: 1.8rem 1.2rem; border-radius: 18px; }
    .quote-text { font-size: 1.1rem; line-height: 1.6; }
    .quote-card::before, .quote-card::after { font-size: 2.2rem; }
    .quote-heart { font-size: 1.2rem; }

    footer { padding: 1.5rem 0.8rem; }
    footer .paws { font-size: 1.2rem; letter-spacing: 5px; }
    footer p { font-size: 0.8rem; }

    .lightbox img { max-width: 96%; max-height: 80%; border-radius: 10px; }
    .lightbox-close { top: 0.8rem; right: 0.8rem; width: 38px; height: 38px; font-size: 1.5rem; }
    .lightbox-share-trigger { top: 0.8rem; right: 3.8rem; width: 38px; height: 38px; }
    .lightbox-share-trigger svg { width: 18px; height: 18px; }
    .lightbox-share-popup { top: 3.8rem; right: 0.8rem; min-width: 160px; }

    .share-toast { font-size: 0.8rem; padding: 0.6rem 1.2rem; }

    .bmc-float { bottom: 4.2rem; right: 0.8rem; width: 46px; height: 46px; }
    .bmc-float .bmc-icon { font-size: 1.4rem; }
    .bmc-float:hover { font-size: 0.85rem; }
    .purr-float { bottom: 4.2rem; left: 0.8rem; width: 44px; height: 44px; font-size: 1.3rem; }
    .dark-toggle { top: 0.6rem; right: 0.6rem; width: 38px; height: 38px; font-size: 1.1rem; }
    .music-toggle { top: 0.6rem; right: 3.2rem; width: 38px; height: 38px; font-size: 1.1rem; }
    .quiz-options { grid-template-columns: 1fr; }
    .vet-card { padding: 1.2rem; }
    .vet-row { font-size: 0.8rem; }
    .tips-grid { grid-template-columns: 1fr; }
    .love-counter { font-size: 2rem; }
    .love-btn { font-size: 1rem; padding: 0.8rem 1.5rem; }
    .qr-img { width: 150px; height: 150px; }
    .comments-section { padding: 1.2rem 0.8rem; }
    .comments-card { padding: 1.2rem; }

    /* Sidebar becomes bottom bar on mobile */
    .sidebar-nav {
        left: 0;
        top: auto;
        bottom: 0;
        transform: none;
        flex-direction: row;
        width: 100%;
        border-radius: 20px 20px 0 0;
        justify-content: space-around;
        padding: 0.5rem 0.3rem;
        gap: 0;
        border: none;
        border-top: 1px solid rgba(255,182,193,0.3);
        background: rgba(255,255,255,0.95);
    }
    .nav-dot { width: 38px; height: 38px; }
    .nav-dot .dot-icon { font-size: 1rem; }
    .nav-dot::after { display: none; }

    footer { padding-bottom: 4.5rem; }
}

/* Responsive - Very small */
@media (max-width: 360px) {
    .hero h1 { font-size: 1.5rem; }
    .hero-img-container { width: 130px; height: 130px; }
    .about-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item.featured { grid-column: span 1; }
    .visit-items { flex-direction: column; align-items: center; }
    .quote-text { font-size: 1rem; }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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