:root {
    --void: #050005;
    --amethyst: #9966cc;
    --silver: #c0c0c0;
    --rune-glow: 0 0 10px var(--amethyst);
}

body {
    background-color: var(--void);
    color: var(--silver);
    font-family: 'Outfit', sans-serif;
    margin: 0;
    height: 100vh;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 50% 50%, #1a001a 0%, #000 100%);
}

.void-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    border: 5px double var(--amethyst);
    box-shadow: inset 0 0 50px rgba(153, 102, 204, 0.2);
    box-sizing: border-box;
}

.rune-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    border-bottom: 1px solid var(--amethyst);
    background: rgba(20, 0, 20, 0.8);
    gap: 30px;
}

h1 {
    margin: 0;
    font-size: 2.5em;
    text-shadow: var(--rune-glow);
    letter-spacing: 5px;
    color: #fff;
}

.sigil {
    width: 60px;
    height: 2px;
    background: var(--silver);
    position: relative;
}

.sigil::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border: 1px solid var(--amethyst);
    transform: rotate(45deg);
    top: -6px;
}

.sigil-left::before {
    left: 0;
}

.sigil-right::before {
    right: 0;
}

.arcane-viewport {
    flex-grow: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .arcane-viewport {
        grid-template-columns: 1fr;
    }
}

.app-category {
    background: rgba(15, 0, 15, 0.6);
    border: 1px solid rgba(153, 102, 204, 0.3);
    padding: 30px;
    position: relative;
}

.app-category h2 {
    margin: 0 0 20px 0;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 1.5em;
    border-bottom: 1px solid var(--amethyst);
    display: inline-block;
    padding-bottom: 5px;
}

.app-links {
    list-style: none;
    padding: 0;
}

.app-links li {
    margin-bottom: 15px;
}

.app-links a {
    color: var(--silver);
    text-decoration: none;
    font-size: 1.2em;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 15px;
}

.app-links a:hover {
    color: #fff;
    text-shadow: var(--rune-glow);
    transform: translateX(10px);
}

.notice-box {
    grid-column: 1 / -1;
    background: rgba(15, 0, 15, 0.6);
    border: 1px solid rgba(153, 102, 204, 0.3);
    padding: 30px 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.notice-text {
    flex-grow: 1;
    text-align: left;
}

.notice-text p {
    font-size: 1.1em;
    color: var(--amethyst);
    font-style: italic;
    line-height: 1.6;
}

.notice-text a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.cat-portal {
    width: 200px;
    flex-shrink: 0;
    border: 2px solid var(--amethyst);
    box-shadow: 0 0 20px rgba(153, 102, 204, 0.5);
    border-radius: 10px;
    overflow: hidden;
    background: var(--void);
}

#winston-img {
    display: block;
    width: 100%;
    height: auto;
    filter: brightness(0.9) contrast(1.1);
    transition: 0.5s;
}

.cat-portal:hover #winston-img {
    filter: brightness(1.1) contrast(1.2);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .notice-box {
        flex-direction: column;
        text-align: center;
    }

    .notice-text {
        text-align: center;
    }
}

.rune-footer {
    border-top: 1px solid var(--amethyst);
    padding: 20px;
    text-align: center;
    font-size: 0.8em;
    display: flex;
    justify-content: space-around;
    background: rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--void);
}

::-webkit-scrollbar-thumb {
    background: var(--amethyst);
}