/* ===== PINK MAXIMALIST DESIGN v2 ===== */

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

:root {
    --pink-primary: #FF69B4;
    --pink-secondary: #FFB6C1;
    --pink-accent: #FF1493;
    --pink-bg: #FFF0F5;
    --pink-dark: #C71585;
    --pink-text: #8B0051;
    --pink-light: #FFE4E1;
    --pink-glow: #FF85C8;
    --pink-hot: #FF007F;
    --gold-sparkle: #FFD700;
    --unicorn-purple: #9B59B6;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 105, 180, 0.25);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: 'Nunito', 'Segoe UI', sans-serif;
    background: var(--pink-bg);
    color: var(--pink-text);
    overflow-x: hidden;
    cursor: default;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Quicksand', 'Segoe UI', sans-serif;
}

/* Subtle unicorn silhouette background pattern (Easter Egg #5) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Ctext x='40' y='45' text-anchor='middle' font-size='24'%3E🦄%3C/text%3E%3C/svg%3E");
    background-repeat: repeat;
}

/* Particle canvas */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hidden {
    display: none !important;
}

/* ===== GLASSMORPHISM ===== */

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

/* ===== NAVBAR ===== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5000;
    background: rgba(255, 240, 245, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 105, 180, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 20px rgba(255, 105, 180, 0.1);
}

.navbar.nav-hidden {
    transform: translateY(-100%);
}

.navbar.nav-scrolled {
    box-shadow: 0 4px 30px rgba(255, 105, 180, 0.2);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 65px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--pink-dark);
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
}

.nav-cat-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.nav-logo:hover .nav-cat-icon {
    transform: rotate(15deg) scale(1.1);
}

.nav-links {
    display: flex;
    gap: 5px;
}

.nav-link {
    text-decoration: none;
    color: var(--pink-text);
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: rgba(255, 105, 180, 0.1);
    color: var(--pink-accent);
}

.nav-link.active {
    background: linear-gradient(135deg, var(--pink-primary), var(--pink-accent));
    color: white;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--pink-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FF69B4 0%, #FF1493 25%, #C71585 50%, #FF69B4 75%, #FFB6C1 100%);
    background-size: 300% 300%;
    animation: heroGradient 12s ease infinite;
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 80px 20px 40px;
}

@keyframes heroGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(255, 182, 193, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

/* Floating items */
.hero-floating {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.float-item {
    position: absolute;
    font-size: 1.8rem;
    left: var(--x);
    top: var(--y);
    animation: floatAround 6s ease-in-out infinite;
    animation-delay: var(--delay);
    opacity: 0.5;
}

@keyframes floatAround {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.5; }
    25% { transform: translateY(-20px) rotate(5deg); opacity: 0.7; }
    50% { transform: translateY(-10px) rotate(-3deg); opacity: 0.6; }
    75% { transform: translateY(-25px) rotate(4deg); opacity: 0.5; }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4.5rem;
    color: white;
    text-shadow: 0 0 30px rgba(255, 105, 180, 0.8), 0 0 60px rgba(255, 20, 147, 0.4), 0 4px 8px rgba(0,0,0,0.1);
    margin: 20px 0 15px;
    letter-spacing: 3px;
    font-weight: 700;
}

.hero .tagline {
    font-size: 1.4rem;
    color: #FFE4E1;
    margin-bottom: 35px;
    font-style: italic;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cta-btn {
    display: inline-block;
    padding: 16px 45px;
    background: white;
    color: var(--pink-accent);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 20, 147, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 105, 180, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 20, 147, 0.6);
    background: var(--pink-light);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    opacity: 0.8;
    animation: fadeInUp 1s ease 1s both;
}

.mouse-icon {
    width: 26px;
    height: 40px;
    border: 2px solid white;
    border-radius: 13px;
    position: relative;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: mouseScroll 1.5s ease infinite;
}

@keyframes mouseScroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 0.8; transform: translateY(0); }
}

/* ===== CSS CAT FACE (HERO) ===== */

.cat-face {
    position: relative;
    width: 220px;
    height: 280px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.cat-face:hover {
    transform: scale(1.05);
}

.cat-face.unicorn-mode {
    filter: drop-shadow(0 0 20px rgba(155, 89, 182, 0.6));
}

.cat-head {
    width: 180px;
    height: 160px;
    background: white;
    border-radius: 50% 50% 45% 45%;
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.6);
}

.cat-ear {
    position: absolute;
    top: 5px;
    width: 0;
    height: 0;
    border-left: 32px solid transparent;
    border-right: 32px solid transparent;
    border-bottom: 55px solid white;
    z-index: 1;
}

.cat-ear.left { left: 15px; transform: rotate(-15deg); }
.cat-ear.right { right: 15px; transform: rotate(15deg); }

.cat-ear::after {
    content: '';
    position: absolute;
    top: 14px;
    left: -20px;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 35px solid var(--pink-primary);
}

/* Unicorn horn (Easter Egg #11) */
.cat-horn {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 40px solid var(--gold-sparkle);
    z-index: 10;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.8));
    animation: hornGlow 1.5s ease infinite alternate;
}

@keyframes hornGlow {
    from { filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.8)); }
    to { filter: drop-shadow(0 0 16px rgba(255, 215, 0, 1)); }
}

.cat-eye {
    position: absolute;
    top: 50px;
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    border: 3px solid #444;
    overflow: hidden;
}

.left-eye { left: 28px; }
.right-eye { right: 28px; }

.iris {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
}

.blue-iris {
    background: radial-gradient(circle at 40% 40%, #87CEEB, #4169E1, #2744a8);
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.15);
}

.gold-iris {
    background: radial-gradient(circle at 40% 40%, #FFE44D, #FFD700, #B8860B);
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.15);
}

.pupil {
    width: 12px;
    height: 30px;
    background: #111;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.eye-shine {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    position: absolute;
    top: 7px;
    right: 7px;
    z-index: 3;
}

/* Blink animation */
.eyelid {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    height: 0%;
    background: white;
    z-index: 4;
    border-radius: 50% 50% 0 0;
    animation: blink 4s ease infinite;
}

@keyframes blink {
    0%, 95%, 100% { height: 0%; }
    97% { height: 100%; }
}

/* Eye glow */
.cat-eye::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    z-index: -1;
}

.left-eye::after {
    box-shadow: 0 0 15px rgba(65, 105, 225, 0.4);
    animation: eyeGlow 3s ease infinite alternate;
}

.right-eye::after {
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    animation: eyeGlow 3s ease infinite alternate-reverse;
}

@keyframes eyeGlow {
    from { opacity: 0.5; }
    to { opacity: 1; }
}

.cat-nose {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 12px;
    background: var(--pink-primary);
    border-radius: 50% 50% 40% 40%;
}

.cat-mouth {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 8px;
    border-bottom: 2px solid #ccc;
    border-radius: 0 0 50% 50%;
}

.cat-whisker {
    position: absolute;
    bottom: 35px;
}

.left-whiskers { left: 5px; }
.right-whiskers { right: 5px; }

.cat-whisker span {
    display: block;
    width: 45px;
    height: 2px;
    background: #bbb;
    margin: 6px 0;
    border-radius: 1px;
    transition: transform 0.3s ease;
}

.cat-face:hover .left-whiskers span:nth-child(1) { transform: rotate(-15deg) scaleX(1.1); }
.cat-face:hover .left-whiskers span:nth-child(3) { transform: rotate(15deg) scaleX(1.1); }
.cat-face:hover .right-whiskers span:nth-child(1) { transform: rotate(15deg) scaleX(1.1); }
.cat-face:hover .right-whiskers span:nth-child(3) { transform: rotate(-15deg) scaleX(1.1); }

.left-whiskers span:nth-child(1) { transform: rotate(-10deg); }
.left-whiskers span:nth-child(2) { transform: rotate(0deg); }
.left-whiskers span:nth-child(3) { transform: rotate(10deg); }

.right-whiskers span:nth-child(1) { transform: rotate(10deg); }
.right-whiskers span:nth-child(2) { transform: rotate(0deg); }
.right-whiskers span:nth-child(3) { transform: rotate(-10deg); }

/* Cat body & tail */
.cat-body {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 60px;
    background: white;
    border-radius: 50% 50% 45% 45% / 70% 70% 30% 30%;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.cat-tail {
    position: absolute;
    bottom: 10px;
    right: -30px;
    width: 50px;
    height: 20px;
    background: white;
    border-radius: 0 50% 50% 0;
    transform-origin: left center;
    animation: tailWag 3s ease-in-out infinite;
}

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

/* ===== WAVE DIVIDERS ===== */

.wave-divider {
    margin-top: -2px;
    line-height: 0;
    position: relative;
    z-index: 1;
}

.wave-divider svg {
    width: 100%;
    height: 60px;
    display: block;
}

/* ===== SECTIONS ===== */

.section {
    padding: 80px 0;
    position: relative;
}

.section h2 {
    text-align: center;
    font-size: 2.8rem;
    color: var(--pink-dark);
    margin-bottom: 10px;
    position: relative;
    font-weight: 700;
}

.section h2::after {
    content: '✨';
    display: block;
    font-size: 1.5rem;
    margin-top: 8px;
}

.section-subtitle {
    text-align: center;
    color: var(--pink-primary);
    margin-bottom: 40px;
    font-size: 1.15rem;
    font-weight: 600;
}

/* ===== ABOUT SECTION ===== */

.about-section {
    background: var(--pink-bg);
}

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

.about-card {
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(255, 105, 180, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(255, 105, 180, 0.25);
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 18px;
    display: block;
}

.about-card h3 {
    color: var(--pink-accent);
    margin-bottom: 14px;
    font-size: 1.4rem;
    font-weight: 700;
}

.about-card p {
    line-height: 1.8;
    color: #6B3A5A;
}

/* ===== MAGIC WORD TOOLTIP ===== */

.magic-word {
    color: var(--unicorn-purple);
    font-weight: 700;
    cursor: help;
    position: relative;
    border-bottom: 2px dotted var(--unicorn-purple);
    transition: color 0.3s ease;
}

.magic-word:hover {
    color: var(--pink-accent);
}

.magic-word::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: linear-gradient(135deg, var(--unicorn-purple), var(--pink-accent));
    color: white;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 100;
    max-width: 280px;
    white-space: normal;
    text-align: center;
    box-shadow: 0 8px 25px rgba(155, 89, 182, 0.35);
    line-height: 1.5;
}

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

/* ===== GALLERY SECTION ===== */

.gallery-section {
    background: #FFD6E8;
}

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

.cat-card {
    border-radius: 24px;
    padding: 28px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(255, 105, 180, 0.15);
    transition: all 0.4s ease;
    cursor: pointer;
    user-select: none;
    position: relative;
    overflow: hidden;
}

.cat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.cat-card:hover::before {
    left: 150%;
}

.cat-card:hover {
    transform: translateY(-8px) rotate(0.5deg);
    box-shadow: 0 16px 45px rgba(255, 105, 180, 0.3);
}

.cat-card h3 {
    color: var(--pink-accent);
    margin: 15px 0 8px;
    font-size: 1.4rem;
    font-weight: 700;
}

.cat-card p {
    color: #6B3A5A;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Cat personality stats */
.cat-stats {
    margin: 15px 0 5px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease, margin 0.4s ease;
}

.cat-card:hover .cat-stats {
    max-height: 120px;
    opacity: 1;
    margin: 15px 0 10px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 6px 0;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--pink-dark);
    min-width: 90px;
    text-align: right;
}

.stat-bar {
    flex: 1;
    height: 8px;
    background: #FFE4E1;
    border-radius: 4px;
    overflow: hidden;
}

.stat-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--pink-primary), var(--pink-accent));
    border-radius: 4px;
    transition: width 0.8s ease;
    width: 0%;
}

.cat-card:hover .stat-fill {
    width: var(--w, 0%);
}

.rainbow-fill {
    background: linear-gradient(90deg, #FF6B6B, #FFD93D, #6BCB77, #4D96FF, #9B59B6) !important;
    animation: rainbowShift 3s linear infinite;
}

.breed-tag {
    display: inline-block;
    margin-top: 12px;
    padding: 6px 18px;
    background: linear-gradient(135deg, var(--pink-primary), var(--pink-accent));
    color: white;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
    letter-spacing: 0.5px;
}

/* ===== MINI CAT ART (Gallery Cards) ===== */

.card-cat-art {
    width: 120px;
    height: 130px;
    margin: 0 auto;
    position: relative;
}

.mini-body {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 30px;
    border-radius: 50% 50% 40% 40% / 70% 70% 30% 30%;
}

.white-body { background: #f5f5f5; }
.calico-body { background: linear-gradient(90deg, #f5f5f5, #F4A460, #333); }
.uni-body { background: linear-gradient(180deg, #E8D0FF, #F5E6FF); }
.grey-body { background: #888; }
.orange-body { background: #F4A460; }
.siamese-body { background: linear-gradient(180deg, #FFF8DC, #D2B48C); }

.mini-tail {
    position: absolute;
    bottom: 5px;
    right: 8px;
    width: 30px;
    height: 12px;
    border-radius: 0 50% 50% 0;
    animation: miniTailWag 2s ease-in-out infinite;
    transform-origin: left center;
}

.white-tail { background: #f5f5f5; }
.calico-tail { background: #F4A460; }
.uni-tail { background: #E8D0FF; }
.grey-tail { background: #888; }
.orange-tail { background: #F4A460; }
.siamese-tail { background: #D2B48C; }

@keyframes miniTailWag {
    0%, 100% { transform: rotate(-8deg); }
    50% { transform: rotate(12deg); }
}

.mini-ear {
    position: absolute;
    top: 8px;
    width: 0;
    height: 0;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
}

.mini-ear.left { left: 5px; transform: rotate(-15deg); }
.mini-ear.right { right: 5px; transform: rotate(15deg); }

.white-cat .mini-ear { border-bottom: 30px solid #f5f5f5; }
.calico-cat .mini-ear.left { border-bottom: 30px solid #F4A460; }
.calico-cat .mini-ear.right { border-bottom: 30px solid #333; }
.uni-cat .mini-ear { border-bottom: 30px solid #E8D0FF; }
.grey-cat .mini-ear { border-bottom: 30px solid #888; }
.orange-cat .mini-ear { border-bottom: 30px solid #F4A460; }
.siamese-cat .mini-ear { border-bottom: 30px solid #D2B48C; }

.mini-face {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 85px;
    height: 75px;
    border-radius: 50% 50% 45% 45%;
}

.white-cat .mini-face { background: #f5f5f5; }
.calico-cat .mini-face { background: linear-gradient(135deg, #f5f5f5 33%, #F4A460 33%, #F4A460 66%, #333 66%); }
.uni-cat .mini-face { background: linear-gradient(180deg, #E8D0FF, #F5E6FF); }
.grey-cat .mini-face { background: #888; }
.orange-cat .mini-face { background: #F4A460; }
.siamese-cat .mini-face { background: linear-gradient(180deg, #FFF8DC, #D2B48C); }

.mini-eye {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    position: absolute;
    top: 24px;
    border: 2px solid #333;
    box-shadow: inset 0 0 4px rgba(0,0,0,0.1);
}

.mini-eye:first-of-type { left: 14px; }
.mini-eye:last-of-type { right: 14px; }

.mini-eye.blue { background: radial-gradient(circle at 35% 35%, #87CEEB, #4169E1); }
.mini-eye.amber { background: radial-gradient(circle at 35% 35%, #FFD700, #DAA520); }
.mini-eye.green { background: radial-gradient(circle at 35% 35%, #5CDB95, #2E8B57); }
.mini-eye.gold { background: radial-gradient(circle at 35% 35%, #FFE44D, #FFD700); }
.mini-eye.violet { background: radial-gradient(circle at 35% 35%, #B794F4, #8B5CF6); }
.mini-eye.copper { background: radial-gradient(circle at 35% 35%, #D4956A, #B87333); }
.mini-eye.ice-blue { background: radial-gradient(circle at 35% 35%, #B3E5FC, #87CEEB); }
.mini-eye.yellow { background: radial-gradient(circle at 35% 35%, #FFE44D, #FFD700); }

.mini-eye.rainbow {
    background: linear-gradient(135deg, #FF6B6B, #FFD93D, #6BCB77, #4D96FF, #9B59B6);
    animation: rainbowShift 3s linear infinite;
}

@keyframes rainbowShift {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.mini-nose {
    width: 8px;
    height: 6px;
    background: var(--pink-primary);
    border-radius: 50%;
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
}

.mini-mouth {
    width: 14px;
    height: 5px;
    border-bottom: 1.5px solid #999;
    border-radius: 0 0 50% 50%;
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
}

/* Unicorn horn (Easter Egg #4) */
.uni-horn {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 28px solid var(--gold-sparkle);
    z-index: 5;
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.7));
}

.unicorn-cat .card-cat-art {
    position: relative;
}

/* ===== TYPES SECTION ===== */

.types-section {
    background: #FFB8D9;
}

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

.type-card {
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 35px rgba(255, 105, 180, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.type-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 45px rgba(255, 105, 180, 0.25);
}

.type-eyes {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 22px;
}

.type-eye {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid #444;
    transition: transform 0.3s ease;
}

.type-card:hover .type-eye {
    transform: scale(1.1);
}

.type-card h3 {
    color: var(--pink-accent);
    margin-bottom: 14px;
    font-size: 1.3rem;
    font-weight: 700;
}

.type-card p {
    line-height: 1.8;
    color: #6B3A5A;
}

/* ===== QUOTES CAROUSEL ===== */

.quotes-section {
    background: #FFCCE5;
}

.carousel {
    position: relative;
    max-width: 700px;
    margin: 40px auto 0;
    min-height: 200px;
    overflow: hidden;
}

.carousel-track {
    position: relative;
    width: 100%;
    min-height: 180px;
}

.quote-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    padding: 30px 40px;
    text-align: center;
    pointer-events: none;
}

.quote-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.quote-slide blockquote {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--pink-dark);
    line-height: 1.7;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
}

.quote-slide cite {
    display: block;
    margin-top: 15px;
    font-size: 1rem;
    color: var(--pink-primary);
    font-weight: 700;
    font-style: normal;
}

.unicorn-quote blockquote {
    color: var(--unicorn-purple);
}

.unicorn-quote cite {
    color: var(--unicorn-purple);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--pink-secondary);
    border: 2px solid var(--pink-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--pink-accent);
    transform: scale(1.2);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid var(--pink-primary);
    color: var(--pink-accent);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(255, 105, 180, 0.2);
}

.carousel-btn:hover {
    background: var(--pink-primary);
    color: white;
}

.carousel-btn.prev { left: -5px; }
.carousel-btn.next { right: -5px; }

/* ===== FACTS SECTION ===== */

.facts-section {
    background: #FFD6E8;
}

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

.fact-card {
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(255, 105, 180, 0.12);
    transition: transform 0.4s ease;
    min-height: 180px;
}

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

.fact-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--pink-accent);
    margin-bottom: 12px;
    font-family: 'Quicksand', sans-serif;
}

.fact-card p {
    line-height: 1.8;
    color: #6B3A5A;
}

.flip-hint {
    color: var(--unicorn-purple);
    font-size: 0.85rem;
}

/* Flippable fact card (Easter Egg #7) */
.flippable {
    perspective: 600px;
    position: relative;
    cursor: pointer;
    background: transparent !important;
    backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0;
    min-height: 210px;
}

.flippable .fact-front,
.flippable .fact-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 24px;
    padding: 30px;
    transition: transform 0.6s ease;
    box-shadow: 0 8px 30px rgba(255, 105, 180, 0.12);
    border: 1px solid var(--glass-border);
}

.flippable .fact-front {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
}

.flippable .fact-back {
    background: linear-gradient(135deg, var(--unicorn-purple), var(--pink-accent));
    color: white;
    transform: rotateY(180deg);
}

.flippable .fact-back p { color: white; }
.flippable .fact-back .fact-number { color: var(--gold-sparkle); }

.flippable:hover .fact-front { transform: rotateY(180deg); }
.flippable:hover .fact-back { transform: rotateY(0deg); }

/* ===== ADOPT SECTION ===== */

.adopt-section {
    background: var(--pink-bg);
}

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

.adopt-info, .adopt-checklist {
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 10px 35px rgba(255, 105, 180, 0.12);
}

.adopt-info h3, .adopt-checklist h3 {
    color: var(--pink-accent);
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 700;
}

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

.adopt-list li {
    padding: 10px 0;
    line-height: 1.7;
    color: #6B3A5A;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.adopt-list .check {
    flex-shrink: 0;
}

.checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    color: #6B3A5A;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.check-item input {
    display: none;
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid var(--pink-primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.check-item input:checked + .checkmark {
    background: linear-gradient(135deg, var(--pink-primary), var(--pink-accent));
    border-color: var(--pink-accent);
}

.check-item input:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
}

.check-item input:checked ~ * {
    text-decoration: line-through;
    opacity: 0.6;
}

/* ===== SECRET UNICORN SECTION ===== */

.secret-section {
    background: linear-gradient(135deg, #9B59B6, #E91E8C, #FF69B4, #9B59B6);
    background-size: 300% 300%;
    animation: secretGradient 6s ease infinite;
    color: white;
    text-align: center;
}

@keyframes secretGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.secret-section h2 {
    color: white;
    font-size: 2.4rem;
}

.secret-section h2::after {
    content: '🌈';
}

.secret-section p {
    color: #FFE4FF;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 20px auto;
}

.unicorn-facts {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.unicorn-facts p {
    font-size: 1rem;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

/* ===== FOOTER ===== */

.footer {
    background: linear-gradient(135deg, var(--pink-dark), #8B0051, #5C003A);
    color: var(--pink-secondary);
    padding: 50px 0 30px;
    text-align: center;
}

.footer-content {
    position: relative;
}

.footer-logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    font-family: 'Quicksand', sans-serif;
}

.footer-cat {
    font-size: 2.2rem;
    margin-right: 8px;
    display: inline-block;
    animation: footerCatBob 2s ease infinite;
}

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

.footer-tagline {
    color: var(--pink-secondary);
    margin-bottom: 15px;
}

.footer-links {
    margin: 15px 0;
}

.footer-links a {
    color: var(--pink-secondary);
    text-decoration: none;
    margin: 0 12px;
    transition: color 0.3s ease;
    font-weight: 600;
}

.footer-links a:hover {
    color: white;
}

/* Easter Egg #3: Hidden footer text */
.footer-secret {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
    font-size: 0.95rem;
    color: var(--gold-sparkle);
    transform: translateY(5px);
}

.footer:hover .footer-secret {
    opacity: 1;
    transform: translateY(0);
}

.footer-year {
    margin-top: 20px;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* ===== SECRET TRIGGER BUTTON ===== */

.secret-trigger {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 2px solid var(--pink-primary);
    background: white;
    font-size: 1.6rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 105, 180, 0.3);
    transition: all 0.4s ease;
    z-index: 1000;
}

.secret-trigger:hover {
    transform: scale(1.15) rotate(20deg);
    box-shadow: 0 8px 30px rgba(255, 105, 180, 0.5);
    background: var(--pink-light);
}

/* ===== EASTER EGG COUNTER ===== */

.egg-counter {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: white;
    border: 2px solid var(--pink-primary);
    border-radius: 30px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--pink-dark);
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.2);
    cursor: default;
    transition: all 0.3s ease;
    font-family: 'Quicksand', sans-serif;
}

.egg-counter:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.3);
}

.egg-counter.found-new {
    animation: eggBounce 0.5s ease;
    border-color: var(--gold-sparkle);
}

@keyframes eggBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.egg-icon {
    font-size: 1.1rem;
}

/* ===== SPARKLE / CURSOR TRAIL ===== */

#sparkle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.sparkle {
    position: absolute;
    pointer-events: none;
    font-size: 1.2rem;
    animation: sparkleFloat 1.2s ease-out forwards;
    z-index: 9999;
}

@keyframes sparkleFloat {
    0% { opacity: 1; transform: translateY(0) scale(1) rotate(0deg); }
    100% { opacity: 0; transform: translateY(-50px) scale(0.2) rotate(180deg); }
}

/* ===== UNICORN RAIN (Easter Egg #9) ===== */

#unicorn-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10000;
    overflow: hidden;
}

.rain-unicorn {
    position: absolute;
    top: -60px;
    font-size: 2rem;
    animation: unicornFall linear forwards;
}

@keyframes unicornFall {
    0% { transform: translateY(-60px) rotate(0deg); opacity: 1; }
    100% { transform: translateY(110vh) rotate(720deg); opacity: 0.5; }
}

/* ===== CONFETTI (Easter Egg #12) ===== */

#confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10000;
    overflow: hidden;
}

.confetti-piece {
    position: absolute;
    width: 10px;
    height: 10px;
    animation: confettiFall 3s ease-out forwards;
}

@keyframes confettiFall {
    0% { transform: translateY(-20px) rotate(0deg) scale(1); opacity: 1; }
    100% { transform: translateY(100vh) rotate(720deg) scale(0.5); opacity: 0; }
}

/* ===== UNICORN POPUP (Easter Egg click) ===== */

.unicorn-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, var(--unicorn-purple), var(--pink-accent));
    color: white;
    padding: 35px 45px;
    border-radius: 24px;
    text-align: center;
    z-index: 10001;
    box-shadow: 0 25px 70px rgba(155, 89, 182, 0.5);
    animation: popIn 0.5s ease;
    max-width: 400px;
}

.unicorn-popup h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    font-family: 'Quicksand', sans-serif;
}

.unicorn-popup p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.6;
}

@keyframes popIn {
    0% { transform: translate(-50%, -50%) scale(0) rotate(-10deg); opacity: 0; }
    60% { transform: translate(-50%, -50%) scale(1.05) rotate(2deg); }
    100% { transform: translate(-50%, -50%) scale(1) rotate(0); opacity: 1; }
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.6rem;
        letter-spacing: 1px;
    }

    .hero .tagline {
        font-size: 1rem;
    }

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

    .cat-face {
        width: 160px;
        height: 220px;
    }

    .cat-head {
        width: 140px;
        height: 125px;
    }

    .cat-eye {
        width: 38px;
        height: 38px;
        top: 40px;
    }

    .left-eye { left: 22px; }
    .right-eye { right: 22px; }

    .iris {
        width: 30px;
        height: 30px;
    }

    .cat-body {
        width: 100px;
        height: 45px;
    }

    .about-grid,
    .types-grid,
    .gallery-grid,
    .facts-grid,
    .adopt-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 65px;
        left: 0;
        right: 0;
        background: rgba(255, 240, 245, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 15px;
        border-bottom: 1px solid rgba(255, 105, 180, 0.2);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .quote-slide blockquote {
        font-size: 1.1rem;
    }

    .quote-slide {
        padding: 20px;
    }
}

/* ===== SELECTION COLOR ===== */

::selection {
    background: var(--pink-primary);
    color: white;
}

/* ===== SCROLLBAR ===== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--pink-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--pink-primary), var(--pink-accent));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--pink-accent), var(--pink-dark));
}
