:root {
    --gold1:#f7d57a;
    --gold2:#d4a547;
    --gold3:#b88932;
    --bg:#0d0d0f;
    --text:#fff;
    --muted:#c8c8d2
}
* {
    margin:0;
    padding:0;
    box-sizing:border-box
}
body {
    background:var(--bg);
    overflow:hidden;
    font-family:sans-serif;
    height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    color:var(--text)
}
#liquidCanvas {
    position:fixed;
    inset:0;
    touch-action:none;
    z-index:11
}
#goldOverlay {
    position:fixed;
    inset:0;
    background:url(../images/gold.png) center/cover;
    mix-blend-mode:overlay;
    opacity:.50;
    pointer-events:none;
    z-index:22
}
#shine {
    position:fixed;
    inset:0;
    background:linear-gradient(120deg,transparent 48%,rgba(255,255,255,.28) 50%,transparent 52%);
    mix-blend-mode:screen;
    pointer-events:none;
    z-index:44;
    animation:shineMove 6s linear infinite
}
@keyframes shineMove {
    0% {
        transform:translate(-120%,-120%)
    }
    100% {
        transform:translate(120%,120%)
    }
}
.page {
    position:fixed;
    top:30%;
    left:50%;
    transform:translate(-50%,-50%);
    display:inline-block;
    width:auto;
    height:auto;
    background:none!important;
    border:none!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    padding:0!important;
    margin:0!important;
    opacity:0;
    transition:opacity 0.8s ease-out;
    pointer-events:none
}
.page.visible {
    opacity:1
}
.page *:not(h1) {
    display:none!important;
}
h1 {
    font-size:clamp(22px,5vw,38px);
    background:linear-gradient(90deg,#fff2b0 0%,#ffd86b 20%,#f7b93f 40%,#d99a28 60%,#f7c76b 80%,#fff4c8 100%);
    -webkit-background-clip:text;
    color:transparent;
    opacity:0;
    transform:translateY(20px);
    filter:blur(0);
    animation:titleAppear 1.6s ease-out forwards 0.3s,goldShine 5s linear infinite;
    text-shadow:0 2px 3px rgba(0,0,0,.45),0 0 18px rgba(255,200,120,.25);
    line-height:1.3;
    text-align:center
}
@keyframes titleAppear {
    0% {
        opacity:0;
        transform:translateY(25px);
        filter:blur(4px)
    }
    60% {
        opacity:1;
        transform:translateY(0);
        filter:blur(0)
    }
    100% {
        opacity:1
    }
}
@keyframes goldShine {
    0% {
        background-position:0% 50%
    }
    100% {
        background-position:200% 50%
    }
}
h1.color-green {
    background:linear-gradient(90deg,#a6ffa6,#00FF00,#009900);
    -webkit-background-clip:text;
    color:transparent
}
h1.color-red {
    background:linear-gradient(90deg,#ff9999,#FF0000,#990000);
    -webkit-background-clip:text;
    color:transparent
}
h1.color-blue {
    background:linear-gradient(90deg,#9999ff,#0000FF,#000099);
    -webkit-background-clip:text;
    color:transparent
}
h1.color-yellow {
    background:linear-gradient(90deg,#fff9a6,#FFFF00,#d6d600);
    -webkit-background-clip:text;
    color:transparent
}
h1.color-purple {
    background:linear-gradient(90deg,#ffb3ff,#FF00FF,#b300b3);
    -webkit-background-clip:text;
    color:transparent
}
h1.color-lightblue {
    background:linear-gradient(90deg,#a6ffff,#00FFFF,#00a3a3);
    -webkit-background-clip:text;
    color:transparent
}

#greenDot, #redDot, #blueDot, #yellowDot, #purpleDot, #lightblueDot {
  position: fixed;
  width: 48px; 
  height: 48px;
  z-index: 66;
  pointer-events: auto;
  cursor: pointer;
  display: none;
  left: -9999px;
  top: -9999px;
  
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  
  animation: heartBeat 1.4s ease-in-out infinite, goldFlash 3s linear infinite;
  transition: transform .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#greenDot { 
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><defs><linearGradient id='g' x1='0%25' y1='0%25' x2='100%25' y2='100%25'><stop offset='0%25' stop-color='%23a6ffa6'/><stop offset='50%25' stop-color='%2300FF00'/><stop offset='100%25' stop-color='%23009900'/></linearGradient></defs><path fill='url(%23g)' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/></svg>");
  filter: drop-shadow(0 0 15px rgba(0, 255, 0, 0.4));
}

#redDot { 
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><defs><linearGradient id='r' x1='0%25' y1='0%25' x2='100%25' y2='100%25'><stop offset='0%25' stop-color='%23ffb3b3'/><stop offset='50%25' stop-color='%23FF0000'/><stop offset='100%25' stop-color='%23990000'/></linearGradient></defs><path fill='url(%23r)' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/></svg>");
  filter: drop-shadow(0 0 15px rgba(255, 0, 0, 0.4));
}

#blueDot { 
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><defs><linearGradient id='b' x1='0%25' y1='0%25' x2='100%25' y2='100%25'><stop offset='0%25' stop-color='%23b3b3ff'/><stop offset='50%25' stop-color='%230000FF'/><stop offset='100%25' stop-color='%23000099'/></linearGradient></defs><path fill='url(%23b)' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/></svg>");
  filter: drop-shadow(0 0 15px rgba(0, 0, 255, 0.4));
}

#yellowDot { 
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><defs><linearGradient id='y' x1='0%25' y1='0%25' x2='100%25' y2='100%25'><stop offset='0%25' stop-color='%23fffcc0'/><stop offset='50%25' stop-color='%23FFFF00'/><stop offset='100%25' stop-color='%23d6d600'/></linearGradient></defs><path fill='url(%23y)' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/></svg>");
  filter: drop-shadow(0 0 15px rgba(255, 255, 0, 0.4));
}

#purpleDot { 
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><defs><linearGradient id='p' x1='0%25' y1='0%25' x2='100%25' y2='100%25'><stop offset='0%25' stop-color='%23ffb3ff'/><stop offset='50%25' stop-color='%23FF00FF'/><stop offset='100%25' stop-color='%23b300b3'/></linearGradient></defs><path fill='url(%23p)' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/></svg>");
  filter: drop-shadow(0 0 15px rgba(255, 0, 255, 0.4));
}

#lightblueDot { 
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><defs><linearGradient id='lb' x1='0%25' y1='0%25' x2='100%25' y2='100%25'><stop offset='0%25' stop-color='%23b3ffff'/><stop offset='50%25' stop-color='%2300FFFF'/><stop offset='100%25' stop-color='%2300a3a3'/></linearGradient></defs><path fill='url(%23lb)' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/></svg>");
  filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.4));
}

@keyframes goldFlash {
  0% { filter: brightness(1) drop-shadow(0 0 10px inherit); }
  50% { filter: brightness(1.4) drop-shadow(0 0 20px white); }
  100% { filter: brightness(1) drop-shadow(0 0 10px inherit); }
}

@keyframes heartBeat {
  0% { transform: scale(1); }
  14% { transform: scale(1.15); }
  28% { transform: scale(1); }
  42% { transform: scale(1.1); }
  70% { transform: scale(1); }
}

#greenDot:hover, #redDot:hover, #blueDot:hover, #yellowDot:hover, #purpleDot:hover, #lightblueDot:hover {
  transform: scale(1.45);
  filter: brightness(1.6) drop-shadow(0 0 25px white);
}
#goldPopout {
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.55);
    backdrop-filter:blur(6px);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:77
}
#goldPopout.active {
    display:flex
}
.goldPopout-content {
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.25);
    padding:25px 30px;
    border-radius:18px;
    text-align:center;
    max-width:300px;
    box-shadow:0 0 20px rgba(255,200,80,.4)
}
#closeGoldPopout {
    margin-top:15px;
    padding:10px 20px;
    border:none;
    border-radius:12px;
    background:#f7d57a;
    color:#000;
    font-weight:700;
    cursor:pointer
}
.colorPopout {
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.55);
    backdrop-filter:blur(6px);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:77
}
.colorPopout.active {
    display:flex
}
.colorPopout-content {
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.25);
    padding:25px 30px;
    border-radius:18px;
    text-align:center;
    max-width:300px;
    box-shadow:0 0 20px rgba(255,200,80,.4);
    color:#fff
}
.colorPopout-content.red {
    box-shadow:0 0 20px rgba(255,0,0,.6)
}
.colorPopout-content.green {
    box-shadow:0 0 20px rgba(0,255,0,.6)
}
.colorPopout-content.blue {
    box-shadow:0 0 20px rgba(0,0,255,.6)
}
.colorPopout-content.yellow {
    box-shadow:0 0 20px rgba(255,255,0,.6)
}
.colorPopout-content.purple {
    box-shadow:0 0 20px rgba(255,0,255,.6)
}
.colorPopout-content.lightblue {
    box-shadow:0 0 20px rgba(0,255,255,.6)
}
.closePopout {
    margin-top:15px;
    padding:10px 20px;
    border:none;
    border-radius:12px;
    background:#f7d57a;
    color:#000;
    font-weight:700;
    cursor:pointer
}

.colorPopout-content h2 {
  font-size: clamp(26px, 6vw, 40px);
  margin-bottom: 15px;
}


#clickInvite {
    position:fixed;
    inset:0;
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:88;
    pointer-events:auto!important;
}
#clickInvite * {
    pointer-events:auto!important;
}
#clickInvite .invite-box {
    padding:25px 40px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.35);
    backdrop-filter:blur(10px);
    border-radius:18px;
    color:#fff;
    font-size:22px;
    font-weight:600;
    text-align:center;
    cursor:pointer;
    box-shadow:0 0 25px rgba(255,200,90,.5),0 0 45px rgba(255,180,80,.3);
    animation:invitePulse 2.2s ease-in-out infinite
}
@keyframes invitePulse {
    0% {
        transform:scale(1);
        opacity:.95
    }
    50% {
        transform:scale(1.08);
        opacity:1
    }
    100% {
        transform:scale(1);
        opacity:.95
    }
}
#clickInvite.show {
    pointer-events:auto
}
.invite-box .invite-hint {
    margin-top:10px;
    font-size:15px;
    color:#fff;
    line-height:1.3;
    font-weight:400
}
#clickInvite.show~#greenDot,#clickInvite.show~#redDot,#clickInvite.show~#blueDot,#clickInvite.show~#yellowDot,#clickInvite.show~#purpleDot,#clickInvite.show~#lightblueDot {
    pointer-events:none!important;
}
.heartButton {
    position:fixed;
    width:120px;
    height:70px;
    background-size:contain;
    background-repeat:no-repeat;
    background-position:center;
    opacity:.15;
    pointer-events:auto;
    z-index:33
}
.heartButton:hover,.heartButton.touch-hover {
    opacity:1!important;
}

#heartButtonLightBlue {
    top:10%;
    left:55%;
}
#heartButtonRed {
    top:30%;
    left:70%;
}
#heartButtonGreen {
    top:60%;
    left:37%
}
#heartButtonBlue {
    top:55%;
    left:67%
}
#heartButtonYellow {
    top:45%;
    left:15%
}
#heartButtonPurple {
    top:15%;
    left:20%
}
#heartButtonLightBlue {
    background-image:url(../images/heart-light-blue.png)
}
#heartButtonRed {
    background-image:url(../images/heart-red.png)
}
#heartButtonGreen {
    background-image:url(../images/heart-green.png)
}
#heartButtonBlue {
    background-image:url(../images/heart-blue.png)
}
#heartButtonYellow {
    background-image:url(../images/heart-yellow.png)
}
#heartButtonPurple {
    background-image:url(../images/heart-purple.png)
}
.pop-text {
    margin-top:12px;
    line-height:1.4;
    color:#fff;
    text-align:center
    word-break: break-word;
    overflow-wrap: break-word;
}
#greenDot,#redDot,#blueDot,#yellowDot,#purpleDot,#lightblueDot {
    touch-action:none;
    -webkit-user-select:none;
    user-select:none
}
.modal-overlay {
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.7);
    backdrop-filter:blur(5px);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:999
}
.modal-overlay.active {
    display:flex
}
.modal-content {
    background:#1a1a1d;
    border:1px solid var(--gold2);
    padding:30px;
    border-radius:15px;
    text-align:center;
    width:90%;
    max-width:350px;
    box-shadow:0 0 30px rgba(212,165,71,.3)
}
.modal-content h3 {
    color:var(--gold1);
    margin-bottom:15px
}
.modal-content input {
    width:100%;
    padding:12px;
    margin:15px 0;
    border-radius:8px;
    border:1px solid #444;
    background:#000;
    color:#fff;
    text-align:center;
    font-size:16px
}
.modal-content input:focus {
    outline:none;
    border-color:var(--gold1)
}
.modal-buttons {
    display:flex;
    gap:10px;
    justify-content:center
}
.modal-buttons button {
    padding:10px 20px;
    border-radius:8px;
    border:none;
    cursor:pointer;
    font-weight:700;
    transition:transform 0.2s
}
.modal-buttons button:hover {
    transform:scale(1.05)
}
#confirmShare {
    background:#25D366;
    color:#fff
}
#cancelShare {
    background:#444;
    color:#ccc
}
#seo-info-san-valentino {
    position:absolute;
    left:-9999px;
    height:1px;
    width:1px;
    overflow:hidden;
    clip:rect(1px,1px,1px,1px);
    clip-path:inset(50%);
    margin:0;
    padding:0;
    z-index:-1;
    opacity: 0;
    pointer-events: none;
}
.dot-spiral {
    animation:spiralIn 0.55s ease-out forwards
}
@keyframes spiralIn {
    0% {
        transform:scale(0) rotate(0deg)
    }
    40% {
        transform:scale(1.3) rotate(180deg)
    }
    80% {
        transform:scale(.9) rotate(300deg)
    }
    100% {
        transform:scale(1) rotate(360deg)
    }
}

#editorInvite {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 70%;
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(247, 213, 122, 0.4);
    backdrop-filter: blur(8px);
    padding: 15px 25px;
    border-radius: 16px;
    text-align: center;
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    box-shadow: 0 0 8px rgba(247, 213, 122, 0.2);
    cursor: pointer;
}

#editorInvite.visible {
    opacity: 1;
    pointer-events: auto;
    animation: editorPulse 2s ease-in-out infinite;
}

#editorInvite h3 {
    font-size: clamp(14px, 3vw, 20px);
    margin: 0 0 8px 0;
    background: linear-gradient(90deg, #fff2b0 0%, #ffd86b 20%, #f7b93f 40%, #d99a28 60%, #f7c76b 80%, #fff4c8 100%);
    -webkit-background-clip: text;
    color: transparent;
    font-weight: bold;
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.45);
}

#editorInvite p {
    color: rgba(255, 242, 176, 0.95);
    font-size: clamp(13px, 3vw, 16px);
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@keyframes editorPulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        box-shadow: 0 0 8px rgba(247, 213, 122, 0.2);
    }
    50% {
        transform: translateX(-50%) scale(1.02);
        box-shadow: 0 0 12px rgba(247, 213, 122, 0.35);
    }
}

@media (max-width: 768px) {
    #editorInvite {
        max-width: 85%;
        bottom: 20px;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    #editorInvite {
        max-width: 90%;
        bottom: 15px;
        padding: 10px 18px;
    }
}