:root {
    --gp-bg: #fff4fb;
    --gp-text: #4a1238;
    --gp-accent: #ff2d9a;
    --gp-accent-soft: #ff72c2;
    --gp-accent-hot: #ff0088;
    --gp-blueberry: #6c58ff;
    --gp-sun: #ffd3f3;
    --gp-card: rgba(255, 255, 255, 0.86);
    --gp-shadow: 0 14px 44px rgba(255, 18, 135, 0.3);
    --gp-border: rgba(255, 45, 154, 0.38);
    --gp-hue: 330;
}

* {
    box-sizing: border-box;
}

body.girlypop-body {
    min-height: 100vh;
    color: var(--gp-text);
    background:
        radial-gradient(circle at 10% 10%, #ffd9f0 0%, rgba(255, 217, 240, 0) 34%),
        radial-gradient(circle at 88% 18%, #ffd0ea 0%, rgba(255, 208, 234, 0) 30%),
        radial-gradient(circle at 70% 80%, #d2dcff 0%, rgba(210, 220, 255, 0) 36%),
        linear-gradient(160deg, #fff3fb 0%, #ffe9f7 40%, #f8f6ff 100%);
    font-family: "Century Gothic", "Trebuchet MS", "Segoe UI", sans-serif;
    position: relative;
    overflow-x: hidden;
}

body.girlypop-body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.8) 1px, transparent 1px),
        radial-gradient(circle, rgba(255, 179, 226, 0.65) 1px, transparent 1px);
    background-size: 16px 16px, 26px 26px;
    background-position: 0 0, 8px 12px;
    opacity: 0.28;
    animation: glitterShift 12s linear infinite;
}

.gp-navbar {
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.9), rgba(255, 213, 238, 0.95));
    border-bottom: 2px solid rgba(255, 45, 154, 0.35);
    backdrop-filter: blur(10px) saturate(1.15);
    box-shadow: 0 10px 28px rgba(255, 45, 154, 0.18);
    z-index: 10;
}

.gp-brand {
    font-weight: 800;
    letter-spacing: 0.04em;
    color: hsl(var(--gp-hue), 96%, 48%) !important;
    text-shadow: 0 1px 0 #fff, 0 0 12px rgba(255, 115, 194, 0.55);
}

.bg-bubble {
    position: fixed;
    border-radius: 999px;
    filter: blur(0.6px);
    opacity: 0.7;
    pointer-events: none;
}

.bg-bubble-a {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, #ff9fda 0%, rgba(255, 159, 218, 0) 70%);
    top: -80px;
    right: -60px;
    animation: floaty 8s ease-in-out infinite;
}

.bg-bubble-b {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, #b8c8ff 0%, rgba(184, 200, 255, 0) 70%);
    bottom: 8%;
    left: -70px;
    animation: floaty 10s ease-in-out infinite;
}

.bg-bubble-c {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #ffc9f2 0%, rgba(255, 201, 242, 0) 70%);
    bottom: -80px;
    right: 22%;
    animation: floaty 11s ease-in-out infinite;
}

@keyframes floaty {
    0% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
    100% { transform: translateY(0); }
}

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

.gp-card {
    background: var(--gp-card);
    border: 2px solid var(--gp-border);
    border-radius: 20px;
    box-shadow: var(--gp-shadow);
    padding: 1.3rem;
    backdrop-filter: blur(8px) saturate(1.08);
    position: relative;
    overflow: hidden;
}

.gp-card::after {
    content: "";
    position: absolute;
    top: -80%;
    left: -30%;
    width: 90%;
    height: 250%;
    transform: rotate(26deg);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.35) 45%, rgba(255, 255, 255, 0) 100%);
    animation: shimmerSweep 8.5s linear infinite;
    pointer-events: none;
}

.gp-hero {
    background: linear-gradient(125deg, rgba(255, 214, 238, 0.95), rgba(255, 241, 252, 0.9) 42%, rgba(236, 240, 255, 0.9));
}

.gp-title {
    font-size: clamp(1.4rem, 1.8vw + 1rem, 2.3rem);
    font-weight: 900;
    letter-spacing: 0.02em;
    margin: 0;
    color: #4d0f37;
    text-shadow: 0 0 14px rgba(255, 92, 180, 0.2);
    font-family: "Verdana", "Century Gothic", sans-serif;
}

.gp-subtitle {
    margin-top: 0.45rem;
    color: #75365f;
}

.gp-chip {
    border: 1px solid rgba(108, 88, 255, 0.4);
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.96), rgba(227, 232, 255, 0.95));
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    display: inline-block;
    font-size: 0.86rem;
    color: #5b43df;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75), 0 5px 14px rgba(108, 88, 255, 0.2);
}

.gp-kpi {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.85rem;
}

.gp-kpi-item {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 232, 247, 0.96));
    border-radius: 16px;
    padding: 0.85rem;
    border: 1px solid rgba(255, 45, 154, 0.35);
    box-shadow: 0 6px 20px rgba(255, 89, 178, 0.17);
}

.gp-kpi-label {
    font-size: 0.8rem;
    color: #9a557e;
    margin-bottom: 0.25rem;
}

.gp-kpi-value {
    font-size: 1.05rem;
    font-weight: 800;
    color: #4f2142;
    word-break: break-word;
}

.gp-btn {
    border: 0;
    border-radius: 999px;
    padding: 0.55rem 1rem;
    background: linear-gradient(120deg, var(--gp-accent-hot), var(--gp-accent-soft));
    color: #fff;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(255, 0, 136, 0.42);
}

.gp-btn:hover {
    filter: saturate(1.16);
    transform: translateY(-1px);
}

.gp-input {
    border-radius: 14px;
    border: 1px solid rgba(255, 79, 163, 0.3);
    background: rgba(255, 255, 255, 0.95);
}

.gp-input:focus {
    border-color: var(--gp-accent);
    box-shadow: 0 0 0 0.2rem rgba(255, 79, 163, 0.2);
}

.gp-flag {
    font-weight: 800;
    background: linear-gradient(140deg, rgba(255, 236, 248, 0.93), rgba(234, 240, 255, 0.94));
    border: 1px solid rgba(122, 109, 255, 0.34);
    border-radius: 14px;
    padding: 0.9rem;
}

.gp-loader {
    color: #7e4e97;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .gp-card {
        padding: 1rem;
    }
}

@keyframes shimmerSweep {
    0% { transform: translateX(-15%) rotate(26deg); }
    100% { transform: translateX(190%) rotate(26deg); }
}
