* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #0b0b0b;
    color: white;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
    height: 100vh;
}

/* Splash Screen Styles */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0b0b0b;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
}

#splash-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.splash-logo {
    height: 110px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(26, 166, 183, 0.3));
    animation: splashPulse 2s ease-in-out infinite;
}

.splash-tagline {
    font-size: 12px;
    font-weight: 300;
    color: #ffffff;
    letter-spacing: 1.2px;
    margin-top: 8px;
    opacity: 0;
    animation: fadeInTagline 1.2s ease-out forwards;
    animation-delay: 0.3s;
}

@keyframes fadeInTagline {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.splash-version {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
    color: #888888;
    white-space: nowrap;
    overflow: hidden;
    width: fit-content;
    animation: none;
    min-height: 1.2em;
    letter-spacing: 3px;
}


@keyframes blink {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: #ffffff;
    }
}

@keyframes splashPulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 15px rgba(26, 166, 183, 0.3));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 25px rgba(26, 166, 183, 0.6));
    }
}

:root {
    --nav-indicator: #1AA6B7;
    --nav-indicator-soft: rgba(26, 166, 183, 0.18);
    --studio-teal: #1AA6B7;
    --studio-gold: #FFC107;
    --hero-sky-top: #0a1520;
    --hero-sky-bottom: #04070a;
    --hero-card: rgba(8, 15, 23, 0.82);
    --hero-card-border: rgba(117, 160, 188, 0.2);
    --hero-site: #dfe6ec;
    --hero-site-grid: rgba(78, 110, 135, 0.2);
    --hero-shadow: rgba(3, 10, 18, 0.28);
    --hero-wall-front: #d6caa9;
    --hero-wall-side: #c8ba96;
    --hero-roof-top: #bf4a1a;
    --hero-roof-side: #741b09;
    --hero-awning-top: #c14918;
    --hero-awning-side: #7b1c0d;
    --hero-plinth-front: #59636d;
    --hero-plinth-side: #48525c;
    --hero-rail: #be0013;
    --hero-step: #901317;
    --hero-column-face: #9ea8b1;
    --hero-column-side: #8b97a0;
    --hero-window-frame: #4a6a87;
    --hero-window-pane: #9abdc7;
    --hero-door-frame: #764211;
    --hero-door-panel: #4c2407;
    --hero-door-handle: #b98c29;
    --hero-outline: rgba(59, 87, 111, 0.65);
}

.brand-accent {
    color: var(--studio-gold) !important;
}

.brand-teal {
    color: var(--studio-teal) !important;
}

.navbar {
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 60px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: transform 0.35s ease, opacity 0.35s ease, width 0.35s ease;
    transform-origin: center;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.logo-container img {
    height: 40px;
    transform: translateY(4px);
}

.navbar ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

.navbar a {
    text-decoration: none;
    color: white;
    opacity: 0.8;
    transition: 0.3s;
}

.navbar a:hover {
    opacity: 1;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding-bottom: 8px;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 100%;
    height: 5px;
    border: solid var(--nav-indicator);
    border-width: 0 0 3px 0;
    border-radius: 50%;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
    filter: drop-shadow(0 2px 5px rgba(26, 166, 183, 0.5));
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-link.active {
    color: #FFC107;
    opacity: 1;
}

.footer-indicator {
    background: white;
    color: black !important;
    width: 30px;
    height: 16px;
    border-radius: 4px;
    margin-left: 10px;
    opacity: 0.6;
    transform: translateY(4px); /* Pushed down to align with text */
    transition: transform 0.3s ease, background 0.3s ease, opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-indicator:hover,
.footer-indicator.active {
    background: #FFC107;
    color: black !important;
    transform: translateY(4px) scale(1.1);
    opacity: 1;
}

.footer-indicator::after {
    display: none !important;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    gap: 0;
}

.studio-canvas-wrapper {
    flex: 1 1 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 0;
}

#studio-canvas {
    display: block;
    max-width: 100%;
    image-rendering: crisp-edges;
}

.hero-progress-wrapper {
    width: min(640px, 92vw);
    padding: 0 0 12px;
    flex-shrink: 0;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.progress-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #1AA6B7;
    text-transform: uppercase;
}

.progress-label i {
    margin-right: 5px;
}

.progress-percent {
    font-size: 22px;
    font-weight: 700;
    color: #FFC107;
    font-variant-numeric: tabular-nums;
    min-width: 52px;
    text-align: right;
}

.progress-track {
    position: relative;
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-fill {
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: linear-gradient(90deg, #1AA6B7 0%, #FFC107 100%);
    transition: width 1.6s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    z-index: 1;
}

.progress-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 40%, rgba(255, 255, 255, 0.18) 50%, transparent 60%);
    background-size: 200% 100%;
    animation: shimmer 2.4s linear infinite;
    z-index: 2;
}

@keyframes shimmer {
    from {
        background-position: -200% 0;
    }

    to {
        background-position: 200% 0;
    }
}

.progress-milestones {
    display: flex;
    justify-content: space-between;
    margin-top: 9px;
}

.milestone {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 500;
    transition: color 0.4s, transform 0.4s;
    cursor: default;
}

.milestone.reached {
    color: #FFC107;
    transform: translateY(-2px);
}

.hero-cta {
    padding-bottom: 28px;
    flex-shrink: 0;
}

.explore-btn {
    margin-top: 8px;
    padding: 12px 32px;
    border: none;
    border-radius: 30px;
    background: #FFC107;
    color: #000;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(255, 193, 7, 0.35);
}

.explore-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 28px rgba(255, 193, 7, 0.55);
}

.explore-btn i {
    animation: bounceDown 1.5s ease-in-out infinite;
}

@keyframes bounceDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(4px);
    }
}

/* Evil Eye Protection */
.evil-eye {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    font-size: 20px;
    cursor: default;
    user-select: none;
    filter: drop-shadow(0 0 5px rgba(26, 166, 183, 0.4));
    transition: transform 0.3s ease;
}

.evil-eye:hover {
    transform: translateX(-50%) scale(1.2);
}

.view-toggle-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    background: rgba(8, 15, 23, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.toggle-icon {
    color: #1AA6B7;
    font-size: 14px;
    filter: drop-shadow(0 0 5px rgba(26, 166, 183, 0.5));
    animation: cubeGlow 2s infinite ease-in-out;
}

@keyframes cubeGlow {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(26, 166, 183, 0.4));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 12px rgba(26, 166, 183, 0.8));
        transform: scale(1.05);
    }
}

.view-toggle-btn:hover {
    background: rgba(12, 22, 33, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.45);
}

.zoom-controls {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.zoom-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(8, 15, 23, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.zoom-btn:hover {
    background: rgba(12, 22, 33, 0.85);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.zoom-btn:active {
    transform: scale(0.95);
}

.zoom-btn:disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
    filter: grayscale(1);
    border-color: rgba(255, 255, 255, 0.05);
}

.zoom-btn i {
    font-size: 14px;
}

.like-interaction {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: opacity 0.5s ease;
}

.like-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(8, 15, 23, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ff4757;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    font-size: 18px;
}

.like-btn:hover {
    transform: scale(1.15);
    background: rgba(12, 22, 33, 0.85);
    color: #ff6b81;
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.3);
}

.like-btn:active {
    transform: scale(0.9);
}

.floating-heart {
    position: absolute;
    bottom: 50px;
    pointer-events: none;
    z-index: 10;
    opacity: 0;
    animation: heartFloatUp 2.2s ease-out forwards;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes heartFloatUp {
    0% {
        transform: translateY(0) scale(0.5) rotate(0deg);
        opacity: 0;
    }
    15% {
        opacity: 0.9;
        transform: translateY(-10px) scale(1.1);
    }
    30% {
        transform: translateY(-40px) scale(1) rotate(15deg);
    }
    60% {
        transform: translateY(-120px) scale(0.8) rotate(-15deg);
        opacity: 0.7;
    }
    100% {
        transform: translateY(-220px) scale(0.5) rotate(10deg);
        opacity: 0;
    }
}

/* Checklist Styling */
.checklist-container {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.checklist-toggle-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(8, 15, 23, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFC107;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    font-size: 18px;
}

.checklist-toggle-btn:hover {
    transform: scale(1.1);
    background: rgba(12, 22, 33, 0.85);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.2);
}

.checklist-panel {
    position: absolute;
    top: 55px;
    right: 0;
    width: 220px;
    background: rgba(8, 15, 23, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 101;
}

.checklist-panel.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.checklist-panel h3 {
    font-size: 14px;
    color: #FFC107;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

.checklist-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.checklist-panel li {
    font-size: 13.5px;
    color: #e0e0e0;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s ease;
}

.checklist-panel li:hover {
    transform: translateX(5px);
    color: #ffffff;
}

.checklist-panel li .check-icon {
    font-size: 16px;
    width: 20px;
    color: rgba(255, 255, 255, 0.2);
}

.checklist-panel li .check-icon.active {
    color: #1AA6B7;
    filter: drop-shadow(0 0 5px rgba(26, 166, 183, 0.5));
}

.checklist-panel li.checked {
    color: #a0a0a0;
}

.view-toggle-btn:disabled {
    background: transparent;
    border-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    opacity: 0.8;
    cursor: not-allowed;
    transform: none;
    pointer-events: none;
}

@media (max-width: 600px) {
    .progress-milestones {
        font-size: 9.5px;
        gap: 2px;
    }

    .explore-btn {
        padding: 11px 24px;
        font-size: 14px;
    }

    .progress-percent {
        font-size: 18px;
    }
}

.piano-container {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    pointer-events: auto;

}

.piano {
    display: flex;
    position: relative;
    border: 4px solid #333;
    border-radius: 10px;
    padding-top: 10px;
    background: #111;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.key {
    cursor: pointer;
    border-radius: 0 0 5px 5px;
    transition: background 0.1s, transform 0.1s;
    user-select: none;
}

.key.white {
    width: 40px;
    height: 150px;
    background: #fff;
    border: 1px solid #ccc;
    z-index: 1;
}

.key.white:active,
.key.white.active {
    background: #eee;
    transform: translateY(2px);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

.key.black {
    width: 28px;
    height: 90px;
    background: #222;
    border: 1px solid #000;
    margin-left: -14px;
    margin-right: -14px;
    z-index: 2;
    position: relative;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.key.black:active,
.key.black.active {
    background: #111;
    transform: translateY(2px);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5);
}

.story {
    position: relative;
    width: 100%;
    height: 100vh;
    margin: 0;
    overflow: hidden;
    background-color: #0b0b0b;
    scroll-margin-top: 100px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 140px 20% 0 20%;
    z-index: 1;
}

.story::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 25vh;
    z-index: 10;
    pointer-events: none;
    background: linear-gradient(to bottom, #0b0b0b 0%, rgba(11, 11, 11, 0) 100%);
}

#smooth-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

#smooth-content {
    position: relative;
    width: 100%;
    height: 100%;
}

#bridge-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

.story-content-box {
    position: absolute;
    z-index: 2;
    background: rgba(10, 20, 28, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(117, 160, 188, 0.24);
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    color: var(--text-light);
    pointer-events: auto;
}

.story-content-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.portfolio-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    background: rgba(10, 20, 28, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(117, 160, 188, 0.24);
    padding: 3rem;
    border-radius: 20px;
    display: flex;
    justify-content: center;
}

.portfolio-container.active {
    pointer-events: auto;
}

.portfolio-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.portfolio-left {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.portfolio-right {
    flex: 1;
    min-width: 300px;
}

.portfolio-image-wrapper {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--studio-teal);
    box-shadow: 0 0 20px rgba(26, 166, 183, 0.4);
    margin-bottom: 20px;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-name {
    font-size: 2.2rem;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 8px;
}

.portfolio-designation {
    font-size: 1.2rem;
    color: var(--studio-gold);
    margin-bottom: 20px;
    font-weight: 600;
}

.portfolio-socials {
    display: flex;
    gap: 18px;
    margin-bottom: 10px;
}

.portfolio-socials a {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s, transform 0.3s;
}

.portfolio-socials a:hover {
    color: var(--studio-teal);
    transform: translateY(-3px);
}

.portfolio-bio {
    color: #ccc;
    line-height: 1.8;
    font-size: 1.05rem;
    min-height: 150px;
}

@media (max-width: 768px) {
    .portfolio-container {
        padding: 2rem;
    }

    .portfolio-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .portfolio-image-wrapper {
        flex: 0 0 180px;
        height: 180px;
    }

    .portfolio-socials {
        justify-content: center;
    }

    .portfolio-bio {
        min-height: 200px;
    }
}

.about {
    padding: 140px 20%;
    text-align: center;
    scroll-margin-top: 100px;
}

@media(max-width:600px) {
    .piano {
        transform: scale(0.8);
        transform-origin: center top;
        margin-bottom: -15px;
    }
}

.about h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.services {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 100px 10%;
}

.service {
    background: #111;
    padding: 40px;
    border-radius: 12px;
    width: 280px;
    transition: 0.4s;
}

.service:hover {
    transform: translateY(-10px);
    background: #1a1a1a;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.25);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: background 0.3s, box-shadow 0.3s;
    animation: iconPulse 3s ease-in-out infinite;
}

.service:hover .service-icon {
    background: rgba(255, 193, 7, 0.2);
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.3);
}

.service-icon i {
    font-size: 30px;
    color: #FFC107;
    transition: transform 0.3s;
}

.service:hover .service-icon i {
    transform: scale(1.15);
}

@keyframes iconPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.15);
    }

    50% {
        box-shadow: 0 0 14px 4px rgba(255, 193, 7, 0.2);
    }
}

.projects {
    padding: 120px 10%;
    text-align: center;
}

.project-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.project {
    width: 220px;
    height: 140px;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.socials-section {
    padding: 120px 10%;
    text-align: center;
}

.socials-section p {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 15px;
    margin-bottom: 50px;
    font-size: 16px;
    max-width: 600px;
    margin-inline: auto;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.social-card {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-card i {
    font-size: 38px;
    color: var(--studio-teal);
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-card span {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.social-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 193, 7, 0.3);
}

.social-card:hover i {
    color: var(--studio-gold);
    transform: scale(1.15);
}

.support-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: var(--studio-gold);
    color: #111;
    font-weight: 700;
    font-size: 15px;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.support-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.4);
}

.footer {
    background: #050505;
    padding: 60px 5% 20px;
    border-top: 1px solid #222;
    margin-top: 50px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: clamp(20px, 3vw, 40px);
    margin-bottom: 40px;
}

.footer-section {
    flex: 1;
    min-width: 180px;
}

.footer-section h3 {
    color: #FFC107;
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-logo {
    height: 100px;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 20px;
}

.footer-section p {
    color: #aaa;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    font-size: 24px;
    color: #aaa;
    text-decoration: none;
    transition: transform 0.3s, color 0.3s;
}

.social-links a:hover {
    color: #FFC107;
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #222;
    color: #666;
    font-size: 14px;
}

.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #1AA6B7, rgba(26, 166, 183, 0) 70%);
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
    opacity: 0.2;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media(max-width:900px) {

    .hero h1 {
        font-size: 50px;
    }

    .services {
        flex-direction: column;
        align-items: center;
    }

    .project-grid {
        flex-direction: column;
        align-items: center;
    }

}

@media(max-width: 768px) {

    .cursor-glow {
        display: none;
    }

    .navbar {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        padding: 15px 25px;
        position: fixed;
    }

    .logo-container {
        grid-column: 2;
        justify-self: center;
    }

    .hamburger {
        display: flex;
        grid-column: 3;
        justify-self: end;
    }

    .navbar ul {
        display: none;
        grid-column: 1 / -1;
        flex-direction: column;
        width: 100%;
        gap: 0;
        background: rgba(15, 15, 15, 0.97);
        backdrop-filter: blur(16px);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        margin-top: 10px;
        border-radius: 12px;
        overflow: hidden;
        animation: menuSlideDown 0.3s ease forwards;
    }

    .navbar ul.open {
        display: flex;
    }

    .navbar ul li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .navbar ul li:last-child {
        border-bottom: none;
    }

    .navbar ul li a {
        display: block;
        padding: 16px 24px;
        font-size: 16px;
        font-weight: 500;
        letter-spacing: 0.5px;
        transition: background 0.2s, color 0.2s, padding-left 0.2s;
    }

    .navbar ul li a:hover {
        background: rgba(255, 193, 7, 0.1);
        padding-left: 32px;
    }

    .nav-link {
        width: 100%;
        padding-bottom: 16px;
    }

    .nav-link::after {
        left: -4px;
        top: 10px;
        bottom: auto;
        width: 10px;
        height: calc(100% - 20px);
        transform: scaleY(0);
        transform-origin: center;
        border: solid var(--nav-indicator);
        border-width: 0 3px 0 0;
        border-radius: 50%;
        background: transparent;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        transform: scaleY(1);
    }

    .nav-link.active {
        background: var(--nav-indicator-soft);
        color: #FFC107;
        padding-left: 32px;
    }

}

@keyframes menuSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.theme-toggle {
    font-size: 20px;
    text-decoration: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    transition: transform 0.3s;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

.hero {
    --build-progress: 0;
    --stage-foundation: 0;
    --stage-ground: 0;
    --stage-upper: 0;
    --stage-openings: 0;
    --stage-brand: 0;
    --stage-roof: 0;
    --stage-finish: 0;
    display: block;
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
    padding: 120px 60px 42px;
    position: relative;
    overflow: hidden;
    text-align: left;
    background:
        radial-gradient(circle at 10% 16%, rgba(26, 166, 183, 0.2), transparent 30%),
        radial-gradient(circle at 84% 12%, rgba(255, 193, 7, 0.16), transparent 22%),
        linear-gradient(180deg, var(--hero-sky-top) 0%, #091019 46%, var(--hero-sky-bottom) 100%);
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.hero::before {
    left: -8%;
    bottom: 12%;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26, 166, 183, 0.16) 0%, transparent 72%);
    filter: blur(10px);
}

.hero::after {
    right: -6%;
    top: 14%;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.14) 0%, transparent 70%);
    filter: blur(18px);
}

.hero-stage {
    width: min(1200px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(350px, 460px);
    gap: 30px;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.hero-visual {
    position: relative;
}

.hero-scene-shell,
.hero-progress-panel {
    position: relative;
    border-radius: 32px;
    background: var(--hero-card);
    border: 1px solid var(--hero-card-border);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(18px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-scene-shell {
    padding: 0;
    overflow: hidden;
}

.hero-scene-glow {
    display: none;
}

.studio-illustration {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.18));
}

#hero-studio-canvas-container {
    width: 100%;
    height: 100%;
    min-height: 480px;
}

/* Generic Tooltip System */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(8, 15, 23, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid rgba(117, 160, 188, 0.2);
    font-size: 11px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-5px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-transform: none;
    letter-spacing: 0.02em;
    z-index: 1000;
}

[data-tooltip]:hover::after {
    opacity: 1;
    transform: translateY(0);
}

/* Position Variants */
[data-tooltip-pos="top"]::after {
    top: auto;
    bottom: calc(100% + 10px);
    right: 50%;
    transform: translate(50%, 5px);
}

[data-tooltip-pos="top"]:hover::after {
    transform: translate(50%, 0);
}

.hero-status-pill {
    position: absolute;
    top: 20px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #dcecf0;
    background: rgba(6, 14, 21, 0.68);
    border: 1px solid rgba(117, 160, 188, 0.24);
    z-index: 2;
    cursor: help;
    transition: all 0.3s ease;
}

.hero-status-pill:hover {
    background: rgba(8, 20, 31, 0.85);
    border-color: rgba(26, 166, 183, 0.4);
    transform: translateY(-2px);
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--studio-gold);
    animation: heroStatusPulse 2s infinite;
}

.hero-progress-panel {
    padding: 42px 32px;
    text-align: left;
    justify-content: space-between;
}

.hero-kicker {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--studio-teal);
}

.hero-progress-panel h1 {
    font-size: clamp(1.4rem, 2.5vw, 1.95rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 10px;
}

.brand-accent {
    color: var(--studio-gold);
}

.brand-teal {
    color: var(--studio-teal);
}

.hero-copy {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
}

.hero-progress-wrapper {
    width: 100%;
    margin-top: 16px;
    padding: 14px 16px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 14px;
}

.progress-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--studio-teal);
    text-transform: uppercase;
}

.progress-label i {
    margin-right: 6px;
}

.progress-percent {
    font-size: 28px;
    font-weight: 700;
    color: var(--studio-gold);
    font-variant-numeric: tabular-nums;
    min-width: 64px;
    text-align: right;
}

.progress-track {
    position: relative;
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.progress-fill {
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--studio-teal) 0%, var(--studio-gold) 100%);
    box-shadow: 0 0 22px rgba(26, 166, 183, 0.4);
    position: relative;
    z-index: 1;
}

.progress-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 38%, rgba(255, 255, 255, 0.22) 50%, transparent 62%);
    background-size: 200% 100%;
    animation: heroShimmer 2.4s linear infinite;
    z-index: 2;
}

.progress-milestones {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 10px;
}

.milestone {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 600;
    text-align: center;
    transition: color 0.35s ease, transform 0.35s ease;
    cursor: default;
}

.milestone.reached {
    color: var(--studio-gold);
    transform: translateY(-2px);
}

.hero-cta {
    margin-top: 18px;
    padding-bottom: 0;
}

.explore-btn {
    margin-top: 0;
    padding: 12px 32px;
    border: none;
    border-radius: 999px;
    background: var(--studio-gold);
    color: #000;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    justify-content: center;
    width: 100%;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(255, 193, 7, 0.35);
}

.explore-btn:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 8px 28px rgba(255, 193, 7, 0.55);
}

.bounce-arrow {
    animation: bounceDown 2.5s infinite ease-in-out;
}

@keyframes bounceDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(4px);
    }
}

.scene-plane {
    transform: translateY(3px);
}

.site-base {
    fill: var(--hero-site);
}

.site-grid {
    fill: none;
    stroke: var(--hero-site-grid);
    stroke-width: 2;
    stroke-linecap: round;
    animation: heroGridDrift 12s linear infinite;
}

.scene-shadow {
    fill: var(--hero-shadow);
}

.build-stage {
    transform-box: fill-box;
    transform-origin: center bottom;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.stage-foundation {
    opacity: calc(0.12 + var(--stage-foundation) * 0.88);
    transform: translateY(calc((1 - var(--stage-foundation)) * 28px)) scale(calc(0.97 + var(--stage-foundation) * 0.03));
}

.stage-ground {
    opacity: calc(var(--stage-ground) * 0.94);
    transform: translateY(calc((1 - var(--stage-ground)) * 30px)) scale(calc(0.96 + var(--stage-ground) * 0.04));
}

.stage-upper {
    opacity: calc(var(--stage-upper) * 0.96);
    transform: translateY(calc((1 - var(--stage-upper)) * 36px)) scale(calc(0.95 + var(--stage-upper) * 0.05));
}

.stage-openings {
    opacity: calc(var(--stage-openings) * 0.96);
    transform: translateY(calc((1 - var(--stage-openings)) * 20px));
}

.stage-brand {
    opacity: calc(var(--stage-brand) * 1);
    transform: translateY(calc((1 - var(--stage-brand)) * 16px)) scale(calc(0.92 + var(--stage-brand) * 0.08));
}

.stage-roof {
    opacity: calc(var(--stage-roof) * 0.98);
    transform: translateY(calc((1 - var(--stage-roof)) * 30px)) scale(calc(0.95 + var(--stage-roof) * 0.05));
}

.stage-scaffold {
    opacity: calc((1 - var(--stage-finish)) * 0.78 + 0.04);
}

.stage-finish {
    opacity: calc(var(--stage-finish) * 1);
}

.plinth-front {
    fill: var(--hero-plinth-front);
    stroke: rgba(77, 93, 105, 0.55);
    stroke-width: 2.5;
}

.plinth-side {
    fill: var(--hero-plinth-side);
    stroke: rgba(60, 76, 88, 0.55);
    stroke-width: 2.5;
}

.porch-rail,
.porch-rail-side {
    fill: var(--hero-rail);
    stroke: rgba(72, 17, 22, 0.55);
    stroke-width: 2.5;
}

.step {
    fill: var(--hero-step);
    stroke: rgba(72, 17, 22, 0.55);
    stroke-width: 2;
}

.wall-front {
    fill: var(--hero-wall-front);
    stroke: var(--hero-outline);
    stroke-width: 2.5;
}

.wall-side {
    fill: var(--hero-wall-side);
    stroke: var(--hero-outline);
    stroke-width: 2.5;
}

.column-face {
    fill: var(--hero-column-face);
    stroke: rgba(88, 112, 130, 0.7);
    stroke-width: 2.4;
}

.column-side {
    fill: var(--hero-column-side);
    stroke: rgba(78, 102, 120, 0.62);
    stroke-width: 2.4;
}

.roof-top {
    fill: var(--hero-roof-top);
    stroke: rgba(78, 29, 19, 0.5);
    stroke-width: 2.6;
}

.roof-under,
.awning-top {
    fill: var(--hero-awning-top);
    stroke: rgba(82, 30, 20, 0.5);
    stroke-width: 2.6;
}

.roof-side,
.awning-side {
    fill: var(--hero-awning-side);
    stroke: rgba(66, 22, 16, 0.52);
    stroke-width: 2.6;
}

.window-frame,
.door-frame {
    fill: rgba(242, 245, 247, 0.3);
    stroke: var(--hero-window-frame);
    stroke-width: 2.4;
}

.window-pane {
    fill: var(--hero-window-pane);
    stroke: rgba(74, 106, 135, 0.18);
    stroke-width: 1.4;
}

.window-divider {
    stroke: rgba(74, 106, 135, 0.94);
    stroke-width: 3;
}

.door-panel {
    fill: var(--hero-door-panel);
    stroke: var(--hero-door-frame);
    stroke-width: 2.4;
}

.door-handle {
    fill: var(--hero-door-handle);
}

.brand-plate {
    fill: rgba(10, 20, 28, 0.08);
    stroke: rgba(255, 193, 7, 0.2);
    stroke-width: 2;
}

.scaffold-line {
    stroke: rgba(122, 151, 172, 0.68);
    stroke-width: 4;
    stroke-linecap: round;
}

.accent-line {
    fill: none;
    stroke: rgba(255, 255, 255, 0.32);
    stroke-width: 2.5;
    stroke-linecap: round;
}

.spark {
    fill: var(--studio-gold);
    filter: drop-shadow(0 0 10px rgba(255, 193, 7, 0.75));
    animation: heroSparkPulse 1.8s ease-in-out infinite;
}

.spark-b {
    animation-delay: 0.3s;
}

.spark-c {
    animation-delay: 0.7s;
}

@keyframes heroShimmer {
    from {
        background-position: -200% 0;
    }

    to {
        background-position: 200% 0;
    }
}

@keyframes heroSparkPulse {

    0%,
    100% {
        opacity: 0.25;
        transform: scale(0.82);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes heroStatusPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(255, 193, 7, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
    }
}

@keyframes heroGridDrift {

    0%,
    100% {
        opacity: 0.72;
    }

    50% {
        opacity: 1;
    }
}

@media (max-width: 1080px) {
    .hero {
        padding-inline: 30px;
    }

    .hero-stage {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .hero-progress-panel {
        max-width: 760px;
    }

    #hero-studio-canvas-container {
        height: auto;
        aspect-ratio: 16 / 9;
        min-height: 360px;
    }
}

@media (max-width: 700px) {
    .hero {
        padding: 96px 18px 28px;
    }

    .hero-scene-shell,
    .hero-progress-panel {
        border-radius: 24px;
    }

    .hero-progress-panel {
        padding: 22px 18px;
    }

    .hero-progress-panel h1 {
        font-size: 1.7rem;
    }

    .hero-status-pill {
        top: 14px;
        right: 14px;
        padding: 8px 12px;
        font-size: 10px;
    }

    .progress-header {
        margin-bottom: 12px;
    }

    .progress-milestones {
        gap: 6px;
    }

    #hero-studio-canvas-container {
        height: auto;
        aspect-ratio: 4 / 3;
        min-height: 300px;
    }
}

.hero-visual,
.hero-progress-panel,
.hero-scene-shell {
    min-width: 0;
    max-width: 100%;
}

@media (max-width: 500px) {
    .hero {
        padding: 90px 12px 24px;
        overflow-x: hidden;
    }

    .hero-progress-panel {
        padding: 20px 14px;
    }

    .hero-progress-panel h1 {
        font-size: clamp(1.3rem, 7vw, 1.55rem);
    }

    .progress-header {
        gap: 8px;
    }

    .progress-label {
        font-size: 10.5px;
        white-space: normal;
        word-wrap: break-word;
    }

    .progress-percent {
        min-width: 50px;
        font-size: 22px;
    }

    .progress-milestones {
        gap: 2px;
    }

    .milestone {
        font-size: 8.5px;
        word-wrap: break-word;
        white-space: normal;
    }

    #hero-studio-canvas-container {
        min-height: 250px;
    }
}

@media (max-width: 520px) {
    .hero-copy {
        font-size: 14px;
    }
}

#about {
    background-image: url('../assets/images/studio-imagination.webp') !important;
    background-size: cover !important;
    background-position: center !important;
    position: relative;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 11, 16, 0.45);
    z-index: 0;
}

#about h2,
#about p {
    position: relative;
    z-index: 1;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    z-index: 20;
    pointer-events: none;
    text-align: center;
}

.scroll-text {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.scroll-icon .bounce-arrow {
    font-size: 24px;
    color: var(--studio-teal);
    animation: bounceDown 1.5s ease-in-out infinite;
}

@media (max-width: 768px) {
    .scroll-indicator {
        bottom: 80px;
    }

    .scroll-text {
        font-size: 12px;
    }

    .scroll-icon .bounce-arrow {
        font-size: 20px;
    }

    .desktop-indicator {
        display: none !important;
    }

    .mobile-indicator {
        display: inline-block !important;
    }

    .desktop-only-key {
        display: none !important;
    }

    .mobile-only-message {
        display: block !important;
    }
}

.mobile-only-message {
    display: none;
}

@keyframes phoneRotate {
    0% {
        transform: rotate(0deg);
    }

    15% {
        transform: rotate(-25deg);
    }

    40% {
        transform: rotate(90deg);
    }

    60% {
        transform: rotate(90deg);
    }

    85% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.rotate-anim {
    display: inline-block;
    animation: phoneRotate 3s ease-in-out infinite;
}

@media (max-width: 900px) and (orientation: landscape) {
    .mobile-only-message {
        display: none !important;
    }
}

/* Chatbot Widget */
.chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    z-index: 9999;
    padding: 5px;
    opacity: 0;
    visibility: hidden;
}

.chatbot-icon-container {
    width: 60px;
    height: 60px;
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    z-index: 2;
    transform: scale(0.85); /* Initially smaller */
    opacity: 0.7; /* Initially less opaque */
    cursor: pointer;
}

.chatbot-icon {
    width: 35px;
    height: 35px;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.chatbot-label {
    background: #FFC107;
    color: #000;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    margin-right: 12px; /* Clean gap instead of overlap */
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    white-space: nowrap;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    position: relative; /* For the arrow positioning */
}

.chatbot-label::after {
    content: "";
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 10px solid #FFC107;
}

.chatbot-widget:hover .chatbot-label {
    opacity: 1;
    visibility: visible;
    transform: translateX(0); /* Glide into position without overlapping */
}

.chatbot-widget:hover .chatbot-icon-container {
    transform: scale(1); /* Return to normal size */
    opacity: 1; /* Become full opaque */
    background: rgba(25, 25, 25, 0.9);
    border-color: #FFC107;
}

.chatbot-widget:hover .chatbot-icon {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .chatbot-widget {
        bottom: 20px;
        right: 20px;
    }
    .chatbot-icon-container {
        width: 50px;
        height: 50px;
    }
    .chatbot-icon {
        width: 28px;
        height: 28px;
    }
    /* Hide label on mobile to save space and prevent overlap */
    .chatbot-label {
        display: none !important;
    }
}
/* Chatbot Panel Styles */
.chatbot-panel {
    position: fixed;
    bottom: 105px;
    right: 30px;
    width: 350px;
    height: 480px;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 9998;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    pointer-events: none;
}

.chatbot-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

@media (max-width: 500px) {
    .chatbot-panel {
        width: calc(100% - 40px);
        height: 55vh;
        right: 20px;
        bottom: 85px;
        border-radius: 15px;
    }
    
    .chatbot-messages {
        padding: 15px;
    }
    
    .message {
        font-size: 13px;
        max-width: 90%;
    }
}

.chatbot-header {
    padding: 15px 20px;
    background: rgba(255, 193, 7, 0.1);
    border-bottom: 1px solid rgba(255, 193, 7, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-monogram {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.chatbot-header-info span {
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    letter-spacing: 0.5px;
}

.header-status {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.chatbot-header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.chatbot-close-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 4px;
    border-radius: 50%;
}

.chatbot-close-btn:hover {
    color: #FFC107;
    background: rgba(255, 255, 255, 0.1);
}

.header-status .status-dot {
    width: 8px;
    height: 8px;
    background: #4CAF50;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.4);
    animation: chatbotStatusPulse 2s infinite;
}

@keyframes chatbotStatusPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.5;
}

.message.incoming {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.05);
    color: #eee;
    border-bottom-left-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.chatbot-input-area {
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 10px;
    align-items: center;
}

.chatbot-input-area input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 10px 15px;
    color: #fff;
    font-size: 13px;
    outline: none;
    cursor: not-allowed;
}

.chatbot-input-area input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.chatbot-send-btn {
    background: none;
    border: none;
    color: rgba(255, 193, 7, 0.3);
    font-size: 18px;
    cursor: not-allowed;
    transition: transform 0.3s;
}

/* Mobile Story Notice Popup */
.mobile-story-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none; /* Controlled by JS/Media query */
    align-items: center;
    justify-content: center;
    padding: 20px;
}

@media (max-width: 900px) {
    .mobile-story-popup.visible {
        display: flex;
    }
}

.mobile-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.mobile-popup-modal {
    position: relative;
    background: rgba(15, 20, 25, 0.95);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 24px;
    padding: 35px 25px;
    max-width: 320px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mobile-story-popup.active .mobile-popup-modal {
    transform: scale(1);
    opacity: 1;
}

.mobile-popup-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #FFC107;
    font-size: 24px;
}

.mobile-popup-modal h2 {
    color: #FFC107;
    font-size: 22px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.mobile-popup-modal p {
    color: #ddd;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.mobile-popup-modal strong {
    color: #FFC107;
}

.mobile-popup-close-btn {
    background: linear-gradient(135deg, #FFBE00 0%, #FF8C00 100%);
    color: #000;
    border: none;
    padding: 12px 30px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
}

.mobile-popup-close-btn:active {
    transform: scale(0.95);
}

/* PWA Install Popup */
.pwa-install-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20000; /* Above mobile story popup */
    display: none;
    align-items: flex-end; /* Mobile style by default */
    justify-content: center;
    padding: 20px;
}

.pwa-install-popup.visible {
    display: flex;
}

.pwa-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.pwa-popup-modal {
    position: relative;
    background: #12181f;
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: 20px;
    padding: 24px;
    max-width: 450px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.pwa-install-popup.active .pwa-popup-modal {
    transform: translateY(0);
}

.pwa-popup-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.pwa-popup-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.pwa-popup-title h3 {
    margin: 0;
    font-size: 18px;
    color: #fff;
}

.pwa-popup-title span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.pwa-popup-modal p {
    color: #bbb;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 25px;
}

.pwa-popup-actions {
    display: flex;
    gap: 12px;
}

.pwa-install-btn {
    flex: 1;
    background: #FFC107;
    color: #000;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.pwa-install-btn:hover {
    background: #ffca2c;
}

.pwa-dismiss-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.pwa-dismiss-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (min-width: 901px) {
    .pwa-install-popup {
        align-items: center; /* Center on desktop */
    }
    
    .pwa-popup-modal {
        transform: scale(0.9);
        opacity: 0;
        transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    }
    
    .pwa-install-popup.active .pwa-popup-modal {
        transform: scale(1);
        opacity: 1;
    }
}

/* Standard Popup System (Privacy, Terms, etc.) */
.standard-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 21000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.standard-popup.visible {
    display: flex;
}

.standard-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.standard-modal {
    position: relative;
    background: #0d1117;
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: 20px;
    width: 100%;
    max-width: 650px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.standard-popup.active .standard-modal {
    transform: scale(1);
    opacity: 1;
}

.standard-header {
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.standard-header h3 {
    margin: 0;
    color: #FFC107;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.standard-close-btn {
    background: none;
    border: none;
    color: #888;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s, transform 0.2s;
}

.standard-close-btn:hover {
    color: #fff;
    transform: scale(1.1);
}

.standard-content {
    padding: 25px;
    overflow-y: auto;
    color: #ccc;
    line-height: 1.6;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.standard-content h4 {
    color: #fff;
    margin: 25px 0 10px;
    font-size: 17px;
}

.standard-content p {
    margin-bottom: 15px;
    font-size: 14.5px;
}

.standard-content strong {
    color: #FFC107;
}

@media (max-width: 600px) {
    .standard-modal {
        max-height: 90vh;
        width: 100%;
    }
    
    .standard-header h3 {
        font-size: 16px;
    }
    
    .standard-content {
        padding: 20px;
    }
}

