/* 
 * Style CSS - Estética Premium Stitch (Cosmic Dark Glassmorphism)
 * Para o App de Numerologia em Português
 */

:root {
    --bg-dark: #0a0a0a; /* Dark Velvet Charcoal */
    --bg-canvas: #0e0f0f;
    --primary: #8c2bee; /* Neon Violet */
    --primary-hover: #a155f3;
    --primary-rgb: 140, 43, 238;
    --secondary: #c9a961; /* Burnished Gold */
    --secondary-hover: #dec48b;
    --accent: #dab9ff; /* Soft Violet Glow */
    --text: #fcfcfc; /* Crisp White */
    --text-muted: #8e9192;
    --surface: rgba(20, 20, 20, 0.75);
    --surface-hover: rgba(30, 30, 30, 0.9);
    --border: rgba(201, 169, 97, 0.2); /* Burnished Gold border at 20% opacity */
    --border-hover: rgba(201, 169, 97, 0.4);
    --border-active: #8c2bee;
    --radius-sm: 4px; /* ROUND_FOUR - Stitch style */
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --font-main: 'Outfit', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --glow: 0 0 25px rgba(140, 43, 238, 0.4);
    --glow-gold: 0 0 25px rgba(201, 169, 97, 0.3);
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Starry space background rotating animation */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        radial-gradient(1px 1px at 40px 80px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 150px 300px, rgba(255,255,255,0.7), rgba(0,0,0,0)),
        radial-gradient(2px 2px at 300px 120px, rgba(255,255,255,0.9), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 450px 600px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 600px 220px, rgba(255,255,255,0.6), rgba(0,0,0,0)),
        radial-gradient(2.5px 2.5px at 750px 480px, rgba(255,183,3,0.5), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 900px 750px, #ffffff, rgba(0,0,0,0));
    background-size: 600px 600px;
    opacity: 0.18;
    z-index: -2;
    pointer-events: none;
    animation: celestial-rotation 180s linear infinite;
}

@keyframes celestial-rotation {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Cosmic Glowing Blobs (Stitch theme decoration) */
.cosmic-blob {
    position: absolute;
    border-radius: var(--radius-full);
    filter: blur(140px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.35;
}
.cosmic-blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary) 0%, rgba(140, 43, 238, 0) 70%);
    top: 5%;
    left: -10%;
    animation: float-blob-1 25s infinite ease-in-out alternate;
}
.cosmic-blob-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.18) 0%, rgba(201, 169, 97, 0) 70%);
    top: 35%;
    right: -15%;
    animation: float-blob-2 30s infinite ease-in-out alternate;
}
.cosmic-blob-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-hover) 0%, rgba(140, 43, 238, 0) 70%);
    bottom: 10%;
    left: 15%;
    animation: float-blob-3 20s infinite ease-in-out alternate;
}

@keyframes float-blob-1 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(100px, 50px) scale(1.15); }
    100% { transform: translate(-50px, 100px) scale(0.9); }
}
@keyframes float-blob-2 {
    0% { transform: translate(0, 0) scale(1.1); }
    50% { transform: translate(-110px, -70px) scale(0.85); }
    100% { transform: translate(60px, 90px) scale(1); }
}
@keyframes float-blob-3 {
    0% { transform: translate(0, 0) scale(0.9); }
    50% { transform: translate(80px, -50px) scale(1.2); }
    100% { transform: translate(-60px, 30px) scale(0.95); }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
}

a {
    color: var(--primary-hover);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(156, 66, 245, 0.5);
}

/* Page Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

header {
    background: rgba(10, 5, 22, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.03em;
}

.logo-icon {
    font-size: 32px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(140, 43, 238, 0.6));
}

.header-meta {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
}

.header-meta .material-symbols-outlined {
    color: var(--secondary);
    font-size: 18px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 70px 0 50px;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(140, 43, 238, 0.12);
    border: 1px solid rgba(140, 43, 238, 0.35);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 24px;
    box-shadow: inset 0 0 10px rgba(140, 43, 238, 0.1);
}

.hero h1 {
    font-size: 52px;
    line-height: 1.15;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 40%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h1 span {
    background: linear-gradient(135deg, #e5c9ff 0%, var(--primary) 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(140, 43, 238, 0.35));
}

.hero p {
    font-size: 19px;
    color: var(--text-muted);
    max-width: 740px;
    margin: 0 auto 32px;
    font-weight: 400;
    line-height: 1.7;
}

/* Tabs System */
.tabs-nav {
    display: flex;
    gap: 10px;
    background: rgba(15, 8, 28, 0.6);
    border: 1px solid var(--border);
    padding: 8px;
    border-radius: var(--radius-md);
    margin-bottom: 48px;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.tabs-nav::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
}

.tab-btn.active {
    color: #ffffff;
    background: var(--primary);
    box-shadow: 0 8px 24px rgba(140, 43, 238, 0.45);
    transform: translateY(-1px);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.tab-content.active {
    display: block;
}

/* Grid Layout for Tools */
.tool-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}

@media (min-width: 900px) {
    .tool-grid {
        grid-template-columns: 440px 1fr;
    }
}

/* Glass Card */
.glass-card {
    background: linear-gradient(135deg, rgba(22, 13, 38, 0.6) 0%, rgba(12, 7, 22, 0.8) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 36px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.glass-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 25px 60px rgba(140, 43, 238, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.glass-card-title {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 22px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.glass-card-title .material-symbols-outlined {
    color: var(--primary-hover);
    font-size: 32px;
    filter: drop-shadow(0 0 8px rgba(140, 43, 238, 0.5));
}

/* Forms and Inputs */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper .material-symbols-outlined {
    position: absolute;
    left: 18px;
    color: var(--text-muted);
    font-size: 22px;
    pointer-events: none;
    transition: var(--transition);
}

.form-control {
    width: 100%;
    background: #141414;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: #ffffff;
    font-family: var(--font-main);
    font-size: 16px;
    padding: 16px 18px 16px 52px;
    transition: var(--transition);
}

.form-control::placeholder {
    color: rgba(142, 145, 146, 0.5);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 25px rgba(140, 43, 238, 0.35), inset 0 1px 2px rgba(0, 0, 0, 0.4);
    background: #181818;
}

.form-control:focus + .material-symbols-outlined {
    color: var(--primary-hover);
    filter: drop-shadow(0 0 5px rgba(140, 43, 238, 0.5));
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%239f94b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 18px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px 30px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--secondary);
    color: #0a0a0a;
    box-shadow: var(--glow-gold);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background: var(--secondary-hover);
    color: #0a0a0a;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(201, 169, 97, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Clean divider inside forms */
hr {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
    margin: 28px 0;
}

/* Results Display Area */
.results-display {
    min-height: 520px;
    display: flex;
    flex-direction: column;
}

.results-container {
    min-height: 300px;
    animation: fadeIn 0.4s ease-out;
}

.results-placeholder {
    height: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-muted);
    padding: 60px 20px;
}

.results-placeholder .material-symbols-outlined {
    font-size: 72px;
    background: linear-gradient(135deg, var(--border-active) 0%, transparent 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    animation: pulse-slow 3s infinite;
}

.results-placeholder h4 {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 10px;
}

.results-placeholder p {
    max-width: 380px;
    font-size: 14px;
}

/* Results Output Styling */
.result-header {
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
}

.result-header h3 {
    font-size: 26px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ffffff 40%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.result-header p {
    color: var(--text-muted);
    font-size: 15px;
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 36px;
}

@media (min-width: 600px) {
    .results-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

.number-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 26px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 15px rgba(140, 43, 238, 0.05);
}

.number-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    opacity: 0.7;
}

.number-card:hover {
    background: rgba(140, 43, 238, 0.04);
    border-color: rgba(140, 43, 238, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(140, 43, 238, 0.2), inset 0 0 15px rgba(140, 43, 238, 0.1);
}

.number-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    font-weight: 700;
}

.number-val {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 12px;
    text-shadow: 0 0 20px rgba(255, 183, 3, 0.45);
}

.number-title {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

.number-detail {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
    background: rgba(255, 255, 255, 0.03);
    padding: 3px 8px;
    border-radius: var(--radius-full);
    display: inline-block;
}

/* Detailed Interpretations */
.interpretation-box {
    background: rgba(15, 8, 28, 0.4);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
}

.interpretation-box:hover {
    border-color: var(--border-hover);
}

.interpretation-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.interpretation-title .material-symbols-outlined {
    color: var(--secondary);
    filter: drop-shadow(0 0 5px rgba(255, 183, 3, 0.4));
}

.badge {
    background: rgba(140, 43, 238, 0.15);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    border: 1px solid rgba(140, 43, 238, 0.35);
    margin-left: auto;
    display: inline-flex;
    align-items: center;
}

.astral-summary .badge {
    margin-left: auto;
    margin-right: 28px;
}

.interpretation-text {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Specific Styles for Lucky Numbers & Match */
.lucky-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
    justify-content: center;
}

.lucky-circle {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffc300 0%, #ff9f00 70%, #d88000 100%);
    color: #080312;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(255, 183, 3, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
}

.lucky-circle:hover {
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 12px 30px rgba(255, 183, 3, 0.6);
}

.compatibility-score-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 36px;
}

.score-circle {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(140, 43, 238, 0.15) 0%, rgba(10, 5, 22, 0.8) 100%);
    border: 5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 800;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 18px;
    transition: var(--transition);
}

.score-circle::after {
    content: '%';
    font-size: 20px;
    margin-left: 2px;
    color: var(--text-muted);
}

.score-circle.high-match {
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: var(--glow), 0 10px 30px rgba(0, 0, 0, 0.3);
    background: radial-gradient(circle at 50% 50%, rgba(140, 43, 238, 0.3) 0%, rgba(12, 7, 24, 0.85) 100%);
}

.score-label {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
    text-shadow: 0 0 15px rgba(255, 183, 3, 0.4);
    letter-spacing: 0.02em;
}

/* Suitability chips */
.biz-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 8px;
}
.biz-badge.excelente {
    background: rgba(46, 213, 115, 0.15);
    color: #2ed573;
    border: 1px solid rgba(46, 213, 115, 0.3);
}
.biz-badge.alta {
    background: rgba(140, 43, 238, 0.15);
    color: var(--accent);
    border: 1px solid rgba(140, 43, 238, 0.3);
}
.biz-badge.moderada {
    background: rgba(255, 183, 3, 0.15);
    color: var(--secondary);
    border: 1px solid rgba(255, 183, 3, 0.3);
}

.niche-chip {
    display: inline-block;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    color: var(--text);
    margin: 4px;
    transition: var(--transition);
}
.niche-chip:hover {
    background: rgba(140, 43, 238, 0.15);
    border-color: var(--primary);
    transform: translateY(-1px);
}

/* Footer styling */
footer {
    background: rgba(6, 3, 13, 0.95);
    border-top: 1px solid var(--border);
    padding: 50px 0;
    margin-top: 100px;
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
}

footer p {
    margin-bottom: 16px;
}

footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-top: 10px;
}

footer a {
    color: var(--text-muted);
    font-weight: 500;
}

footer a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(156, 66, 245, 0.4);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(4deg); }
}

@keyframes pulse-slow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.95; transform: scale(1.04); }
}

/* Loading spinner */
.spinner {
    width: 56px;
    height: 56px;
    border: 4px solid rgba(140, 43, 238, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s cubic-bezier(0.55, 0.15, 0.45, 0.85) infinite;
    margin: 0 auto 24px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-container {
    text-align: center;
    padding: 80px 0;
    color: var(--text-muted);
}

/* SEO Info Section Styling */
.seo-section {
    margin-top: 60px !important;
}

.seo-section h2 {
    font-size: 32px;
    margin-bottom: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.seo-section h2 span {
    background: linear-gradient(135deg, #e5c9ff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.seo-section p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 28px;
}

.seo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    border-top: 1px solid var(--border);
    padding-top: 30px;
    margin-top: 30px;
}

@media (min-width: 768px) {
    .seo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.seo-col h3 {
    font-size: 18px;
    margin-bottom: 14px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.seo-col p {
    font-size: 14.5px;
    margin-bottom: 0;
    line-height: 1.7;
}

/* --- Added Custom Premium Styles --- */

/* Details/Accordion */
.astral-details {
    background: rgba(15, 8, 28, 0.4);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    overflow: hidden;
    transition: var(--transition);
}
.astral-details[open] {
    border-color: var(--border-hover);
    box-shadow: 0 10px 30px rgba(140, 43, 238, 0.15);
}
.astral-summary {
    padding: 20px 24px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
    position: relative;
    user-select: none;
}
.astral-summary::-webkit-details-marker {
    display: none;
}
.astral-summary::after {
    content: 'add';
    font-family: 'Material Symbols Outlined';
    font-size: 20px;
    color: var(--text-muted);
    position: absolute;
    right: 24px;
    transition: var(--transition);
}
.astral-details[open] .astral-summary::after {
    content: 'remove';
    color: var(--secondary);
    transform: rotate(180deg);
}
.astral-details-content {
    padding: 0 24px 24px;
    border-top: 1px solid rgba(140, 43, 238, 0.08);
    animation: slideDown 0.3s ease-out;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Timeline / Cycles */
.astral-timeline {
    position: relative;
    padding: 20px 0;
    margin-bottom: 30px;
}
.astral-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary) 0%, var(--secondary) 100%);
    opacity: 0.3;
}
.timeline-item {
    position: relative;
    padding-left: 70px;
    margin-bottom: 40px;
}
.timeline-item:last-child {
    margin-bottom: 0;
}
.timeline-marker {
    position: absolute;
    left: 16px;
    top: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 3px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(140, 43, 238, 0.4);
    z-index: 2;
    transition: var(--transition);
}
.timeline-item:nth-child(2) .timeline-marker {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(173, 146, 201, 0.4);
}
.timeline-item:nth-child(3) .timeline-marker {
    border-color: var(--secondary);
    box-shadow: 0 0 15px rgba(255, 183, 3, 0.4);
}
.timeline-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    position: relative;
    transition: var(--transition);
    box-shadow: inset 0 0 15px rgba(140, 43, 238, 0.05);
}
.timeline-card:hover {
    border-color: rgba(140, 43, 238, 0.4);
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(140, 43, 238, 0.15);
}
.timeline-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.timeline-card-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}
.timeline-card-value {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--secondary);
    text-shadow: 0 0 10px rgba(255, 183, 3, 0.4);
}

/* Synergy connector lines */
.synergy-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}
@media (min-width: 768px) {
    .synergy-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}
.synergy-partner {
    flex: 1;
    width: 100%;
}
.synergy-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 0 20px;
    min-width: 190px;
}
.synergy-line {
    position: absolute;
    top: 35%;
    left: -120px;
    right: -120px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--primary), var(--secondary), var(--primary), transparent);
    opacity: 0.35;
    z-index: 1;
    display: none;
}
@media (min-width: 768px) {
    .synergy-line {
        display: block;
    }
}
.score-circle-wrapper {
    position: relative;
    z-index: 2;
}

/* Floating animation for lucky circles */
.lucky-circle:nth-child(3n+1) {
    animation: float 4.5s ease-in-out infinite;
}
.lucky-circle:nth-child(3n+2) {
    animation: float 5.5s ease-in-out infinite 0.4s;
}
.lucky-circle:nth-child(3n+3) {
    animation: float 5s ease-in-out infinite 0.8s;
}

