@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;700&display=swap');

body {
    background-color: #111;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: 'Oswald', sans-serif;
    overflow: hidden;
    position: relative;
}

/* ?????? ??? ???? ???? */
.logo-container {
    position: relative;
    text-align: center;
    color: white;
    font-size: 4rem;
    font-weight: bold;
    letter-spacing: 5px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 90vw;
}

/* ???????? ????? ???? ???? */
.hanger-img {
    width: 150px; /* ?????? ??????? ??? ????? ???? ?????? */
    margin-bottom: 10px;
    animation: swing 2s ease-in-out infinite alternate;
}

/* ?????? ??? ???? */
.logo-text {
    color: #fff;
    text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.6);
    transition: transform 0.5s ease-in-out, text-shadow 0.5s ease-in-out;
    padding: 15px 25px;
    border: 3px solid white;
    border-radius: 8px;
    animation: glow 2s infinite alternate;
    font-size: 4rem;
}

.logo-text:hover {
    transform: scale(1.1) rotate(-2deg);
    text-shadow: 0px 0px 20px rgba(255, 255, 255, 1);
}

/* ?????? ??? ??? ???? */
.subtitle {
    margin-top: 20px;
    font-size: 1.2rem;
    color: #bbb;
    font-weight: 300;
    text-align: center;
}

/* ??????????? ????? ??? */
@keyframes glow {
    0% {
        text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.6);
    }
    100% {
        text-shadow: 0px 0px 20px rgba(255, 255, 255, 1);
    }
}

@keyframes swing {
    0% {
        transform: rotate(10deg);
    }
    100% {
        transform: rotate(-10deg);
    }
}

/* ????????? ???? ?????? */
@media screen and (max-width: 768px) {
    .logo-container {
        font-size: 3rem;
    }

    .hanger-img {
        width: 120px;
    }

    .logo-text {
        font-size: 3rem;
        padding: 12px 20px;
    }

    .subtitle {
        font-size: 1rem;
    }
}
/* استایل پروژکتورهای نور */
.spotlight {
    position: absolute;
    width: 200px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 80%);
    filter: blur(20px);
    opacity: 0.6;
    transform: rotate(30deg);
    animation: flicker 2s infinite alternate ease-in-out;
}

/* موقعیت پروژکتور چپ */
.spotlight.left {
    top: -50px;
    left: 10%;
    transform: rotate(25deg);
}

/* موقعیت پروژکتور راست */
.spotlight.right {
    top: -50px;
    right: 10%;
    transform: rotate(-25deg);
}

/* انیمیشن نور مهتابی */
@keyframes flicker {
    0% {
        opacity: 0.4;
    }
    100% {
        opacity: 0.7;
    }
}