 .app-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
 .portal-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    max-width: 700px;
    width: 100%;
    max-height: 100vh;
    overflow-y: auto;
}
.status-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.9;
}
/* Avatar & Mystic Rings */
.mystic-ring {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 2px solid rgba(0, 229, 255, 0.2);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    box-shadow: 0 0 var(--glow-spread) rgba(0, 229, 255, 0.1);
    animation: rotate-ring 25s linear infinite;
}
.mystic-ring::before, .mystic-ring::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--accent-gold);
    opacity: 0.5;
}
.mystic-ring::before {
    width: 150px;
    height: 150px;
    animation: rotate-ring 20s linear infinite reverse;
}
.mystic-ring::after {
    width: 120px;
    height: 120px;
    border-color: var(--accent-purple);
    animation: rotate-ring 15s linear infinite;
}
/* The Avatar inside the ring */
.hafez-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
    z-index: 5;
    filter: grayscale(80%) sepia(20%) hue-rotate(200deg) brightness(0.8) contrast(1.2);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
    animation: rotate-ring 25s linear infinite reverse; 
}
@keyframes rotate-ring {
    100% { transform: rotate(360deg); }
}

.title {
    font-size: 2.8rem;
    font-weight: 600;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    color: var(--accent-gold);
    text-shadow: 0 0 10px rgba(255, 170, 0, 0.5);
}
.subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.8;
    max-width: 85%;
}

.btn-oracle {
    position: relative;
    padding: 1.2rem 3.5rem;
    font-size: 1.2rem;
    font-family: inherit;
    font-weight: bold;
    letter-spacing: 2px;
    color: var(--bg-base);
    background: linear-gradient(45deg, var(--accent-cyan), var(--accent-purple));
    border: none;
    border-radius: 50px;
    cursor: pointer;
    outline: none;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4), 0 0 30px rgba(157, 78, 221, 0.3);
}
.btn-oracle::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.8), transparent);
    transform: skewX(-20deg);
    animation: btn-shine 4s infinite;
}
@keyframes btn-shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}
.btn-oracle:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.6), 0 0 45px rgba(157, 78, 221, 0.5);
}
.btn-oracle:active {
    transform: scale(0.95);
}
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-cyan);
    box-shadow: 0 0 8px var(--accent-cyan);
    animation: blink 1.5s infinite alternate;
}
@keyframes blink {
    0% { opacity: 0.4; }
    100% { opacity: 1; }
}

.loading-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(5, 5, 8, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}
.loading-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.loading-text {
    margin-top: 2rem;
    color: var(--accent-gold);
    letter-spacing: 3px;
    font-size: 1.2rem;
    font-weight: 300;
    animation: pulse-text 1.5s infinite alternate;
}
@keyframes pulse-text {
    0% { opacity: 0.6; text-shadow: 0 0 5px var(--accent-gold); }
    100% { opacity: 1; text-shadow: 0 0 20px var(--accent-gold); }
}

.breadcrumb {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.breadcrumb span {
    color: var(--accent-cyan);
}
.action-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: inherit;
}
.action-btn:hover {
    background: rgba(0, 229, 255, 0.1);
    border-color: var(--accent-cyan);
}