:root {
    --color-deep-indigo: #2c0f4f;
    --color-purple: #4a156e;
    --color-radiant-gold: #FFD700; /* Gold */
    --color-soft-blush: #FFC0CB; /* Pink */
    --color-pearlescent-white: #f0f8ff; /* AliceBlue */
    --color-vibrant-coral: #FF7F50; /* Coral */
    --color-shimmering-silver: #C0C0C0; /* Silver */
    --color-gradient-start: #1c0733;
    --color-gradient-end: #3a0d5c;

    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;

    --header-height: 80px;
}

/* Base Styles & Resets */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-pearlescent-white);
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--color-vibrant-coral);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-radiant-gold);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-radiant-gold);
    margin-bottom: 0.5em;
}

h1 { font-size: 3em; }
h2 { font-size: 2.5em; }
h3 { font-size: 2em; }
h4 { font-size: 1.5em; }

.section-title {
    text-align: center;
    font-size: 3em;
    margin-bottom: 0.5em;
    color: var(--color-radiant-gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 2em;
    color: var(--color-soft-blush);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Header & Navigation */
.main-header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(44, 15, 79, 0.8); /* Semi-transparent deep indigo */
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    height: var(--header-height);
    display: flex;
    align-items: center;
    padding: 0 5%;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2.2em;
    color: var(--color-radiant-gold);
    text-shadow: 0 0 8px var(--color-soft-blush);
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--color-pearlescent-white);
    font-weight: 500;
    font-size: 1.1em;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 5px;
    right: 0;
    background: var(--color-vibrant-coral);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
    left: 0;
    background: var(--color-radiant-gold);
}

/* Hero Section - The Epoch Gateway */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-height); /* Account for fixed header */
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transform: scale(1.05); /* Subtle scale for parallax feel */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(28, 7, 51, 0.7) 0%, rgba(74, 21, 110, 0.7) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    z-index: 1;
    position: relative;
    padding: 20px;
}

.hero-title {
    font-size: 4.5em;
    margin-bottom: 0.3em;
    line-height: 1.1;
    text-shadow: 0 0 20px var(--color-soft-blush);
}

.hero-title .accent-text {
    color: var(--color-soft-blush);
}

.hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 2em;
    color: var(--color-pearlescent-white);
    font-weight: 300;
}

.cta-button-wrapper {
    margin-top: 40px;
}

.cta-button {
    display: inline-block;
    padding: 18px 40px;
    background: linear-gradient(45deg, var(--color-vibrant-coral), var(--color-radiant-gold));
    color: var(--color-deep-indigo);
    font-family: var(--font-heading);
    font-size: 1.3em;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 127, 80, 0.5);
    font-weight: bold;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.6);
    color: var(--color-deep-indigo); /* Ensure text remains readable */
}

.epoch-oracle {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(74, 21, 110, 0.6);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9em;
    font-style: italic;
    color: var(--color-shimmering-silver);
    border: 1px solid rgba(192, 192, 192, 0.3);
    box-shadow: 0 0 10px rgba(192, 192, 192, 0.2);
    opacity: 1;.8;
}

/* Genesis Scroll */
.scroll-section {
    padding: 100px 5%;
    position: relative;
    background: linear-gradient(180deg, var(--color-deep-indigo), var(--color-purple));
    border-top: 1px solid rgba(var(--color-shimmering-silver), 0.2);
    border-bottom: 1px solid rgba(var(--color-shimmering-silver), 0.2);
    overflow: hidden; /* Ensure scroll-container doesn't spill */
}

.scroll-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
    position: relative;
}

.scroll-chapter {
    background: rgba(var(--color-pearlescent-white), 0.05);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    backdrop-filter: blur(5px);
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
    position: relative;
    overflow: hidden; /* To contain glowing border */
}

.scroll-chapter::before { /* Glowing border effect */
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 17px;
    padding: 2px;
    background: linear-gradient(45deg, var(--color-radiant-gold), var(--color-vibrant-coral), var(--color-shimmering-silver));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
    opacity: 1;.6;
    transition: opacity 0.3s ease;
}

.scroll-chapter:hover::before {
    opacity: 1;
}

.chapter-title {
    text-align: center;
    font-size: 2.8em;
    margin-bottom: 1em;
    color: var(--color-radiant-gold);
    text-shadow: 0 0 8px var(--color-vibrant-coral);
}

.chapter-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.chapter-content p {
    font-size: 1.1em;
    color: var(--color-pearlescent-white);
    max-width: 700px;
    text-align: justify;
}

.chapter-image {
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.chapter-image:hover {
    transform: scale(1.03);
}

/* Constellation of Joy */
.constellation-section {
    padding: 100px 5%;
    background: var(--color-deep-indigo);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.constellation-map {
    position: relative;
    height: 700px; /* Define a height for the map */
    max-width: 1200px;
    margin: 50px auto;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05) 0%, rgba(28, 7, 51, 0.8) 70%, rgba(28, 7, 51, 1) 100%);
    border-radius: 20px;
    box-shadow: inset 0 0 50px rgba(var(--color-purple), 0.5), 0 0 50px rgba(0,0,0,0.5);
    overflow: hidden;
    border: 1px solid rgba(var(--color-shimmering-silver), 0.1);
}

.celestial-star {
    position: absolute;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--color-radiant-gold);
    box-shadow: 0 0 15px 5px rgba(255, 215, 0, 0.7);
    cursor: pointer;
    transition: all 0.5s ease;
    transform: scale(1);
    opacity: 1;
}

.celestial-star:hover {
    transform: scale(1.3);
    box-shadow: 0 0 25px 8px rgba(255, 215, 0, 0.9);
    z-index: 5;
}

/* Star category specific colors */
.celestial-star.music { background: var(--color-vibrant-coral); box-shadow: 0 0 15px 5px rgba(255, 127, 80, 0.7); }
.celestial-star.art { background: var(--color-soft-blush); box-shadow: 0 0 15px 5px rgba(255, 192, 203, 0.7); }
.celestial-star.culinary { background: var(--color-shimmering-silver); box-shadow: 0 0 15px 5px rgba(192, 192, 192, 0.7); }
.celestial-star.wellness { background: var(--color-pearlescent-white); box-shadow: 0 0 15px 5px rgba(240, 248, 255, 0.7); }


/* Filtered states */
.celestial-star.filtered-out {
    opacity: 1;
    transform: scale(0.5);
    pointer-events: none;
}
.celestial-star.filtered-in {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}


.celestial-star::before {
    content: attr(data-event-id); /* Placeholder for event name tooltip */
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: var(--color-pearlescent-white);
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 1;
    pointer-events: none;
    transition: opacity 0.3s ease;
    font-size: 0.8em;
}

.celestial-star:hover::before {
    opacity: 1;
}

.event-card {
    position: absolute;
    background: linear-gradient(135deg, rgba(var(--color-deep-indigo), 0.95), rgba(var(--color-purple), 0.95));
    border: 1px solid var(--color-radiant-gold);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 215, 0, 0.4);
    max-width: 350px;
    z-index: 10;
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 1;
    visibility: hidden;
    transition: all 0.4s ease-out;
}

.event-card.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.event-card-title {
    color: var(--color-vibrant-coral);
    font-size: 1.6em;
    margin-bottom: 15px;
}

.event-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.event-card-description {
    color: var(--color-pearlescent-white);
    font-size: 0.95em;
    line-height: 1.5;
    margin-bottom: 20px;
}

.event-card-close {
    background: var(--color-radiant-gold);
    color: var(--color-deep-indigo);
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.3s ease;
}

.event-card-close:hover {
    background: var(--color-vibrant-coral);
    transform: translateY(-2px);
}

.celestial-quadrants {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.celestial-quadrants button {
    background: rgba(var(--color-purple), 0.6);
    color: var(--color-pearlescent-white);
    border: 1px solid var(--color-shimmering-silver);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.celestial-quadrants button:hover {
    background: var(--color-radiant-gold);
    color: var(--color-deep-indigo);
    border-color: var(--color-radiant-gold);
}

.celestial-quadrants button.active {
    background: var(--color-vibrant-coral);
    color: var(--color-deep-indigo);
    border-color: var(--color-vibrant-coral);
    box-shadow: 0 0 15px rgba(255, 127, 80, 0.6);
}

/* Nexus Entry */
.nexus-section {
    padding: 100px 5%;
    background: var(--color-purple);
    border-top: 1px solid rgba(var(--color-shimmering-silver), 0.2);
    border-bottom: 1px solid rgba(var(--color-shimmering-silver), 0.2);
}

.nexus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 50px auto 0 auto;
}

.nexus-card {
    background: rgba(var(--color-gradient-start), 0.8);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(var(--color-shimmering-silver), 0.1);
    padding-bottom: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nexus-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(var(--color-radiant-gold), 0.3);
}

.nexus-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 20px;
}

.nexus-card-title {
    color: var(--color-radiant-gold);
    text-align: center;
    font-size: 1.8em;
    padding: 0 20px;
    margin-bottom: 15px;
}

.nexus-card-description {
    color: var(--color-pearlescent-white);
    font-size: 1em;
    text-align: center;
    padding: 0 25px;
    flex-grow: 1;
    margin-bottom: 25px;
}

.nexus-card-action {
    text-align: center;
    margin-top: auto;
    width: fit-content;
    padding: 12px 25px;
    border-radius: 30px;
    background: linear-gradient(45deg, var(--color-vibrant-coral), var(--color-radiant-gold));
    color: var(--color-deep-indigo);
    font-weight: 600;
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: default; /* Not interactive */
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(255, 127, 80, 0.4);
    margin: 0 auto; /* Center the pseudo-button */
}

.nexus-card:hover .nexus-card-action {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.6);
}

/* Manifestation Wall */
.manifestation-section {
    padding: 100px 5%;
    background: linear-gradient(135deg, var(--color-purple), var(--color-deep-indigo));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.wish-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 50px auto;
    min-height: 400px;
    position: relative;
}

.wish-element {
    background: rgba(var(--color-pearlescent-white), 0.08);
    border: 1px solid rgba(var(--color-radiant-gold), 0.3);
    border-radius: 15px;
    padding: 20px;
    color: var(--color-pearlescent-white);
    font-size: 1.1em;
    font-weight: 500;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease, transform 0.3s ease;
}

.wish-element::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 1;
    transition: opacity 0.5s ease;
}

.wish-element:hover::before {
    opacity: 1;
}

/* Twinkling and drifting animation for wish elements */
@keyframes twinkleDrift {
    0% {
        transform: translate(var(--start-x, 0), var(--start-y, 0)) scale(var(--start-scale, 1));
        opacity: var(--start-opacity, 0.8);
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
    }
    50% {
        transform: translate(calc(var(--start-x, 0) + var(--end-x, 0)), calc(var(--start-y, 0) + var(--end-y, 0))) scale(var(--end-scale, 1.05));
        opacity: var(--end-opacity, 1);
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    }
    100% {
        transform: translate(var(--start-x, 0), var(--start-y, 0)) scale(var(--start-scale, 1));
        opacity: var(--start-opacity, 0.8);
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
    }
}

.wish-element {
    animation: twinkleDrift var(--random-duration, 10s) infinite alternate ease-in-out var(--random-delay, 0s);
}

.submit-wish-placeholder {
    margin-top: 60px;
    padding: 18px 40px;
    background: linear-gradient(45deg, var(--color-radiant-gold), var(--color-vibrant-coral));
    border-radius: 50px;
    display: inline-block;
    cursor: default;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-wish-placeholder:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(255, 127, 80, 0.6);
}

.placeholder-text {
    font-family: var(--font-heading);
    font-size: 1.3em;
    color: var(--color-deep-indigo);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Echo Chamber */
.echo-section {
    padding: 100px 5%;
    background: var(--color-deep-indigo);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.echo-container {
    position: relative;
    width: 800px;
    height: 800px;
    margin: 50px auto;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, rgba(74, 21, 110, 0.4) 0%, transparent 60%);
    box-shadow: 0 0 50px rgba(var(--color-purple), 0.7);
}

.echo-core {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-purple));
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(var(--color-radiant-gold), 0.2);
    border: 1px solid rgba(var(--color-radiant-gold), 0.3);
    z-index: 2;
    position: relative;
}

.core-title {
    color: var(--color-radiant-gold);
    font-size: 1.8em;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.faq-item {
    text-align: left;
    margin-bottom: 15px;
    max-width: 250px;
}

.faq-question {
    color: var(--color-vibrant-coral);
    font-size: 1.1em;
    margin-bottom: 5px;
}

.faq-answer {
    color: var(--color-pearlescent-white);
    font-size: 0.9em;
    opacity: 1;.8;
}

.echo-ring {
    position: absolute;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.ring-one {
    width: 550px;
    height: 550px;
    border: 2px solid rgba(var(--color-shimmering-silver), 0.3);
    background: radial-gradient(circle at center, rgba(var(--color-soft-blush), 0.05) 0%, transparent 60%);
}

.ring-two {
    width: 750px;
    height: 750px;
    border: 2px solid rgba(var(--color-shimmering-silver), 0.2);
    background: radial-gradient(circle at center, rgba(var(--color-vibrant-coral), 0.03) 0%, transparent 60%);
}

.ring-segment {
    position: absolute;
    width: 200px; /* Placeholder width for content */
    padding: 15px;
    border-radius: 10px;
    background: rgba(var(--color-deep-indigo), 0.7);
    border: 1px solid rgba(var(--color-radiant-gold), 0.2);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    cursor: default; /* Not interactive beyond hover */
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    text-align: center;
}

.ring-segment:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(var(--color-radiant-gold), 0.5);
    background: rgba(var(--color-purple), 0.9);
}

/* Positioning for segments on ring one */
.general-inquiry {
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
}
.press-relations {
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
}

/* Positioning for segments on ring two */
.collaboration-opps {
    top: 20%;
    left: 10%;
    transform: rotate(-30deg); /* Visual rotation for effect */
    transform-origin: top left;
}
.feedback-loop {
    bottom: 20%;
    right: 10%;
    transform: rotate(30deg); /* Visual rotation for effect */
    transform-origin: bottom right;
}


.segment-title {
    color: var(--color-radiant-gold);
    font-size: 1.3em;
    margin-bottom: 10px;
}

.ring-segment p {
    color: var(--color-pearlescent-white);
    font-size: 0.9em;
    opacity: 1;.9;
}


/* Footer */
.main-footer {
    padding: 40px 5%;
    background: var(--color-gradient-start);
    text-align: center;
    font-size: 0.9em;
    color: var(--color-shimmering-silver);
    border-top: 1px solid rgba(var(--color-shimmering-silver), 0.2);
}

.main-footer p {
    margin-bottom: 5px;
}


/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .nexus-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 0 3%;
    }

    .logo {
        font-size: 1.8em;
    }

    .nav-links {
        display: none; /* Hide nav links for smaller screens, could add hamburger menu */
    }

    .hero-title {
        font-size: 3em;
    }

    .hero-subtitle {
        font-size: 1.2em;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 1.1em;
    }

    .section-title {
        font-size: 2.2em;
    }

    .section-subtitle {
        font-size: 1em;
    }

    .scroll-chapter {
        padding: 30px;
    }

    .chapter-title {
        font-size: 2em;
    }

    .chapter-content p {
        font-size: 1em;
    }

    .constellation-map {
        height: 500px;
        max-width: 100%;
        margin: 30px auto;
    }

    .celestial-star {
        width: 20px;
        height: 20px;
        box-shadow: 0 0 10px 3px rgba(255, 215, 0, 0.7);
    }

    .event-card {
        max-width: 300px;
        padding: 20px;
    }

    .event-card-title {
        font-size: 1.4em;
    }

    .event-card-image {
        height: 150px;
    }

    .event-card-description {
        font-size: 0.9em;
    }

    .celestial-quadrants button {
        padding: 8px 15px;
        font-size: 0.9em;
    }

    .nexus-grid {
        grid-template-columns: 1fr; /* Cards stack on mobile */
        gap: 30px;
        padding: 0 5%;
    }

    .wish-grid {
        grid-template-columns: 1fr; /* Cards stack on mobile */
        gap: 20px;
        padding: 0 5%;
    }

    .wish-element {
        min-height: 80px;
        font-size: 1em;
    }

    .submit-wish-placeholder {
        padding: 15px 30px;
    }

    .placeholder-text {
        font-size: 1.1em;
    }

    .echo-container {
        width: 90%;
        height: 450px;
        margin: 30px auto;
        box-shadow: 0 0 30px rgba(var(--color-purple), 0.7);
    }

    .echo-core {
        width: 200px;
        height: 200px;
        padding: 15px;
    }

    .core-title {
        font-size: 1.4em;
        margin-bottom: 10px;
    }

    .faq-item {
        max-width: 160px;
        margin-bottom: 10px;
    }

    .faq-question {
        font-size: 1em;
    }

    .faq-answer {
        font-size: 0.8em;
    }

    .ring-one {
        width: 350px;
        height: 350px;
    }
    .ring-two {
        width: 450px;
        height: 450px;
    }

    .ring-segment {
        width: 150px;
        padding: 10px;
        font-size: 0.9em;
    }

    .segment-title {
        font-size: 1.1em;
    }

    /* Adjust specific segment positions for smaller rings */
    .general-inquiry { top: 0; transform: translateX(-50%); }
    .press-relations { bottom: 0; transform: translateX(-50%); }
    .collaboration-opps { top: 10%; left: 0; transform: rotate(0); transform-origin: center; }
    .feedback-loop { bottom: 10%; right: 0; transform: rotate(0); transform-origin: center; }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5em;
    }

    .hero-subtitle {
        font-size: 1em;
    }

    .oracle-text {
        font-size: 0.8em;
    }

    .section-title {
        font-size: 1.8em;
    }

    .nexus-card-title {
        font-size: 1.5em;
    }
    .nexus-card-description {
        font-size: 0.9em;
    }

    .nexus-card-action {
        font-size: 0.9em;
        padding: 10px 20px;
    }
    
    .celestial-quadrants {
        flex-direction: column;
        gap: 10px;
    }
    .celestial-quadrants button {
        width: 80%;
        max-width: 200px;
        margin: 0 auto;
    }
}

/* Visible state helpers */
+ .animate-fade-in-up.visible,
+ .animate-fade-in-left.visible,
+ .animate-fade-in-right.visible,
+ .animate-bounce-y.visible,
+ .section-scroll-animate.visible,
+ .text-animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Safe visibility overrides (auto-added) */
:root, html, body, main, header, footer, section, .container, .content {
  opacity: 1 !important;
  visibility: visible !important;
}
