/* ============================================================
   GDPRSOLUTIONS.NET ©
   COMING SOON — CONSENT DEMONSTRATION ENHANCEMENTS
   Version 1.3 | Launch target: January 10, 2027
   Author: Raymond Brogan
   Company: The Raymond Brogan Corporation®
   Website: https://raymondbrogan.com
   © 2026 The Raymond Brogan Corporation
   © 2026 GDPR Solutions Network
   All rights reserved. Third-party materials retain their licenses.
   This demonstration does not guarantee regulatory compliance.
   ============================================================ */

/* ============================================================
   EXTRA SELECTORS AND CUSTOM COLOR EDITOR
   ============================================================ */
.gds-extra-controls {
    margin-top: 16px;
}

.gds-background-custom[hidden],
.gds-cookie-tip[hidden] {
    display: none !important;
}

.gds-background-custom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    max-width: 900px;
    margin: 0 auto 24px;
    padding: 18px;
    color: #e8f5f5;
    background: #111a22;
    border: 1px solid rgba(0, 220, 200, .25);
    border-radius: 12px;
}

.gds-background-custom label {
    font-size: .83rem;
    font-weight: 700;
}

.gds-background-custom input[type="color"] {
    width: 52px;
    height: 38px;
    cursor: pointer;
}

.gds-background-custom input[type="text"] {
    width: 130px;
    padding: 10px;
    color: #fff;
    background: #0a1018;
    border: 1px solid #4a6570;
    border-radius: 8px;
}

#gdsCookieTip, #demoBackgroundError {
    overflow-wrap: anywhere;
}

/* ============================================================
   BANNER BACKGROUND AND ANIMATED ACCENT BORDER
   ============================================================ */
#consentBanner {
    background: var(--gds-demo-background, #101419);
    isolation: isolate;
}

.consent-banner::after {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: -1;
    pointer-events: none;
    border: 2px solid var(--gds-fx-accent, #63dc00);
    border-radius: inherit;
    opacity: 0;
}

.consent-banner[data-gds-fx="breathing"]::after {
    animation: gdsBorderBreathe 3s ease-in-out infinite;
}

.consent-banner[data-gds-fx="pulsing"]::after {
    animation: gdsBorderPulse 1.3s ease-in-out infinite;
}

.consent-banner[data-gds-fx="heartbeat"]::after {
    animation: gdsBorderHeartbeat 1.6s ease-in-out infinite;
}

.consent-banner[data-gds-fx="glow"]::after {
    opacity: 1;
    animation: gdsBorderGlow 2.5s ease-in-out infinite;
}

/* Rotating accent highlight follows the banner's rounded border. */
.consent-banner[data-gds-fx="rotate"]::after {
    opacity: 1;
    border: 0;
    padding: 2px;
    background: conic-gradient(
        from var(--gds-border-angle, 0deg),
        transparent 0deg,
        transparent 255deg,
        var(--gds-fx-accent, #63dc00) 310deg,
        transparent 360deg
    );
    -webkit-mask: linear-gradient(#000 0 0) content-box,
                  linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box,
          linear-gradient(#000 0 0);
    mask-composite: exclude;
    animation: gdsBorderRotate 2.5s linear infinite;
}

@property --gds-border-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@keyframes gdsBorderRotate {
    to { --gds-border-angle: 360deg; }
}

@keyframes gdsBorderBreathe {
    0%, 100% { opacity: .18; box-shadow: 0 0 4px var(--gds-fx-accent); }
    50% { opacity: .85; box-shadow: 0 0 22px var(--gds-fx-accent); }
}

@keyframes gdsBorderPulse {
    0%, 100% { opacity: .2; box-shadow: 0 0 2px var(--gds-fx-accent); }
    50% { opacity: 1; box-shadow: 0 0 24px var(--gds-fx-accent); }
}

@keyframes gdsBorderHeartbeat {
    0%, 25%, 60%, 100% { opacity: .2; box-shadow: none; }
    10%, 40% { opacity: 1; box-shadow: 0 0 24px var(--gds-fx-accent); }
}

@keyframes gdsBorderGlow {
    0%, 100% { box-shadow: 0 0 8px var(--gds-fx-accent); }
    50% { box-shadow: 0 0 26px var(--gds-fx-accent); }
}

/* ============================================================
   ENTRANCE ANIMATIONS
   Center-positioned banner uses its own transform variants.
   ============================================================ */
.consent-banner.gds-entrance[data-gds-animation="dissolve"] {
    animation: gdsDissolve .75s ease-out both;
}
.consent-banner.gds-entrance[data-gds-animation="fade"] {
    animation: gdsFade .55s ease-out both;
}
.consent-banner.gds-entrance[data-gds-animation="bounce"] {
    animation: gdsBounce .8s cubic-bezier(.2, .8, .3, 1) both;
}
.consent-banner.gds-entrance[data-gds-animation="slide"] {
    animation: gdsSlide .7s ease-out both;
}
.consent-banner.gds-entrance[data-gds-animation="stutter"] {
    animation: gdsStutter .8s steps(8, end) both;
}
.consent-banner.gds-entrance[data-gds-animation="energize"] {
    animation: gdsEnergize 1.05s ease-out both;
}

@keyframes gdsDissolve {
    from { opacity: 0; filter: blur(18px); }
    to { opacity: 1; filter: blur(0); }
}
@keyframes gdsFade {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes gdsBounce {
    0% { opacity: 0; scale: .65; }
    60% { opacity: 1; scale: 1.07; }
    80% { scale: .97; }
    100% { opacity: 1; scale: 1; }
}
@keyframes gdsSlide {
    from { opacity: 0; scale: .2; filter: blur(6px); }
    to { opacity: 1; scale: 1; filter: blur(0); }
}
@keyframes gdsStutter {
    0%, 12%, 30% { opacity: 0; filter: blur(9px); }
    13%, 25%, 45%, 70% { opacity: .7; filter: blur(3px); }
    46%, 60% { opacity: .15; }
    100% { opacity: 1; filter: none; }
}
@keyframes gdsEnergize {
    0% { opacity: 0; filter: brightness(3) blur(16px); clip-path: inset(48% 0); }
    35% { opacity: .65; clip-path: inset(25% 0); }
    65% { opacity: 1; filter: brightness(1.8) blur(3px); clip-path: inset(0); }
    100% { opacity: 1; filter: none; clip-path: inset(0); }
}

/* ============================================================
   FIXED COOKIE BUTTON AND EXPLANATORY BUBBLE
   ============================================================ */
.gds-cookie-helper {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.gds-cookie-reopen {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    padding: 9px;
    cursor: pointer;
    border-radius: 50%;
    border: 2px solid #35d6bb;
    background: #0d2027;
    box-shadow: 0 0 18px rgba(0, 220, 200, .25);
    transition: transform .2s ease, box-shadow .2s ease;
}

.gds-cookie-reopen:hover,
.gds-cookie-reopen:focus-visible {
    transform: scale(1.08);
    box-shadow: 0 0 26px rgba(0, 220, 200, .5);
}

.gds-cookie-tip {
    position: relative;
    width: min(330px, calc(100vw - 42px));
    padding: 17px 40px 17px 18px;
    color: #edfafa;
    background: #112b34;
    border: 1px solid #35d6bb;
    border-radius: 14px;
    box-shadow: 0 12px 38px rgba(0, 0, 0, .4);
}

.gds-cookie-tip::after {
    content: "";
    position: absolute;
    right: 21px;
    bottom: -9px;
    width: 15px;
    height: 15px;
    background: #112b34;
    border-right: 1px solid #35d6bb;
    border-bottom: 1px solid #35d6bb;
    transform: rotate(45deg);
}

.gds-cookie-tip strong { color: #73f5d7; }
.gds-cookie-tip p { margin: 6px 0; line-height: 1.55; }
.gds-cookie-tip small { color: #b1ced2; }

.gds-tip-dismiss {
    position: absolute;
    top: 7px;
    right: 10px;
    color: #fff;
    font-size: 23px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

@media (max-width: 600px) {
    .gds-cookie-helper { right: 12px; bottom: 12px; }
    .gds-cookie-reopen { width: 56px; height: 56px; }
    .gds-background-custom { margin-inline: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .consent-banner.gds-entrance,
    .consent-banner::after {
        animation: none !important;
    }
    .consent-banner.gds-entrance { opacity: 1; filter: none; scale: 1; }
    .gds-cookie-reopen { transition: none; }
}


/* ============================================================
   GDPRSOLUTIONS NETWORK
   EMBED CODE TERMINAL ANIMATIONS

   © 2026 The Raymond Brogan Corporation
   © 2026 GDPR Solutions Network
   All Rights Reserved.
   ============================================================ */


/* THREE CHASING DOTS */

.gds-terminal-dot {
    animation: gdsDotChase 1.2s ease-in-out infinite;
}

.gds-terminal-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.gds-terminal-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes gdsDotChase {
    0%, 60%, 100% {
        opacity: 0.25;
        transform: scale(1);
    }

    30% {
        opacity: 1;
        transform: scale(1.3);
        background-color: #00e6d0;
        box-shadow: 0 0 10px rgba(0, 230, 208, 0.8);
    }
}


/* BREATHING WINDOW LABEL */

.gds-terminal-label {
    animation: gdsLabelBreathe 3s ease-in-out infinite;
}

@keyframes gdsLabelBreathe {
    0%, 100% {
        opacity: 0.45;
        text-shadow: none;
    }

    50% {
        opacity: 1;
        color: #00e6d0;
        text-shadow: 0 0 12px rgba(0, 230, 208, 0.6);
    }
}


/* BLINKING COMPUTER CURSOR */

.gds-terminal-cursor {
    display: inline-block;
    width: 2px;
    height: 1.1em;
    margin-left: 2px;

    background: #00f5df;

    vertical-align: -0.18em;

    animation: gdsCursorBlink 0.7s steps(1) infinite;
}

@keyframes gdsCursorBlink {
    0%, 49% {
        opacity: 1;
    }

    50%, 100% {
        opacity: 0;
    }
}


/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .gds-terminal-dot,
    .gds-terminal-label,
    .gds-terminal-cursor {
        animation: none;
    }
}

