:root {
    /* Cosmic Palette (v2 refresh) */
    --color-primary-bg: #160a28;
    /* Deep Purple, deepened for photo contrast */
    --color-cosmic-blue: #241242;
    --color-hot-pink: #ff007f;
    /* Button surface: one step deeper so white text passes WCAG AA */
    --color-pink-deep: #e60073;
    --color-pale-pink: #d8a2d1;
    --color-bright-cyan: #57f0f0;
    --color-starry-white: #f8f9fa;
    --color-text-main: #d9d4e4;
    --color-overlay: rgba(0, 0, 0, 0.7);

    /* Fonts */
    --font-heading: 'Fredoka', cursive;
    --font-body: 'Outfit', sans-serif;

    /* Spacing */
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-primary-bg);
    color: var(--color-text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--color-starry-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Header */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 2rem;
    background-color: rgba(26, 11, 46, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--color-hot-pink);
    box-shadow: 0 0 15px var(--color-hot-pink);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.home-link {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.home-link-text {
    color: var(--color-bright-cyan);
    font-size: 1.4rem;
    font-weight: 600;
}

.logo-left {
    height: 60px;
    width: auto;
}

/* Nav */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    font-size: 1.3rem;
    font-weight: 500;
}

.main-nav a:hover {
    color: var(--color-hot-pink);
    text-shadow: 0 0 8px var(--color-hot-pink);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-starry-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 2rem 3rem;
    min-height: 60vh;
    background: radial-gradient(circle at center, var(--color-cosmic-blue) 0%, var(--color-primary-bg) 100%);
    position: relative;
    overflow: hidden;
}

/* Kicker chip (from v2): the brand's own TikTok bio line */
.kicker {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--color-pale-pink);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.85rem;
    border: 1px solid rgba(216, 162, 209, 0.4);
    border-radius: 4px;
    padding: 6px 12px;
    margin: 1rem 0 0.5rem;
}

/* Twinkle Background Effect */
.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(white, rgba(255, 255, 255, .2) 2px, transparent 4px),
        radial-gradient(white, rgba(255, 255, 255, .15) 1px, transparent 3px),
        radial-gradient(white, rgba(255, 255, 255, .1) 2px, transparent 4px);
    background-size: 550px 550px, 350px 350px, 250px 250px;
    background-position: 0 0, 40px 60px, 130px 270px;
    animation: twinkle 20s linear infinite;
    z-index: 0;
    opacity: 0.6;
}

@keyframes twinkle {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-550px);
    }
}

.hero-content {
    z-index: 1;
    max-width: 700px;
}

.hero-logo {
    max-width: 100%;
    width: 500px;
    /* Adjust size as needed */
    height: auto;
    margin: 0 auto;
    display: block;
}

.hero-tagline {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-starry-white);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--color-pink-deep);
    color: white;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(255, 0, 127, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(255, 0, 127, 0.8);
}

.cta-button:focus-visible,
.main-nav a:focus-visible,
.home-link:focus-visible,
.read-full:focus-visible,
.social-links a:focus-visible {
    outline: 3px solid var(--color-bright-cyan);
    outline-offset: 4px;
}

/* Floating Elements (positioned within the hero section) */
.floating-element {
    position: absolute;
    font-size: 2rem;
    color: var(--color-hot-pink);
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}

.star-1 {
    top: 90px;
    left: 14%;
    animation-delay: 0s;
    color: var(--color-bright-cyan);
}

.star-2 {
    bottom: 70px;
    right: 16%;
    animation-delay: 2s;
}

.planet-1 {
    top: 44%;
    right: 6%;
    font-size: 3rem;
    animation-delay: 1s;
    color: var(--color-violet, #9e2ba3);
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Sections */
.section {
    padding: var(--spacing-lg) 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    color: var(--color-bright-cyan);
    border-bottom: 2px dashed var(--color-hot-pink);
    display: inline-block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    /* Default center for titles etc */
}

.section-intro {
    text-align: center;
    color: var(--color-text-main);
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

.centered-section {
    text-align: center;
    margin-top: 2rem;
}

.centered-section--lg {
    margin-top: 3rem;
}

.link-underline {
    color: var(--color-bright-cyan);
    text-decoration: underline;
}

/* About */
.about-section {
    background-color: var(--color-cosmic-blue);
}

.about-text {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.about-text p {
    margin-bottom: 1.5rem;
}

/* Profiles */
.profiles-section {
    background-color: var(--color-primary-bg);
}

.profile-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3.5rem;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}

.profile-rocket {
    width: min(340px, 35%);
    height: auto;
    flex-shrink: 0;
    transform: rotate(2deg);
    filter: drop-shadow(0 0 20px var(--color-cosmic-blue));
}

.profile-block {
    max-width: 640px;
    text-align: left;
    font-size: 1.15rem;
}

.profile-block h3 {
    font-size: 1.8rem;
    color: var(--color-hot-pink);
    margin-bottom: 0.5rem;
}

.profile-skills {
    color: var(--color-pale-pink);
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
}

.profile-block p {
    margin-bottom: 1.5rem;
}

.profile-quote {
    position: relative;
    padding-left: 3rem;
}

.profile-quote::before {
    content: "\201C";
    position: absolute;
    left: 0;
    top: -0.75rem;
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1;
    color: var(--color-hot-pink);
}

.profile-quote p {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.35rem;
    color: var(--color-pale-pink);
    line-height: 1.45;
}

/* Services */
.services-section {
    background-color: var(--color-cosmic-blue);
}

.services-grid {
    display: flex;
    /* Changed from grid to flex to fit on one line */
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    /* Allow wrapping only on very small screens */
}

@media (min-width: 1024px) {
    .services-grid {
        flex-wrap: nowrap;
        /* Force single line on desktop */
    }
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 0, 127, 0.3);
    transition: transform 0.3s ease, background 0.3s ease;
    flex: 0 1 240px;
    aspect-ratio: 1 / 1;
    /* Keep service tiles square */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center content vertically too if needed, or just text-align */
    /* Ensure they are at least a reasonable width before wrapping */
    min-width: 220px;
    justify-content: center;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-hot-pink);
}

.service-icon {
    font-size: 3rem;
    color: var(--color-bright-cyan);
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--color-hot-pink);
}

/* Gallery */
.gallery-section {
    background-color: var(--color-primary-bg);
}

.gallery-item {
    aspect-ratio: 1;
    background-color: #333;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    /* Ensure consistent size for flex items */
    width: 300px;
    max-width: 100%;
}

.gallery-preview-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item video.zoom-effect {
    transform: scale(1.3);
    /* Manual zoom for videos with embedded borders */
    transform-origin: center;
}

/* Testimonials */
.testimonials-section {
    background-color: var(--color-primary-bg);
    padding: var(--spacing-lg) 2rem;
    background-image: radial-gradient(circle at 70% 80%, rgba(45, 27, 78, 0.4) 0%, transparent 40%);
}

.testimonial-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
    /* Extra space for floating profile pics */
}

.testimonial-card {
    background: #fff;
    border-radius: 10px;
    padding: 2.5rem 1.5rem 1.5rem;
    width: 300px;
    /* Fixed width for card consistency */
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
    color: #333;
    margin-top: 2rem;
    /* Space for profile pic overlap */
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.profile-pic {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    border: 4px solid #fff;
    background: var(--color-hot-pink);
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: absolute;
    /* Floating effect */
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.profile-pic img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.recommends-badge {
    color: #e91e63;
    font-weight: bold;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    /* Space after floating pic area */
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    color: #555;
    font-style: normal;
    min-height: 80px;
    /* Align buttons for varied text length */
}

.read-full {
    color: #e91e63;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.read-full:hover {
    color: var(--color-cosmic-blue);
}

.reviewer-meta {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #777;
    font-weight: 600;
}

/* Contact */
.contact-section {
    background: linear-gradient(to top, #000, var(--color-cosmic-blue));
    position: relative;
    overflow: hidden;
    min-height: 380px;
}

/* Bubbles float behind the contact info; click an empty spot to pop one */
#contact-bubbles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    cursor: pointer;
}

.contact-section .container {
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.contact-section .container a,
.contact-section .container button {
    pointer-events: auto;
}

.pop-count {
    margin-top: 2rem;
    font-family: var(--font-heading);
    color: var(--color-pale-pink);
    font-size: 0.95rem;
}

/* Bubble Wishes */
.lamp-btn {
    margin-top: 0.75rem;
    padding: 0.6rem 1.4rem;
    background: none;
    border: 1px dashed var(--color-pale-pink);
    border-radius: 50px;
    color: var(--color-starry-white);
    font-family: var(--font-heading);
    font-size: 1rem;
    cursor: pointer;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.lamp-btn:hover {
    border-color: var(--color-hot-pink);
    color: var(--color-hot-pink);
}

.lamp-btn:focus-visible {
    outline: 3px solid var(--color-bright-cyan);
    outline-offset: 4px;
}

.wish-dialog {
    /* The global margin reset strips the UA's margin:auto that centres a dialog; restore it */
    margin: auto;
    max-height: calc(100vh - 2rem);
    overflow: auto;
    background: var(--color-primary-bg);
    color: var(--color-text-main);
    border: 1px solid var(--color-hot-pink);
    border-radius: 15px;
    padding: 2rem;
    max-width: 480px;
    width: calc(100% - 3rem);
    font-family: var(--font-body);
    box-shadow: 0 0 40px rgba(255, 0, 127, 0.35);
}

.wish-dialog::backdrop {
    background: rgba(0, 0, 0, 0.7);
}

.wish-dialog h3 {
    color: var(--color-bright-cyan);
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    padding-right: 2rem;
}

.wish-sub {
    margin-bottom: 1.25rem;
}

.wish-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: none;
    border: none;
    color: var(--color-starry-white);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
}

.wish-close:hover {
    color: var(--color-hot-pink);
}

.wish-close:focus-visible,
.wish-option:focus-visible,
.wish-submit:focus-visible,
.wish-dialog input:focus-visible {
    outline: 3px solid var(--color-bright-cyan);
    outline-offset: 3px;
}

.wish-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.wish-option {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: left;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 0, 127, 0.3);
    border-radius: 10px;
    color: var(--color-text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    cursor: pointer;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.wish-option strong {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-hot-pink);
}

.wish-option:hover {
    border-color: var(--color-hot-pink);
    background: rgba(255, 255, 255, 0.1);
}

#wish-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    text-align: left;
}

#wish-form label {
    font-size: 0.95rem;
}

#wish-form input[type="email"] {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 0, 127, 0.4);
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-starry-white);
    font-family: var(--font-body);
    font-size: 1rem;
}

.wish-consent {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    font-size: 0.9rem;
}

.wish-consent input {
    margin-top: 0.2rem;
    width: 1.1rem;
    height: 1.1rem;
    accent-color: var(--color-hot-pink);
    flex-shrink: 0;
}

.wish-hp {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.wish-error {
    color: var(--color-hot-pink);
    font-size: 0.9rem;
    margin: 0;
}

.wish-submit {
    border: none;
    font-family: var(--font-body);
    font-size: 1rem;
    cursor: pointer;
    align-self: flex-start;
}

.wish-privacy {
    font-size: 0.85rem;
    margin: 0;
}

.wish-minimise {
    display: block;
    margin: 1.25rem auto 0;
    background: none;
    border: none;
    color: var(--color-pale-pink);
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.wish-minimise:hover {
    color: var(--color-bright-cyan);
}

.wish-minimise:focus-visible {
    outline: 3px solid var(--color-bright-cyan);
    outline-offset: 3px;
}

.wish-privacy a {
    color: var(--color-bright-cyan);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.wish-code {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-bright-cyan);
    letter-spacing: 0.08em;
    margin: 0.75rem 0 0.25rem;
}

.wish-expiry {
    color: var(--color-pale-pink);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.wish-done-note a {
    color: var(--color-bright-cyan);
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    font-size: 1.2rem;
}

.contact-info a {
    color: var(--color-bright-cyan);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-starry-white);
}

.social-links a:hover {
    color: var(--color-hot-pink);
}

/* Service pages */
.svc-page {
    background-color: var(--color-primary-bg);
    min-height: 80vh;
}

.svc-intro {
    max-width: 760px;
    margin: 0 auto 2rem;
    text-align: left;
    font-size: 1.2rem;
}

.svc-media {
    max-width: 760px;
    margin: 0 auto 2.5rem;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 0, 127, 0.3);
}

.svc-media img,
.svc-media video {
    width: 100%;
    display: block;
}

.svc-body {
    max-width: 760px;
    margin: 0 auto 2.5rem;
    text-align: left;
    font-size: 1.1rem;
}

.svc-body h2 {
    color: var(--color-bright-cyan);
    font-size: 1.6rem;
    margin: 2rem 0 0.75rem;
}

.svc-body p {
    margin-bottom: 1rem;
}

.svc-faq {
    max-width: 760px;
    margin: 0 auto 2.5rem;
    text-align: left;
}

.svc-faq details {
    border: 1px solid rgba(255, 0, 127, 0.3);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    background: rgba(255, 255, 255, 0.04);
}

.svc-faq summary {
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-starry-white);
}

.svc-faq details p {
    margin-top: 0.75rem;
}

.svc-related {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    font-size: 1rem;
}

.svc-related a {
    color: var(--color-bright-cyan);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Full Gallery Page */
.gallery-page-section {
    background-color: var(--color-primary-bg);
    min-height: 80vh;
}

.full-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-full-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 0, 127, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.gallery-full-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-hot-pink);
}

.gallery-full-item img,
.gallery-full-item video {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-caption {
    padding: 1rem;
    text-align: center;
    color: var(--color-bright-cyan);
    font-family: var(--font-heading);
    font-size: 1.1rem;
}


/* Footer */
.main-footer {
    padding: 2rem;
    text-align: center;
    background-color: #000;
    color: #666;
    border-top: 1px solid #333;
}

.main-footer .footer-links {
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

.main-footer .footer-links a {
    color: #666;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.main-footer .footer-links a:hover {
    color: var(--color-pale-pink);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .main-nav {
        display: none;
        /* Hide nav by default on mobile */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(26, 11, 46, 0.98);
        padding: 1rem;
        flex-direction: column;
        border-bottom: 2px solid var(--color-hot-pink);
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .floating-element {
        display: none;
        /* Keep the small hero clean on phones */
    }

    .profile-layout {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .profile-block {
        text-align: left;
    }

    .profile-rocket {
        width: min(260px, 70%);
    }

    .about-text {
        text-align: center;
        /* Center align about text on mobile for better flow */
    }
}
