* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold-primary: #e6b422;
    --gold-dark: #b8860b;
    --gold-light: #f5d742;
    --gold-glow: rgba(230, 180, 34, 0.6);
    --crimson-deep: #4a0e0e;
    --crimson-bright: #8b1a1a;
    --ink-black: #050302;
    --ink-dark: #0c0907;
    --ink-charcoal: #1a130c;
    --paper: #fef5e7;
    --text-gold: #e8c66a;
    --text-muted: #b8aa8a;
    --border-gold: rgba(230, 180, 34, 0.35);
    --shadow-gold: 0 0 30px rgba(230, 180, 34, 0.25);
    --shadow-strong: 0 0 60px rgba(230, 180, 34, 0.4);
}

body {
    background: var(--ink-black);
    min-height: 100vh;
    font-family: 'Noto Sans Myanmar', sans-serif;
    color: var(--paper);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(230, 180, 34, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(139, 26, 26, 0.06) 0%, transparent 50%),
        repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(230, 180, 34, 0.02) 40px, rgba(230, 180, 34, 0.02) 80px);
    pointer-events: none;
    z-index: 0;
}


.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: radial-gradient(circle, var(--gold-primary), transparent);
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle 8s ease-in-out infinite;
}

@keyframes floatParticle {
    0% {
        opacity: 0;
        transform: translateY(100vh) rotate(0deg);
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: translateY(-20vh) rotate(360deg);
    }
}


.ornament {
    position: fixed;
    pointer-events: none;
    opacity: 0.03;
    font-size: 20rem;
    line-height: 1;
    color: var(--gold-primary);
    z-index: 0;
}

.ornament-tl {
    top: -5rem;
    left: -8rem;
    transform: rotate(-20deg);
}

.ornament-br {
    bottom: -5rem;
    right: -8rem;
    transform: rotate(15deg);
}

.page-wrap {
    position: relative;
    z-index: 10;
    margin: 0 auto;
    padding: 30px 24px 80px;
}

.page-wrap:has(.hero) {
    max-width: 800px;
}


.prediction-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 10;
}

.oracle-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.oracle-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    background: linear-gradient(135deg, #f5d742 0%, #e6b422 50%, #b8860b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
}

.oracle-subtitle {
    color: #b8aa8a;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
}


@keyframes lineAppear {
    from { opacity: 0; transform: translateY(10px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.model-card {
    background: linear-gradient(135deg, rgba(12, 9, 7, 0.95) 0%, rgba(26, 19, 12, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(230, 180, 34, 0.25);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.model-card:hover {
    transform: translateY(-8px);
    border-color: rgba(230, 180, 34, 0.6);
    box-shadow: 0 0 40px rgba(230, 180, 34, 0.2);
}

.card-header {
    background: linear-gradient(135deg, rgba(230, 180, 34, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
    padding: 20px 24px;
    border-bottom: 1px solid rgba(230, 180, 34, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.model-name {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #e6b422;
}

.card-body {
    padding: 24px;
}

.prediction-tetragram-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    margin-bottom: 20px;
}

.prediction-line-vertical {
    font-size: 3rem;
    line-height: 0.75; 
    margin: 0;
    padding: 0;
    color: #e6b422;
    height: 10px; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.prediction-label {
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #f5d742;
    margin: 15px 0;
    letter-spacing: 0.05em;
}

/* Message Area & Buttons */
.message-area {
    background: rgba(0, 0, 0, 0.4);
    border-left: 3px solid #e6b422;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    min-height: 150px;
    position: relative;
}

.message-area::before { content: '"'; position: absolute; top: 10px; left: 15px; font-size: 2.5rem; color: #e6b422; opacity: 0.3; }
.message-area::after { content: '"'; position: absolute; bottom: 5px; right: 15px; font-size: 2.5rem; color: #e6b422; opacity: 0.3; }

.typing-text { font-size: 0.95rem; line-height: 1.8; color: #fef5e7; display: block; text-align: center; }

.vote-btn {
    width: 100%;
    background: linear-gradient(135deg, transparent, rgba(230, 180, 34, 0.1), transparent);
    border: 2px solid rgba(230, 180, 34, 0.3);
    color: #e6b422;
    font-weight: 700;
    padding: 12px;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.vote-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #b8860b, #e6b422);
    color: #050302;
}

.action-buttons { display: flex; justify-content: center; gap: 20px; margin-top: 40px; flex-wrap: wrap; }
.btn-action { display: inline-flex; align-items: center; gap: 10px; padding: 12px 32px; border-radius: 50px; text-decoration: none; transition: all 0.3s ease; }
.btn-new { border: 2px solid rgba(230, 180, 34, 0.4); color: #e6b422; }
.btn-home { background: linear-gradient(135deg, #b8860b, #e6b422); color: #050302; }
.hero { text-align: center; margin-bottom: 60px; }
.hero-symbol { font-size: 6rem; animation: mysticPulse 3s ease-in-out infinite; margin-bottom: 20px; cursor: pointer; }
.hero-title { font-family: 'Cinzel', serif; font-size: clamp(2.5rem, 8vw, 4.5rem); background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 50%, var(--gold-dark) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: 0.15em; }
.hero-tagline { font-size: 0.95rem; color: var(--text-muted); line-height: 2; background: rgba(0, 0, 0, 0.3); padding: 12px 24px; border-radius: 50px; border: 1px solid var(--border-gold); }

info-card { background: linear-gradient(135deg, rgba(12, 9, 7, 0.9) 0%, rgba(26, 19, 12, 0.9) 100%); border: 1px solid var(--border-gold); border-radius: 24px; padding: 32px; margin-bottom: 28px;}
.info-card-title { font-family: 'Cinzel', serif; color: var(--gold-light); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }

.step { display: flex; align-items: flex-start; gap: 18px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--border-gold); border-radius: 20px; padding: 20px; margin-bottom: 15px; }
.step-num { width: 40px; height: 40px; border: 2px solid var(--gold-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold-light); font-weight: 700; }

.btn-oracle { display: inline-flex; align-items: center; gap: 15px; background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary), var(--gold-light)); color: var(--ink-black); font-weight: 800; padding: 18px 56px; border-radius: 60px; text-decoration: none; transition: 0.4s; }
.btn-oracle:hover { transform: translateY(-5px); box-shadow: var(--shadow-strong); }

.share-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 40px 0; }
.share-pill { padding: 10px 20px; border-radius: 50px; border: 1px solid var(--border-gold); color: var(--text-muted); text-decoration: none; font-size: 0.8rem; }

@media (max-width: 768px) {
    .models-grid { grid-template-columns: 1fr; }
    .tetragram-line-vertical { font-size: 4rem; height: 15px; }
    .prediction-line-vertical { font-size: 2.5rem; height: 10px; }
}

.cta-wrap {
    text-align: center;
    margin-top: 50px;
    position: relative;
}