:root {
    --bg-dark: #0a0a0c;
    --text-light: #f3f4f6;
    --text-muted: #9ca3af;
    --tech-glow: #00ffcc;
    --craft-glow: #ffaa44;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Header Hook */
.main-hook {
    text-align: center;
    padding: 3rem 1rem 1.5rem;
    z-index: 10;
    background: linear-gradient(to bottom, var(--bg-dark) 80%, transparent);
}

.main-hook h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    margin-bottom: 0.5rem;
    animation: fadeInDown 0.8s ease-out;
}

.main-hook p {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 300;
}

/* Split Layout */
.split-container {
    display: flex;
    flex: 1;
    width: 100%;
    position: relative;
}

.pane {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    padding: 4rem 2rem;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
}

.pane-content {
    max-width: 420px;
    text-align: center;
    z-index: 5;
    transition: transform 0.5s ease;
}

.pane h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.cta-link {
    display: inline-block;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Base Overlays */
.pane-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 1;
}

/* --- Tech Pane Specifics --- */
.tech-pane {
    background: linear-gradient(135deg, #0d1117 0%, #07090e 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.glitch-icon {
    font-family: monospace;
    font-size: 2.5rem;
    color: var(--tech-glow);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.3);
}

.grid-overlay {
    background-image: linear-gradient(rgba(0, 255, 204, 0.1) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0, 255, 204, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Tech Hover States */
.tech-pane:hover {
    flex: 1.15;
    background: linear-gradient(135deg, #0f191a 0%, #07090e 100%);
}
.tech-pane:hover .pane-bg {
    opacity: 0.3;
    transform: scale(1.05);
}
.tech-pane:hover h2 {
    color: var(--tech-glow);
    text-shadow: 0 0 15px rgba(0, 255, 204, 0.4);
}
.tech-pane:hover .cta-link {
    color: var(--tech-glow);
    border-color: var(--tech-glow);
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.2);
}

/* --- Craft Pane Specifics --- */
.craft-pane {
    background: linear-gradient(135deg, #14100d 0%, #0a0807 100%);
}

.craft-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 8px rgba(255, 170, 68, 0.2));
}

.grain-overlay {
    /* Subtle horizontal plank lines simulation */
    background: linear-gradient(transparent 97%, rgba(255, 170, 68, 0.05) 97%);
    background-size: 100% 40px;
}

/* Craft Hover States */
.craft-pane:hover {
    flex: 1.15;
    background: linear-gradient(135deg, #1f1510 0%, #0a0807 100%);
}
.craft-pane:hover .pane-bg {
    opacity: 0.25;
    transform: translateY(5px);
}
.craft-pane:hover h2 {
    color: var(--craft-glow);
    text-shadow: 0 0 15px rgba(255, 170, 68, 0.4);
}
.craft-pane:hover .cta-link {
    color: var(--craft-glow);
    border-color: var(--craft-glow);
    box-shadow: 0 0 15px rgba(255, 170, 68, 0.2);
}

/* CSS Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Collapse for Mobile */
@media (max-width: 768px) {
    .split-container {
        flex-direction: column;
    }
    .pane {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .tech-pane:hover, .craft-pane:hover {
        flex: 1; /* Disable expanding flex on mobile for better UX */
    }
    .main-hook h1 {
        font-size: 2.5rem;
    }
}