/* rational.quest - Isometric Puzzle World */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --void-space: #2A2A30;
    --warm-bg: #F0EDE8;
    --peach: #FFD3B6;
    --sky-blue: #8ECAE6;
    --mint: #A8E6CF;
    --lavender: #C8B6FF;
    --text-dark: #2A2A30;
    --text-muted: #6A6A78;
}

body {
    background-color: var(--void-space);
    color: var(--text-dark);
    font-family: 'Rubik', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    overflow-x: hidden;
    padding: 4rem 2rem;
}

.iso-platform {
    max-width: 900px;
    margin: 0 auto 0;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.iso-platform.visible {
    opacity: 1;
    transform: translateY(0);
}

.platform-top {
    position: relative;
    z-index: 2;
    padding: 3rem;
    border-radius: 8px;
}

.platform-side {
    position: absolute;
    bottom: -20px;
    left: 10px;
    right: -10px;
    height: 20px;
    transform: skewX(-30deg);
    border-radius: 0 0 4px 4px;
    z-index: 1;
}

.platform-bottom {
    position: absolute;
    bottom: -20px;
    right: -10px;
    width: 10px;
    height: calc(100% + 20px);
    transform: skewY(-30deg);
    transform-origin: bottom right;
    z-index: 1;
}

/* Platform Colors */
.platform-peach .platform-top { background: var(--peach); }
.platform-peach .platform-side { background: #E6BCA0; }
.platform-peach .platform-bottom { background: #D9AD94; }

.platform-blue .platform-top { background: var(--sky-blue); }
.platform-blue .platform-side { background: #7AB5CC; }
.platform-blue .platform-bottom { background: #6DA8BF; }

.platform-mint .platform-top { background: var(--mint); }
.platform-mint .platform-side { background: #92CCB3; }
.platform-mint .platform-bottom { background: #85BFA6; }

.platform-lavender .platform-top { background: var(--lavender); }
.platform-lavender .platform-side { background: #B4A0E6; }
.platform-lavender .platform-bottom { background: #A793D9; }

.platform-content {
    max-width: 600px;
}

.level-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.75rem;
}

.platform-heading {
    font-family: 'Rubik', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.platform-text {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-muted);
}

/* Pathway Lines */
.pathway-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
    margin: 0 auto;
    transform: skewX(-30deg);
}

/* Minimap */
#minimap {
    position: fixed;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    z-index: 10;
}

.mini-block {
    width: 14px;
    height: 14px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 2px;
    transform: rotate(45deg);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.mini-block.mini-active {
    background: var(--peach);
    border-color: var(--peach);
}

.mini-connector {
    width: 1px;
    height: 12px;
    background: rgba(255,255,255,0.2);
}

/* Footer */
#site-footer {
    text-align: center;
    padding: 4rem 2rem;
}

.footer-text {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    #minimap { display: none; }
    .platform-side, .platform-bottom { display: none; }
    body { padding: 2rem 1rem; }
}
