/* =========================
   Global Styles
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #090909; /* Темний фон для відео */
    color: #ffffff;
    font-size: 18px;
    line-height: 1.6;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
}

/* =========================
   Page Content
========================= */
.page-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
    width: 100%;
    max-width: 480px;
    text-align: center;
}

/* =========================
   Background Video
========================= */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.background video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    filter: brightness(0.6); /* затемнення фону для кращої видимості тексту */
}

/* =========================
   Header Logo
========================= */
.header-logo {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.header-logo img {
    width: 40px;
    height: auto;
}

/* =========================
   User Info
========================= */
.user-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.user-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    margin-bottom: 12px;
}

.user-name {
    font-size: 2em;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 5px;
}

.user-account-name {
    font-size: 1.2em;
    color: #cccccc;
}

/* =========================
   User Status / Location
========================= */
.location-info {
    text-align: center;
    margin-bottom: 25px;
}

.user-status {
    font-weight: 700;
}

.status-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 5px;
}

.status-circle {
    width: 14px;
    height: 14px;
    background-color: #35d063;
    border: 2px solid #ffffff;
    border-radius: 50%;
}

#available {
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
}

.separator {
    margin: 5px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.respond-time {
    font-size: 1.1em;
    color: #f0f0f0;
}

/* =========================
   Current Location / Dates
========================= */
#time-in-current-location {
    font-size: 1.3em;
    color: #ffffff;
    margin-bottom: 20px;
}

#time-in-current-location br {
    display: block;
    margin-top: 6px;
}

#time-in-current-location strong {
    color: #ffffff;
}

/* =========================
   Send Button
========================= */
.send-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background-color: #00aeee;
    color: #fff;
    font-size: 1.2em;
    font-weight: 700;
    border-radius: 30px;
    text-decoration: none;
    width: 100%;
    max-width: 300px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.send-button:hover {
    background-color: #0089aa;
    transform: translateY(-2px);
}

.of-icon {
    width: 25px;
    margin-right: 12px;
}

/* =========================
   Countdown / Timer
========================= */
.countdown-block {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    gap: 8px;
}

.discount {
    font-size: 1.6em;
    color: #ff4081;
}

.timer-end {
    font-size: 1.4em;
    color: #ffffff;
}

#timer {
    font-size: 1.4em;
    font-weight: 700;
    color: #4CAF50;
}

/* =========================
   Footer
========================= */
.footer {
    text-align: center;
    font-size: 1.2em;
    color: #ffffff;
    margin-top: 30px;
}

/* =========================
   Адаптивність
========================= */
@media (max-width: 480px) {
    .user-avatar {
        width: 90px;
        height: 90px;
    }

    .user-name {
        font-size: 1.8em;
    }

    .send-button {
        font-size: 1em;
        padding: 12px 20px;
    }
}
