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

:root {
    --bg-dark: #060608;
    --bg-panel: #0c0c0e;
    --text-primary: #ffffff;
    --text-secondary: #98989f;
    --text-muted: #5e5e64;
    --border-color: rgba(255, 255, 255, 0.08);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: 'Outfit', var(--font-sans);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-sans);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    display: flex;
    min-height: 100vh;
    width: 100%;
    position: relative;
}

/* Left Column - Content (with Scrollbar) */
.content-section {
    width: 48%;
    min-width: 540px;
    background-color: var(--bg-panel);
    border-right: 1px solid var(--border-color);
    padding: 4.5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
    position: relative;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    max-height: 100vh;
}

/* Custom Scrollbar for Panel */
.content-section::-webkit-scrollbar {
    width: 6px;
}

.content-section::-webkit-scrollbar-track {
    background: transparent;
}

.content-section::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
}

.content-section::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.18);
}

/* Header & Logo */
.brand-header {
    margin-bottom: 2.5rem;
    flex-shrink: 0;
}

.logo {
    height: 32px;
    width: auto;
    display: block;
    cursor: pointer;
}

/* Animated logo shield micro-interaction */
.animated-shield {
    transition: filter 0.3s ease;
}

.logo:hover .animated-shield {
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.4));
}

/* Notice Content */
.notice-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    max-width: 620px;
    margin: 1.5rem 0;
}

.notice-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-primary);
    margin-bottom: 1.8rem;
    letter-spacing: -0.02em;
}

.notice-text {
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
}

.divider {
    border: 0;
    height: 1px;
    background: var(--border-color);
    margin: 2.5rem 0;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

/* Roadmap Timeline */
.roadmap {
    margin: 1.5rem 0;
    position: relative;
    border-left: 1px solid var(--border-color);
    padding-left: 1.8rem;
}

.roadmap-step {
    position: relative;
    margin-bottom: 2.5rem;
}

.roadmap-step:last-child {
    margin-bottom: 0;
}

/* Timeline Dots */
.roadmap-step::before {
    content: '';
    position: absolute;
    left: calc(-1.8rem - 4.5px);
    top: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--text-muted);
    border: 2px solid var(--bg-panel);
    transition: all 0.3s ease;
    box-sizing: content-box;
}

.roadmap-step.completed::before {
    background-color: #27c93f;
    box-shadow: 0 0 8px rgba(39, 201, 63, 0.4);
}

.roadmap-step.active::before {
    background-color: #ffbd2e;
    box-shadow: 0 0 12px rgba(255, 189, 46, 0.8);
    width: 10px;
    height: 10px;
    left: calc(-1.8rem - 6.5px);
    top: 5px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 189, 46, 0.7);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(255, 189, 46, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 189, 46, 0);
    }
}

/* Roadmap Badges */
.roadmap-status {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.15rem 0.45rem;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.roadmap-status.completed {
    background-color: rgba(39, 201, 63, 0.08);
    color: #27c93f;
    border: 1px solid rgba(39, 201, 63, 0.15);
}

.roadmap-status.active {
    background-color: rgba(255, 189, 46, 0.08);
    color: #ffbd2e;
    border: 1px solid rgba(255, 189, 46, 0.15);
}

.roadmap-status.pending {
    background-color: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.roadmap-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.roadmap-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.roadmap-desc ul {
    margin-left: 1.1rem;
    margin-top: 0.4rem;
    list-style-type: square;
}

.roadmap-desc li {
    margin-bottom: 0.4rem;
}

.roadmap-desc li:last-child {
    margin-bottom: 0;
}

/* Inline Code Blocks */
.code-inline {
    font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
    background-color: rgba(255, 255, 255, 0.06);
    padding: 0.12rem 0.35rem;
    border-radius: 3px;
    color: #e6edf3;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.code-block-inline {
    font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    color: #c9d1d9;
    font-size: 0.8rem;
    border: 1px solid var(--border-color);
    display: inline-block;
    margin-top: 0.3rem;
    word-break: break-all;
    max-width: 100%;
}

.signature {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-primary);
    border-left: 2px solid var(--border-color);
    padding-left: 1rem;
    margin-top: 2rem;
}

.signature strong {
    font-weight: 600;
}

/* Footer & Button */
.brand-footer {
    margin-top: 3.5rem;
    flex-shrink: 0;
}

.footer-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background-color: transparent;
    padding: 0.65rem 1.25rem;
    border-radius: 4px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.footer-btn:hover {
    border-color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
}

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

.external-icon {
    width: 12px;
    height: 12px;
    color: var(--text-secondary);
    transition: transform 0.2s ease, color 0.2s ease;
}

.footer-btn:hover .external-icon {
    color: var(--text-primary);
    transform: translate(1px, -1px);
}

/* Right Column - Topographic Map Visual */
.visual-section {
    flex: 1;
    background-color: var(--bg-dark);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.topography-map {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    filter: invert(1) grayscale(1) opacity(0.08) contrast(1.15);
    pointer-events: none;
}

.visual-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 65% 50%, transparent 20%, rgba(6, 6, 8, 0.9) 100%);
    pointer-events: none;
}

/* Responsive Styling */
@media (max-width: 1100px) {
    .content-section {
        padding: 4rem 3rem;
        min-width: 480px;
        width: 50%;
    }
    
    .notice-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 860px) {
    main {
        display: block;
        min-height: 100vh;
    }

    .visual-section {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    .topography-map {
        filter: invert(1) grayscale(1) opacity(0.05) contrast(1.1);
    }

    .visual-overlay {
        background: radial-gradient(circle at center, transparent 10%, rgba(12, 12, 14, 0.95) 90%);
    }

    .content-section {
        width: 100%;
        min-width: 100%;
        min-height: 100vh;
        max-height: none;
        background-color: rgba(12, 12, 14, 0.88);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 4rem 2rem;
        box-shadow: none;
        overflow-y: visible;
    }

    .notice-container {
        margin: 2.5rem 0;
    }

    .notice-title {
        font-size: 1.5rem;
    }
}
