body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #b7a6e7, #ecc9e8);
    color: #333;
    overflow-x: hidden;
    max-width: 100vw;
}

header {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    text-align: center;
    padding: 40px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.container {
    width: 90%;
    max-width: 960px;
    margin: 0 auto;
    padding: 30px 10px;
    box-sizing: border-box;
}

nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

nav a {
    background: linear-gradient(45deg, #00dbde, #fc00ff);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 30px;
    width: 160px;
    text-align: center;
    font-weight: bold;
    flex: 1 1 calc(40% - 30px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

nav a:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.content {
    background: white;
    padding: 25px;
    border-radius: 20px;
    margin-bottom: 25px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    animation: fadeIn 0.8s ease;
}

.footer {
    background: #222;
    color: #eee;
    text-align: center;
    padding: 20px 10px;
}

ul {
    list-style: none;
    padding-left: 0px;
}
  
ul li::before {
  content: "✦";
  color: #8b5cf6;
  margin-right: 6px;
}

b {
    font-style: italic;
    font-size: 16px;
    cursor: pointer;
    user-select: none;
}

li {
    margin-bottom: 8px;
    cursor: pointer;
}

h2 {
    background: linear-gradient(to right, #6a11cb, #2575fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.spin {
    display: inline-block;
    transition: transform 1s ease-in-out;
}

.rotate {
    transform: rotate(360deg);
}

.angelic-text {
    font-family: 'Segoe UI', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    background: linear-gradient(to right, #a18cd1, #fbc2eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.angelic-text::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #a18cd1, #fbc2eb);
    border-radius: 50px;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.angelic-text:hover::after {
    opacity: 1;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        box-sizing: border-box;
    }

    nav a {
        width: 100%;
        text-align: center;
        display: block; /* додай щоб точно зайняло всю ширину */
        box-sizing: border-box; /* щоб padding враховувався у ширині */
        margin: 0;
    }

    .container {
        padding: 15px 0px;
    }
}