:root {
    --color-background: #000;
    --color-text: #fff0f4;
    --color-primary: oklch(74% 0.15 32);
    --color-secondary: oklch(65% 0.13 210);
    --color-ui: oklch(65% 0.05 210);
    --color-yellow: oklch(80% 0.16 85);
    --color-green: oklch(60% 0.16 135);
    --color-red: oklch(65% 0.18 15);
    --color-green-2: oklch(54% 0.11 164);
    --color-purple: oklch(62% 0.15 318);
    --color-red-2: oklch(57% 0.2 15);
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    font-family: 'Times New Roman', serif;
    color: #eee;
    line-height: 1.6;
    background: var(--color-background);
    background-image: radial-gradient(circle at center, white 0%, #222 10%, black 60%);
    transition: background-image 2s ease-in-out;
}

.wrap {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transform-style: preserve-3d;
    perspective: 800px;
    overflow: hidden;
    z-index: 1;
}

.tri {
    height: 0;
    width: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    opacity: 0;
    filter: grayscale(1);
    transform: translate3d(0,0,-1500px) scale(0);
    transition: border-top-color 2s ease-in-out;
}

.hero {
    position: relative;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding-top: 70px;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.hero p {
    color: var(--color-text);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    color: white;
    background: var(--color-background);
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s;
}
.btn:hover {
    background: var(--color-primary);
}

.sections-container {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: nowrap;
    padding: 100px 20px;
    z-index: 2;
    position: relative;
}

.section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
    cursor: pointer;
    position: relative;
}

.section .box {
    background: rgba(0,0,0,0.6);
    border-radius: 12px;
    width: 100%;
    height: 15vh;
    padding: 20px;
    font-size: 1.2em;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.section .box:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.05);
}

.section .box h2 {
    margin: 0;
    color: var(--color-text);
}

.closebtn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #222;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 1rem;
    cursor: pointer;
    z-index: 1010;
}

@keyframes gradientShift {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
}