body {
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    background: #181c24;
}

.background-anim {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    opacity: 1;
    animation: fadeinbg 2s ease;
    transition: opacity 0.5s;
}

@keyframes fadeinbg {
    from { opacity: 0; }
    to { opacity: 1; }
}

nav, main {
    position: relative;
    z-index: 1;
}

@media (max-width: 700px) {
    .background-anim {
        background-position: center top;
    }
    main {
        margin: 1em;
        padding: 1em;
        max-width: 98vw;
    }
}

nav {
    background: linear-gradient(135deg, #e53170 0%, #f09433 50%, #e6683c 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(229, 49, 112, 0.3);
}
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}
nav li {
    margin: 0;
}
nav a {
    color: #fff;
    padding: 1em 2em;
    display: block;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1.5px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    border-radius: 15px;
    margin: 8px;
}
nav a:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
main {
    padding: 2em;
    background: rgba(255,255,255,0.95);
    border-radius: 25px;
    margin: 2em auto;
    max-width: 780px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 8px 25px rgba(102, 126, 234, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
h1 {
    background: linear-gradient(135deg, #e53170 0%, #f09433 50%, #667eea 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-top: 0;
    font-weight: 900;
    letter-spacing: 2px;
}
p {
    text-align: center;
    font-size: 1.2em;
    color: #555;
    font-weight: 500;
}
