/* VictaShort — Victaflow brand theme */
:root {
    --vf-navy: #1e2a78;
    --vf-navy-deep: #151d54;
    --vf-teal: #2aa7bd;
    --vf-teal-soft: #3fc6dd;
    --vf-ink: #0e1440;
    --vf-white: #ffffff;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    min-height: 100%;
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--vf-white);
}

/* Animated "flowing" gradient background */
body.vf-page {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px 64px;
    background: linear-gradient(-45deg, var(--vf-navy-deep), var(--vf-navy), #24338f, var(--vf-teal));
    background-size: 400% 400%;
    animation: vf-flow 16s ease infinite;
    position: relative;
    overflow-x: hidden;
}

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

/* Soft flowing wave layer */
.vf-waves {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.35;
}
.vf-waves span {
    position: absolute;
    left: 50%;
    bottom: -40vh;
    width: 140vmax;
    height: 140vmax;
    margin-left: -70vmax;
    border-radius: 43%;
    background: rgba(63, 198, 221, 0.18);
    animation: vf-wave 18s linear infinite;
}
.vf-waves span:nth-child(2) {
    background: rgba(42, 167, 189, 0.14);
    animation-duration: 26s;
    bottom: -46vh;
}
.vf-waves span:nth-child(3) {
    background: rgba(255, 255, 255, 0.06);
    animation-duration: 34s;
    bottom: -52vh;
}
@keyframes vf-wave {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.vf-card {
    position: relative;
    z-index: 1;
    max-width: 560px;
    width: 100%;
    text-align: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    padding: 44px 36px;
    backdrop-filter: blur(6px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.vf-logo {
    width: 170px;
    max-width: 60%;
    height: auto;
    margin-bottom: 24px;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.4));
}

.vf-card h1 {
    margin: 0 0 14px;
    font-size: 1.55rem;
    letter-spacing: 0.4px;
}
.vf-accent { color: var(--vf-teal-soft); }

.vf-card p {
    margin: 0 auto;
    max-width: 44ch;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
}

.vf-code {
    display: inline-block;
    margin-top: 18px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(42, 167, 189, 0.25);
    border: 1px solid rgba(63, 198, 221, 0.5);
    font-family: "Consolas", monospace;
    font-size: 0.95rem;
}

.vf-foot {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 16px;
    z-index: 1;
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}
.vf-foot a { color: var(--vf-teal-soft); text-decoration: none; }

/* Click ripple effect — expanding white + teal ring "lines" from the click point. */
.vf-ripple {
    position: fixed;
    z-index: 9999;
    width: 0;
    height: 0;
    pointer-events: none;
}
.vf-ripple::before,
.vf-ripple::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
}
/* White outer ring */
.vf-ripple::before {
    border: 2px solid rgba(255, 255, 255, 0.9);
    animation: vf-ring 0.6s ease-out forwards;
}
/* Teal inner ring, slightly delayed */
.vf-ripple::after {
    border: 2px solid rgba(63, 198, 221, 0.85);
    animation: vf-ring 0.6s ease-out 0.08s forwards;
}

@keyframes vf-ring {
    0%   { width: 6px;   height: 6px;   opacity: 0.95; }
    100% { width: 180px; height: 180px; opacity: 0; }
}

/* Gentler, smaller ring for users who prefer reduced motion (kept, not disabled). */
@media (prefers-reduced-motion: reduce) {
    .vf-ripple::before,
    .vf-ripple::after {
        animation-duration: 0.35s;
        animation-delay: 0s;
    }
    @keyframes vf-ring {
        0%   { width: 6px;  height: 6px;  opacity: 0.8; }
        100% { width: 70px; height: 70px; opacity: 0; }
    }
}
