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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    background-color: #08080F;
    color: #C8D4E0;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Particle Canvas */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.oracle-ring {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.oracle-ring.visible {
    opacity: 1;
}

.oracle-ring.minimized {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    z-index: 100;
    transition: all 0.8s ease;
}

.ring-svg {
    position: absolute;
    width: 100%;
    height: 100%;
}

.inner-ring {
    transform-origin: 150px 150px;
    animation: ringRotate 30s linear infinite;
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.oracle-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 300;
    font-size: 22px;
    letter-spacing: 0.06em;
    color: #FFFFFF;
    text-align: center;
    z-index: 1;
    white-space: nowrap;
}

.oracle-title .char {
    display: inline-block;
    opacity: 0;
    font-weight: 100;
    transition: opacity 0.15s ease, font-weight 0.3s ease;
}

.oracle-title .char.visible {
    opacity: 1;
}

.oracle-title .char.solid {
    font-weight: 300;
}

/* Holographic Panels Grid */
.panels-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 24px 120px;
}

.holo-panel {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.08) 100%);
    border: 1px solid transparent;
    border-image: linear-gradient(135deg, #FF6BFF, #6BFFD4, #6BB8FF, #FFD46B) 1;
    padding: 32px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.holo-panel[data-direction="left"] {
    transform: translateX(-30px);
}

.holo-panel[data-direction="right"] {
    transform: translateX(30px);
}

.holo-panel[data-direction="scale"] {
    transform: scale(0.9);
}

.holo-panel.revealed {
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* Holographic shimmer overlay */
.holo-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.holo-panel:hover::before {
    left: 100%;
}

/* Panel color accents on hover */
.holo-panel:hover {
    box-shadow: 0 0 20px rgba(107, 184, 255, 0.08);
}

/* Panel layout */
.panel-3 {
    grid-column: 1 / -1;
}

.panel-6 {
    grid-column: 1 / -1;
    text-align: center;
}

.panel-label {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 300;
    font-size: 18px;
    color: #D4BCFF;
    display: block;
    margin-bottom: 12px;
}

.panel-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 300;
    font-size: 28px;
    letter-spacing: 0.06em;
    color: #FFFFFF;
    margin-bottom: 16px;
    line-height: 1.3;
}

.panel-body {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 15px;
    line-height: 1.7;
    color: #C8D4E0;
    opacity: 0.75;
}

.panel-prophecy {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 300;
    font-size: 24px;
    color: #6BFFD4;
    line-height: 1.6;
    padding: 20px 0;
}

/* Scanline effect */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.005) 2px,
        rgba(255, 255, 255, 0.005) 4px
    );
    pointer-events: none;
    z-index: 99;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 3px;
}

::-webkit-scrollbar-track {
    background: #08080F;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #FF6BFF, #6BB8FF);
    border-radius: 2px;
}

/* Selection */
::selection {
    background: rgba(107, 255, 212, 0.15);
    color: #FFFFFF;
}

/* FFD46B accent on active panel labels */
.panel-6 .panel-label {
    color: #FFD46B;
}
