/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #070509;
    color: #f7f2fa;
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font-family: inherit;
}


/* =========================================
   BACKGROUND
========================================= */

body::before {
    content: "";

    position: fixed;

    width: 700px;
    height: 700px;

    top: -350px;
    left: -250px;

    background:
        radial-gradient(
            circle,
            rgba(105, 30, 190, 0.27),
            transparent 70%
        );

    pointer-events: none;

    z-index: -2;
}

body::after {
    content: "";

    position: fixed;

    width: 700px;
    height: 700px;

    right: -350px;
    bottom: -350px;

    background:
        radial-gradient(
            circle,
            rgba(93, 27, 154, 0.18),
            transparent 70%
        );

    pointer-events: none;

    z-index: -2;
}


/* =========================================
   NAVBAR
========================================= */

.navbar {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 76px;

    padding: 0 7%;

    display: flex;

    align-items: center;
    justify-content: space-between;

    background:
        rgba(7, 5, 9, 0.72);

    backdrop-filter: blur(20px);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.06);

    z-index: 100;
}

.logo {
    display: flex;

    align-items: center;

    gap: 9px;

    text-decoration: none;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 28px;

    font-weight: 600;

    letter-spacing: 1px;
}

.logo-symbol {
    color: #c56fff;

    font-size: 30px;
}

.nav-menu {
    display: flex;

    gap: 34px;
}

.nav-menu a {
    text-decoration: none;

    color: #a9a1ae;

    font-size: 13px;

    transition: 0.3s;
}

.nav-menu a:hover {
    color: white;
}

.nav-button {
    padding: 11px 21px;

    border-radius: 30px;

    text-decoration: none;

    font-size: 12px;

    background:
        linear-gradient(
            135deg,
            #8124e8,
            #b85cff
        );

    color: white;

    box-shadow:
        0 0 25px rgba(145, 43, 240, 0.22);

    transition: 0.3s;
}

.nav-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 0 35px rgba(145, 43, 240, 0.4);
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: 100vh;

    padding:
        130px 7%
        80px;

    display: flex;

    align-items: center;

    position: relative;

    overflow: hidden;
}

.hero-content {
    width: 52%;

    position: relative;

    z-index: 5;
}

.eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 8px 14px;

    border-radius: 30px;

    border:
        1px solid rgba(255, 255, 255, 0.08);

    background:
        rgba(255, 255, 255, 0.045);

    color: #bcb1c6;

    font-size: 11px;

    margin-bottom: 27px;
}

.eyebrow span {
    color: #c56fff;
}

.hero h1 {
    max-width: 700px;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size:
        clamp(58px, 7vw, 96px);

    line-height: 0.9;

    letter-spacing: -3px;

    font-weight: 500;

    margin-bottom: 30px;
}

.hero h1 span {
    color: #b85cff;
}

.hero-text {
    max-width: 520px;

    color: #98919f;

    font-size: 14px;

    line-height: 1.9;

    margin-bottom: 35px;
}

.hero-actions {
    display: flex;

    gap: 13px;
}


/* =========================================
   BUTTONS
========================================= */

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 14px 23px;

    border-radius: 30px;

    text-decoration: none;

    font-size: 12px;

    border: none;

    cursor: pointer;

    transition: 0.3s;
}

.button.primary {
    color: white;

    background:
        linear-gradient(
            135deg,
            #8124e8,
            #b85cff
        );

    box-shadow:
        0 0 30px rgba(140, 40, 235, 0.25);
}

.button.primary:hover {
    transform: translateY(-3px);

    box-shadow:
        0 0 40px rgba(140, 40, 235, 0.4);
}

.button.secondary {
    color: #d4cdd9;

    background:
        rgba(255, 255, 255, 0.035);

    border:
        1px solid rgba(255, 255, 255, 0.12);
}

.button.secondary:hover {
    transform: translateY(-3px);

    border-color:
        rgba(181, 92, 255, 0.4);
}

.button.small {
    padding: 11px 18px;
}

.button.full {
    width: 100%;
}


/* =========================================
   HERO TAROT VISUAL
========================================= */

.hero-visual {
    position: absolute;

    width: 50%;
    height: 700px;

    right: 0;

    top: 50%;

    transform: translateY(-50%);

    display: flex;

    align-items: center;
    justify-content: center;
}

.stars {
    position: absolute;

    inset: 0;

    opacity: 0.2;

    background-image:
        radial-gradient(
            circle,
            white 1px,
            transparent 1px
        );

    background-size: 90px 90px;
}

.zodiac-ring {
    position: absolute;

    width: 570px;
    height: 570px;

    border-radius: 50%;

    border:
        1px solid rgba(181, 92, 255, 0.14);

    box-shadow:
        0 0 90px rgba(114, 33, 183, 0.12),
        inset 0 0 90px rgba(114, 33, 183, 0.06);
}

.zodiac-ring::before {
    content: "☽";

    position: absolute;

    top: 50%;
    left: 50%;

    transform:
        translate(-50%, -50%);

    color:
        rgba(255, 255, 255, 0.035);

    font-size: 270px;
}

.zodiac-ring span {
    position: absolute;

    top: 13%;
    left: 50%;

    color: #bd73e9;

    font-size: 18px;
}

.tarot-card {
    position: absolute;

    width: 240px;
    height: 385px;

    border-radius: 18px;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            145deg,
            #35115c,
            #120619
        );

    border:
        1px solid #a956db;

    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.7),
        0 0 35px rgba(147, 55, 222, 0.25);
}

.front-card {
    z-index: 3;

    transform:
        rotate(-7deg)
        translateX(-40px);

    animation:
        floatingCard 5s ease-in-out infinite;
}

.back-card {
    z-index: 2;

    opacity: 0.7;

    transform:
        rotate(8deg)
        translateX(80px);

    animation:
        floatingBack 6s ease-in-out infinite;
}

@keyframes floatingCard {

    0%,
    100% {
        margin-top: 0;
    }

    50% {
        margin-top: -15px;
    }
}

@keyframes floatingBack {

    0%,
    100% {
        margin-top: 0;
    }

    50% {
        margin-top: 12px;
    }
}

.card-border {
    width: 88%;
    height: 93%;

    border-radius: 12px;

    border:
        1px solid rgba(220, 168, 255, 0.65);

    position: relative;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;
}

.card-symbol {
    font-size: 90px;

    color: #d29aff;

    line-height: 1;
}

.card-title {
    margin-top: 20px;

    color: #e0aaff;

    font-family:
        "Cormorant Garamond",
        serif;

    letter-spacing: 4px;

    font-size: 21px;
}

.card-decoration {
    position: absolute;

    color: #d69cff;

    font-size: 18px;
}

.card-decoration.top {
    top: 12px;
}

.card-decoration.bottom {
    bottom: 12px;
}

.card-back-symbol {
    font-size: 110px;

    color:
        rgba(211, 153, 255, 0.7);
}


/* =========================================
   SECTIONS
========================================= */

.section {
    padding:
        120px 7%;
}

.section-title {
    text-align: center;

    margin-bottom: 55px;
}

.section-title > span {
    color: #b85cff;

    font-size: 10px;

    letter-spacing: 3px;

    text-transform: uppercase;
}

.section-title h2 {
    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 55px;

    font-weight: 500;

    margin-top: 10px;
}

.section-title p {
    max-width: 510px;

    margin:
        14px auto 0;

    color: #8f8795;

    font-size: 13px;

    line-height: 1.8;
}


/* =========================================
   READING CARDS
========================================= */

.reading-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 17px;
}

.reading-card {
    min-height: 270px;

    padding: 28px;

    position: relative;

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.05),
            rgba(255, 255, 255, 0.015)
        );

    border:
        1px solid rgba(255, 255, 255, 0.065);

    transition: 0.35s;
}

.reading-card:hover {
    transform: translateY(-7px);

    border-color:
        rgba(181, 92, 255, 0.35);

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.35);
}

.reading-icon {
    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        rgba(155, 66, 224, 0.12);

    color: #c476f6;

    font-size: 19px;

    margin-bottom: 20px;
}

.reading-number {
    position: absolute;

    top: 30px;
    right: 30px;

    color: #554d5b;

    font-size: 10px;

    letter-spacing: 2px;
}

.reading-card h3 {
    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 29px;

    font-weight: 500;

    margin-bottom: 10px;
}

.reading-card p {
    color: #8d8692;

    font-size: 12px;

    line-height: 1.8;

    min-height: 66px;
}

.reading-bottom {
    margin-top: 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}

.reading-bottom strong {
    color: #d092ff;

    font-size: 13px;
}

.order-btn {
    border: none;

    background: transparent;

    color: #b85cff;

    cursor: pointer;

    font-size: 12px;

    transition: 0.3s;
}

.order-btn:hover {
    color: white;

    transform: translateX(3px);
}


/* =========================================
   FREE DRAW
========================================= */

.free-draw {
    background:
        radial-gradient(
            circle at center,
            rgba(103, 32, 163, 0.14),
            transparent 55%
        );
}

.draw-area {
    max-width: 850px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 80px;
}

.draw-card {
    width: 220px;
    height: 350px;

    flex-shrink: 0;

    cursor: pointer;

    border-radius: 17px;

    padding: 12px;

    background:
        linear-gradient(
            145deg,
            #37115e,
            #110517
        );

    border:
        1px solid #a956dc;

    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.55);

    transition: 0.5s;
}

.draw-card:hover {
    transform:
        translateY(-12px)
        rotate(-2deg);
}

.draw-card-inner {
    width: 100%;
    height: 100%;

    border-radius: 11px;

    border:
        1px solid rgba(221, 169, 255, 0.55);

    display: flex;

    align-items: center;
    justify-content: center;

    flex-direction: column;
}

.draw-symbol {
    font-size: 85px;

    color: #d19aff;

    margin-bottom: 20px;
}

.draw-label {
    font-size: 10px;

    letter-spacing: 3px;

    color: #c9a7d8;
}

.draw-card.revealed {
    transform:
        rotateY(180deg);
}

.draw-result {
    max-width: 400px;
}

.draw-result > span {
    color: #b85cff;

    font-size: 10px;

    letter-spacing: 3px;
}

.draw-result h3 {
    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 47px;

    font-weight: 500;

    margin:
        12px 0 14px;
}

.draw-result p {
    color: #948d9a;

    font-size: 13px;

    line-height: 1.8;

    margin-bottom: 25px;
}


/* =========================================
   HOW IT WORKS
========================================= */

.steps {
    max-width: 900px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 30px;
}

.step {
    text-align: center;

    padding: 25px;
}

.step-number {
    width: 56px;
    height: 56px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin:
        0 auto 20px;

    border-radius: 50%;

    border:
        1px solid rgba(181, 92, 255, 0.35);

    color: #c476f6;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 20px;
}

.step h3 {
    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 26px;

    font-weight: 500;

    margin-bottom: 10px;
}

.step p {
    color: #88818d;

    font-size: 12px;

    line-height: 1.8;
}


/* =========================================
   CTA
========================================= */

.cta {
    padding:
        100px 7%;
}

.cta-content {
    max-width: 900px;

    margin: auto;

    padding: 85px 30px;

    text-align: center;

    border-radius: 25px;

    background:
        radial-gradient(
            circle at center,
            rgba(122, 37, 189, 0.3),
            rgba(25, 9, 32, 0.35)
        );

    border:
        1px solid rgba(181, 92, 255, 0.13);
}

.cta-content > span {
    color: #b85cff;

    font-size: 10px;

    letter-spacing: 3px;
}

.cta-content h2 {
    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 60px;

    font-weight: 500;

    margin:
        12px 0 10px;
}

.cta-content p {
    max-width: 500px;

    margin:
        0 auto 28px;

    color: #938b99;

    font-size: 13px;

    line-height: 1.8;
}


/* =========================================
   ORDER MODAL
========================================= */

.modal {
    position: fixed;

    inset: 0;

    display: none;

    align-items: center;
    justify-content: center;

    z-index: 999;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;

    inset: 0;

    background:
        rgba(0, 0, 0, 0.75);

    backdrop-filter: blur(8px);
}

.modal-box {
    position: relative;

    width: min(470px, 90%);

    max-height: 90vh;

    overflow-y: auto;

    padding: 35px;

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            #170b1f,
            #0b070e
        );

    border:
        1px solid rgba(181, 92, 255, 0.22);

    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.7);

    z-index: 2;

    animation:
        modalIn 0.25s ease;
}

@keyframes modalIn {

    from {
        opacity: 0;
        transform: translateY(15px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;

    top: 17px;
    right: 20px;

    width: 30px;
    height: 30px;

    border: none;

    background:
        rgba(255, 255, 255, 0.05);

    color: #aaa2af;

    border-radius: 50%;

    cursor: pointer;

    font-size: 20px;
}

.modal-label {
    color: #b85cff;

    font-size: 9px;

    letter-spacing: 3px;
}

.modal-box h2 {
    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 39px;

    font-weight: 500;

    margin-top: 8px;
}

.modal-price {
    color: #d092ff;

    font-size: 13px;

    margin-bottom: 25px;
}

#orderForm {
    display: flex;

    flex-direction: column;

    gap: 18px;
}

#orderForm label {
    display: flex;

    flex-direction: column;

    gap: 8px;

    color: #c8c0cb;

    font-size: 11px;
}

#orderForm input,
#orderForm textarea,
#orderForm select {
    width: 100%;

    padding: 13px 14px;

    border-radius: 10px;

    border:
        1px solid rgba(255, 255, 255, 0.08);

    outline: none;

    background:
        rgba(255, 255, 255, 0.04);

    color: white;

    font-size: 12px;

    resize: vertical;
}

#orderForm input:focus,
#orderForm textarea:focus,
#orderForm select:focus {
    border-color:
        rgba(181, 92, 255, 0.55);
}

#orderForm select option {
    background: #160b1c;

    color: white;
}

.modal-note {
    color: #706a75;

    font-size: 10px;

    line-height: 1.7;

    margin-top: 15px;

    text-align: center;
}


/* =========================================
   FOOTER
========================================= */

footer {
    padding:
        30px 7%;

    border-top:
        1px solid rgba(255, 255, 255, 0.05);

    display: flex;

    align-items: center;

    justify-content: space-between;

    color: #68616d;

    font-size: 10px;
}

.footer-logo {
    color: #a9a0ad;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 18px;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 950px) {

    .nav-menu {
        display: none;
    }

    .hero {
        padding-top: 120px;

        flex-direction: column;

        text-align: center;
    }

    .hero-content {
        width: 100%;
    }

    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        position: relative;

        width: 100%;

        height: 500px;

        right: auto;

        top: auto;

        transform: none;

        margin-top: 20px;
    }

    .reading-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .zodiac-ring {
        width: 450px;
        height: 450px;
    }

    .draw-area {
        gap: 45px;
    }
}


@media (max-width: 650px) {

    .navbar {
        padding: 0 5%;
    }

    .nav-button {
        padding:
            9px 14px;

        font-size: 10px;
    }

    .hero {
        padding:
            110px 5%
            40px;
    }

    .hero h1 {
        font-size: 55px;

        letter-spacing: -2px;
    }

    .hero-actions {
        flex-direction: column;

        align-items: center;
    }

    .hero-actions .button {
        width: 200px;
    }

    .hero-visual {
        height: 420px;
    }

    .zodiac-ring {
        width: 330px;
        height: 330px;
    }

    .tarot-card {
        width: 170px;
        height: 275px;
    }

    .front-card {
        transform:
            rotate(-7deg)
            translateX(-35px);
    }

    .back-card {
        transform:
            rotate(8deg)
            translateX(55px);
    }

    .card-symbol {
        font-size: 65px;
    }

    .card-title {
        font-size: 15px;
    }

    .section {
        padding:
            85px 5%;
    }

    .section-title h2 {
        font-size: 45px;
    }

    .reading-grid {
        grid-template-columns: 1fr;
    }

    .draw-area {
        flex-direction: column;

        text-align: center;
    }

    .draw-result {
        max-width: 450px;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .cta {
        padding:
            60px 5%;
    }

    .cta-content {
        padding:
            65px 20px;
    }

    .cta-content h2 {
        font-size: 48px;
    }

    footer {
        flex-direction: column;

        gap: 12px;

        text-align: center;
    }
}