/* ===========================
   Custom Font Import
   =========================== */
@font-face {
    font-family: 'NanumSquareNeo';
    src: url('NanumSquareNeo.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ===========================
   CSS Variables & Reset
   =========================== */
:root {
    /* Mystical Purple Color Palette */
    --primary-purple: #9B59B6;
    --secondary-purple: #8E44AD;
    --light-purple: #E8DAEF;
    --ultra-light-purple: #F5EEF8;
    --accent-purple: #7D3C98;
    --dark-purple: #6C3483;

    /* Mystical Gold Accents */
    --gold: #F4D03F;
    --gold-light: #FCF3CF;
    --gold-dark: #D4AC0D;

    /* Dark Mystical Background */
    --dark-indigo: #1A1A2E;
    --midnight: #16213E;
    --deep-purple: #0F3460;

    /* Neutral Colors */
    --text-primary: #2C3E50;
    --text-secondary: #5D6D7E;
    --text-light: #85929E;
    --white: #FFFFFF;
    --shadow-color: rgba(155, 89, 182, 0.3);

    /* Typography */
    --font-primary: 'NanumSquareNeo', sans-serif;
    --font-display: 'NanumSquareNeo', sans-serif;

    /* Spacing */
    --section-padding: 80px;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--dark-indigo) 0%, var(--midnight) 100%);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===========================
   Full Section Layout
   =========================== */
.full-section {
    min-height: 100vh;
    position: relative;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--dark-indigo) 0%, var(--midnight) 50%, var(--deep-purple) 100%);
}

#section1 {
    background: linear-gradient(135deg, #1A1A2E 0%, #16213E 50%, #0F3460 100%);
    position: relative;
    overflow: hidden;
}

#section1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%23FFD700" opacity="0.3"/></svg>');
    background-size: 50px 50px;
    animation: twinkle 3s infinite;
    opacity: 0.5;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.7;
    }
}

#section2 {
    background: linear-gradient(135deg, #1A1A2E 0%, #2C2C54 100%);
}

#section_pricing {
    background: linear-gradient(135deg, #16213E 0%, #1A1A2E 100%);
}

/* ===========================
   Section 1: Hero Styles
   =========================== */
.hero-content {
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 2;
}

.hero-icon {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

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

    50% {
        transform: translateY(-20px);
    }
}

/* Tarot Card Icons */
.tarot-cards {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.tarot-card {
    width: 60px;
    height: 100px;
    background: linear-gradient(145deg, var(--primary-purple), var(--dark-purple));
    border-radius: 8px;
    border: 2px solid var(--gold);
    box-shadow: 0 10px 30px rgba(155, 89, 182, 0.5);
    position: relative;
    transition: var(--transition-smooth);
}

.tarot-card::before {
    content: '✦';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--gold);
    font-size: 1.5rem;
}

.tarot-card:nth-child(1) {
    transform: rotate(-15deg);
    animation: floatCard1 4s ease-in-out infinite;
}

.tarot-card:nth-child(2) {
    transform: rotate(0deg);
    animation: floatCard2 4s ease-in-out infinite 0.5s;
}

.tarot-card:nth-child(3) {
    transform: rotate(15deg);
    animation: floatCard3 4s ease-in-out infinite 1s;
}

@keyframes floatCard1 {

    0%,
    100% {
        transform: rotate(-15deg) translateY(0);
    }

    50% {
        transform: rotate(-15deg) translateY(-10px);
    }
}

@keyframes floatCard2 {

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

    50% {
        transform: rotate(0deg) translateY(-15px);
    }
}

@keyframes floatCard3 {

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

    50% {
        transform: rotate(15deg) translateY(-10px);
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-shadow: 0 0 30px rgba(155, 89, 182, 0.5);
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    max-width: 600px;
    margin: 0 auto;
}

.hero-description .lead {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--light-purple);
    font-weight: 300;
}

.hero-highlight {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: var(--gold);
    font-weight: 500;
}

.price-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--dark-indigo);
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 20px;
    box-shadow: 0 5px 20px rgba(244, 208, 63, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 5px 20px rgba(244, 208, 63, 0.4);
    }

    50% {
        box-shadow: 0 5px 40px rgba(244, 208, 63, 0.7);
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    max-width: 600px;
    margin: 40px auto 80px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 25px 20px;
    border-radius: 20px;
    border: 1px solid rgba(155, 89, 182, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
}

.feature-item:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 15px 35px rgba(244, 208, 63, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.feature-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--white);
}

/* ===========================
   Section 2: Form Styles
   =========================== */
.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.8s ease-out;
}

.form-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.form-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--text-secondary);
    font-weight: 300;
}

.fortune-form .form-control,
.fortune-form .form-select {
    border: 2px solid var(--light-purple);
    border-radius: 15px;
    padding: 15px 20px;
    font-size: 1rem;
    transition: var(--transition-smooth);
    background: var(--white);
    height: auto;
}

.fortune-form .form-floating>.form-control,
.fortune-form .form-floating>.form-select {
    padding: 1.625rem 1.25rem 0.625rem;
    height: calc(3.5rem + 2px);
}

.fortune-form .form-floating>label {
    padding: 1rem 1.25rem;
    color: var(--text-light);
}

.fortune-form .form-control:focus,
.fortune-form .form-select:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 0.25rem rgba(155, 89, 182, 0.25);
    background: var(--white);
}

.fortune-form .form-floating>.form-control:focus~label,
.fortune-form .form-floating>.form-select:focus~label,
.fortune-form .form-floating>.form-control:not(:placeholder-shown)~label,
.fortune-form .form-floating>.form-select:not(:placeholder-shown)~label {
    color: var(--accent-purple);
}

/* Question Textarea */
.question-section {
    margin-bottom: 25px;
}

.question-section textarea {
    min-height: 120px;
    resize: none;
    border: 2px solid var(--light-purple);
    border-radius: 15px;
    padding: 15px 20px;
    font-size: 1rem;
    transition: var(--transition-smooth);
    background: var(--white);
    width: 100%;
}

.question-section textarea:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 0.25rem rgba(155, 89, 182, 0.25);
    outline: none;
}

.question-section label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-primary);
}

.question-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.question-example {
    background: var(--ultra-light-purple);
    border: 1px solid var(--light-purple);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--accent-purple);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.question-example:hover {
    background: var(--primary-purple);
    color: var(--white);
    border-color: var(--primary-purple);
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--accent-purple) 100%);
    border: none;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    color: var(--white);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition-smooth);
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(155, 89, 182, 0.5);
}

.btn-submit:active {
    transform: translateY(-1px);
}

.btn-text {
    margin-right: 10px;
}

.btn-icon {
    display: inline-block;
    transition: var(--transition-smooth);
}

.btn-submit:hover .btn-icon {
    transform: translateX(5px);
}

/* ===========================
   Scroll Indicator
   =========================== */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: fit-content;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 18px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(155, 89, 182, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(244, 208, 63, 0.3);
    animation: pulseIndicator 2s ease-in-out infinite;
}

.scroll-indicator:hover {
    transform: translateY(5px) scale(1.05);
    border-color: var(--gold);
    box-shadow: 0 12px 35px rgba(244, 208, 63, 0.4);
}

.scroll-text {
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.scroll-arrow {
    color: var(--gold);
    animation: bounce 2s infinite;
    font-size: 1rem;
}

@keyframes bounce {

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

    40% {
        transform: translateY(10px);
    }

    60% {
        transform: translateY(5px);
    }
}

@keyframes pulseIndicator {

    0%,
    100% {
        box-shadow: 0 8px 25px rgba(155, 89, 182, 0.3);
    }

    50% {
        box-shadow: 0 8px 35px rgba(244, 208, 63, 0.5);
    }
}

/* ===========================
   Animations
   =========================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ===========================
   Pricing Section
   =========================== */
.pricing-card-single {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 3px solid var(--gold);
    border-radius: 25px;
    padding: 40px;
    max-width: 350px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 20px 50px rgba(244, 208, 63, 0.3);
    transition: var(--transition-smooth);
}

.pricing-card-single:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(244, 208, 63, 0.4);
}

.pricing-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.pricing-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-purple);
    margin-bottom: 10px;
}

.pricing-price span {
    font-size: 1.2rem;
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--light-purple);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '✨';
}

/* ===========================
   Sample Preview Section
   =========================== */
#section_sample {
    background: linear-gradient(135deg, #1A1A2E 0%, #2C2C54 100%);
    position: relative;
    overflow: hidden;
}

.sample-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    position: relative;
}

.sample-text-area {
    text-align: center;
    margin-bottom: 40px;
}

.sample-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(45deg, var(--gold), var(--white));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sample-subtitle {
    font-size: 1.2rem;
    color: var(--light-purple);
    line-height: 1.6;
}

/* Tarot Card Preview */
.tarot-preview {
    display: flex;
    justify-content: center;
    gap: 20px;
    perspective: 1000px;
}

.preview-card {
    width: 120px;
    height: 200px;
    background: linear-gradient(145deg, var(--primary-purple), var(--dark-purple));
    border-radius: 12px;
    border: 3px solid var(--gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    transition: var(--transition-smooth);
    transform-style: preserve-3d;
    cursor: pointer;
}

.preview-card:hover {
    transform: rotateY(180deg);
}

.preview-card::after {
    content: '⭐';
    position: absolute;
    backface-visibility: hidden;
    transform: rotateY(180deg);
}

/* ===========================
   Info Section (Deck & Spread Guide)
   =========================== */
.info-section {
    background: linear-gradient(135deg, #1A1A2E 0%, #16213E 100%);
    padding: 80px 0;
    min-height: auto;
}

.info-block {
    margin-bottom: 60px;
}

.info-title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 10px;
    background: linear-gradient(45deg, var(--gold), #fff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.info-subtitle {
    font-size: 1.1rem;
    color: var(--light-purple);
    text-align: center;
    margin-bottom: 40px;
}

/* Card Deck Info Grid */
.deck-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.deck-info-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(155, 89, 182, 0.3);
    border-radius: 20px;
    padding: 25px 20px;
    text-align: center;
    transition: var(--transition-smooth);
}

.deck-info-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 15px 35px rgba(244, 208, 63, 0.2);
}

.deck-info-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.deck-info-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.deck-info-tags {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-purple));
    color: #fff;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.deck-info-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Spread Info Grid */
.spread-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.spread-info-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(155, 89, 182, 0.3);
    border-radius: 20px;
    padding: 25px 20px;
    text-align: center;
    transition: var(--transition-smooth);
}

.spread-info-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 15px 35px rgba(244, 208, 63, 0.2);
}

.spread-info-badge {
    display: inline-block;
    background: var(--gold);
    color: #1A1A2E;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.spread-info-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.spread-info-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Info Section Responsive */
@media (max-width: 992px) {
    .deck-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .spread-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .info-section {
        padding: 60px 15px;
    }

    .info-title {
        font-size: 1.5rem;
    }

    .info-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .deck-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .deck-info-card {
        padding: 20px 15px;
    }

    .deck-info-icon {
        font-size: 2rem;
    }

    .deck-info-name {
        font-size: 1.1rem;
    }

    .spread-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .spread-info-card {
        padding: 20px 15px;
    }
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    .full-section {
        padding: 40px 15px 100px;
    }

    .form-wrapper {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 100px;
    }

    .tarot-cards {
        gap: 10px;
    }

    .tarot-card {
        width: 50px;
        height: 80px;
    }

    .scroll-indicator {
        bottom: 30px;
    }

    .tarot-preview {
        gap: 10px;
    }

    .preview-card {
        width: 80px;
        height: 140px;
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .full-section {
        padding: 30px 15px 120px;
    }

    .form-wrapper {
        padding: 25px 15px;
    }

    .hero-title {
        margin-bottom: 1rem;
    }

    .btn-submit {
        padding: 15px 30px;
        font-size: 1.1rem;
    }

    .features-grid {
        margin-bottom: 120px;
    }

    .scroll-indicator {
        bottom: 40px;
    }

    .sample-title {
        font-size: 1.8rem;
    }

    .pricing-card-single {
        padding: 30px 20px;
    }
}

/* ===========================
   Smooth Scrolling Enhancement
   =========================== */
html.smooth-scroll {
    scroll-behavior: smooth;
}

/* ===========================
   Loading State
   =========================== */
.btn-submit.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-submit.loading .btn-text::after {
    content: '...';
    animation: dots 1.5s infinite;
}

@keyframes dots {

    0%,
    20% {
        content: '.';
    }

    40% {
        content: '..';
    }

    60%,
    100% {
        content: '...';
    }
}

/* ===========================
   Footer Styles
   =========================== */
footer {
    background: linear-gradient(135deg, var(--dark-purple) 0%, var(--accent-purple) 100%);
    padding: 25px 20px 15px;
    color: #fff;
    font-size: 0.85rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 0.85rem;
}

.footer-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-info {
    text-align: center;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

.footer-info p {
    margin: 3px 0;
    font-size: 0.8rem;
}

.footer-company {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.footer-divider {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin: 12px 0;
}

.footer-copyright {
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
}

@media (max-width: 576px) {
    footer {
        padding: 20px 15px 12px;
    }

    .footer-links {
        gap: 10px;
    }

    .footer-info {
        font-size: 0.75rem;
    }

    .footer-info p {
        font-size: 0.75rem;
    }
}

/* ===========================
   KakaoTalk Floating Button
   =========================== */
.kakaoChat {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    z-index: 9999;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.kakaoChat:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.2));
}

/* ===========================
   Selection Section Styles (Deck & Spread)
   =========================== */
.selection-section {
    margin-bottom: 25px;
}

.selection-label {
    display: block;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.1rem;
}

/* Card Deck Options - 3x3 Grid */
.deck-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.deck-option {
    background: var(--ultra-light-purple);
    border: 2px solid var(--light-purple);
    border-radius: 12px;
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
}

.deck-option:hover {
    border-color: var(--primary-purple);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(155, 89, 182, 0.2);
}

.deck-option.selected {
    border-color: var(--primary-purple);
    background: linear-gradient(135deg, var(--light-purple) 0%, var(--ultra-light-purple) 100%);
    box-shadow: 0 6px 20px rgba(155, 89, 182, 0.3);
}

.deck-option.selected::after {
    content: '✓';
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--primary-purple);
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

.deck-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.deck-desc {
    font-size: 0.7rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Spread Options - 3x2 Grid */
.spread-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.spread-option {
    background: var(--ultra-light-purple);
    border: 2px solid var(--light-purple);
    border-radius: 12px;
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
}

.spread-option:hover {
    border-color: var(--primary-purple);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(155, 89, 182, 0.2);
}

.spread-option.selected {
    border-color: var(--primary-purple);
    background: linear-gradient(135deg, var(--light-purple) 0%, var(--ultra-light-purple) 100%);
    box-shadow: 0 6px 20px rgba(155, 89, 182, 0.3);
}

.spread-option.selected::after {
    content: '✓';
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--primary-purple);
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

.spread-badge {
    display: inline-block;
    background: var(--primary-purple);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.spread-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.spread-desc {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .deck-options {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .deck-option {
        padding: 10px 6px;
    }

    .deck-name {
        font-size: 0.75rem;
    }

    .deck-desc {
        font-size: 0.65rem;
    }

    .spread-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .deck-options {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .deck-option {
        padding: 8px 4px;
    }

    .deck-name {
        font-size: 0.7rem;
    }

    .deck-desc {
        font-size: 0.6rem;
    }

    .spread-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .spread-option {
        padding: 12px 8px;
    }

    .spread-badge {
        font-size: 0.65rem;
        padding: 2px 6px;
    }

    .spread-name {
        font-size: 0.8rem;
    }

    .spread-desc {
        font-size: 0.65rem;
    }
}

.fadeUp {
    animation: fadeUpAnimation 1s ease-out forwards;
}

@keyframes fadeUpAnimation {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@media (max-width: 768px) {
    .kakaoChat {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}

/* ===========================
   Family Sites Section
   =========================== */
.family-sites-section {
    background: linear-gradient(135deg, var(--dark-purple) 0%, var(--primary-purple) 100%);
    padding: 40px 20px;
}

.family-sites-title {
    text-align: center;
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.family-sites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.family-site-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: 1px solid rgba(244, 208, 63, 0.3);
}

.family-site-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(244, 208, 63, 0.3);
    border-color: var(--gold);
}

.family-site-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.family-site-name {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
}