* {
    box-sizing: border-box
}

html {
    margin: 0;
    width: 100%;
    min-height: 100%;
    background: #080604
}

body {
    margin: 0;
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    background: #080604;
    color: #f6dfae;
    font-family: Inter, sans-serif
}

#canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0
}

.scene {
    position: fixed;
    inset: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 45%, rgba(137, 78, 20, .12), transparent 34%),
        radial-gradient(circle at 50% 100%, #291608 0, #100a06 48%, #050403 100%);
    z-index: 1
}

.sun {
    position: absolute;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    left: 50%;
    top: 48%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle,
            rgba(255, 205, 105, .16) 0%,
            rgba(240, 174, 67, .12) 18%,
            rgba(220, 137, 37, .08) 38%,
            rgba(180, 88, 20, .045) 55%,
            transparent 74%);
    filter: blur(5px);
    opacity: .9;
    animation: sunPulse 7s ease-in-out infinite;
    pointer-events: none;
}

.sun:before {
    content: "";
    position: absolute;
    inset: -150px;
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(255, 196, 82, .09) 0%,
            rgba(232, 153, 45, .065) 30%,
            rgba(200, 105, 22, .035) 52%,
            transparent 72%);
    filter: blur(8px);
    animation: sunHalo 9s ease-in-out infinite;
}

.sun:after {
    content: "";
    position: absolute;
    inset: 100px;
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(255, 221, 140, .13) 0%,
            rgba(255, 190, 75, .07) 35%,
            transparent 72%);
    filter: blur(4px);
    animation: innerGlow 4.5s ease-in-out infinite;
}

@keyframes sunPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(.90);
        opacity: .65;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.12);
        opacity: 1;
    }
}

@keyframes sunHalo {

    0%,
    100% {
        transform: scale(.88);
        opacity: .45;
    }

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

@keyframes innerGlow {

    0%,
    100% {
        transform: scale(.85);
        opacity: .35;
    }

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

.mist {
    position: absolute;
    width: 80%;
    height: 250px;
    left: 10%;
    bottom: 10%;
    background: radial-gradient(ellipse,
            rgba(216, 149, 62, .10),
            transparent 65%);
    filter: blur(35px);
    animation: mistMove 10s ease-in-out infinite;
    pointer-events: none
}

.mist.m2 {
    width: 55%;
    left: 0;
    bottom: 28%;
    animation-delay: -4s;
    opacity: .45
}

.mist.m3 {
    width: 55%;
    left: 50%;
    bottom: 32%;
    animation-delay: -7s;
    opacity: .35
}

@keyframes mistMove {

    0%,
    100% {
        transform: translateX(-4%) scale(1)
    }

    50% {
        transform: translateX(5%) scale(1.08)
    }
}

.star {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #ffe8b1;
    box-shadow: 0 0 8px 2px rgba(255, 203, 105, .55);
    z-index: 3;
    animation: starTwinkle var(--duration, 4s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    pointer-events: none
}

.star:before,
.star:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 220, 145, .5);
    border-radius: 50%
}

.star:before {
    width: 1px;
    height: var(--line, 12px)
}

.star:after {
    width: var(--line, 12px);
    height: 1px
}

@keyframes starTwinkle {

    0%,
    100% {
        opacity: .08;
        transform: scale(.45) rotate(45deg)
    }

    40% {
        opacity: .35;
        transform: scale(.75) rotate(45deg)
    }

    55% {
        opacity: .95;
        transform: scale(1.15) rotate(45deg)
    }

    70% {
        opacity: .3;
        transform: scale(.65) rotate(45deg)
    }
}

.horizon {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 22%;
    background: linear-gradient(transparent, #060403 70%);
    z-index: 2
}

.water {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20%;
    background: repeating-linear-gradient(to bottom,
            transparent 0,
            transparent 11px,
            rgba(205, 143, 55, .06) 12px,
            transparent 14px);
    opacity: .8
}

.lotus {
    position: absolute;
    width: 38px;
    height: 18px;
    border-radius: 100% 0 100% 0;
    background: linear-gradient(135deg, #ffe2a0, #b96b20);
    transform: rotate(45deg);
    filter: drop-shadow(0 0 10px rgba(255, 182, 65, .8));
    animation: floatLotus 7s ease-in-out infinite
}

.lotus:after {
    content: "";
    position: absolute;
    width: 38px;
    height: 18px;
    border-radius: 100% 0 100% 0;
    background: linear-gradient(135deg, #ffe2a0, #9e591a);
    transform: rotate(90deg)
}

.l1 {
    left: 8%;
    bottom: 12%;
    transform: scale(2) rotate(45deg);
    animation-delay: -1s
}

.l2 {
    right: 12%;
    bottom: 16%;
    transform: scale(1.5) rotate(45deg);
    animation-delay: -4s
}

.l3 {
    left: 32%;
    bottom: 8%;
    transform: scale(.8) rotate(45deg);
    animation-delay: -6s
}

.l4 {
    right: 35%;
    bottom: 11%;
    transform: scale(.65) rotate(45deg);
    animation-delay: -3s
}

@keyframes floatLotus {

    0%,
    100% {
        margin-bottom: 0
    }

    50% {
        margin-bottom: 15px
    }
}

.content {
    position: relative;
    z-index: 5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 20px
}

.topline {
    position: absolute;
    top: 38px;
    right: 48px;
    font-family: Cinzel, serif;
    font-size: 12px;
    letter-spacing: 3px;
    color: #d9b878;
    display: flex;
    align-items: center;
    gap: 15px
}

.topline span {
    display: block;
    width: 45px;
    height: 1px;
    background: #b88a43
}

.logo {
    width: 105px;
    height: 105px;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 20px rgba(238, 173, 71, .35));
    animation: logoFloat 5s ease-in-out infinite
}

@keyframes logoFloat {

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

    50% {
        transform: translateY(-7px)
    }
}

.brand {
    font-family: Cinzel, serif;
    font-size: clamp(40px, 6vw, 76px);
    font-weight: 500;
    letter-spacing: 14px;
    margin-left: 14px;
    background: linear-gradient(#ffe6ad, #c48735);
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 0 35px rgba(221, 153, 53, .16)
}

.subbrand {
    font-family: Cinzel, serif;
    letter-spacing: 10px;
    font-size: clamp(13px, 1.7vw, 21px);
    color: #e5bd76;
    margin-left: 10px
}

.divider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 23px 0 17px
}

.divider i {
    display: block;
    width: 65px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #bd873b)
}

.divider i:last-child {
    background: linear-gradient(90deg, #bd873b, transparent)
}

.diamond {
    width: 9px;
    height: 9px;
    border: 1px solid #d8a85b;
    transform: rotate(45deg)
}

.tagline {
    font-family: Cinzel, serif;
    letter-spacing: 4px;
    font-size: 15px;
    color: #dfc187
}

.description {
    font-family: "Malayalam";
    font-weight: 700;
    color: #d8c7a7;
    letter-spacing: 1px;
    font-size: 15px;
    margin-top: 27px;
    line-height: 1.8
}

.store-wrap {
    display: flex;
    gap: 18px;
    margin-top: 35px;
    justify-content: center;
    flex-wrap: wrap
}

.store-wrap .store { flex: 0 1 220px; }

.store {
    height: 67px;
    min-width: 220px;
    border: 1px solid rgba(226, 175, 89, .7);
    border-radius: 10px;
    background: rgba(5, 4, 3, .68);
    color: #f8e5b6;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 9px 23px;
    gap: 13px;
    transition: .35s;
    box-shadow: 0 0 20px rgba(185, 120, 34, .08);
    backdrop-filter: blur(8px)
}

.store:hover {
    transform: translateY(-5px);
    border-color: #f0c46f;
    box-shadow: 0 10px 40px rgba(224, 157, 53, .18);
    color: #fff1cc;
    background: rgba(35, 20, 8, .75)
}

.store svg {
    width: 31px;
    height: 31px;
    fill: #f4dfb0
}

.store small {
    display: block;
    font-size: 10px;
    letter-spacing: 1px;
    text-align: left;
    color: #cdb783
}

.store strong {
    display: block;
    font-size: 18px;
    font-weight: 400;
    text-align: left;
    letter-spacing: .3px
}

.bottom-text {
    font-family: Cinzel, serif;
    color: #f6d089;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-top: 30px
}

.explore-link {
    position: absolute;
    bottom: 22px;
    color: #c9aa70;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 1px;
}

.explore-link span { display: inline-block; margin-left: 8px; animation: exploreDown 1.8s ease-in-out infinite; }
@keyframes exploreDown { 50% { transform: translateY(4px); } }

.landing-section, .app-cta {
    position: relative;
    z-index: 5;
    padding: 100px max(24px, calc((100% - 1120px) / 2));
    text-align: center;
    background: linear-gradient(180deg, rgba(9, 6, 4, .96), rgba(17, 10, 5, .96));
    border-top: 1px solid rgba(193, 139, 65, .2);
}

.section-eyebrow, .course-kicker {
    color: #c99a53;
    font-family: Cinzel, serif;
    font-size: 11px;
    letter-spacing: 3px;
}

.landing-section h1, .landing-section > h2, .app-cta h2 {
    color: #f2d49b;
    font-family: Cinzel, serif;
    font-weight: 500;
    font-size: clamp(28px, 4vw, 43px);
    margin: 17px 0;
}

.section-intro, .app-cta > p {
    max-width: 650px;
    margin: 0 auto;
    color: #bda984;
    font-size: 15px;
    line-height: 1.8;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 38px auto 0;
    max-width: 960px;
    text-align: left;
}

.course-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(214, 165, 87, .28);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(37, 23, 11, .92), rgba(13, 8, 5, .95));
    box-shadow: 0 14px 40px rgba(0, 0, 0, .22);
    transition: transform .3s ease, border-color .3s ease;
    cursor: pointer;
}
.course-card:hover { transform: translateY(-5px); border-color: rgba(226, 175, 89, .65); }
.course-card:focus-visible { outline: 2px solid #e1b968; outline-offset: 3px; }
.course-image { display: block; width: 100%; height: 150px; object-fit: cover; background: #24160b; }
.course-image-placeholder { display: grid; place-items: center; background: radial-gradient(circle, rgba(206, 144, 52, .28), transparent 65%), #201207; }
.course-image-placeholder span { color: #e4bd78; font-size: 60px; }
.course-copy { display: flex; flex: 1; flex-direction: column; padding: 18px; }
.course-kicker { font-size: 10px; letter-spacing: 2px; }
.course-copy h2 { margin: 8px 0; color: #f4dfb4; font-family: Cinzel, serif; font-size: 18px; font-weight: 500; }
.course-copy p { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; margin: 0 0 16px; color: #b7a483; font-size: 13px; line-height: 1.6; }
.course-install { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: auto -18px -18px; padding: 12px 18px; border-top: 1px solid rgba(214, 165, 87, .12); background: linear-gradient(105deg, rgba(194, 134, 48, .09), rgba(20, 12, 6, .16)); color: #d8b878; font-size: 11px; line-height: 1.45; letter-spacing: .15px; text-decoration: none; transition: background .25s ease, color .25s ease; }
.course-install span { display: grid; flex: 0 0 24px; width: 24px; height: 24px; place-items: center; border: 1px solid rgba(214, 165, 87, .24); border-radius: 50%; color: #e7c985; transition: transform .25s ease, background .25s ease, border-color .25s ease; }
.course-install:hover { color: #fff0c9; background: linear-gradient(105deg, rgba(194, 134, 48, .16), rgba(20, 12, 6, .24)); }
.course-install:hover span { transform: translateX(2px); border-color: rgba(214, 165, 87, .5); background: rgba(214, 165, 87, .1); }
.course-dialog { position: fixed; inset: 0; z-index: 30; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(0, 0, 0, .78); backdrop-filter: blur(8px); cursor: default; }
.course-dialog.is-open { display: flex; }
.course-dialog-panel { position: relative; overflow-x: hidden; overflow-y: auto; scrollbar-width: none; -ms-overflow-style: none; width: min(100%, 620px); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); border: 1px solid rgba(214, 165, 87, .38); border-radius: 18px; background: linear-gradient(150deg, #24170c, #0c0805 78%); box-shadow: 0 28px 90px rgba(0, 0, 0, .65); }
.course-dialog-panel::-webkit-scrollbar { display: none; }
.course-dialog-image { display: block; width: 100%; max-height: 300px; object-fit: cover; }
.course-dialog-content { padding: 30px; }
.course-dialog-content h2 { margin: 12px 40px 14px 0; color: #f4dfb4; font-family: Cinzel, serif; font-size: clamp(22px, 4vw, 32px); font-weight: 500; }
.course-dialog-content p { margin: 0 0 24px; color: #c2ae8c; font-size: 15px; line-height: 1.8; white-space: pre-line; }
.course-dialog-content .course-install { margin: 0 -30px -30px; padding: 14px 30px; }
.course-dialog-close { position: absolute; z-index: 1; top: 12px; right: 12px; display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(226, 175, 89, .5); border-radius: 50%; background: rgba(8, 6, 4, .82); color: #f4dfb4; font-size: 26px; line-height: 1; cursor: pointer; }
.course-dialog-close:hover { background: rgba(194, 134, 48, .3); }
body.dialog-open { overflow: hidden; }
.course-empty { max-width: 700px; margin: 40px auto 0; padding: 28px; border: 1px solid rgba(214,165,87,.25); border-radius: 12px; color: #c7b28a; line-height: 1.8; }
.course-note { margin: 26px 0 0; color: #8e7957; font-size: 12px; }

.journey-section { background: rgba(8, 5, 3, .96); }
.journey-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-top: 48px; text-align: left; }
.journey-card { padding: 28px; border-top: 1px solid rgba(214,165,87,.38); background: linear-gradient(150deg, rgba(31,19,9,.65), rgba(12,8,5,.25)); }
.journey-icon { display: grid; place-items: center; width: 44px; height: 44px; color: #e1b968; border: 1px solid rgba(214,165,87,.45); border-radius: 50%; }
.journey-card h3 { margin: 20px 0 9px; color: #ecd3a2; font-family: Cinzel, serif; font-size: 18px; font-weight: 500; }
.journey-card p { margin: 0; color: #ad9a78; font-size: 14px; line-height: 1.75; }
.community-link { display: inline-block; margin-top: 14px; color: #e1b968; font-size: 13px; text-decoration: none; }
.community-link:hover { color: #fff0c9; }
.app-cta { background: radial-gradient(ellipse at center, rgba(116,67,20,.2), transparent 70%), rgba(12,7,4,.97); }
.app-cta .store-wrap { margin-top: 30px; }
.store-mark { width: 31px; color: #f4dfb0; font-size: 28px; line-height: 1; }
.play-mark { color: #dcb968; font-size: 23px; }

.footer {
    position: relative;
    z-index: 10;
    min-height: 300px;
    padding: 65px 20px 55px;
    background: linear-gradient(180deg, rgba(5, 3, 2, .92), #090604);
    border-top: 1px solid rgba(193, 139, 65, .2);
    text-align: center
}

.footer-title {
    font-family: Cinzel, serif;
    font-size: 25px;
    letter-spacing: 5px;
    color: #e5bd76;
    margin-bottom: 12px
}

.footer-subtitle {
    font-size: 13px;
    font-weight: 300;
    color: #a99472;
    letter-spacing: 1px;
    margin-bottom: 32px
}

.socials {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap
}

.social {
    width: 62px;
    height: 62px;
    border: 1px solid rgba(214, 165, 87, .45);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dcb36f;
    text-decoration: none;
    background: rgba(25, 13, 5, .6);
    font-size: 23px;
    transition: .35s
}

.social:hover {
    color: #fff0c9;
    border-color: #e4b96d;
    background: rgba(115, 65, 20, .3);
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(210, 145, 48, .15)
}

.footer-bottom {
    margin-top: 45px;
    color: #756348;
    font-size: 11px;
    letter-spacing: 2px
}


.legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    font-size: 13px;
    letter-spacing: .3px;
}

.legal-links a {
    color: #d9a441;
    text-decoration: none;
    transition: color .2s ease;
}

.legal-links a:hover {
    color: #f6d089;
}

.legal-links span {
    color: rgba(255,255,255,.3);
}

@media (max-width: 600px) {
    .legal-links {
        flex-wrap: wrap;
        gap: 8px;
        padding: 0 15px;
    }
}

@media(max-width:600px) {

    .topline {
        top: 22px;
        right: 20px
    }

    .topline span {
        width: 25px
    }

    .content {
        padding: 70px 20px 60px;
        min-height: 100svh;
    }

    .logo {
        width: 75px;
        height: 75px
    }

    .brand {
        letter-spacing: 7px;
        font-size: 40px;
        margin-left: 7px
    }

    .subbrand {
        letter-spacing: 7px
    }

    .tagline {
        font-size: 12px;
        letter-spacing: 2px
    }

    .description {
        font-size: 16px;
        font-weight: 900;
        margin-top: 18px
    }

    .store {
        min-width: 200px;
        height: 60px
    }

    .store strong {
        font-size: 16px
    }

    .store-wrap {
        margin-top: 25px;
        gap: 10px
    }

    .bottom-text {
        font-size: 10px
    }

    .sun {
        width: 400px;
        height: 400px
    }

    .footer {
        padding: 50px 20px
    }

    .footer-title {
        font-size: 20px;
        letter-spacing: 3px
    }
}

@media (max-width: 700px) {
    .landing-section, .app-cta { padding: 58px 16px; }
    .journey-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 30px; }
    .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
    .course-image { height: 125px; }
    .course-copy { padding: 14px; }
    .course-install { margin: auto -14px -14px; padding: 10px 14px; }
    .course-copy h2 { font-size: 16px; }
    .explore-link { bottom: 17px; }
}

@media (max-width: 480px) {
    .landing-section, .app-cta { padding: 48px 10px; }
    .section-intro, .app-cta > p { font-size: 13px; line-height: 1.65; }
    .landing-section h1, .landing-section > h2, .app-cta h2 { margin: 12px 0; font-size: 25px; }
    .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .course-image { height: 115px; }
    .course-copy { padding: 10px; }
    .course-install { margin: auto -10px -10px; padding: 9px 10px; }
    .course-dialog { align-items: center; padding: 12px; }
    .course-dialog-panel { width: 100%; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); border-radius: 14px; }
    .course-dialog-image { max-height: 32vh; }
    .course-dialog-content { padding: 18px; }
    .course-dialog-content h2 { font-size: 22px; }
    .course-dialog-content p { font-size: 14px; line-height: 1.7; }
    .course-dialog-content .course-install { margin: 0 -18px -18px; padding: 12px 18px; }
    .course-dialog-close { top: 9px; right: 9px; width: 34px; height: 34px; }
    .course-copy h2 { font-size: 14px; }
    .course-copy p { font-size: 12px; }
    .course-install { font-size: 11px; }
    .journey-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .journey-card { padding: 14px 10px; }
    .journey-card h3 { font-size: 15px; }
    .journey-card p { font-size: 12px; }
    .community-link { font-size: 11px; }
    .store-wrap { width: 100%; gap: 6px; margin-top: 22px; }
    .store-wrap .store { flex: 1 1 0; min-width: 0; height: 54px; padding: 6px; gap: 5px; }
    .store-wrap .store svg, .store-wrap .store-mark { flex: 0 0 23px; width: 23px; height: 23px; font-size: 22px; }
    .store-wrap .store small { font-size: 8px; letter-spacing: .5px; }
    .store-wrap .store strong { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
