body.start-body {
    padding: 0;
    margin: 0;
    background-image: url(loto/img/winner.jpg);
    /* Ensure body takes full height so absolute footer sits at bottom of screen */
    min-height: 100vh;
    position: relative;
}

.start-container {
    display: flex;
    flex-direction: column;
    min-height: 600px; 
    background-image: url(loto/img/background.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    max-width: 1100px;
    background-color: white;
    margin: 10px auto;
    padding: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    position: relative;
    width: 95%;
}

/* --- HEADER --- */
.start-header {
    min-height: 84px; 
    height: auto;
    background: #336699;
    color: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    padding: 10px 20px;
    flex-wrap: wrap; 
}

/* Header Links Reset */
a.header-link {
    text-decoration: none;
    color: inherit; 
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: color 0.2s, opacity 0.2s;
}

/* Hover color #E46E26 */
a.header-link:hover {
    color: #E46E26;
    opacity: 1;
}

a.header-link:hover .start-title,
a.header-link:hover .start-headline {
    color: #E46E26; 
}

/* Logo Section */
.main-logo {
    margin-right: 30px;
}

.main-logo img {
    display: block;
    max-height: 60px;
    width: auto;
}

/* Typography */
.start-title {
    font-size: 36px;
    color: inherit; 
    text-shadow: 1px 1px 3px #000000;
    margin: 0;
    line-height: 1.1;
    font-weight: normal;
    white-space: nowrap;
}

.start-headline {
    color: rgb(228, 224, 224);
    font-size: 15px;
    margin-top: 2px;
    font-weight: 300;
    text-align: center;
    transition: color 0.2s; 
}

/* Extra Header Text */
.header-extra {
    margin-left: 40px;
    text-align: center;
}

.header-extra .start-title {
    margin: 0;
    line-height: 1;
}

/* --- LANGUAGE BUTTONS --- */
.start-menu {
    margin-left: auto; 
    display: flex;
    align-items: center;
}

.lang-group {
    display: flex;
    gap: 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    background: white; 
}

.lang-btn {
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
    border: none;
    padding: 5px 12px;
    transition: background 0.3s;
}

/* Enabled (Clickable) - Switch Lang (RU) */
.lang-btn:not(:disabled) {
    background-color: #E46E26; 
    color: white;
}

.lang-btn:not(:disabled):hover {
    background-color: #d35400; 
}

/* Disabled (Current Lang) - Static */
.lang-btn:disabled {
    background-color: #e0e0e0; 
    color: black;
    cursor: default;
}

/* --- BODY CONTENT --- */
#logo-wraper {
    flex: 1;
    display: flex;
    align-items: center;     
    justify-content: center; 
    width: 100%;
    padding: 20px 0; 
}

#oval-wrap {
    display: inline-block;
    max-width: 100%;
}

#oval-wrap img {
    max-width: 100%;
    height: auto;
}

/* --- FOOTER (UPDATED) --- */
.start-footer {
    position: absolute;
    bottom: 16px;
    left: 12px;
    font-size: 14px;
    color: green;
    text-shadow: 1px 1px 2px gray;
}

/* --- RESPONSIVE MEDIA QUERY (Mobile) --- */
@media (max-width: 768px) {
    .start-header {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 20px;
    }

    .main-logo {
        margin-right: 0;
        margin-bottom: 15px;
    }

    /* Stack elements vertically */
    a.header-link,
    .header-extra,
    .start-menu {
        width: 100%;
        margin-left: 0;
        margin-bottom: 15px;
        align-items: center;
    }

    /* Center buttons on mobile */
    .start-menu {
        justify-content: center;
    }

    .header-extra {
        margin-top: 10px;
    }

    .start-title {
        white-space: normal; 
    }
}