/* 1. Базові налаштування */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    font-family: 'Roboto', sans-serif;
    /* Абсолютний шлях до фону */
    background: #f0f2f5 url(/images/fon.jpg) no-repeat center center fixed;
    background-size: cover;
    display: flex;
    align-items: center; /* Центрування по вертикалі */
    justify-content: center; /* Центрування по горизонталі */
    overflow-x: hidden;
}

#main {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 2. Картка */
#card {
    width: 90%;
    max-width: 400px;
    background: #ffffff;
    border-radius: 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    text-align: center;
	transform: translateY(-10vh);
}

/* 3. Аватар (Фото) */
#photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    /* Абсолютний шлях до фото */
    background: #eee url(/images/chanel_photo.jpg) no-repeat center center;
    background-size: cover;
    margin-bottom: 20px;
}

/* 4. Текстові блоки */
#chanel_name {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    margin-bottom: 15px;
    line-height: 1.2;
}

#chanel_description {
    font-size: 16px;
    color: #444;
    line-height: 1.5;
    margin-bottom: 30px;
}

/* 5. Кнопка */
#button_join {
    width: 100%;
    max-width: 260px;
    height: 50px;
    background-color: #1c93e3;
    border-radius: 25px;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
}

#button_join:active {
    transform: scale(0.95);
}

/* 6. Ефект Бліку (Shine) */
.shine {
    position: relative;
    overflow: hidden;
}

.shine::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -100%;
    width: 50%;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(30deg);
    animation: shine-effect 4s infinite;
}

@keyframes shine-effect {
    0% { left: -100%; }
    20% { left: 150%; }
    100% { left: 150%; }
}