:root {
    --bg-color: #000;
    --text-color: #F3BE4A;
    --font-main: 'IBM Plex Mono', monospace;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    padding-bottom: 60px;
    box-sizing: border-box;
}

::selection {
    background-color: var(--text-color);
    color: var(--bg-color);
}

.footer-tabs {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    padding: 0.5rem 0;
    z-index: 3;
}

.footer-tabs nav {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.footer-tabs a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    padding: 0.25rem 0.5rem;
}

.secrets {
    --text-color: #0b0801;
}

.footer-tabs a:hover {
    text-decoration: underline;
}

.footer-tabs a.active {
    font-weight: bold;
}

.ascii-art {
    font-size: min(0.4vw, 0.6vh);
    line-height: 1;
    white-space: pre;
    font-weight: bold;
    display: inline-block;
    text-align: left;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    margin: 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

p {
    font-size: 1.2rem;
    margin: 0.5rem 0;
    opacity: 0.9;
}

@media (max-width: 600px) {
    h1 {
        font-size: 1.8rem;
    }

    p {
        font-size: 1rem;
    }
}

/* positioning & background ascii */
.container {
    position: relative;
    z-index: 1;
}

.sky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: rgba(222, 115, 86, 0.2);
    font-weight: bold;
    font-size: 1.5vw;
    /* Increased size */
    line-height: 1;
    white-space: pre;
    pointer-events: none;
    z-index: 0;
}

@keyframes skyDrift {
    0% {
        transform: translateY(0) translateX(0);
    }

    50% {
        transform: translateY(-15px) translateX(15px);
    }

    100% {
        transform: translateY(0) translateX(0);
    }
}

.sky-animated {
    animation: skyDrift 15s ease-in-out infinite;
}

.ascii-art {
    z-index: 2;
}

/* Influences Bento Box Grid */
.influences-container {
    justify-content: flex-start;
    padding-top: 5rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: dense;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
}

.influence-block {
    border: 1px solid rgba(243, 190, 74, 0.3);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.1rem;
    box-sizing: border-box;
    word-break: break-word;
    overflow-wrap: anywhere;
}

/* Bento Box Sizing Classes */
.bento-large {
    grid-column: 2 / 3;
    grid-row: span 2;
    font-size: 1.4rem;
    font-weight: bold;
}

.bento-wide {
    grid-column: span 2;
}

.bento-tall {
    grid-row: span 2;
}

.influence-block:hover {
    border-color: var(--text-color);
    box-shadow: 0 0 10px rgba(243, 190, 74, 0.2);
    transform: translateY(-2px);
    background: rgba(243, 190, 74, 0.05);
}

@media (max-width: 1000px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-large {
        grid-column: span 2;
        grid-row: span 2;
    }

    .bento-wide {
        grid-column: span 2;
    }
}

@media (max-width: 400px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        min-height: 80px;
    }

    .bento-large,
    .bento-wide,
    .bento-tall {
        grid-column: span 1;
        grid-row: span 1;
    }
}