/* THE AWAKENING PORTAL - Enhanced Spiritual Theme */
:root {
    --cosmic-deep: #0a0a14;
    --cosmic-blue: #0f1b2d;
    --neural-cyan: #00e5ff;
    --quantum-purple: #8a2be2;
    --conscious-gold: #ffd700;
    --event-horizon: #00e5ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Satoshi', -apple-system, sans-serif;
    background: var(--cosmic-deep);
    color: rgba(255, 255, 255, 0.95);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Wormhole Background */
.wormhole-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#wormhole-canvas {
    width: 100%;
    height: 100%;
}

/* Main Portal */
.portal-main {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Header */
.portal-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 1s ease-out;
}

.header-glyph {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.7;
    animation: glyphSpin 20s linear infinite;
}

.awakening-title {
    font-family: 'Outfit', sans-serif;
    margin-bottom: 24px;
}

.title-prefix {
    display: block;
    font-size: 1.2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.title-main {
    display: block;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 300;
    letter-spacing: 12px;
    text-transform: uppercase;
    background: linear-gradient(135deg,
            var(--neural-cyan) 0%,
            var(--conscious-gold) 50%,
            var(--neural-cyan) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleShimmer 4s ease-in-out infinite;
}

.awakening-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    letter-spacing: 1px;
}

/* Singularity Section */
.singularity-section {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeIn 1.5s ease-out 0.5s both;
}

.singularity-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto 40px;
}

.event-horizon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 229, 255, 0.2) 50%,
            transparent 100%);
    box-shadow:
        0 0 60px rgba(0, 229, 255, 0.4),
        inset 0 0 60px rgba(0, 229, 255, 0.2);
    animation: horizonPulse 3s ease-in-out infinite;
}

.accretion-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(0, 229, 255, 0.3);
}

.ring-1 {
    width: 220px;
    height: 220px;
    animation: ringRotate 40s linear infinite;
}

.ring-2 {
    width: 260px;
    height: 260px;
    animation: ringRotate 60s linear infinite reverse;
}

.ring-3 {
    width: 300px;
    height: 300px;
    animation: ringRotate 80s linear infinite;
}

.singularity-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100%;
    max-width: 280px;
}

.core-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(0, 229, 255, 0.4) 0%,
            rgba(0, 229, 255, 0.1) 50%,
            transparent 100%);
    animation: corePulse 4s ease-in-out infinite;
    pointer-events: none;
}

.core-cta {
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px;
}

.core-cta .portal-enter-btn {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.core-register-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
}

.core-register-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--neural-cyan);
    transition: width 0.3s ease;
}

.core-register-link:hover {
    color: var(--neural-cyan);
}

.core-register-link:hover::after {
    width: 100%;
}

.quantum-tagline {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
    margin: 0 auto;
    font-weight: 300;
}

/* Principles Section */
.principles-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1000px;
    margin-bottom: 80px;
    animation: fadeIn 2s ease-out 1s both;
}

.principle-card {
    background: rgba(10, 25, 45, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease;
}

.principle-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 20px 60px rgba(0, 229, 255, 0.15);
}

.principle-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    position: relative;
}

/* Observer Icon */
.icon-observer {
    position: relative;
    width: 100%;
    height: 100%;
}

.observer-eye {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--neural-cyan);
    background: radial-gradient(circle, var(--neural-cyan) 30%, transparent 30%);
}

.observer-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(0, 229, 255, 0.3);
    animation: waveExpand 2s ease-out infinite;
}

/* Entanglement Icon */
.icon-entanglement {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.entangle-dot {
    width: 16px;
    height: 16px;
    background: var(--quantum-purple);
    border-radius: 50%;
    position: absolute;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.6);
}

.entangle-dot:first-child {
    left: 10px;
    animation: dotPulse 2s ease-in-out infinite;
}

.entangle-dot:last-child {
    right: 10px;
    animation: dotPulse 2s ease-in-out infinite 1s;
}

.entangle-line {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg,
            var(--quantum-purple),
            transparent 50%,
            var(--quantum-purple));
    position: relative;
}

.entangle-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(138, 43, 226, 0.8), transparent);
    animation: lineFlow 3s linear infinite;
}

/* Superposition Icon */
.icon-superposition {
    position: relative;
    width: 100%;
    height: 100%;
}

.super-layer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 30px;
    border: 1px solid rgba(0, 229, 255, 0.4);
    border-radius: 6px;
}

.super-layer:nth-child(1) {
    animation: layerFloat 3s ease-in-out infinite;
}

.super-layer:nth-child(2) {
    animation: layerFloat 3s ease-in-out infinite 1s;
}

.super-layer:nth-child(3) {
    animation: layerFloat 3s ease-in-out infinite 2s;
}

.principle-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.95);
}

.principle-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
}

/* Info Section */
.info-section {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeIn 2.5s ease-out 1.5s both;
}

.info-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.info-link:hover {
    color: var(--neural-cyan);
}

/* Portal Enter Button (in singularity) */
.portal-enter-btn {
    position: relative;
    padding: 20px 50px;
    background: linear-gradient(135deg, var(--neural-cyan), var(--quantum-purple));
    border: none;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: black;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.6s;
}

.portal-enter-btn:hover .btn-glow {
    left: 100%;
}

.portal-enter-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 60px rgba(0, 229, 255, 0.4);
}

.btn-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-icon {
    font-size: 1rem;
}

/* About Section */
.about-section {
    width: 100%;
    max-width: 800px;
    margin-bottom: 60px;
    animation: fadeIn 3s ease-out 2s both;
}

.about-container {
    background: rgba(10, 25, 45, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 229, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
}

.about-container h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 300;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--neural-cyan), var(--quantum-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-item {
    padding: 20px;
    background: rgba(0, 229, 255, 0.05);
    border: 1px solid rgba(0, 229, 255, 0.1);
    border-radius: 16px;
}

.stat-value {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--neural-cyan);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Footer */
.portal-footer {
    width: 100%;
    text-align: center;
    margin-top: auto;
    padding-top: 40px;
}

.footer-divider {
    width: 100px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 auto 20px;
}

.footer-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glyphSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes titleShimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes horizonPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 1;
    }
}

@keyframes ringRotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes corePulse {

    0%,
    100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.15);
    }
}

@keyframes waveExpand {
    0% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.5);
    }
}

@keyframes dotPulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

@keyframes lineFlow {
    to {
        left: 100%;
    }
}

@keyframes layerFloat {

    0%,
    100% {
        transform: translate(-50%, -50%) translateY(0);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) translateY(-8px);
        opacity: 0.8;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .portal-main {
        padding: 30px 16px;
        justify-content: center;
    }

    .portal-header {
        margin-bottom: 20px;
    }

    .singularity-section {
        margin-bottom: 60px;
    }

    .singularity-container {
        width: 280px;
        height: 280px;
    }

    .event-horizon {
        width: 180px;
        height: 180px;
    }

    .ring-1 {
        width: 200px;
        height: 200px;
    }

    .ring-2 {
        width: 240px;
        height: 240px;
    }

    .ring-3 {
        width: 280px;
        height: 280px;
    }

    .singularity-core {
        max-width: 240px;
    }

    .core-cta .portal-enter-btn {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .principles-section {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .portal-header {
        margin-bottom: 10px;
    }

    .title-main {
        font-size: 2.5rem;
    }

    .singularity-section {
        margin-bottom: 50px;
    }

    .singularity-container {
        width: 240px;
        height: 240px;
    }

    .event-horizon {
        width: 150px;
        height: 150px;
    }

    .ring-1 {
        width: 170px;
        height: 170px;
    }

    .ring-2 {
        width: 200px;
        height: 200px;
    }

    .ring-3 {
        width: 240px;
        height: 240px;
    }

    .core-cta .portal-enter-btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .quantum-tagline {
        font-size: 1rem;
    }

    .about-container {
        padding: 30px 20px;
    }
}