body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0b0e17;
    color: #fff;
    text-align: center;
}

header {
    background: #2e008b;
    color: #fff;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,.5);
    position: relative;
    z-index: 10;
}

header h1 {
    margin: 0;
    font-size: 1.6rem;
}

.hover-underline {
    font-size: 2rem;
    position: relative;
    display: inline-block;
    color: #ffffff;
}

.hover-underline a {
    color: inherit;
    text-decoration: none;
}

.hover-underline::after,
.hover-underline::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #0015ff, #00ffff);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.hover-underline::after {
    bottom: -5px;
    left: 0;
    transform-origin: right;
}

.hover-underline::before {
    top: -5px;
    left: 0;
    transform-origin: left;
}

.hover-underline:hover::after,
.hover-underline:hover::before {
    transform: scaleX(1);
}


.intro {
    position: relative;
    padding: 100px 20px;
    overflow: hidden;
}

.intro::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("space.jpeg") center/cover no-repeat;
    filter: blur(4px);
    transform: scale(1.05);
}

.intro-box {
    position: relative;
    z-index: 1;
    background: rgba(0,0,0,.5);
    max-width: 500px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(4px);
}

.intro h2 {
    margin-top: 0;
    font-size: 2rem;
}

.intro p {
    margin: 15px 0 25px;
    font-size: 1rem;
}

.intro-photo {
    width: 100%;
    max-width: 350px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.btn-box {
    margin-top: 10px;
}

.btn, .sub-btn {
    display: inline-block;
    background: #0078ff;
    color: #fff;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: .2s;
}

.btn:hover, .sub-btn:hover {
    background: #00ffff;
    color: #000;
}

.menu {
    position: relative;
    padding: 80px 20px;
    overflow: hidden;
}

.menu::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("world.jpg") center/cover no-repeat;
    filter: blur(4px);
    transform: scale(1.05);
}

.menu h2 {
    position: relative;
    z-index: 1;
    font-size: 1.9rem;
    margin-bottom: 40px;
}

.menu-grid {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.pizza {
    background: rgba(20,20,25,.9);
    width: 260px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,.3);
    transition: transform .3s;
}

.pizza:hover {
    transform: translateY(-5px);
}

.pizza-photo {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.about {
    background: #000;
    padding: 70px 20px;
}

.about h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.about p {
    max-width: 600px;
    margin: 10px auto;
}

footer {
    background: #0b0e17;
    padding: 20px;
    font-size: .9rem;
    color: #ccc;
}

@media (max-width: 768px) {
    .menu-grid {
        flex-direction: column;
        align-items: center;
    }
    .intro-photo {
        width: 100%;
    }
    .intro-box {
        padding: 20px;
    }
}
