* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #4a0e0e;
    color: #fff9c4;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 40px 20px;
    line-height: 1.6;
    overflow-x: hidden;
    justify-content: center;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/guest.jpg");
    background-size: cover;
    opacity: 0.5;
    z-index: -1;
}

h1 {
    font-size: 2rem;
    color: #fff9c4;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-shadow: 3px 3px 0px #801818;
    text-align: center;
}

p {
    font-size: 1.2rem;
    color: #f0e68c;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    text-align: center;
    font-weight: bold;
    max-width: 1030px;
}

.logo-link {
    position: fixed;
    top: 50px;
    left: 30px;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.logo-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #fff9c4;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.logo-link:hover {
    transform: scale(1.1) rotate(-5deg);
}

.logo-link:hover .logo-img {
    filter: none;
    border-color: #801818;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(3, 210px);
    gap: 50px;
    padding: 30px;
    margin-top: 20px;
}

.card {
    background-color: rgba(128, 24, 24, 0.85);
    border-radius: 15px;
    border: 2px solid #fff9c4;
    width: 210px;
    height: 200px;
    text-decoration: none;
    color: #fff9c4;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.7);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 0;
    border: none;
    margin: 0;
}