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

body {
    font-family: "Trebuchet MS", sans-serif;
    background: linear-gradient(180deg, #140016 0%, #000 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
header {
    position: relative;
    padding: 50px 0;
    text-align: center;
    box-shadow: 0 0 25px rgba(255, 182, 193, 0.6);
    overflow: hidden;
    background: linear-gradient(-45deg, #ffb6c1, #dda0dd, #ffc0cb, #e6ccff);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

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

header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle,
        rgba(255, 182, 193, 0.05) 1px,
        transparent 1px
    );
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 1;
    animation: moveStars 10s linear infinite;
}

@keyframes moveStars {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 100px 100px;
    }
}

header h1 {
    font-size: 3.5rem;
    letter-spacing: 2px;
    color: #fff;
    text-shadow:
        0 0 25px #ffb6c1,
        0 0 50px #dda0dd;
    z-index: 2;
    position: relative;
}

header p {
    font-size: 1.1rem;
    color: #ffe0f0;
    z-index: 2;
    position: relative;
}

main {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    gap: 20px;
    padding: 0 20px;
}

.content {
    flex: 3;
    background: rgba(30, 0, 30, 0.85);
    backdrop-filter: blur(8px);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(255, 100, 255, 0.3);
}

.content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #ff99ff;
    text-shadow: 0 0 12px #ff66cc;
}

.content p {
    line-height: 1.6;
    color: #ddd;
    margin-bottom: 15px;
}

.sidebar {
    flex: 1;
    background: rgba(25, 0, 25, 0.8);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 0 20px rgba(255, 120, 255, 0.3);
    min-width: 260px;
    height: fit-content;
}

.sidebar h3 {
    color: #ffb3ff;
    text-align: center;
    margin-bottom: 15px;
    text-shadow: 0 0 12px #ff66cc;
}

.sidebar a,
.sidebar a:visited {
    text-shadow: 0 0 12px #ff66cc;
}

a,
a:visited {
    color: #ffb3ff;
    text-decoration: none;
}

.nav-block {
    background: linear-gradient(180deg, #200020, #100010);
    border: 2px solid #ff66cc;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffc2ff;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(255, 150, 255, 0.3);
}

.nav-block:hover {
    background: linear-gradient(180deg, #ff33cc, #ff66ff);
    color: #fff;
    box-shadow:
        0 0 20px #ff66ff,
        0 0 40px #ff33cc;
    transform: scale(1.05);
}

footer {
    text-align: center;
    padding: 20px;
    background: #000;
    color: #999;
    margin-top: auto;
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    main {
        flex-direction: column;
        align-items: center;
    }
    .sidebar {
        width: 100%;
        order: -1;
    }
}

p.centered {
    text-align: center;
}
