/* =========================================
   VIRALMINT AI - BLUEPRINT ENGINE FULL CSS
   File: css/blueprint-engine.css
========================================= */

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

:root {
    --bg-main: #050506;
    --bg-sidebar: #080809;
    --card-bg: rgba(255, 255, 255, 0.045);
    --card-bg-strong: rgba(255, 255, 255, 0.07);
    --border-soft: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.15);

    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.64);
    --text-soft: rgba(255, 255, 255, 0.42);

    --pink: #ff1493;
    --purple: #8b5cf6;
    --blue: #42bfff;
    --green: #21f5a7;

    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --sidebar-width: 220px;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: "Inter", sans-serif;
    background:
        radial-gradient(circle at 80% 0%, rgba(255, 20, 147, 0.14), transparent 32%),
        radial-gradient(circle at 18% 95%, rgba(139, 92, 246, 0.12), transparent 35%),
        #050506;
    color: var(--text-main);
    overflow-x: hidden;
}

/* =========================================
   BACKGROUND EFFECTS
========================================= */

.background-glow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 85% 8%, rgba(255, 20, 147, 0.16), transparent 26%),
        radial-gradient(circle at 22% 70%, rgba(66, 191, 255, 0.08), transparent 24%);
    z-index: 0;
}

.particles-bg {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.particles-bg span {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 0 18px rgba(255, 20, 147, 0.45);
    animation: floatParticle 12s linear infinite;
}

.particles-bg span:nth-child(1) {
    left: 18%;
    top: 12%;
    animation-delay: 0s;
}

.particles-bg span:nth-child(2) {
    left: 44%;
    top: 24%;
    animation-delay: 1.5s;
}

.particles-bg span:nth-child(3) {
    left: 78%;
    top: 18%;
    animation-delay: 3s;
}

.particles-bg span:nth-child(4) {
    left: 66%;
    top: 68%;
    animation-delay: 4.5s;
}

.particles-bg span:nth-child(5) {
    left: 28%;
    top: 72%;
    animation-delay: 6s;
}

.particles-bg span:nth-child(6) {
    left: 91%;
    top: 48%;
    animation-delay: 7.5s;
}

.particles-bg span:nth-child(7) {
    left: 12%;
    top: 50%;
    animation-delay: 9s;
}

.particles-bg span:nth-child(8) {
    left: 52%;
    top: 86%;
    animation-delay: 10.5s;
}

@keyframes floatParticle {
    0% {
        transform: translateY(40px) scale(0.7);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        transform: translateY(-160px) scale(1.15);
        opacity: 0;
    }
}

/* =========================================
   DASHBOARD LAYOUT
========================================= */

.dashboard-layout {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr;
    min-height: 100vh;
}

/* =========================================
   SIDEBAR
========================================= */

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    padding: 26px 16px;
    background: rgba(6, 6, 7, 0.92);
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(18px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 20;
}

.sidebar-logo {
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    margin-bottom: 36px;
    background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    min-height: 50px;
    padding: 0 16px;
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 0.96rem;
    font-weight: 700;
    transition: 0.22s ease;
}

.sidebar-menu a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(3px);
}

/* Your HTML has active-link on Dashboard and Blueprint.
   This makes Blueprint the real active page. */
.sidebar-menu a.active-link {
    background: transparent;
}

.sidebar-menu a[href="blueprint_engine.html"] {
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(255, 20, 147, 0.18), rgba(139, 92, 246, 0.12));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.upgrade-mini-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 16px;
    border-radius: 16px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.11);
    transition: 0.22s ease;
}

.upgrade-mini-btn:hover {
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.18), rgba(139, 92, 246, 0.18));
    transform: translateY(-2px);
}

/* =========================================
   MAIN AREA
========================================= */

.dashboard-main {
    grid-column: 2;
    min-height: 100vh;
    padding: 50px 56px 80px;
}

.dashboard-content-wrapper {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
}

.dashboard-generator {
    width: 100%;
}

/* =========================================
   GENERATOR CARD
========================================= */

.generator-card {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: calc(100vh - 100px);
    padding: 44px;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at 92% 0%, rgba(255, 20, 147, 0.23), transparent 35%),
        radial-gradient(circle at 16% 95%, rgba(139, 92, 246, 0.13), transparent 38%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
    border: 1px solid rgba(255, 255, 255, 0.11);
    box-shadow:
        0 30px 100px rgba(0, 0, 0, 0.48),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(22px);
}

.generator-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.16) 0 2px, transparent 3px),
        radial-gradient(circle, rgba(255, 20, 147, 0.13) 0 2px, transparent 3px),
        radial-gradient(circle, rgba(139, 92, 246, 0.14) 0 2px, transparent 3px);
    background-size: 190px 190px, 270px 270px, 330px 330px;
    opacity: 0.22;
    animation: cardParticles 22s linear infinite;
    pointer-events: none;
}

.generator-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 20, 147, 0.8),
        rgba(139, 92, 246, 0.8),
        rgba(66, 191, 255, 0.8),
        transparent
    );
    opacity: 0.65;
}

@keyframes cardParticles {
    0% {
        background-position: 0 0, 90px 60px, 180px 120px;
    }

    100% {
        background-position: 250px 280px, 390px 300px, 460px 520px;
    }
}

.generator-card > * {
    position: relative;
    z-index: 2;
}

/* =========================================
   GENERATOR TOP
========================================= */

.generator-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
}

.mini-label {
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
}

.generator-top h2 {
    color: #ffffff;
    font-size: clamp(2rem, 3vw, 3.15rem);
    font-weight: 900;
    letter-spacing: -0.065em;
    line-height: 1.02;
    margin-bottom: 18px;
}

.ai-status-text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.75;
    max-width: 620px;
}

.generator-badge {
    flex-shrink: 0;
    padding: 13px 18px;
    border-radius: 999px;
    color: rgba(255, 185, 225, 0.95);
    font-size: 0.82rem;
    font-weight: 900;
    background: rgba(255, 20, 147, 0.15);
    border: 1px solid rgba(255, 20, 147, 0.34);
    box-shadow: 0 0 34px rgba(255, 20, 147, 0.12);
}

/* =========================================
   FORM
========================================= */

.generator-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 28px;
}

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

.input-group label {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    font-weight: 800;
}

#dashboardNiche,
#dashboardGoal,
#contentStyle,
#hookIntensity {
    width: 100%;
    height: 54px;
    padding: 0 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.28);
    color: #ffffff;
    font-family: inherit;
    font-size: 0.96rem;
    font-weight: 600;
    outline: none;
    transition: 0.22s ease;
}

#dashboardNiche::placeholder {
    color: rgba(255, 255, 255, 0.34);
}

#dashboardNiche:focus,
#dashboardGoal:focus,
#contentStyle:focus,
#hookIntensity:focus {
    border-color: rgba(255, 20, 147, 0.55);
    box-shadow:
        0 0 0 4px rgba(255, 20, 147, 0.08),
        0 0 32px rgba(139, 92, 246, 0.15);
}

select {
    appearance: auto;
}

/* =========================================
   ADVANCED CONTROLS
========================================= */

.hidden {
    display: none !important;
}

.advanced-btn {
    width: 100%;
    height: 58px;
    margin: 4px 0 28px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.055);
    color: #ffffff;
    font-family: inherit;
    font-size: 0.96rem;
    font-weight: 900;
    cursor: pointer;
    transition: 0.22s ease;
}

.advanced-btn:hover {
    background: rgba(255, 255, 255, 0.085);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

.advanced-controls {
    animation: revealControls 0.28s ease both;
}

@keyframes revealControls {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   GENERATE BUTTON
========================================= */

.generate-main-btn {
    position: relative;
    width: 100%;
    min-height: 64px;
    margin-top: 16px;
    border: none;
    border-radius: 18px;
    overflow: hidden;
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 900;
    cursor: pointer;
    background:
        linear-gradient(90deg, var(--pink), var(--purple), var(--blue), var(--pink));
    background-size: 280% 100%;
    box-shadow:
        0 22px 58px rgba(139, 92, 246, 0.28),
        0 14px 42px rgba(255, 20, 147, 0.2);
    animation: buttonGradient 5s ease infinite;
    transition: 0.22s ease;
}

.generate-main-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 30px 80px rgba(139, 92, 246, 0.34),
        0 18px 52px rgba(255, 20, 147, 0.25);
}

.generate-main-btn:active {
    transform: translateY(0);
}

.generate-main-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.28),
        transparent
    );
    transform: skewX(-22deg);
    animation: buttonShine 3.2s ease-in-out infinite;
}

.generate-main-btn .btn-text,
.generate-main-btn .generate-loader {
    position: relative;
    z-index: 2;
}

.generate-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.loader-orb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow:
        0 0 18px rgba(255, 255, 255, 0.95),
        0 0 34px rgba(255, 20, 147, 0.7);
    animation: loaderPulse 1.15s ease-in-out infinite;
}

.loader-status {
    font-weight: 900;
    color: #ffffff;
}

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

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes buttonShine {
    0% {
        left: -120%;
    }

    45% {
        left: 130%;
    }

    100% {
        left: 130%;
    }
}

@keyframes loaderPulse {
    0%,
    100% {
        transform: scale(0.82);
        opacity: 0.75;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

/* =========================================
   RESULTS VISIBILITY
========================================= */

#dashboardResults {
    width: 100%;
    margin-top: 42px;
    animation: resultsReveal 0.55s ease both;
}

#dashboardResults.hidden {
    display: none !important;
}

@keyframes resultsReveal {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   ANALYTICS SECTION
========================================= */

.analytics-section {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 12px;
}

.main-score-card {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 28px;
    align-items: center;
    padding: 30px;
    border-radius: 26px;
    background:
        radial-gradient(circle at 14% 20%, rgba(255, 20, 147, 0.16), transparent 40%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.11);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
    backdrop-filter: blur(16px);
}

.score-circle {
    --score-deg: 302deg;
    width: 132px;
    height: 132px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    position: relative;
    background:
        conic-gradient(
            var(--pink) 0deg,
            var(--purple) var(--score-deg),
            rgba(255, 255, 255, 0.09) var(--score-deg)
        );
    box-shadow:
        0 0 38px rgba(255, 20, 147, 0.2),
        inset 0 0 28px rgba(255, 255, 255, 0.05);
    animation: scoreEnter 0.9s cubic-bezier(.2, .9, .2, 1) both;
}

.score-circle::before {
    content: "";
    position: absolute;
    width: 98px;
    height: 98px;
    border-radius: 50%;
    background: #09090b;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.score-number {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -0.06em;
}

.score-number::after {
    content: "%";
    margin-left: 2px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.9rem;
    letter-spacing: 0;
}

.score-info h3 {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: -0.035em;
    margin-bottom: 10px;
}

.score-info p {
    color: var(--text-muted);
    font-size: 0.96rem;
    line-height: 1.75;
    max-width: 660px;
}

@keyframes scoreEnter {
    from {
        opacity: 0;
        transform: scale(0.82) rotate(-20deg);
    }

    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* =========================================
   MINI SCORES
========================================= */

.mini-analytics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.mini-score-card {
    min-height: 150px;
    padding: 22px;
    border-radius: 22px;
    background:
        radial-gradient(circle at top, rgba(139, 92, 246, 0.15), transparent 42%),
        rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.09);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    transition: 0.22s ease;
}

.mini-score-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.065);
    border-color: rgba(255, 255, 255, 0.16);
}

.mini-circle {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 1.08rem;
    font-weight: 900;
    background:
        conic-gradient(
            var(--pink) 0deg,
            var(--purple) 275deg,
            rgba(255, 255, 255, 0.09) 275deg
        );
    box-shadow: 0 0 32px rgba(139, 92, 246, 0.2);
}

.mini-circle::after {
    content: "%";
    font-size: 0.68rem;
    margin-left: 1px;
    color: rgba(255, 255, 255, 0.6);
}

.mini-score-card span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.92rem;
    font-weight: 800;
}

/* =========================================
   GENERATED CONTENT
========================================= */

.generated-content-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 26px;
}

.content-card {
    position: relative;
    overflow: hidden;
    min-height: 190px;
    padding: 24px;
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.024));
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 22px 64px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(14px);
    transition: 0.24s ease;
}

.content-card:nth-child(3) {
    grid-column: 1 / -1;
}

.content-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 20, 147, 0.11), transparent 36%),
        radial-gradient(circle at 100% 100%, rgba(66, 191, 255, 0.09), transparent 38%);
    opacity: 0;
    transition: 0.24s ease;
    pointer-events: none;
}

.content-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.17);
}

.content-card:hover::before {
    opacity: 1;
}

.content-card > * {
    position: relative;
    z-index: 2;
}

.content-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.content-card-top h3 {
    color: #ffffff;
    font-size: 1.08rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.regenerate-btn {
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    color: rgba(255, 255, 255, 0.82);
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s ease;
}

.regenerate-btn:hover {
    color: #ffffff;
    background: rgba(255, 20, 147, 0.15);
    border-color: rgba(255, 20, 147, 0.32);
}

.ai-rendered-content {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.98rem;
    line-height: 1.75;
    white-space: pre-wrap;
}

#dashboardHook {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 850;
    letter-spacing: -0.025em;
}

#dashboardIdea {
    color: rgba(255, 255, 255, 0.76);
}

#dashboardCaption {
    color: rgba(255, 255, 255, 0.78);
}

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

@media (max-width: 1100px) {
    .dashboard-main {
        padding: 34px 28px 60px;
    }

    .generator-card {
        padding: 34px;
    }
}

@media (max-width: 860px) {
    .dashboard-layout {
        display: block;
    }

    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        padding: 20px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .sidebar-logo {
        margin-bottom: 18px;
    }

    .sidebar-menu {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .upgrade-mini-btn {
        margin-top: 18px;
    }

    .dashboard-main {
        padding: 28px 18px 60px;
    }

    .generator-top {
        flex-direction: column;
    }

    .generator-grid {
        grid-template-columns: 1fr;
    }

    .main-score-card {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .mini-analytics-grid {
        grid-template-columns: 1fr;
    }

    .generated-content-section {
        grid-template-columns: 1fr;
    }

    .content-card:nth-child(3) {
        grid-column: auto;
    }
}

@media (max-width: 520px) {
    .generator-card {
        padding: 24px;
        border-radius: 24px;
    }

    .generator-top h2 {
        font-size: 2rem;
    }

    .sidebar-menu {
        grid-template-columns: 1fr;
    }

    .score-circle {
        width: 116px;
        height: 116px;
    }

    .score-circle::before {
        width: 86px;
        height: 86px;
    }

    .score-number {
        font-size: 1.85rem;
    }
}

/* =========================================
   BLUEPRINT ENGINE - FINAL POLISH PATCH
========================================= */

/* Fix horizontal scrollbar */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.dashboard-layout {
    grid-template-columns: 220px minmax(0, 1fr);
}

.dashboard-main {
    min-width: 0;
    overflow-x: hidden;
}

/* Make main generator slightly cleaner */
.generator-card {
    max-width: 980px;
    margin: 0 auto;
    padding: 44px 44px 36px;
}

/* Reduce empty space after button */
.generate-main-btn {
    margin-top: 14px;
    margin-bottom: 22px;
}

/* Results should feel tighter and premium */
#dashboardResults {
    margin-top: 28px;
}

/* Score card improvement */
.main-score-card {
    padding: 26px 30px;
    gap: 24px;
    background:
        radial-gradient(circle at 8% 20%, rgba(255, 20, 147, 0.18), transparent 34%),
        radial-gradient(circle at 90% 90%, rgba(139, 92, 246, 0.14), transparent 36%),
        rgba(255, 255, 255, 0.045);
}

.score-info h3 {
    font-size: 1.45rem;
}

.score-info p {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.68);
}

/* More professional score ring */
.score-circle {
    background:
        conic-gradient(
            from -90deg,
            #ff1493 0deg,
            #8b5cf6 var(--score-deg, 302deg),
            rgba(255, 255, 255, 0.08) var(--score-deg, 302deg)
        );
}

.score-circle::after {
    content: "";
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 0 35px rgba(255, 20, 147, 0.18),
        0 0 55px rgba(139, 92, 246, 0.12);
}

/* Mini score cards cleaner */
.mini-analytics-grid {
    gap: 16px;
}

.mini-score-card {
    min-height: 128px;
    padding: 20px;
}

.mini-circle {
    width: 68px;
    height: 68px;
    background:
        conic-gradient(
            from -90deg,
            #ff1493 0deg,
            #8b5cf6 var(--mini-score-deg, 275deg),
            rgba(255, 255, 255, 0.08) var(--mini-score-deg, 275deg)
        );
}

/* Fix large empty blocks */
.generated-content-section {
    align-items: start;
    gap: 16px;
    margin-top: 20px;
}

.content-card {
    min-height: auto;
    height: auto;
    align-self: start;
    padding: 22px;
}

/* Hook card should not become huge because content idea is long */
.content-card:nth-child(1) {
    min-height: 155px;
}

/* Caption card cleaner */
.content-card:nth-child(3) {
    min-height: 150px;
}

/* Make generated text look higher value */
.ai-rendered-content {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.96rem;
    line-height: 1.72;
}

#dashboardHook {
    font-size: 1.18rem;
    line-height: 1.55;
    color: #ffffff;
}

#dashboardIdea,
#dashboardCaption {
    color: rgba(255, 255, 255, 0.76);
}

/* Card headings */
.content-card-top h3 {
    font-size: 1.02rem;
    letter-spacing: -0.03em;
}

.regenerate-btn {
    opacity: 0.82;
}

.regenerate-btn:hover {
    opacity: 1;
}

/* Advanced button less tall-looking */
.advanced-btn {
    height: 56px;
    margin-bottom: 24px;
}

/* Inputs more balanced */
#dashboardNiche,
#dashboardGoal,
#contentStyle,
#hookIntensity {
    height: 52px;
}

/* Better button loading state */
.generate-loader {
    min-height: 64px;
}

.loader-status {
    min-width: 230px;
    text-align: left;
}

/* Add subtle premium result label style */
.analytics-section::before {
    content: "AI Blueprint Analysis";
    display: inline-flex;
    width: fit-content;
    margin-bottom: -4px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 20, 147, 0.12);
    border: 1px solid rgba(255, 20, 147, 0.22);
    color: rgba(255, 210, 235, 0.9);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}