:root {
    --ink: #10253f;
    --ink-soft: #284463;
    --sand: #f7f3ec;
    --sun: #f2b774;
    --light: #ffffff;
    --glass: rgba(255, 255, 255, 0.14);
    --line: rgba(255, 255, 255, 0.28);
    --shadow: 0 10px 32px rgba(9, 20, 40, 0.28);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Manrope", sans-serif;
    color: var(--light);
    background: radial-gradient(circle at top left, #264d73, #0b1d33 55%, #091623 100%);
    min-height: 100%;
}

#bg-video {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -3;
}

.backdrop {
    position: fixed;
    inset: 0;
    background:
        linear-gradient(130deg, rgba(5, 18, 30, 0.72) 10%, rgba(5, 18, 30, 0.48) 45%, rgba(5, 18, 30, 0.76) 100%),
        radial-gradient(circle at 15% 20%, rgba(242, 183, 116, 0.35), transparent 30%),
        radial-gradient(circle at 85% 0%, rgba(151, 192, 233, 0.25), transparent 32%);
    z-index: -2;
}

.global-love-sky {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}

.global-float-heart {
    position: absolute;
    bottom: -14%;
    color: rgba(255, 166, 202, 0.45);
    font-size: 1rem;
    animation: heartDrift linear infinite;
}

.global-float-heart:nth-child(1) {
    left: 8%;
    animation-duration: 14s;
}

.global-float-heart:nth-child(2) {
    left: 24%;
    font-size: 1.3rem;
    animation-duration: 18s;
    animation-delay: 1.1s;
}

.global-float-heart:nth-child(3) {
    left: 42%;
    font-size: 1.1rem;
    animation-duration: 16s;
    animation-delay: 2.4s;
}

.global-float-heart:nth-child(4) {
    left: 62%;
    font-size: 1.4rem;
    animation-duration: 19s;
    animation-delay: 0.8s;
}

.global-float-heart:nth-child(5) {
    left: 79%;
    font-size: 1rem;
    animation-duration: 13s;
    animation-delay: 1.8s;
}

.global-float-heart:nth-child(6) {
    left: 92%;
    font-size: 1.2rem;
    animation-duration: 17s;
    animation-delay: 2.9s;
}

.shell {
    width: min(1080px, 92vw);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 15;
    background: rgba(7, 21, 35, 0.6);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 70px;
}

.brand {
    color: var(--light);
    text-decoration: none;
    font-family: "Playfair Display", serif;
    font-size: 1.28rem;
    letter-spacing: 0.3px;
    line-height: 1.1;
    flex-shrink: 0;
}

.menu-btn {
    display: none;
    border: 1px solid var(--line);
    color: var(--light);
    background: transparent;
    border-radius: 24px;
    padding: 8px 14px;
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-left: auto;
}

.nav-links a {
    color: #e8eff8;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.1px;
    opacity: 0.95;
}

.nav-links a:hover {
    opacity: 1;
}

.menu-audio-btn {
    border: 1px solid var(--line);
    background: transparent;
    color: var(--light);
    border-radius: 999px;
    padding: 7px 14px;
    cursor: pointer;
    font-weight: 600;
}

.hero {
    padding: 110px 0 90px;
    animation: rise 800ms ease;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.78rem;
    color: #ffd7a7;
    margin-bottom: 14px;
}

h1,
h2,
h3 {
    font-family: "Playfair Display", serif;
    line-height: 1.18;
}

h1 {
    max-width: 760px;
    font-size: clamp(2rem, 4.4vw, 3.7rem);
}

.hero-copy {
    margin-top: 20px;
    max-width: 700px;
    color: #e4edf7;
    line-height: 1.7;
}

.hero-actions {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    border-radius: 999px;
    padding: 11px 20px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-weight: 700;
    transition: transform 180ms ease, background 180ms ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--sun);
    color: #1b2738;
}

.btn-ghost {
    background: transparent;
    color: var(--light);
    border: 1px solid var(--line);
}

.btn-light {
    background: var(--sand);
    color: var(--ink);
}

.section {
    padding: 28px 0 56px;
}

.section h2 {
    font-size: clamp(1.6rem, 3.2vw, 2.35rem);
    margin-bottom: 18px;
}

.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 480ms ease, transform 480ms ease;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.grid {
    display: grid;
    gap: 16px;
}

.grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
    background: var(--glass);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow);
}

.card h3 {
    font-size: 1.18rem;
    margin-bottom: 9px;
}

.card p {
    color: #deebf8;
    line-height: 1.65;
}

.timeline {
    border-left: 2px solid rgba(255, 255, 255, 0.36);
    margin-left: 10px;
    padding-left: 22px;
    display: grid;
    gap: 16px;
}

.timeline-item {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--sun);
    border-radius: 50%;
    left: -29px;
    top: 18px;
}

.timeline-item span {
    display: inline-block;
    color: #ffd59f;
    font-weight: 700;
    margin-bottom: 6px;
}



/* ── Premium Institute Section ── */
.premium-institute-container {
    background: rgba(10, 20, 35, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    padding: 50px 40px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.premium-institute-container::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.institute-info {
    text-align: left;
    max-width: 600px;
}

.premium-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #c9a84c;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.2);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.institute-info h2 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-bottom: 12px;
    color: #ffffff;
    font-family: 'Playfair Display', serif;
}

.institute-info p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

.institute-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.institute-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.institute-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(201, 168, 76, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(201, 168, 76, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.institute-card:hover .card-glow {
    opacity: 1;
}

.card-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c9a84c;
    flex-shrink: 0;
    transition: all 0.3s;
}

.institute-card:hover .card-icon {
    background: #c9a84c;
    color: #0a1423;
    transform: scale(1.1) rotate(5deg);
}

.card-content {
    flex: 1;
}

.card-content h3 {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 6px;
    font-family: 'Playfair Display', serif;
}

.card-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
    line-height: 1.4;
}

.card-action {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #c9a84c;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s;
}

.institute-card:hover .card-action {
    transform: translateX(5px);
}

/* Instagram specific tweak */
.instagram-card:hover {
    border-color: rgba(225, 48, 108, 0.4);
}
.instagram-card:hover .card-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
}
.instagram-card:hover .card-action {
    color: #e6683c;
}

@media (max-width: 900px) {
    .institute-links-grid {
        grid-template-columns: 1fr;
    }
    .premium-institute-container {
        padding: 35px 25px;
    }
}



.closing-note {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(8, 21, 35, 0.74);
    padding: 20px;
    box-shadow: var(--shadow);
}

.closing-note h2 {
    margin-bottom: 10px;
}

.closing-note p {
    color: #deebf8;
    line-height: 1.75;
}

.certificate-box {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(8, 21, 35, 0.74);
    padding: 20px;
    box-shadow: var(--shadow);
}

.certificate-note {
    color: #deebf8;
    margin-bottom: 12px;
}

.certificate-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.certificate-row input {
    flex: 1 1 280px;
    min-width: 220px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--line);
    border-radius: 10px;
    color: #fff;
    padding: 10px 12px;
}

.certificate-row input::placeholder {
    color: #d6e3f2;
}

.guestbook-form {
    display: grid;
    gap: 10px;
}

.guestbook-form input,
.guestbook-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--line);
    border-radius: 10px;
    color: #fff;
    padding: 10px 12px;
    font: inherit;
}

.guestbook-form textarea {
    min-height: 130px;
    resize: vertical;
}

.guestbook-form input::placeholder,
.guestbook-form textarea::placeholder {
    color: #d6e3f2;
}

.guestbook-msg {
    min-height: 20px;
    margin-top: 10px;
    color: #bce6bf;
}

.guestbook-msg.error {
    color: #ffd0d0;
}

.messages-link-wrap {
    margin-top: 12px;
    display: flex;
    justify-content: flex-start;
}

.live-chat-promo {
    margin-top: 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.live-chat-promo h3 {
    margin-bottom: 8px;
    font-size: 1.15rem;
}

.live-chat-promo p {
    color: #deebf8;
    line-height: 1.65;
    margin-bottom: 12px;
}

.home-messages-box {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(8, 21, 35, 0.74);
    padding: 20px;
    box-shadow: var(--shadow);
}

.home-messages-note {
    color: #deebf8;
    margin-bottom: 12px;
}

.home-messages-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.home-message-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    padding: 14px;
}

.home-message-card h3 {
    margin-bottom: 6px;
    color: #ffd59f;
    font-size: 1.03rem;
    font-family: "Playfair Display", serif;
}

.home-message-card p {
    color: #f2f6fb;
    line-height: 1.6;
    margin-bottom: 8px;
    word-break: break-word;
}

.home-message-card span {
    font-size: 0.86rem;
    color: #d6e3f2;
}

.home-messages-empty {
    color: #deebf8;
    margin-top: 6px;
}

.admin-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.admin-tools input {
    flex: 1 1 260px;
    min-width: 220px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--line);
    border-radius: 10px;
    color: #fff;
    padding: 10px 12px;
    font: inherit;
}

.admin-tools input::placeholder {
    color: #d6e3f2;
}

.msg-delete-btn {
    margin-top: 10px;
    border: 1px solid rgba(255, 208, 208, 0.55);
    background: rgba(255, 83, 83, 0.16);
    color: #ffdede;
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.86rem;
}

.msg-delete-btn:hover {
    background: rgba(255, 83, 83, 0.24);
}

.messages-main {
    padding-top: 24px;
    padding-bottom: 36px;
}

.chat-main {
    padding-top: 24px;
    padding-bottom: 36px;
}

.chat-box {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(8, 21, 35, 0.74);
    padding: 20px;
    box-shadow: var(--shadow);
}

.chat-note {
    color: #deebf8;
    margin-bottom: 10px;
}

.chat-form,
.chat-send-form {
    display: grid;
    gap: 10px;
}

.chat-form input,
.chat-send-form input {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--line);
    border-radius: 10px;
    color: #fff;
    padding: 10px 12px;
    font: inherit;
}

.chat-form input::placeholder,
.chat-send-form input::placeholder {
    color: #d6e3f2;
}

.chat-messages {
    margin: 12px 0;
    max-height: 420px;
    overflow-y: auto;
    display: grid;
    gap: 10px;
    padding-right: 2px;
}

.chat-message-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    padding: 12px;
}

.chat-message-card h3 {
    margin-bottom: 6px;
    color: #ffd59f;
    font-size: 1rem;
    font-family: "Playfair Display", serif;
}

.chat-message-card p {
    color: #f2f6fb;
    line-height: 1.55;
    margin-bottom: 6px;
    word-break: break-word;
}

.chat-message-card span {
    font-size: 0.84rem;
    color: #d6e3f2;
}

.chat-msg {
    min-height: 20px;
    margin-top: 8px;
    color: #bce6bf;
}

.chat-msg.error {
    color: #ffd0d0;
}

.cert-msg {
    min-height: 20px;
    margin-top: 10px;
    color: #bce6bf;
}

.cert-msg.error {
    color: #ffd0d0;
}

.cert-preview-wrap {
    margin-top: 14px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.06);
}

#certificateCanvas {
    width: 100%;
    height: auto;
    display: block;
}

.love-section {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: min(420px, 92vw);
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #f8f2e8;
    color: #24364d;
    padding: 20px;
    transform: translateY(130%);
    transition: transform 320ms ease;
    box-shadow: 0 16px 35px rgba(6, 18, 35, 0.36);
    z-index: 24;
}

.love-section.active {
    transform: translateY(0);
}

.love-note {
    color: #314963;
    margin-bottom: 10px;
}

.love-form {
    display: grid;
    gap: 10px;
}

.love-form input {
    width: 100%;
    border: 1px solid #cfbe9f;
    background: #fffaf1;
    border-radius: 10px;
    color: #24364d;
    padding: 10px 12px;
    font: inherit;
}

.love-form input::placeholder {
    color: #6b7d92;
}

.love-msg {
    min-height: 20px;
    margin-top: 10px;
    color: #2b6a42;
}

.love-msg.error {
    color: #9a2e2e;
}

.love-secret {
    white-space: pre-line;
    line-height: 1.7;
}

.love-actions {
    margin-top: 14px;
}

.love-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

#closeLove {
    border: none;
    background: #e8d8be;
    color: #1f2f43;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 700;
}

.site-footer {
    padding: 18px 0 34px;
    color: #dce7f5;
    text-align: center;
    font-size: 0.95rem;
}

.visitor-counter {
    margin-top: 8px;
    font-weight: 700;
    color: #ffd59f;
    letter-spacing: 0.3px;
}

body.love-life-page {
    color: #3f2434;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 210, 228, 0.82), transparent 34%),
        radial-gradient(circle at 88% 10%, rgba(255, 178, 206, 0.7), transparent 30%),
        linear-gradient(150deg, #fff1f6 0%, #ffe5ef 36%, #ffd8e8 70%, #ffc8df 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.love-header-bar {
    background: rgba(120, 30, 71, 0.22);
    border-bottom: 1px solid rgba(255, 255, 255, 0.38);
}

body.love-life-page .brand {
    color: #fff7fb;
}

body.love-life-page .nav-links a {
    color: #fff7fb;
}

body.love-life-page .menu-btn {
    color: #fff7fb;
    border-color: rgba(255, 255, 255, 0.55);
}

.love-sky {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 3;
    overflow: hidden;
}

.float-heart {
    position: absolute;
    bottom: -10%;
    left: var(--heart-x);
    font-size: var(--heart-size);
    animation: heartDrift var(--heart-duration) linear infinite;
    animation-delay: var(--heart-delay);
}

.float-heart::before {
    content: "\2665";
    color: rgba(176, 29, 89, 0.75);
    text-shadow: 0 0 10px rgba(255, 161, 202, 0.9);
}

.float-heart:nth-child(1) {
    --heart-x: 4%;
    --heart-size: 1.55rem;
    --heart-duration: 16s;
    --heart-delay: 0s;
}

.float-heart:nth-child(2) {
    --heart-x: 12%;
    --heart-size: 1.05rem;
    --heart-duration: 12s;
    --heart-delay: 1.2s;
}

.float-heart:nth-child(3) {
    --heart-x: 21%;
    --heart-size: 1.8rem;
    --heart-duration: 19s;
    --heart-delay: 0.4s;
}

.float-heart:nth-child(4) {
    --heart-x: 29%;
    --heart-size: 1.25rem;
    --heart-duration: 14s;
    --heart-delay: 2.5s;
}

.float-heart:nth-child(5) {
    --heart-x: 38%;
    --heart-size: 1.6rem;
    --heart-duration: 18s;
    --heart-delay: 0.8s;
}

.float-heart:nth-child(6) {
    --heart-x: 47%;
    --heart-size: 1.15rem;
    --heart-duration: 13s;
    --heart-delay: 2.2s;
}

.float-heart:nth-child(7) {
    --heart-x: 56%;
    --heart-size: 1.75rem;
    --heart-duration: 17s;
    --heart-delay: 0.3s;
}

.float-heart:nth-child(8) {
    --heart-x: 65%;
    --heart-size: 1.35rem;
    --heart-duration: 15s;
    --heart-delay: 1.7s;
}

.float-heart:nth-child(9) {
    --heart-x: 73%;
    --heart-size: 1.5rem;
    --heart-duration: 16s;
    --heart-delay: 0.9s;
}

.float-heart:nth-child(10) {
    --heart-x: 81%;
    --heart-size: 1.1rem;
    --heart-duration: 12s;
    --heart-delay: 2.4s;
}

.float-heart:nth-child(11) {
    --heart-x: 89%;
    --heart-size: 1.7rem;
    --heart-duration: 18s;
    --heart-delay: 0.6s;
}

.float-heart:nth-child(12) {
    --heart-x: 96%;
    --heart-size: 1.2rem;
    --heart-duration: 14s;
    --heart-delay: 1.9s;
}

.love-main {
    position: relative;
    z-index: 2;
    padding-top: 38px;
    padding-bottom: 52px;
}

.love-main-card {
    border-radius: 24px;
    padding: 22px;
    border: 1px solid rgba(176, 29, 89, 0.2);
    background: rgba(255, 250, 253, 0.77);
    box-shadow: 0 20px 44px rgba(114, 30, 67, 0.18);
    backdrop-filter: blur(6px);
}

.love-main-card h1 {
    max-width: none;
    color: #7d1644;
}

.love-intro {
    margin-top: 8px;
    color: #8c3157;
    font-size: 1.02rem;
}

body.love-life-page .love-auth-wrap {
    margin-top: 20px;
}

body.love-life-page .love-note {
    color: #6b1f42;
}

body.love-life-page .love-form input {
    border: 1px solid rgba(176, 29, 89, 0.3);
    background: rgba(255, 255, 255, 0.9);
    color: #5f1f3f;
}

body.love-life-page .love-form input::placeholder {
    color: #9f5d7f;
}

body.love-life-page .auth-forgot-btn {
    color: rgba(122, 29, 67, 0.8);
}

body.love-life-page .auth-forgot-btn:hover {
    color: rgba(122, 29, 67, 1);
}

.romantic-btn {
    background: linear-gradient(135deg, #ff97bf 0%, #ff6ca8 48%, #f44b96 100%);
    color: #fff6fb;
}

.romantic-btn:hover {
    background: linear-gradient(135deg, #ff84b3 0%, #ff5b9f 48%, #ea3b8b 100%);
}

body.love-life-page .love-msg {
    color: #7d1644;
}

body.love-life-page .love-msg.error {
    color: #b30841;
}

.love-content-wrap {
    margin-top: 22px;
}

.love-pre-show {
    margin-top: 20px;
    border-radius: 18px;
    padding: 22px;
    border: 1px solid rgba(176, 29, 89, 0.28);
    background: linear-gradient(160deg, rgba(255, 244, 250, 0.94), rgba(255, 232, 242, 0.9));
    box-shadow: 0 14px 30px rgba(128, 53, 73, 0.16);
    text-align: center;
}

.slide-eyebrow {
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 0.74rem;
    color: #a14569;
}

.slide-text {
    margin-top: 10px;
    font-family: "Caveat", cursive;
    font-size: clamp(2rem, 4vw, 2.7rem);
    color: #7a1d43;
    min-height: 94px;
}

.slide-dots {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.slide-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(176, 29, 89, 0.25);
}

.slide-dots span.active {
    background: rgba(176, 29, 89, 0.72);
    box-shadow: 0 0 10px rgba(255, 124, 183, 0.65);
}

.radhe-title-wrap {
    margin-bottom: 14px;
    text-align: center;
}

.radhe-title {
    margin: 0;
    font-family: "Caveat", cursive;
    font-size: clamp(2.2rem, 4.4vw, 3rem);
    color: #7a1d43;
    text-shadow: 0 0 16px rgba(255, 146, 198, 0.55);
}

.letter-paper {
    border-radius: 18px;
    padding: 20px;
    background:
        linear-gradient(180deg, rgba(255, 250, 244, 0.98), rgba(255, 246, 238, 0.98));
    border: 1px solid rgba(206, 148, 118, 0.38);
    box-shadow: 0 14px 32px rgba(128, 53, 73, 0.14);
    margin-bottom: 14px;
}

.letter-paper h2 {
    font-family: "Playfair Display", serif;
    color: #8b254f;
    margin-bottom: 8px;
    font-size: clamp(1.3rem, 2.6vw, 1.8rem);
}

.letter-paper h3 {
    font-family: "Caveat", cursive;
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: #7a1d43;
    margin-bottom: 10px;
    font-weight: 700;
}

.letter-paper p {
    font-family: "Caveat", cursive;
    font-size: clamp(1.38rem, 2.6vw, 1.72rem);
    line-height: 1.52;
    color: #512336;
    margin-bottom: 10px;
}

.hindi-letter p,
.hindi-letter h3 {
    font-family: "Noto Serif Devanagari", serif;
    font-weight: 400;
}

.hindi-letter h3 {
    font-size: clamp(1.6rem, 3.4vw, 2rem);
    color: #7a1d43;
}

.hindi-letter p {
    font-size: clamp(1.05rem, 2.3vw, 1.22rem);
    line-height: 1.9;
}

.letter-signature-wrap {
    margin-top: 20px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(176, 29, 89, 0.2);
    background: rgba(255, 243, 249, 0.82);
}

.letter-signature {
    font-family: "Noto Serif Devanagari", serif;
    font-size: clamp(1.4rem, 2.8vw, 1.9rem);
    color: #7a1d43;
}

.letter-signature-en {
    margin-top: 4px;
    font-family: "Caveat", cursive;
    font-size: clamp(1.5rem, 3vw, 1.95rem);
    color: #8f2a58;
}

.letter-signature-meaning {
    margin-top: 8px;
    text-align: right;
    font-size: 0.95rem;
    color: #8b4e68;
    font-style: italic;
}

.romantic-ghost {
    border-color: rgba(122, 29, 67, 0.35);
    color: #7a1d43;
}

.romantic-ghost:hover {
    background: rgba(122, 29, 67, 0.08);
}

@keyframes heartDrift {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }

    12% {
        opacity: 1;
    }

    88% {
        opacity: 1;
    }

    100% {
        transform: translateY(-120vh) translateX(34px) rotate(22deg);
        opacity: 0;
    }
}

@keyframes rise {
    from {
        transform: translateY(14px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 860px) {
    .menu-btn {
        display: inline-flex;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 4vw;
        right: 4vw;
        padding: 12px;
        border-radius: 14px;
        background: rgba(7, 21, 35, 0.95);
        border: 1px solid var(--line);
        display: none;
        flex-direction: column;
        gap: 10px;
    }

    .nav-links.open {
        display: flex;
    }

    .grid.three,
    .grid.two {
        grid-template-columns: 1fr;
    }

    .official-grid {
        grid-template-columns: 1fr;
    }

    .quotes-grid {
        grid-template-columns: 1fr;
    }

    .home-messages-list {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 90px;
    }

    body.love-life-page .nav-links {
        background: rgba(116, 24, 64, 0.93);
    }

    .love-main-card {
        padding: 16px;
    }

    .letter-paper {
        padding: 16px;
    }
}

@media (max-width: 1180px) and (min-width: 861px) {
    .brand {
        font-size: 1.16rem;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-links a {
        font-size: 0.84rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto;
    }

    .float-heart {
        bottom: -10%;
        opacity: 0.7;
        animation: heartDrift var(--heart-duration) linear infinite !important;
        animation-delay: var(--heart-delay) !important;
    }

    .float-heart:nth-child(1) {
        top: auto;
    }

    .float-heart:nth-child(2) {
        top: auto;
    }

    .float-heart:nth-child(3) {
        top: auto;
    }

    .float-heart:nth-child(4) {
        top: auto;
    }

    .float-heart:nth-child(5) {
        top: auto;
    }

    .float-heart:nth-child(6) {
        top: auto;
    }

    .float-heart:nth-child(7) {
        top: auto;
    }

    .float-heart:nth-child(8) {
        top: auto;
    }

    .float-heart:nth-child(9) {
        top: auto;
    }

    .float-heart:nth-child(10) {
        top: auto;
    }

    .float-heart:nth-child(11) {
        top: auto;
    }

    .float-heart:nth-child(12) {
        top: auto;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   COMMUNITY AUTH PANELS
   Shared across: Guestbook (index.html), Live Chat, Messages
════════════════════════════════════════════════════════════════════════════ */

.community-auth-panel {
    margin-bottom: 16px;
}

.community-banner {
    background: linear-gradient(135deg,
            rgba(242, 183, 116, 0.16) 0%,
            rgba(97, 154, 212, 0.12) 100%);
    border: 1px solid rgba(242, 183, 116, 0.32);
    border-radius: 16px;
    padding: 22px 20px 18px;
    margin-bottom: 18px;
    text-align: center;
}

.community-banner-icon {
    font-size: 1.3rem;
    color: var(--sun);
    letter-spacing: 6px;
    margin-bottom: 10px;
}

.community-banner-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.08rem, 2.3vw, 1.38rem);
    font-weight: 700;
    color: #ffd59f;
    margin-bottom: 8px;
    line-height: 1.25;
}

.community-banner-sub {
    color: #d0e4f6;
    font-size: 0.92rem;
    line-height: 1.68;
    max-width: 500px;
    margin: 0 auto;
}

/* ── Auth Tabs ──────────────────────────────────────────────────────────── */
.auth-tab-row {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.auth-tab-btn {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.08);
    color: var(--light);
    border-radius: 24px;
    padding: 9px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.auth-tab-btn.active {
    background: var(--sun);
    color: #172335;
    border-color: transparent;
    font-weight: 700;
}

.auth-tab-btn:not(.active):hover {
    background: rgba(255, 255, 255, 0.14);
}

/* ── Auth Form ──────────────────────────────────────────────────────────── */
.auth-tab-panel {
    /* visible unless [hidden] attr applied */
}

.auth-form {
    display: grid;
    gap: 10px;
    margin-bottom: 2px;
}

.auth-form input {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--line);
    border-radius: 10px;
    color: #fff;
    padding: 10px 14px;
    font: inherit;
    font-size: 0.96rem;
    transition: border-color 160ms ease, background 160ms ease;
}

.auth-form input::placeholder {
    color: #c8d9ec;
}

.auth-form input:focus {
    outline: none;
    border-color: rgba(242, 183, 116, 0.6);
    background: rgba(255, 255, 255, 0.14);
}

.auth-submit-btn {
    width: 100%;
}

.auth-forgot-row {
    display: flex;
    justify-content: flex-start;
    margin-top: -2px;
}

.auth-forgot-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 0.86rem;
    padding: 2px 4px;
    text-decoration: underline;
    transition: color 160ms ease;
}

.auth-forgot-btn:hover {
    color: rgba(255, 255, 255, 0.85);
}

/* ── Feedback Messages ──────────────────────────────────────────────────── */
.auth-feedback-msg {
    min-height: 20px;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #bce6bf;
    line-height: 1.55;
}

.auth-feedback-msg.error {
    color: #ffd0d0;
}

.auth-feedback-msg.success {
    color: #bce6bf;
}

/* ── Email Verification Panel ───────────────────────────────────────────── */
.community-verify-panel {
    text-align: center;
    padding: 24px 12px 10px;
    margin-bottom: 10px;
    border: 1px solid rgba(242, 183, 116, 0.22);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
}

.verify-envelope {
    font-size: 2.6rem;
    margin-bottom: 12px;
    line-height: 1;
}

.community-verify-panel h3 {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.12rem, 2.4vw, 1.42rem);
    color: #ffd59f;
    margin-bottom: 10px;
}

.community-verify-panel>p {
    color: #d0e4f6;
    line-height: 1.68;
    margin-bottom: 18px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.community-verify-panel>p strong {
    color: var(--sun);
}

.verify-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 12px;
}

.auth-text-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    font-size: 0.84rem;
    text-decoration: underline;
    padding: 4px 6px;
    display: inline-block;
    transition: color 160ms ease;
}

.auth-text-btn:hover {
    color: rgba(255, 255, 255, 0.75);
}

/* ── Auth User Bar (shown when signed in) ───────────────────────────────── */
.auth-user-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding: 10px 14px;
    background: rgba(242, 183, 116, 0.10);
    border: 1px solid rgba(242, 183, 116, 0.26);
    border-radius: 12px;
}

.auth-user-greet {
    color: #ffd59f;
    font-weight: 700;
    font-size: 0.94rem;
    font-family: "Playfair Display", serif;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.auth-signout-btn {
    padding: 7px 14px;
    font-size: 0.84rem;
    flex-shrink: 0;
}

/* ── Chat-specific user bar (inline paragraph style) ───────────────────── */
#chatWelcome.auth-user-greet {
    font-family: "Manrope", sans-serif;
    font-size: 0.92rem;
}

@media (max-width: 860px) {
    .community-banner {
        padding: 18px 14px 14px;
    }

    .community-banner-title {
        font-size: 1.1rem;
    }

    .auth-user-bar {
        flex-wrap: wrap;
        gap: 8px;
    }

    .auth-user-greet {
        white-space: normal;
    }

    .verify-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .verify-actions .btn {
        text-align: center;
        justify-content: center;
    }
}

/* JOURNEY HEART DIVIDER */
.journey-heart-divider {
    text-align: center;
    padding: 18px 0 10px;
    position: relative;
}

.journey-heart-divider span {
    font-size: 2.2rem;
    color: rgba(255, 120, 160, 0.75);
    text-shadow:
        0 0 18px rgba(255, 100, 150, 0.7),
        0 0 36px rgba(255, 80, 130, 0.4);
    animation: heartPulse 2.2s ease-in-out infinite;
    display: inline-block;
}

@keyframes heartPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.75;
    }

    50% {
        transform: scale(1.22);
        opacity: 1;
    }
}

/* LOVE LIFE HEART BUTTON */
.love-life-heart-btn {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 140, 175, 0.45);
    border-radius: 999px;
    padding: 9px 20px;
    transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
    box-shadow: 0 4px 18px rgba(255, 80, 130, 0.18);
}

.love-life-heart-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 120, 160, 0.15);
    box-shadow: 0 8px 24px rgba(255, 80, 130, 0.28);
}

.love-life-heart-icon {
    font-size: 1.3rem;
    color: rgba(255, 110, 155, 0.95);
    text-shadow: 0 0 10px rgba(255, 100, 150, 0.6);
    animation: heartPulse 2.2s ease-in-out infinite;
    display: inline-block;
    line-height: 1;
}

.love-life-heart-label {
    font-family: "Playfair Display", serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: rgba(255, 190, 210, 0.95);
    letter-spacing: 1px;
}

/* ══════════════════════════════════════════
   SOCIAL CLUB – HOMEPAGE TEASER BOX
══════════════════════════════════════════ */
.sc-teaser-box {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 32px;
    align-items: center;
    background: #0c1929;
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-radius: 20px;
    padding: 38px 40px;
    overflow: hidden;
    max-width: 960px;
    margin: 0 auto;
}

.sc-teaser-eyebrow {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #c9a84c;
    border: 1px solid rgba(201, 168, 76, 0.3);
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.sc-teaser-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 12px;
}

.sc-teaser-para {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin-bottom: 22px;
    max-width: 440px;
}

.sc-teaser-cta {
    display: inline-block;
    background: linear-gradient(135deg, #c9a84c, #e8c96a);
    color: #1a1200 !important;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 11px 26px;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.sc-teaser-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.3);
}

.sc-teaser-photos {
    position: relative;
    width: 280px;
    height: 200px;
    flex-shrink: 0;
}

.sc-tp {
    position: absolute;
    object-fit: cover;
    border-radius: 11px;
    border: 2px solid rgba(201, 168, 76, 0.2);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
    transition: transform 0.35s;
    background: #1a2a3a;
}

.sc-tp1 {
    width: 58%;
    height: 150px;
    top: 0;
    left: 0;
    z-index: 3;
}

.sc-tp2 {
    width: 50%;
    height: 130px;
    top: 18px;
    right: 0;
    z-index: 2;
}

.sc-tp3 {
    width: 46%;
    height: 105px;
    bottom: 0;
    left: 24%;
    z-index: 4;
    transform: rotate(-2deg);
}

.sc-teaser-box:hover .sc-tp1 {
    transform: translateY(-4px);
}

.sc-teaser-box:hover .sc-tp2 {
    transform: translateY(-6px) rotate(1deg);
}

.sc-teaser-box:hover .sc-tp3 {
    transform: rotate(-4deg) translateY(-3px);
}

@media (max-width: 680px) {
    .sc-teaser-box {
        grid-template-columns: 1fr;
        padding: 26px 20px;
    }

    .sc-teaser-photos {
        display: none;
    }
}

/* ══════════════════════════════════════════
   SOCIAL CLUB – TOP BANNER
══════════════════════════════════════════ */
.sc-page-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: rgba(201, 168, 76, 0.07);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 12px;
    padding: 12px 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.sc-page-banner span {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.55);
}

.sc-page-banner a {
    font-size: 0.84rem;
    font-weight: 700;
    color: #c9a84c;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.sc-page-banner a:hover {
    opacity: 0.7;
}

/* ══════════════════════════════════════════
   PARICHAY TO RUKHSAT – HOMEPAGE TEASER
   Premium, Loving, and Professional Style
══════════════════════════════════════════ */
.ptr-teaser-box {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: center;
    background: linear-gradient(135deg, #0f1c2e 0%, #1a0b14 100%);
    border: 1px solid rgba(255, 108, 168, 0.2);
    border-radius: 24px;
    padding: 45px 50px;
    overflow: hidden;
    max-width: 960px;
    margin: 30px auto;
    position: relative;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 108, 168, 0.05);
}

.ptr-teaser-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 108, 168, 0.1) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}

.ptr-teaser-eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #ff84b3;
    background: rgba(255, 132, 179, 0.1);
    border: 1px solid rgba(255, 132, 179, 0.25);
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.ptr-teaser-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.ptr-teaser-para {
    font-size: 0.95rem;
    color: rgba(220, 231, 245, 0.65);
    line-height: 1.75;
    margin-bottom: 26px;
    max-width: 480px;
}

.ptr-teaser-cta {
    display: inline-block;
    background: linear-gradient(135deg, #ff6ca8, #ff97bf);
    color: #fff !important;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(255, 108, 168, 0.3);
}

.ptr-teaser-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(255, 108, 168, 0.5);
    filter: brightness(1.1);
}

.ptr-teaser-photos {
    position: relative;
    width: 320px;
    height: 280px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ptr-banner-card {
    position: absolute;
    width: 230px;
    background: #1a2a3a;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    transition: all 0.4s ease;
}

.ptr-banner-card img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    display: block;
    filter: saturate(1.1);
}

.ptr-banner-card span {
    display: block;
    padding: 10px 14px;
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffd59f;
    text-align: center;
    background: #101d2d;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ptr-banner-parichay {
    z-index: 2;
    transform: rotate(-8deg) translateX(-30px) translateY(-10px);
}

.ptr-banner-rukhsat {
    z-index: 3;
    transform: rotate(6deg) translateX(40px) translateY(20px);
    border-color: rgba(255, 108, 168, 0.3);
}

.ptr-heart-glow {
    position: absolute;
    font-size: 2rem;
    color: #ff6ca8;
    z-index: 10;
    top: 20px;
    right: 30px;
    text-shadow: 0 0 15px rgba(255, 108, 168, 0.6);
    animation: ptrPulse 2s ease-in-out infinite;
    pointer-events: none;
    opacity: 0.8;
}

@keyframes ptrPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 1; }
}

.ptr-teaser-box:hover .ptr-banner-parichay {
    transform: rotate(-2deg) translateX(-35px) translateY(-5px);
}

.ptr-teaser-box:hover .ptr-banner-rukhsat {
    transform: rotate(1deg) translateX(45px) translateY(10px);
}

@media (max-width: 768px) {
    .ptr-teaser-box {
        grid-template-columns: 1fr;
        padding: 35px 25px;
        gap: 30px;
    }
    .ptr-teaser-photos {
        width: 100%;
        height: 200px;
    }
    .ptr-banner-card {
        width: 180px;
    }
}

