:root {
    --bg-color: #540000;
    --text-color: #c29861;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --text-shadow-color: rgba(194, 152, 97, 0.3);
}

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

html, body {
    height: 100%;
    font-family: 'Arial', sans-serif;
}

.container {
    width: 100%;
    height: 100vh;
    background: var(--bg-color);
    background-image: url('background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    filter: hue-rotate(350deg) saturate(1.2) brightness(0.8);
    z-index: -1;
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1.5s ease-in-out;
}

.logo {
    max-width: 300px;
    max-height: 300px;
    width: 80vw;
    height: auto;
    filter: drop-shadow(0 10px 30px var(--shadow-color));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.4));
}

.site-text {
    color: var(--text-color);
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 3px;
    margin-top: 30px;
    text-align: center;
    animation: fadeInUp 1.8s ease-in-out;
    text-shadow: 0 2px 10px var(--text-shadow-color);
    transition: all 0.3s ease;
}

.site-text:hover {
    transform: translateY(-2px);
    text-shadow: 0 4px 15px rgba(194, 152, 97, 0.5);
}

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

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

@media (max-width: 768px) {
    .logo {
        max-width: 250px;
        max-height: 250px;
        width: 70vw;
    }
    
    .site-text {
        font-size: 2rem;
        letter-spacing: 2px;
        margin-top: 25px;
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 200px;
        max-height: 200px;
        width: 60vw;
    }
    
    .site-text {
        font-size: 1.5rem;
        letter-spacing: 1px;
        margin-top: 20px;
    }
}

@media (max-width: 320px) {
    .logo {
        max-width: 150px;
        max-height: 150px;
        width: 50vw;
    }
    
    .site-text {
        font-size: 1.2rem;
        letter-spacing: 0.5px;
        margin-top: 15px;
    }
}

@media (min-width: 1200px) {
    .logo {
        max-width: 400px;
        max-height: 400px;
    }
    
    .site-text {
        font-size: 3rem;
        letter-spacing: 4px;
        margin-top: 40px;
    }
}

@media (min-resolution: 2dppx) {
    .logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}