* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'TikTok Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: url('../assets/images/background.png') center/cover no-repeat fixed;
    background-color: #ffffff;
    color: #000000;
    overflow-x: hidden;
    min-height: 100vh;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    background: rgba(245, 245, 245, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nav {
    padding: 10px 20px;
}

.nav-container {
    max-width: 1250px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    position: relative;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.brand:hover {
    transform: scale(1.02);
}

.brand-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
    opacity: 1;
    visibility: visible;

    min-width: 60px;
    transition: opacity 0.3s ease;
}

.brand-logo[alt="Logo not found"] {
    display: none;
}

.brand-logo[alt="Logo not found"] + .brand-name::before {
    content: "⚡";
    margin-right: 8px;
    font-size: 24px;
}

.brand-name {
    font-family: 'TikTok Sans', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #000000;
    letter-spacing: -0.5px;
}

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

.header-action {
    color: #666666;
    text-decoration: none;
    font-family: 'TikTok Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.header-action:hover {
    color: #000000;
}

.header-action::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #000000;
    transition: width 0.3s ease;
}

.header-action:hover::after {
    width: 100%;
}

.container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 84px;
}

.hero-content {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 80px;
    align-items: center;
    min-height: 600px;
}

.hero-left {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-60px);
}

.tarot-readers-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.carousel-stage {
    position: relative;
    width: 300px;
    height: 400px;
    perspective: 1200px;
    margin-bottom: 30px;
}

.carousel-stage {
    position: relative;
    width: 650px;
    height: 476px;
    perspective: 1200px;
    margin-bottom: 30px;
}

.tarot-reader {
    position: absolute;
    width: 302px;
    height: 476px;
    cursor: pointer;
    border-radius: 0;
    opacity: 1;
    transition: transform 0.3s ease;
}

.tarot-reader .reader-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
    transition: transform 0.3s ease;
}

.tarot-reader:hover .reader-image {
    transform: scale(1.02);
}

.tarot-reader[data-reader="lisa"] {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(1);
    z-index: 3;
}

.tarot-reader[data-reader="selene"] {
    left: 0px;
    top: 50%;
    transform: translateY(-50%) scale(0.75);
    z-index: 2;
    opacity: 0.8;
}

.tarot-reader[data-reader="isabella"] {
    right: 0px;
    top: 50%;
    transform: translateY(-50%) scale(0.75);
    z-index: 2;
    opacity: 0.8;
}

.hero-right {
    display: flex;
    align-items: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: none;
    align-items: flex-end;
    text-align: right;
}

.hero-title-wrapper {
    position: relative;
    display: inline-flex;
    justify-content: flex-end;
    width: 100%;
}

.hero-title-star {
    position: absolute;
    right: 0;
    bottom: calc(100% + 37px);
    width: auto;
    height: auto;
    max-width: 120px;
}

.hero-title {
    font-family: 'TikTok Sans', sans-serif;
    font-weight: 900;
    font-size: clamp(28px, 5vw, 56px);
    line-height: 1.2;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.hero-subtitle {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'TikTok Sans', sans-serif;
    font-weight: 900;
    font-size: clamp(16px, 3vw, 20px);
    color: #000000;
    letter-spacing: -0.45px;
    justify-content: flex-end;
}

.hero-subtitle .line {
    color: #000000;
    letter-spacing: -3.45px;
}

.hero-description {
    font-family: 'TikTok Sans', sans-serif;
    font-weight: 400;
    font-size: clamp(14px, 2vw, 15px);
    line-height: 1.33;
    color: rgba(0, 0, 0, 0.6);
    letter-spacing: -0.23px;
    max-width: 100%;
}

.cta {
    padding: 80px 0;
    position: relative;
    z-index: 10;
}

.cta-card {
    background: #000000;
    border-radius: 16px;
    padding: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e3eaef;
    max-width: 735px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.cta-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cta-logo {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-logo img {
    width: 26px;
    height: auto;
}

.cta-title {
    font-family: 'TikTok Sans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: white;
    text-transform: capitalize;
}

.cta-button {
    width: 135px;
    height: 40px;
}

.cta-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tarot-showcase {
    position: relative;
    height: 300px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tarot-wheel {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(1184px, 90vw);
    height: 297px;
    animation: rotateWheel 60s linear infinite;
}

@keyframes rotateWheel {
    from { transform: translateX(-50%) rotate(0deg); }
    to { transform: translateX(-50%) rotate(360deg); }
}

.tarot-wheel img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.page-main {
    padding-top: 140px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-section {
    padding: 120px 0;
    flex: 1;
}

.page-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.page-container h2 {
    font-family: 'TikTok Sans', sans-serif;
    font-weight: 700;
    font-size: 28px;
    margin-top: 48px;
    margin-bottom: 16px;
    color: #000000;
}

.page-container p,
.page-container ul {
    margin-bottom: 16px;
}

.page-container ul {
    padding-left: 20px;
}

.page-title {
    font-family: 'TikTok Sans', sans-serif;
    font-weight: 800;
    font-size: 48px;
    letter-spacing: -0.5px;
    margin-bottom: 24px;
    color: #000000;
}

.page-lead {
    font-family: 'TikTok Sans', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 32px;
}

@media screen and (max-width: 1024px), screen and (max-device-width: 1024px), screen and (pointer: coarse) {
    body.legal-page {
        background-color: #ffffff;
        background-image: none;
    }

    body.legal-page .header {
        display: none;
    }

    body.legal-page .page-main {
        padding-top: 32px;
    }

    body.legal-page .page-section {
        padding: 32px 0;
    }

    body.legal-page .page-container {
        padding: 0 20px;
    }
}

body.legal-page.legal-mobile {
    background-color: #ffffff;
    background-image: none;
}

body.legal-page.legal-mobile .header {
    display: none;
}

body.legal-page.legal-mobile .page-main {
    padding-top: 32px;
}

body.legal-page.legal-mobile .page-section {
    padding: 32px 0;
}

body.legal-page.legal-mobile .page-container {
    padding: 0 20px;
}
