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

body {
    font-family: 'Cinzel', 'Georgia', serif;
    background: linear-gradient(145deg, #0d0d1a 0%, #1a1a2e 30%, #16213e 70%, #0f1729 100%);
    min-height: 100vh;
    color: #fff;
    overflow-x: hidden;
    position: relative;
}

.mystical-symbols {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.mystical-symbols .symbol {
    position: absolute;
    font-size: 2rem;
    color: rgba(212, 175, 55, 0.08);
    animation: float 20s infinite ease-in-out;
}

.mystical-symbols .symbol:nth-child(1) { top: 10%; left: 5%; animation-delay: 0s; }
.mystical-symbols .symbol:nth-child(2) { top: 20%; right: 10%; animation-delay: -2s; }
.mystical-symbols .symbol:nth-child(3) { top: 40%; left: 15%; animation-delay: -4s; }
.mystical-symbols .symbol:nth-child(4) { top: 60%; right: 5%; animation-delay: -6s; }
.mystical-symbols .symbol:nth-child(5) { top: 80%; left: 10%; animation-delay: -8s; }
.mystical-symbols .symbol:nth-child(6) { top: 15%; left: 80%; animation-delay: -10s; }
.mystical-symbols .symbol:nth-child(7) { top: 50%; right: 20%; animation-delay: -12s; }
.mystical-symbols .symbol:nth-child(8) { top: 75%; left: 70%; animation-delay: -14s; }
.mystical-symbols .symbol:nth-child(9) { top: 30%; left: 40%; animation-delay: -16s; }
.mystical-symbols .symbol:nth-child(10) { top: 65%; left: 30%; animation-delay: -18s; }
.mystical-symbols .symbol:nth-child(11) { top: 85%; right: 35%; animation-delay: -1s; }
.mystical-symbols .symbol:nth-child(12) { top: 5%; left: 50%; animation-delay: -3s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(5deg); }
    50% { transform: translateY(0px) rotate(0deg); }
    75% { transform: translateY(20px) rotate(-5deg); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

header {
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-icon {
    font-size: 2.5rem;
    color: #d4af37;
    margin: 0.5rem 0;
}

header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #d4af37;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5),
                 0 0 40px rgba(212, 175, 55, 0.3),
                 2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.3em;
    margin-bottom: 0.5rem;
    font-family: 'Cinzel', serif;
}

.subtitle {
    color: #c9b07a;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    font-style: italic;
}

.intro-card {
    background: linear-gradient(145deg, rgba(26, 26, 46, 0.9), rgba(15, 23, 41, 0.95));
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6),
                inset 0 1px 0 rgba(212, 175, 55, 0.1);
}

.intro-card p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #e0d5b8;
    line-height: 1.8;
}

.spread-section {
    text-align: center;
}

.spread-section h2 {
    margin-bottom: 2.5rem;
    font-size: 2.2rem;
    color: #d4af37;
    font-weight: 600;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.spread-options {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

button {
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.start-btn,
.spread-btn,
.reveal-btn,
.restart-btn {
    padding: 1.2rem 3rem;
    font-size: 1.15rem;
    border-radius: 50px;
    background: linear-gradient(135deg, #d4af37, #f4d03f, #d4af37);
    color: #1a1a2e;
    font-weight: 700;
    letter-spacing: 0.05em;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4),
                0 0 20px rgba(212, 175, 55, 0.2);
    text-transform: uppercase;
}

.start-btn:hover,
.spread-btn:hover,
.reveal-btn:hover,
.restart-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6),
                0 0 30px rgba(212, 175, 55, 0.4);
}

.spread-btn {
    background: linear-gradient(135deg, #4a3f6b, #6b5b95, #4a3f6b);
    color: #f4d03f;
    box-shadow: 0 10px 30px rgba(107, 91, 149, 0.4),
                0 0 20px rgba(107, 91, 149, 0.2);
}

.spread-btn:hover {
    box-shadow: 0 15px 40px rgba(107, 91, 149, 0.6),
                0 0 30px rgba(107, 91, 149, 0.4);
}

.drawing-section {
    text-align: center;
}

.drawing-section h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #d4af37;
}

.deck-container {
    margin: 3rem 0;
}

.deck {
    position: relative;
    width: 170px;
    height: 260px;
    margin: 0 auto 1.5rem;
    cursor: pointer;
}

.deck-card {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e, #2d2d4a, #1a1a2e);
    border-radius: 15px;
    border: 3px solid #d4af37;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.7),
                inset 0 0 30px rgba(212, 175, 55, 0.1);
}

.deck-card:nth-child(1) { transform: translate(2px, 2px); z-index: 10; }
.deck-card:nth-child(2) { transform: translate(4px, 4px); z-index: 9; }
.deck-card:nth-child(3) { transform: translate(6px, 6px); z-index: 8; }
.deck-card:nth-child(4) { transform: translate(8px, 8px); z-index: 7; }
.deck-card:nth-child(5) { transform: translate(10px, 10px); z-index: 6; }
.deck-card:nth-child(6) { transform: translate(12px, 12px); z-index: 5; }
.deck-card:nth-child(7) { transform: translate(14px, 14px); z-index: 4; }
.deck-card:nth-child(8) { transform: translate(16px, 16px); z-index: 3; }
.deck-card:nth-child(9) { transform: translate(18px, 18px); z-index: 2; }
.deck-card:nth-child(10) { transform: translate(20px, 20px); z-index: 1; }

.deck::before {
    content: '☿';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: #d4af37;
    z-index: 11;
    pointer-events: none;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
}

.instruction {
    color: #c9b07a;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
}

.selected-cards {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.tarot-card {
    width: 150px;
    height: 230px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7),
                0 0 15px rgba(212, 175, 55, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 2px solid rgba(212, 175, 55, 0.5);
}

.tarot-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8),
                0 0 25px rgba(212, 175, 55, 0.4);
}

.tarot-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tarot-card.flipped {
    background: linear-gradient(135deg, #1a1a2e, #2d2d4a);
}

.reveal-btn {
    margin-top: 1rem;
}

.reading-section {
    text-align: center;
}

.reading-section h2 {
    margin-bottom: 2.5rem;
    font-size: 2.2rem;
    color: #d4af37;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.cards-result {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.card-result {
    text-align: center;
}

.card-result .card-label {
    margin-top: 1rem;
    font-weight: 700;
    color: #d4af37;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
}

.card-result .card-name {
    margin-top: 0.5rem;
    font-size: 1.2rem;
    color: #e0d5b8;
}

.card-result .card-position {
    margin-top: 0.3rem;
    font-size: 1rem;
    color: #c9b07a;
}

.cards-result .tarot-card {
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4),
                0 0 60px rgba(212, 175, 55, 0.15);
}

.cards-result .tarot-card.reversed {
    box-shadow: 0 0 30px rgba(180, 50, 50, 0.5),
                0 0 60px rgba(180, 50, 50, 0.2);
}

.cards-result .tarot-card:hover {
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.6),
                0 0 100px rgba(212, 175, 55, 0.25);
}

.cards-result .tarot-card.reversed:hover {
    box-shadow: 0 0 50px rgba(180, 50, 50, 0.7),
                0 0 100px rgba(180, 50, 50, 0.35);
}

.interpretation {
    background: linear-gradient(145deg, #0d0b1a, #1a1030, #0d0b1a);
    border-left: 3px solid #d4af37;
    border-radius: 20px;
    padding: 2.5rem;
    padding-left: 3rem;
    text-align: left;
    margin-bottom: 2rem;
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6),
                inset 0 1px 0 rgba(212, 175, 55, 0.1);
}

.interpretation h3 {
    color: #d4af37;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.interpretation .card-reading-block {
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.interpretation .card-reading-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.interpretation h4 {
    color: #d4af37;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.interpretation .keyword-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.interpretation .keyword-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(212, 175, 55, 0.15);
    color: #d4af37;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.interpretation p {
    line-height: 2;
    color: #e0d5b8;
    font-size: 1.05rem;
}

.interpretation .card-meta {
    margin-top: 1rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    font-size: 0.9rem;
    color: #c9b07a;
}

.divider-separator {
    text-align: center;
    color: #d4af37;
    font-size: 1.2rem;
    margin: 2rem 0;
    opacity: 0.8;
    letter-spacing: 0.5em;
}

.overall-advice {
    background: rgba(212, 175, 55, 0.05);
    border-radius: 15px;
    padding: 2rem;
    text-align: left;
    margin-bottom: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.overall-advice h3 {
    color: #d4af37;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.overall-advice h3::before {
    content: "☽ ";
}

.restart-btn {
    background: linear-gradient(135deg, #4a3f6b, #6b5b95, #4a3f6b);
    color: #f4d03f;
    box-shadow: 0 10px 30px rgba(107, 91, 149, 0.4),
                0 0 20px rgba(107, 91, 149, 0.2);
}

.restart-btn:hover {
    box-shadow: 0 15px 40px rgba(107, 91, 149, 0.6),
                0 0 30px rgba(107, 91, 149, 0.4);
}

@keyframes cardDraw {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-120px) rotate(8deg);
        opacity: 0.9;
    }
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
}

.card-draw-animation {
    animation: cardDraw 0.7s ease-out;
}

.question-input-wrapper {
    margin: 1.5rem 0;
    position: relative;
}

#userQuestion {
    width: 100%;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    color: #e0d5b8;
    font-family: 'Cinzel', 'Georgia', serif;
    font-size: 1rem;
    line-height: 1.8;
    resize: none;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#userQuestion:focus {
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
}

#userQuestion::placeholder {
    color: rgba(201, 176, 122, 0.4);
    font-style: italic;
}

.char-count {
    text-align: right;
    font-size: 0.8rem;
    color: rgba(201, 176, 122, 0.5);
    margin-top: 0.3rem;
}

.question-display {
    background: rgba(212, 175, 55, 0.08);
    border-left: 2px solid rgba(212, 175, 55, 0.5);
    border-radius: 0 8px 8px 0;
    padding: 0.8rem 1.2rem;
    margin-bottom: 1.5rem;
    color: #c9b07a;
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.6;
}

.intro-desc {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #e0d5b8;
    line-height: 1.8;
}

.cta-wrapper {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cta-block {
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.cta-block-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.cta-icon {
    color: #d4af37;
    font-size: 1.2rem;
}

.cta-block-header h3 {
    color: #d4af37;
    font-size: 1.3rem;
    text-shadow: 0 0 10px rgba(212,175,55,0.3);
}

.cta-aroma {
    background: linear-gradient(145deg, rgba(13,11,26,0.9), rgba(26,16,48,0.95));
}

.aroma-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.aroma-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #e0d5b8;
    margin-bottom: 0.4rem;
}

.aroma-reason {
    font-size: 0.95rem;
    color: #c9b07a;
    line-height: 1.6;
    margin-bottom: 0.6rem;
    font-style: italic;
}

.aroma-price {
    font-size: 1.2rem;
    color: #d4af37;
    font-weight: 700;
}

.btn-buy {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, #d4af37, #f4d03f, #d4af37);
    color: #1a1a2e;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(212,175,55,0.4);
}

.btn-buy:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212,175,55,0.6);
}

.cta-bundle {
    background: linear-gradient(145deg, rgba(13,11,26,0.85), rgba(20,15,40,0.9));
}

.bundle-options {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.bundle-item {
    flex: 1;
    min-width: 200px;
    background: rgba(212,175,55,0.06);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 12px;
    padding: 1.2rem;
    text-align: center;
}

.bundle-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #e0d5b8;
    margin-bottom: 0.4rem;
}

.bundle-desc {
    font-size: 0.88rem;
    color: #c9b07a;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.bundle-price {
    font-size: 1.3rem;
    color: #d4af37;
    font-weight: 700;
    margin-bottom: 1rem;
}

.btn-bundle {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: transparent;
    border: 1px solid rgba(212,175,55,0.5);
    color: #d4af37;
    border-radius: 50px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-bundle:hover {
    background: rgba(212,175,55,0.15);
    border-color: #d4af37;
}

.cta-line {
    background: linear-gradient(135deg, rgba(0,185,0,0.08), rgba(0,150,0,0.05));
    border-color: rgba(0,200,0,0.25);
}

.cta-line-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-line-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #e0d5b8;
    margin-bottom: 0.5rem;
}

.cta-line-sub {
    font-size: 0.95rem;
    color: #c9b07a;
    line-height: 1.7;
}

.btn-line {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    background: #06C755;
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(6,199,85,0.35);
}

.btn-line:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(6,199,85,0.55);
}

.line-icon {
    font-weight: 900;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2.2rem;
        letter-spacing: 0.2em;
    }
    
    .spread-options {
        flex-direction: column;
        align-items: center;
    }
    
    .tarot-card {
        width: 110px;
        height: 165px;
    }
    
    .deck {
        width: 140px;
        height: 210px;
    }
    
    .aroma-card { flex-direction: column; align-items: flex-start; }
    .cta-line-content { flex-direction: column; align-items: flex-start; }
    .bundle-options { flex-direction: column; }
}
