/* General Styles */
body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(to right, #1e3c72, #2a5298);
    font-family: 'Arial', sans-serif;
    text-align: center;
    color: white;
    overflow: hidden;
}

/* 3D Scene */
.scene {
    width: 300px;
    height: 300px;
    perspective: 1000px;
    position: absolute;
    top: 15%;
}

/* 3D Church */
.church {
    width: 100px;
    height: 150px;
    position: relative;
    transform-style: preserve-3d;
    animation: float 5s infinite ease-in-out;
}

/* Floating Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Roof */
.roof {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 60px solid #8B0000;
    position: absolute;
    top: -50px;
    left: 0;
}

/* Body */
.body {
    width: 100px;
    height: 100px;
    background: #D4AF37;
    position: absolute;
    top: 10px;
}

/* Cross */
.cross {
    width: 15px;
    height: 50px;
    background: #FFD700;
    position: absolute;
    top: -80px;
    left: 42.5px;
}

.cross::before {
    content: "";
    position: absolute;
    width: 50px;
    height: 15px;
    background: #FFD700;
    top: 15px;
    left: -17.5px;
}

/* Light Rays */
.cross::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.7), transparent);
    top: -30px;
    left: -42px;
    border-radius: 50%;
    animation: glow 2s infinite alternate;
}

/* Glowing Animation */
@keyframes glow {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.2); }
}

/* Title & Subtitle */
.title {
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 150px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    animation: fadeIn 2s ease-in-out;
}

.subtitle {
    font-size: 1.2rem;
    margin-top: 10px;
    opacity: 0.8;
}

/* Fade-in Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.owned-text {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    animation: fadeIn 2s ease-in-out;
}

.owned-text span {
    color: #FFD700;
    font-weight: bold;
}

/* Fade-in Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
