@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@700;800;900&family=Rye&family=Bree+Serif&family=Bungee&display=swap');

/* Üldine lehe seadistus */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #12001f;
    color: white;
}

/* Ülemine osa */
header {
    text-align: center;
    padding: 40px 20px;
    background: #1c0030;
    border-bottom: 3px solid #d4af37;
}

header h1 {
    color: #d4af37;
    font-size: 48px;
    letter-spacing: 2px;
}

header p {
    margin-top: 10px;
    color: #ffffff;
    font-size: 18px;
}

/* Menüü */
nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 18px;
    background: #260044;
    border-bottom: 2px solid #d4af37;
}


/* Sisu */
main {
    max-width: 1150px;
    margin: 30px auto;
    padding: 0 20px;
}

section {
    background: rgba(0, 0, 0, 0.35);
    border: 2px solid #6f00ff;
    border-radius: 14px;
    padding: 25px;
    margin-bottom: 25px;
}

section h2 {
    color: #d4af37;
    margin-bottom: 12px;
    font-size: 30px;
}

section p {
    font-size: 18px;
    line-height: 1.5;
}

/* Alumine osa */
footer {
    text-align: center;
    padding: 20px;
    background: #1c0030;
    border-top: 3px solid #d4af37;
    color: #d4af37;
}

.footer-small {
    margin-top: 8px;
    font-size: 14px;
    color: #ffffff;
    opacity: 0.8;
}

/* Menüü nupud */
.menu-btn {
    color: #d4af37;
    background: transparent;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 18px;
    border: 2px solid #d4af37;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.menu-btn:hover {
    background: #d4af37;
    color: #12001f;
}

.menu-btn.active {
    background: #d4af37;
    color: #12001f;
}

/* Peidame kõik lehe osad vaikimisi */
.page-section {
    display: none;
}

/* Näitame ainult aktiivset osa */
.active-section {
    display: block;
}

/* Avalehe suur kast */
.hero-box {
    text-align: center;
    padding: 35px 20px;
}

.hero-box h2 {
    font-size: 42px;
    color: #d4af37;
    margin-bottom: 15px;
}

.hero-text {
    font-size: 20px;
    margin-bottom: 10px;
}

/* Avalehe nupud */
.hero-buttons {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.hero-btn {
    background: #d4af37;
    color: #12001f;
    border: 2px solid #d4af37;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s;
}

.hero-btn:hover {
    background: transparent;
    color: #d4af37;
}

.hero-btn.second {
    background: transparent;
    color: #d4af37;
}

.hero-btn.second:hover {
    background: #d4af37;
    color: #12001f;
}

/* Minust info kastid */
.info-boxes {
    display: flex;
    gap: 18px;
    margin-top: 25px;
}

.info-box {
    flex: 1;
    background: rgba(38, 0, 68, 0.75);
    border: 2px solid #d4af37;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.info-box h3 {
    color: #d4af37;
    font-size: 22px;
    margin-bottom: 10px;
}

.info-box p {
    font-size: 16px;
    line-height: 1.4;
}

/* Striimid kastid */
.stream-boxes {
    display: flex;
    gap: 18px;
    margin-top: 25px;
}

.stream-box {
    flex: 1;
    background: rgba(38, 0, 68, 0.75);
    border: 2px solid #d4af37;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.stream-box h3 {
    color: #d4af37;
    font-size: 22px;
    margin-bottom: 10px;
}

.stream-box p {
    font-size: 16px;
    line-height: 1.4;
}

/* Twitch link */
.twitch-link-box {
    margin-top: 25px;
    padding: 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.35);
    border: 2px solid #6f00ff;
    border-radius: 12px;
}

.twitch-link-box p {
    margin-bottom: 10px;
    font-size: 18px;
}

.twitch-link-box a {
    color: #d4af37;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
}

.twitch-link-box a:hover {
    text-decoration: underline;
}

/* Koostööpartnerite kastid */
.partner-boxes {
    display: flex;
    gap: 18px;
    margin-top: 25px;
}

.partner-box {
    flex: 1;
    background: rgba(38, 0, 68, 0.75);
    border: 2px solid #d4af37;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.partner-box h3 {
    color: #d4af37;
    font-size: 22px;
    margin-bottom: 10px;
}

.partner-box p {
    font-size: 16px;
    line-height: 1.4;
}

/* Täisealiste / vastutustundliku mängimise kast */
.notice-box {
    margin-top: 25px;
    padding: 18px;
    text-align: center;
    background: rgba(0, 0, 0, 0.45);
    border: 2px solid #6f00ff;
    border-radius: 12px;
}

.notice-box p {
    color: #ffffff;
    font-size: 17px;
    font-weight: bold;
}

/* Kontakt kastid */
.contact-boxes {
    display: flex;
    gap: 18px;
    margin-top: 25px;
}

.contact-box {
    flex: 1;
    background: rgba(38, 0, 68, 0.75);
    border: 2px solid #d4af37;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.contact-box h3 {
    color: #d4af37;
    font-size: 22px;
    margin-bottom: 10px;
}

.contact-box p {
    font-size: 16px;
    line-height: 1.4;
}

.contact-box a {
    color: #d4af37;
    font-weight: bold;
    text-decoration: none;
}

.contact-box a:hover {
    text-decoration: underline;
}

/* Telefoni ja väiksema ekraani vaade */
@media (max-width: 768px) {

    header {
        padding: 30px 15px;
    }

    header h1 {
        font-size: 34px;
    }

    header p {
        font-size: 16px;
    }

    nav {
        flex-wrap: wrap;
        gap: 10px;
        padding: 14px;
    }

    .menu-btn {
        padding: 9px 14px;
        font-size: 14px;
    }

    main {
        margin: 20px auto;
        padding: 0 12px;
    }

    section {
        padding: 20px;
    }

    section h2 {
        font-size: 26px;
    }

    section p {
        font-size: 16px;
    }

    .hero-box h2 {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-btn {
        width: 100%;
        max-width: 260px;
    }

    .info-boxes,
    .stream-boxes,
    .partner-boxes,
    .contact-boxes {
        flex-direction: column;
    }
}

/* Üldine parem taust ja sügavus */
body {
    background:
        radial-gradient(circle at top, rgba(111, 0, 255, 0.35), transparent 35%),
        linear-gradient(180deg, #12001f 0%, #08000f 100%);
    min-height: 100vh;
}

/* Ülemisele osale varju */
header {
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.25);
}

/* Menüüribale parem sügavus */
nav {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45);
}

/* Kõikidele sisu kastidele parem välimus */
section {
    box-shadow: 0 0 25px rgba(111, 0, 255, 0.25);
    backdrop-filter: blur(4px);
}

/* Väiksed kastid muutuvad elavamaks */
.info-box,
.stream-box,
.partner-box,
.contact-box {
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.18);
    transition: 0.2s;
}

.info-box:hover,
.stream-box:hover,
.partner-box:hover,
.contact-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.35);
}

/* Lehe vahetuse väike animatsioon */
.active-section {
    animation: fadeIn 0.25s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 18+ märge üleval */
.age-warning {
    display: inline-block;
    margin-top: 15px;
    padding: 7px 14px;
    border: 2px solid #d4af37;
    border-radius: 20px;
    color: #d4af37;
    font-size: 14px;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.35);
}

/* Footer alati lehe all */
body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    width: 100%;
}

/* Kategooria pealkirjade viimistlus */
.page-section > h2 {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 18px;
    text-align: center;
    font-size: 36px;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-section > h2::after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    background: #d4af37;
    margin: 12px auto 0;
    border-radius: 3px;
}

/* Avalehe väikesed infokastid */
.home-highlights {
    display: flex;
    gap: 18px;
    margin-top: 30px;
}

.home-highlight {
    flex: 1;
    background: rgba(38, 0, 68, 0.75);
    border: 2px solid #d4af37;
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.18);
    transition: 0.2s;
}

.home-highlight:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.35);
}

.home-highlight h3 {
    color: #d4af37;
    font-size: 20px;
    margin-bottom: 10px;
}

.home-highlight p {
    font-size: 15px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .home-highlights {
        flex-direction: column;
    }
}

/* Menüü nuppude parem suurus */
.menu-btn {
    min-width: 160px;
    font-size: 24px;
    padding: 11px 18px;
}

/* Avalehe õhulisem paigutus */
.hero-box {
    padding: 50px 30px;
}

.hero-box h2 {
    font-size: 44px;
    margin-bottom: 18px;
}

.hero-box p {
    margin-bottom: 12px;
}

.hero-buttons {
    margin-top: 28px;
}

.home-highlights {
    margin-top: 35px;
}

.home-highlight {
    padding: 22px;
}

/* Menüü nupu viimistlus */
.menu-btn {
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
}

.menu-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.35);
}

.menu-btn.active {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.55);
}

/* Kategooriate sissejuhatuse tekst */
.page-section > p {
    max-width: 850px;
    margin: 0 auto 25px;
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
}

/* Twitch link uuesti korralikuks nupuks */
.page-section .twitch-link-box a {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 26px;
    border: 2px solid #d4af37;
    border-radius: 10px;
    background: #d4af37;
    color: #12001f;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.2s;
}

.page-section .twitch-link-box a:hover {
    background: transparent;
    color: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.35);
}

/* Kontakt nupud */
.contact-action {
    display: inline-block;
    margin-top: 15px;
    padding: 11px 20px;
    border: 2px solid #d4af37;
    border-radius: 10px;
    background: #d4af37;
    color: #12001f;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s;
}

.contact-action:hover {
    background: transparent;
    color: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.35);
}

.disabled-btn {
    opacity: 0.7;
}

/* Kontakt Twitch nupu teksti parandus */
.contact-box .contact-action {
    color: #12001f;
}

.contact-box .contact-action:hover {
    color: #d4af37;
}

/* Koostöö CTA nupp */
.partner-cta {
    margin-top: 25px;
    text-align: center;
    padding: 22px;
    background: rgba(38, 0, 68, 0.75);
    border: 2px solid #d4af37;
    border-radius: 12px;
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.18);
}

.partner-cta p {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.partner-action {
    background: #d4af37;
    color: #12001f;
    border: 2px solid #d4af37;
    padding: 12px 26px;
    border-radius: 10px;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.partner-action:hover {
    background: transparent;
    color: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.35);
}
/* Kodulehe uus taust */
body {
    background:
        linear-gradient(
            rgba(8, 0, 15, 0.55),
            rgba(8, 0, 15, 0.80)
        ),
        url("images/rlfarmer36_taust.png");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Taust tervele lehele nähtavaks */
html,
body {
    min-height: 100%;
}

body {
    background-image:
        linear-gradient(
            rgba(5, 0, 10, 0.45),
            rgba(5, 0, 10, 0.75)
        ),
        url("./images/rlfarmer36_taust_4k.jpg") !important;

    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
}

/* Menüü läbipaistvamaks */
nav {
    background: rgba(38, 0, 68, 0.70) !important;
    backdrop-filter: blur (2px);
}

/* Footer läbipaistvamaks */
footer {
    background: rgba(28, 0, 48, 0.70) !important;
    backdrop-filter: blur(4px);
}

/* Sisu osa läbipaistvamaks */
main {
    background: transparent !important;
}

section {
    background: rgba(5, 0, 10, 0.72) !important;
}

/* Parandus: taust ülevalt nähtavamaks ja logo välja */
body {
    background-image:
        linear-gradient(
            rgba(5, 0, 10, 0.05),
            rgba(5, 0, 10, 0.58)
        ),
        url("./images/rlfarmer36_taust_4k.jpg") !important;

    background-size: cover !important;
    background-position: left top !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
}

/* Ülemine ala võimalikult läbipaistvaks */
header {
    background: rgba(18, 0, 31, 0.18) !important;
    backdrop-filter: none !important;
}

/* Pealkirjale vari, et taustal loetav jääks */
header h1,
header p,
.age-warning {
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.85);
}

/* Menüü läbipaistvamaks */
nav {
    background: rgba(38, 0, 68, 0.35) !important;
    backdrop-filter: none !important;
}

/* Eemaldame pikad kuldsed jooned üle lehe */
header {
    border-bottom: none !important;
}

nav {
    border-top: none !important;
    border-bottom: none !important;
}

/* Menüü jääb eraldi ilusa kastina */
nav {
    width: fit-content;
    max-width: 95%;
    margin: 12px auto 20px;
    padding: 12px 16px;
    border: 1px solid rgba(212, 175, 55, 0.55) !important;
    border-radius: 14px;
    background: rgba(20, 0, 35, 0.55) !important;
    box-shadow: 0 0 22px rgba(212, 175, 55, 0.18);
}

/* Footer koomale ja tekst suuremaks */
footer {
    width: fit-content;
    max-width: 90%;
    margin: 20px auto 18px;
    padding: 14px 35px;

    border-top: none !important;
    border: 1px solid rgba(212, 175, 55, 0.65) !important;
    border-radius: 14px;

    background: rgba(28, 0, 48, 0.72) !important;
    box-shadow: 0 0 22px rgba(212, 175, 55, 0.18);
    backdrop-filter: blur(3px);
}

footer p {
    font-size: 16px;
    font-weight: bold;
}

.footer-small {
    font-size: 14px !important;
    margin-top: 7px;
}
/* Footer teksti suuruse lõplik parandus */
footer > p:first-child {
    font-size: 24px !important;
    font-weight: 900 !important;
    color: #d4af37 !important;
    margin-bottom: 8px !important;
}

footer .footer-small {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
}

/* Taustapilt 5px võrra väiksemaks / vähem zoomis */
body {
    background-size: 100% auto !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
}

/* Pealkiri logo stiilis */
header h1,
.hero-box h2 {
    font-family: Impact, "Arial Black", sans-serif !important;
    font-weight: 900 !important;
    letter-spacing: 1px !important;
    color: #d4af37 !important;
    text-transform: uppercase;
    -webkit-text-stroke: 1px #000000;

    text-shadow:
        2px 2px 0 #000000,
        -2px 2px 0 #000000,
        2px -2px 0 #000000,
        -2px -2px 0 #000000,
        0 0 12px rgba(212, 175, 55, 0.45);
}

/* Kirja-logo tagasi puhtasse stiili */
header h1 {
    font-family: Arial, sans-serif !important;
    font-size: 48px !important;
    font-weight: 800 !important;
    letter-spacing: 2px !important;
    color: #d4af37 !important;
    text-transform: none !important;
    -webkit-text-stroke: 0 !important;
    text-shadow: none !important;
}

.hero-box h2 {
    font-family: Arial, sans-serif !important;
    font-size: 44px !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    color: #d4af37 !important;
    text-transform: none !important;
    -webkit-text-stroke: 0 !important;
    text-shadow: none !important;
}

/* RLFARMER36 logo-stiilis tekst */
.brand-logo-text {
    font-family: Impact, "Arial Black", sans-serif !important;
    font-weight: 900 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    line-height: 1 !important;

    -webkit-text-stroke: 2px #111111;

    text-shadow:
        3px 3px 0 #000000,
        5px 5px 0 rgba(0, 0, 0, 0.55),
        0 0 12px rgba(180, 0, 255, 0.35);
}

.brand-white {
    color: #f2f2f2;
}

.brand-gold {
    color: #d9a928;
}

/* Ülemine logo suurus */
header .brand-logo-text {
    font-size: 54px !important;
}

/* Avalehe sees olev logo suurus */
.hero-logo-text {
    font-size: 48px !important;
    margin-bottom: 22px !important;
}

/* Logo-kirja pehmem variant */
.brand-logo-text {
    font-family: "Arial Black", Arial, sans-serif !important;
    font-weight: 900 !important;
    letter-spacing: -1px !important;
    text-transform: uppercase !important;
    line-height: 1 !important;

    -webkit-text-stroke: 1px #111111 !important;

    text-shadow:
        2px 2px 0 #000000,
        3px 3px 0 rgba(0, 0, 0, 0.55),
        0 0 8px rgba(120, 0, 255, 0.35) !important;
}

/* RLFARMER valge / hallikas */
.brand-logo-text .brand-white {
    color: #eeeeee !important;
}

/* 36 kollane */
.brand-logo-text .brand-gold {
    color: #d4a72c !important;
}

/* Ülemine logo */
header .brand-logo-text {
    font-size: 46px !important;
}

/* Avalehe kasti logo */
.hero-logo-text {
    font-size: 42px !important;
    margin-bottom: 22px !important;
}

/* Logo-kirja viltusem ja tugevam stiil */
.brand-logo-text {
    display: inline-block !important;
    font-family: "Arial Black", Arial, sans-serif !important;
    font-weight: 900 !important;
    letter-spacing: -1px !important;
    text-transform: uppercase !important;
    line-height: 1 !important;

    transform: skew(-8deg) scaleX(1.08) !important;
    transform-origin: center;

    -webkit-text-stroke: 1.2px #090909 !important;

    text-shadow:
        2px 2px 0 #000000,
        4px 4px 0 rgba(0, 0, 0, 0.65),
        0 0 10px rgba(120, 0, 255, 0.45) !important;
}

/* RLFARMER valge */
.brand-logo-text .brand-white {
    color: #f4f4f4 !important;
}

/* 36 kollane */
.brand-logo-text .brand-gold {
    color: #d4a72c !important;
}

/* Ülemine logo suurus */
header .brand-logo-text {
    font-size: 48px !important;
}

/* Avalehe kasti logo */
.hero-logo-text {
    font-size: 44px !important;
    margin-bottom: 22px !important;
}

/* Header logo ja 18+ märgi paigutuse parandus */
header .brand-logo-text {
    display: block !important;
    width: fit-content !important;
    margin: 0 auto 10px !important;
    text-align: center !important;

    transform: skew(-8deg) scaleX(1.08) !important;
}

header p {
    display: block !important;
    margin-top: 8px !important;
    margin-bottom: 8px !important;
    color: #ffffff !important;
    font-size: 17px !important;
}

.age-warning {
    display: inline-block !important;
    margin-top: 8px !important;
}

/* Header logo ja 18+ märgi paigutuse parandus */
header .brand-logo-text {
    display: block !important;
    width: fit-content !important;
    margin: 0 auto 10px !important;
    text-align: center !important;

    transform: skew(-8deg) scaleX(1.08) !important;
}

header p {
    display: block !important;
    margin-top: 8px !important;
    margin-bottom: 8px !important;
    color: #ffffff !important;
    font-size: 17px !important;
}

.age-warning {
    display: inline-block !important;
    margin-top: 8px !important;
}

/* Menüü nuppude uus neon/klaas stiil */
.menu-btn {
    min-width: 150px !important;
    font-size: 22px !important;
    padding: 13px 22px !important;

    font-family: "Arial Black", Arial, sans-serif !important;
    font-weight: 900 !important;
    letter-spacing: 0.3px !important;

    color: #d4af37 !important;
    background: rgba(5, 0, 10, 0.55) !important;

    border: 2px solid rgba(212, 175, 55, 0.75) !important;
    border-radius: 10px !important;

    box-shadow:
        inset 0 0 10px rgba(212, 175, 55, 0.08),
        0 0 14px rgba(120, 0, 255, 0.25);

    text-shadow: 1px 1px 0 #000000;
    transition: 0.2s ease-in-out !important;
}

/* Hiirega peale minnes */
.menu-btn:hover {
    color: #ffffff !important;
    background: rgba(70, 0, 120, 0.65) !important;
    transform: translateY(-2px) !important;

    box-shadow:
        inset 0 0 12px rgba(212, 175, 55, 0.15),
        0 0 22px rgba(212, 175, 55, 0.35),
        0 0 28px rgba(120, 0, 255, 0.35);
}

/* Aktiivne nupp */
.menu-btn.active {
    color: #12001f !important;
    background: linear-gradient(180deg, #f0c94b, #c99a20) !important;
    border-color: #f0c94b !important;

    box-shadow:
        0 0 18px rgba(212, 175, 55, 0.75),
        inset 0 0 8px rgba(255, 255, 255, 0.25);

    text-shadow: none !important;
}

/* LÕPLIK PARANDUS: taust katab kogu lehe */
html {
    min-height: 100%;
    background: #05000a;
}

body {
    min-height: 100vh;
    background: #05000a !important;
    position: relative;
    overflow-x: hidden;
}

/* Eraldi taustakiht kogu veebilehe taha */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;

    background-image:
        linear-gradient(
            rgba(5, 0, 10, 0.08),
            rgba(5, 0, 10, 0.58)
        ),
        url("./images/rlfarmer36_taust_4k.jpg");

    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

/* Et sisu ise ei tekitaks halli tausta */
main {
    background: transparent !important;
}

section {
    background: rgba(5, 0, 10, 0.72) !important;
}

/* PARANDUS: taustapilt tagasi nähtavaks kogu lehel */
html {
    min-height: 100%;
    background: #05000a;
}

body {
    min-height: 100vh;
    background: transparent !important;
    position: relative;
    overflow-x: hidden;
}

/* Taustapilt eraldi kihina */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(5, 0, 10, 0.08),
            rgba(5, 0, 10, 0.58)
        ),
        url("./images/rlfarmer36_taust_4k.jpg");

    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

/* Kõik lehe päris asjad taustapildi peale */
header,
nav,
main,
footer {
    position: relative;
    z-index: 1;
}

/* ============================= */
/* LÕPLIK TAUSTA PARANDUS */
/* ============================= */

html {
    min-height: 100%;
    background: #05000a !important;
}

body {
    min-height: 100vh;
    margin: 0;
    background:
        linear-gradient(
            rgba(5, 0, 10, 0.10),
            rgba(5, 0, 10, 0.62)
        ),
        url("./images/rlfarmer36_taust_4k.jpg") !important;

    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
    overflow-x: hidden;
}

/* Halli ala vältimine */
main {
    background: transparent !important;
}

/* Header jääb läbipaistev, aga loetav */
header {
    background: rgba(10, 0, 18, 0.45) !important;
    backdrop-filter: none !important;
}

/* Menüü kastina, mitte pika ribana */
nav {
    width: fit-content;
    max-width: 95%;
    margin: 14px auto 22px;
    padding: 12px 16px;

    background: rgba(10, 0, 18, 0.58) !important;
    border: 1px solid rgba(212, 175, 55, 0.55) !important;
    border-radius: 16px;

    box-shadow:
        0 0 22px rgba(212, 175, 55, 0.16),
        0 0 28px rgba(120, 0, 255, 0.22);
}

/* Footer väikse kastina */
footer {
    width: fit-content;
    max-width: 90%;
    margin: 20px auto 18px;
    padding: 12px 34px;

    background: rgba(28, 0, 48, 0.74) !important;
    border: 1px solid rgba(212, 175, 55, 0.65) !important;
    border-radius: 14px;

    box-shadow: 0 0 22px rgba(212, 175, 55, 0.18);
}

/* Eemaldame ülevalt jooksva tumeda triibu */
header {
    background: transparent !important;
    box-shadow: none !important;
    border-bottom: none !important;
}

/* Menüü ainult oma kastina, mitte täislaiuses ribana */
nav {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 14px !important;

    width: fit-content !important;
    max-width: 95% !important;
    margin: 18px auto 28px !important;
    padding: 12px 16px !important;

    background: rgba(10, 0, 18, 0.55) !important;
    border: 1px solid rgba(212, 175, 55, 0.55) !important;
    border-radius: 16px !important;

    box-shadow:
        0 0 22px rgba(212, 175, 55, 0.16),
        0 0 28px rgba(120, 0, 255, 0.22) !important;
}

/* Kui mõni vana joon jäi peale */
nav::before,
nav::after,
header::before,
header::after {
    display: none !important;
    content: none !important;
}

/* ============================= */
/* AVALEHE SUUR KAST STIILSEMAKS */
/* ============================= */

#avaleht {
    max-width: 1150px !important;
    margin: 0 auto 45px !important;
    padding: 0 !important;

    background:
        linear-gradient(
            135deg,
            rgba(5, 0, 10, 0.88),
            rgba(35, 0, 60, 0.70),
            rgba(5, 0, 10, 0.88)
        ) !important;

    border: 2px solid rgba(150, 0, 255, 0.95) !important;
    border-radius: 18px !important;

    box-shadow:
        0 0 28px rgba(150, 0, 255, 0.45),
        0 0 45px rgba(212, 175, 55, 0.12),
        inset 0 0 40px rgba(0, 0, 0, 0.45) !important;

    overflow: hidden;
    position: relative;
}

/* Väike kuldne neoonjoon kasti ülaossa */
#avaleht::before {
    content: "";
    position: absolute;
    top: 0;
    left: 8%;
    width: 84%;
    height: 2px;

    background: linear-gradient(
        90deg,
        transparent,
        #d4af37,
        transparent
    );

    box-shadow: 0 0 18px rgba(212, 175, 55, 0.75);
}

/* Avalehe sisu paigutus */
#avaleht .hero-box {
    padding: 65px 45px 55px !important;
    background: rgba(0, 0, 0, 0.22) !important;
}

/* Avalehe põhitekstid */
#avaleht .hero-box p {
    font-size: 20px !important;
    line-height: 1.6 !important;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.85);
}

/* Avalehe nupud natuke tugevamaks */
#avaleht .hero-btn {
    font-size: 18px !important;
    padding: 14px 30px !important;
    border-radius: 12px !important;
}

/* Alumised 3 kasti veidi premium stiili */
#avaleht .home-highlight {
    background:
        linear-gradient(
            180deg,
            rgba(45, 0, 75, 0.90),
            rgba(20, 0, 35, 0.92)
        ) !important;

    border: 2px solid rgba(212, 175, 55, 0.95) !important;
    border-radius: 14px !important;

    box-shadow:
        0 0 18px rgba(212, 175, 55, 0.22),
        inset 0 0 18px rgba(120, 0, 255, 0.16) !important;
}

/* AVALEHE KAST VEEL ROHKEM NEON / GLASS STIILI */
#avaleht {
    background:
        radial-gradient(circle at top left, rgba(150, 0, 255, 0.22), transparent 35%),
        radial-gradient(circle at bottom right, rgba(212, 175, 55, 0.12), transparent 35%),
        rgba(5, 0, 10, 0.82) !important;

    border: 2px solid rgba(170, 0, 255, 1) !important;
    border-radius: 22px !important;

    box-shadow:
        0 0 18px rgba(170, 0, 255, 0.9),
        0 0 45px rgba(170, 0, 255, 0.45),
        0 0 70px rgba(212, 175, 55, 0.14),
        inset 0 0 35px rgba(120, 0, 255, 0.20) !important;
}

/* Avalehe kasti sees klaasjas tumendus */
#avaleht .hero-box {
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.25),
            rgba(20, 0, 35, 0.45)
        ) !important;
}

/* Alumised 3 kastid rohkem neooniks */
#avaleht .home-highlight {
    background:
        linear-gradient(
            180deg,
            rgba(55, 0, 85, 0.95),
            rgba(12, 0, 22, 0.95)
        ) !important;

    border: 2px solid #d4af37 !important;

    box-shadow:
        0 0 15px rgba(212, 175, 55, 0.35),
        0 0 30px rgba(120, 0, 255, 0.25),
        inset 0 0 18px rgba(212, 175, 55, 0.08) !important;
}

/* Avalehe neooni natuke puhtamaks */
#avaleht {
    box-shadow:
        0 0 14px rgba(170, 0, 255, 0.65),
        0 0 32px rgba(170, 0, 255, 0.32),
        0 0 55px rgba(212, 175, 55, 0.10),
        inset 0 0 32px rgba(120, 0, 255, 0.16) !important;
}

/* Avalehe alumiste kastide parem tasakaal */
#avaleht .home-highlight {
    box-shadow:
        0 0 12px rgba(212, 175, 55, 0.28),
        0 0 22px rgba(120, 0, 255, 0.18),
        inset 0 0 14px rgba(212, 175, 55, 0.06) !important;
}

/* Menüü font stiilsemaks */
.menu-btn {
    font-family: "Exo 2", Arial, sans-serif !important;
    font-weight: 900 !important;
    letter-spacing: 0.5px !important;
    text-transform: none !important;
}

/* Farmer / western stiilis menüü font */
.menu-btn {
    font-family: "Rye", "Exo 2", Arial, sans-serif !important;
    font-weight: 400 !important;
    letter-spacing: 0.8px !important;
    font-size: 24px !important;
}

/* Farmer / western font väikeste kastide pealkirjadele */
.home-highlight h3,
.info-box h3,
.stream-box h3,
.partner-box h3,
.contact-box h3 {
    font-family: "Rye", "Exo 2", Arial, sans-serif !important;
    font-weight: 400 !important;
    letter-spacing: 0.7px !important;
    font-size: 24px !important;
    color: #d4af37 !important;

    text-shadow:
        1px 1px 0 #000000,
        0 0 10px rgba(212, 175, 55, 0.35);
}

/* Farmer / western font kõikidele klikitavatele nuppudele */
.hero-btn,
.partner-action,
.contact-action,
.twitch-link-box a {
    font-family: "Rye", "Exo 2", Arial, sans-serif !important;
    font-weight: 400 !important;
    letter-spacing: 0.6px !important;
    font-size: 20px !important;
}

/* Väiksemad kontakt nupud */
.contact-action {
    font-size: 18px !important;
}

/* Hover jääb ilus ja loetav */
.hero-btn:hover,
.partner-action:hover,
.contact-action:hover,
.twitch-link-box a:hover {
    text-shadow:
        1px 1px 0 #000000,
        0 0 10px rgba(212, 175, 55, 0.45) !important;
}

/* Suurte pealkirjade farmer/silt stiil */
.page-section > h2 {
    font-family: "Bree Serif", Georgia, serif !important;
    font-weight: 400 !important;
    font-size: 44px !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;

    color: #d4af37 !important;

    text-shadow:
        2px 2px 0 #000000,
        0 0 12px rgba(212, 175, 55, 0.35),
        0 0 18px rgba(120, 0, 255, 0.25) !important;
}

/* Pealkirja alumine joon rohkem sildi moodi */
.page-section > h2::after {
    height: 4px !important;
    width: 100% !important;

    background: linear-gradient(
        90deg,
        transparent,
        #d4af37,
        #f0c94b,
        #d4af37,
        transparent
    ) !important;

    box-shadow: 0 0 14px rgba(212, 175, 55, 0.55);
    margin-top: 14px !important;
}

/* Avalehe RLFARMER36 jätame logo-stiilis, aga natuke puhtamaks */
.hero-logo-text {
    font-family: "Arial Black", Arial, sans-serif !important;
    transform: skew(-6deg) scaleX(1.06) !important;
}

/* Pealehe RLFARMER36 eraldi logo-stiil */
#avaleht .hero-logo-text {
    display: inline-block !important;
    position: relative !important;

    font-family: "Bungee", "Arial Black", Arial, sans-serif !important;
    font-size: 54px !important;
    letter-spacing: 1px !important;
    line-height: 1 !important;

    transform: skew(-7deg) scaleX(1.04) !important;
    margin-bottom: 32px !important;

    -webkit-text-stroke: 1px #050005 !important;

    text-shadow:
        3px 3px 0 #000000,
        5px 5px 0 rgba(0, 0, 0, 0.65),
        0 0 16px rgba(120, 0, 255, 0.55),
        0 0 24px rgba(212, 175, 55, 0.25) !important;
}

/* RLFARMER valge/hõbedane */
#avaleht .hero-logo-text .brand-white {
    color: #f5f5f5 !important;
}

/* 36 kollane/kuldne */
#avaleht .hero-logo-text .brand-gold {
    color: #d4af37 !important;
}

/* Väike casino/farm alatekst logo alla */
#avaleht .hero-logo-text::after {
    content: "CASINO ENTERTAINMENT";
    display: block;

    margin-top: 8px;
    font-family: "Rye", Arial, sans-serif;
    font-size: 15px;
    letter-spacing: 2px;
    color: #b000ff;

    text-align: center;
    transform: skew(7deg);

    text-shadow:
        1px 1px 0 #000000,
        0 0 10px rgba(176, 0, 255, 0.75);
}

/* Pealehe logo alatekst loetavamaks */
#avaleht .hero-logo-text::after {
    content: "CASINO ENTERTAINMENT";
    display: block;

    margin-top: 10px;
    padding: 4px 12px;

    font-family: "Rye", "Exo 2", Arial, sans-serif !important;
    font-size: 17px !important;
    letter-spacing: 2px !important;

    color: #d86bff !important;
    background: rgba(5, 0, 10, 0.65);

    border: 1px solid rgba(176, 0, 255, 0.65);
    border-radius: 8px;

    text-align: center;
    transform: skew(7deg);

    text-shadow:
        1px 1px 0 #000000,
        0 0 8px rgba(216, 107, 255, 0.85),
        0 0 14px rgba(176, 0, 255, 0.65) !important;
}

/* Eemaldame pealehe logo alt Casino Entertainment teksti */
#avaleht .hero-logo-text::after {
    display: none !important;
    content: none !important;
}

/* Ülemine RLFARMER36 samasse stiili nagu pealehe logo */
header .brand-logo-text {
    display: block !important;
    width: fit-content !important;
    margin: 0 auto 12px !important;

    font-family: "Bungee", "Arial Black", Arial, sans-serif !important;
    font-size: 52px !important;
    font-weight: 900 !important;
    letter-spacing: 1px !important;
    line-height: 1 !important;

    transform: skew(-7deg) scaleX(1.04) !important;

    -webkit-text-stroke: 1px #050005 !important;

    text-shadow:
        3px 3px 0 #000000,
        5px 5px 0 rgba(0, 0, 0, 0.65),
        0 0 16px rgba(120, 0, 255, 0.55),
        0 0 24px rgba(212, 175, 55, 0.25) !important;
}

/* Ülemise logo RLFARMER valgeks */
header .brand-logo-text .brand-white {
    color: #f5f5f5 !important;
}

/* Ülemise logo 36 kollaseks */
header .brand-logo-text .brand-gold {
    color: #d4af37 !important;
}

/* Avalehe lihtteksti parem stiil */
#avaleht .hero-box p {
    font-family: "Exo 2", Arial, sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px !important;
    color: #f4f4f4 !important;

    text-shadow:
        1px 1px 0 #000000,
        0 0 10px rgba(0, 0, 0, 0.85),
        0 0 12px rgba(120, 0, 255, 0.28) !important;
}

/* Esimene tervitustekst natuke erilisem */
#avaleht .hero-text {
    font-size: 24px !important;
    color: #ffffff !important;
    margin-bottom: 12px !important;
}

/* Teine kirjeldav rida natuke rahulikum */
#avaleht .hero-box p:not(.hero-text) {
    color: #e8e8e8 !important;
    font-size: 21px !important;
}

/* Avalehe suure kasti servad puhtamaks */
#avaleht {
    border-color: rgba(170, 0, 255, 0.75) !important;

    box-shadow:
        0 0 10px rgba(170, 0, 255, 0.45),
        0 0 24px rgba(170, 0, 255, 0.24),
        0 0 40px rgba(212, 175, 55, 0.08),
        inset 0 0 28px rgba(120, 0, 255, 0.12) !important;
}

/* Parempoolne serv ei karju enam nii palju */
#avaleht {
    background:
        radial-gradient(circle at top left, rgba(150, 0, 255, 0.18), transparent 35%),
        radial-gradient(circle at bottom right, rgba(212, 175, 55, 0.08), transparent 35%),
        rgba(5, 0, 10, 0.86) !important;
}

/* Avalehe kast nihkub vasakule, et tooli FARMER36 kiri paistaks */
@media (min-width: 1000px) {
    #avaleht {
        max-width: 1000px !important;
        transform: translateX(-100px) !important;
    }
}

/* Kõik kategooria kastid samasse premium stiili nagu avaleht */
#minust,
#striimid,
#koostoo,
#kontakt {
    max-width: 1000px !important;
    margin: 0 auto 45px !important;
    padding: 45px 38px !important;

    background:
        radial-gradient(circle at top left, rgba(150, 0, 255, 0.18), transparent 35%),
        radial-gradient(circle at bottom right, rgba(212, 175, 55, 0.08), transparent 35%),
        rgba(5, 0, 10, 0.86) !important;

    border: 2px solid rgba(170, 0, 255, 0.75) !important;
    border-radius: 22px !important;

    box-shadow:
        0 0 10px rgba(170, 0, 255, 0.45),
        0 0 24px rgba(170, 0, 255, 0.24),
        0 0 40px rgba(212, 175, 55, 0.08),
        inset 0 0 28px rgba(120, 0, 255, 0.12) !important;

    overflow: hidden;
    position: relative;
}

/* Teised kategooriad nihkuvad samuti vasakule, et tooli FARMER36 paremini paistaks */
@media (min-width: 1000px) {
    #minust,
    #striimid,
    #koostoo,
    #kontakt {
        transform: translateX(-100px) !important;
    }
}

/* Koostööpartnerid 18+ märk keskele ja ilusaks */
#koostoo .partner-age-warning {
    display: block !important;
    width: fit-content !important;

    margin: 0 auto 22px !important;
    padding: 9px 22px !important;

    background: rgba(5, 0, 10, 0.75) !important;
    color: #d4af37 !important;

    border: 2px solid #d4af37 !important;
    border-radius: 24px !important;

    font-family: "Exo 2", Arial, sans-serif !important;
    font-size: 17px !important;
    font-weight: 900 !important;

    text-align: center !important;

    box-shadow:
        0 0 16px rgba(212, 175, 55, 0.35),
        inset 0 0 10px rgba(212, 175, 55, 0.08) !important;

    text-shadow:
        1px 1px 0 #000000,
        0 0 8px rgba(212, 175, 55, 0.45) !important;
}

/* Ülemine logo pildina */
.site-logo {
    display: block;
    width: 260px;
    max-width: 85%;
    height: auto;

    margin: 0 auto 12px;

    filter:
        drop-shadow(0 0 10px rgba(0, 0, 0, 0.85))
        drop-shadow(0 0 14px rgba(120, 0, 255, 0.45));

    transition: 0.2s ease-in-out;
}

.site-logo:hover {
    transform: scale(1.03);
    filter:
        drop-shadow(0 0 12px rgba(0, 0, 0, 0.9))
        drop-shadow(0 0 18px rgba(212, 175, 55, 0.35));
}

/* Header pildilogoga kompaktsemaks */
header {
    padding: 28px 20px 12px !important;
}

/* Vasakul oleva taustalogo peitmine */
body::after {
    content: "";
    position: fixed;
    left: 0;
    top: 90px;
    width: 430px;
    height: 290px;
    z-index: 0;
    pointer-events: none;

    background:
        radial-gradient(circle at center, rgba(5, 0, 10, 0.96), rgba(5, 0, 10, 0.72) 55%, transparent 100%);
}

/* Sisu jääb peitva kihi peale */
header,
nav,
main,
footer {
    position: relative;
    z-index: 2;
}

/* Keskmine logo suuremaks */
.site-logo {
    width: 390px !important;
    max-width: 90% !important;
    margin: 0 auto 18px !important;
}

/* Vasaku taustalogo tugevam peitmine */
body::after {
    content: "";
    position: fixed;
    left: 0;
    top: 95px;

    width: 470px;
    height: 300px;

    z-index: 0;
    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(5, 0, 10, 0.98) 0%,
            rgba(5, 0, 10, 0.95) 70%,
            rgba(5, 0, 10, 0.00) 100%
        ) !important;
}

/* Sisu jääb maski peale */
header,
nav,
main,
footer {
    position: relative;
    z-index: 2;
}

/* Keskmine logo suuremaks */
.site-logo {
    width: 430px !important;
    max-width: 90% !important;
    margin: 0 auto 18px !important;
}

/* Vasaku taustalogo lõplik peitmine */
body::after {
    content: "";
    position: fixed;
    left: 0;
    top: 95px;

    width: 520px;
    height: 350px;

    z-index: 1;
    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            #05000a 0%,
            #05000a 72%,
            rgba(5, 0, 10, 0.75) 88%,
            rgba(5, 0, 10, 0.00) 100%
        ) !important;

    box-shadow: 40px 0 60px rgba(5, 0, 10, 0.75);
}

/* Kõik päris sisu maski peale */
header,
nav,
main,
footer {
    position: relative;
    z-index: 2;
}

/* Keskmine logo suurus */
.site-logo {
    width: 430px !important;
    max-width: 90% !important;
    margin: 0 auto 18px !important;
}

/* Vasaku logo peitmine pehmemalt, ilma kõva musta kastita */
body::after {
    content: "";
    position: fixed;
    left: 0;
    top: 105px;

    width: 500px;
    height: 300px;

    z-index: 1;
    pointer-events: none;

    background:
        radial-gradient(
            ellipse at left center,
            rgba(5, 0, 10, 0.98) 0%,
            rgba(5, 0, 10, 0.92) 45%,
            rgba(5, 0, 10, 0.65) 70%,
            rgba(5, 0, 10, 0.00) 100%
        ) !important;

    box-shadow:
        35px 0 55px rgba(5, 0, 10, 0.55);
}

/* Sisu jääb peitva kihi peale */
header,
nav,
main,
footer {
    position: relative;
    z-index: 2;
}

/* Keskmine logo suuremaks */
.site-logo {
    width: 470px !important;
    max-width: 90% !important;
    margin: 0 auto 22px !important;
}

/* Eemaldame vasaku logo peitmise katsed, kui need jäid segama */
body::after,
html::after {
    display: none !important;
    content: none !important;
}

/* Ülemine keskmine logo peitu */
.site-logo {
    display: none !important;
}

/* Header ei võta enam ruumi */
header {
    display: block !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
}

/* Menüü tõstame üles logo asemele */
nav {
    margin: 70px auto 45px !important;
}

/* ============================= */
/* HOVER / ELUSAM STIIL */
/* ============================= */

/* Menüü nupud elavamaks */
.menu-btn {
    position: relative !important;
    overflow: hidden !important;
}

.menu-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;

    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.28),
        transparent
    );

    transform: skewX(-20deg);
    transition: 0.45s ease-in-out;
}

.menu-btn:hover::before {
    left: 130%;
}

.menu-btn:hover {
    transform: translateY(-3px) scale(1.02) !important;
    border-color: #f0c94b !important;

    box-shadow:
        0 0 18px rgba(212, 175, 55, 0.45),
        0 0 28px rgba(140, 0, 255, 0.35),
        inset 0 0 14px rgba(212, 175, 55, 0.12) !important;
}

/* Aktiivne menüü nupp tugevamaks */
.menu-btn.active {
    box-shadow:
        0 0 18px rgba(212, 175, 55, 0.75),
        0 0 34px rgba(212, 175, 55, 0.35),
        inset 0 0 12px rgba(255, 255, 255, 0.25) !important;
}

/* Avalehe kolm väikest kasti elavamaks */
.home-highlight {
    transition: 0.22s ease-in-out !important;
}

.home-highlight:hover {
    transform: translateY(-6px) scale(1.02) !important;

    border-color: #f0c94b !important;

    box-shadow:
        0 0 18px rgba(212, 175, 55, 0.45),
        0 0 32px rgba(140, 0, 255, 0.35),
        inset 0 0 18px rgba(212, 175, 55, 0.10) !important;
}

/* Menüü joondus alumise sisukastiga */
@media (min-width: 1000px) {
    nav {
        transform: translateX(-100px) !important;
    }
}

/* Menüü ja sisukastid logo suhtes paremini paika */
@media (min-width: 1000px) {
    nav {
        transform: translateX(-40px) !important;
    }

    #avaleht,
    #minust,
    #striimid,
    #koostoo,
    #kontakt {
        max-width: 940px !important;
        transform: translateX(-40px) !important;
    }
}

/* ============================= */
/* AVALEHT 100% ZOOMI JAOKS KOMPAKTSEMAKS */
/* ============================= */

@media (min-width: 1000px) {
    /* Menüü ja avalehe kast lähemale */
    nav {
        margin: 42px auto 18px !important;
        transform: translateX(-40px) !important;
    }

    #avaleht {
        max-width: 940px !important;
        margin: 0 auto 18px !important;
        transform: translateX(-40px) !important;
    }

    /* Suure kasti sisemine kõrgus väiksemaks */
    #avaleht .hero-box {
        padding: 38px 36px 34px !important;
    }

    /* Pealehe RLFARMER36 pealkiri veidi kompaktsem */
    #avaleht .hero-logo-text {
        font-size: 46px !important;
        margin-bottom: 18px !important;
    }

    /* Tekstivahed koomale */
    #avaleht .hero-box p {
        margin: 8px 0 !important;
        line-height: 1.35 !important;
    }

    /* Nupud ja alumised kastid lähemale */
    .hero-buttons {
        margin: 20px 0 28px !important;
    }

/* Striimi kalender */
.stream-calendar {
    margin: 28px auto 24px !important;
    padding: 22px 24px !important;

    background:
        linear-gradient(
            180deg,
            rgba(15, 0, 28, 0.88),
            rgba(5, 0, 10, 0.92)
        ) !important;

    border: 2px solid rgba(150, 0, 255, 0.85) !important;
    border-radius: 16px !important;

    box-shadow:
        0 0 18px rgba(150, 0, 255, 0.28),
        inset 0 0 18px rgba(212, 175, 55, 0.06) !important;
}

.stream-calendar h3 {
    margin-bottom: 8px !important;

    font-family: "Rye", "Exo 2", Arial, sans-serif !important;
    font-size: 26px !important;
    font-weight: 400 !important;
    color: #d4af37 !important;

    text-shadow:
        1px 1px 0 #000000,
        0 0 10px rgba(212, 175, 55, 0.35) !important;
}

.calendar-note {
    margin-bottom: 18px !important;
    font-size: 15px !important;
    color: #e8e8e8 !important;
    opacity: 0.9;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.calendar-card {
    padding: 16px 14px;

    background: rgba(45, 0, 75, 0.78);
    border: 1px solid rgba(212, 175, 55, 0.85);
    border-radius: 12px;

    box-shadow:
        0 0 12px rgba(212, 175, 55, 0.18),
        inset 0 0 12px rgba(120, 0, 255, 0.12);

    transition: 0.2s ease-in-out;
}

.calendar-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 0 16px rgba(212, 175, 55, 0.35),
        0 0 24px rgba(120, 0, 255, 0.25);
}

.calendar-day {
    display: inline-block;
    margin-bottom: 8px;
    padding: 5px 10px;

    background: #d4af37;
    color: #12001f;

    border-radius: 8px;

    font-family: "Exo 2", Arial, sans-serif;
    font-weight: 900;
}

.calendar-card strong {
    display: block;
    margin-bottom: 8px;

    color: #d4af37;
    font-size: 16px;
}

.calendar-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.35;
}

/* Kalender telefonis üksteise alla */
@media (max-width: 900px) {
    .calendar-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .calendar-grid {
        grid-template-columns: 1fr;
    }
}

    .home-highlights,
    .info-boxes {
        gap: 14px !important;
        margin-top: 22px !important;
    }

    .home-highlight {
        padding: 22px 18px !important;
        min-height: 125px !important;
    }

    /* Copyright/footer ülespoole */
    footer {
        margin: 8px auto 12px !important;
        padding: 10px 28px !important;
    }
}

/* Kalendri seletustekst paremini nähtavaks */
#kalender .calendar-note {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    letter-spacing: 0.2px !important;

    text-shadow:
        1px 1px 0 #000000,
        0 0 10px rgba(0, 0, 0, 0.9),
        0 0 12px rgba(212, 175, 55, 0.25) !important;
}

/* ============================= */
/* KALENDER - PARANDUS / GRID TAGASI */
/* ============================= */

#kalender {
    max-width: 940px !important;
    margin: 0 auto 10px !important;
    padding: 26px 32px 24px !important;
    transform: translateX(-40px) !important;

    background:
        radial-gradient(circle at top left, rgba(150, 0, 255, 0.18), transparent 35%),
        radial-gradient(circle at bottom right, rgba(212, 175, 55, 0.08), transparent 35%),
        rgba(5, 0, 10, 0.86) !important;

    border: 2px solid rgba(170, 0, 255, 0.75) !important;
    border-radius: 22px !important;

    box-shadow:
        0 0 10px rgba(170, 0, 255, 0.45),
        0 0 24px rgba(170, 0, 255, 0.24),
        inset 0 0 28px rgba(120, 0, 255, 0.12) !important;
}

#kalender h2 {
    font-size: 38px !important;
    margin-bottom: 10px !important;
}

#kalender .calendar-note {
    margin: 8px auto 10px !important;
    max-width: 760px !important;

    font-size: 17px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    color: #ffffff !important;
    text-align: center !important;

    text-shadow:
        1px 1px 0 #000000,
        0 0 10px rgba(0, 0, 0, 0.9),
        0 0 12px rgba(212, 175, 55, 0.25) !important;
}

.month-title {
    display: block !important;
    margin: 10px auto 10px !important;

    color: #d4af37 !important;
    font-family: "Rye", "Exo 2", Arial, sans-serif !important;
    font-size: 24px !important;
    text-align: center !important;

    text-shadow:
        1px 1px 0 #000000,
        0 0 12px rgba(212, 175, 55, 0.45) !important;
}

.month-calendar {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 6px !important;

    width: 100% !important;
    margin: 10px auto 14px !important;
}

.week-day {
    display: block !important;
    padding: 4px !important;

    text-align: center !important;
    color: #d4af37 !important;

    font-family: "Exo 2", Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 900 !important;

    border-bottom: 1px solid rgba(212, 175, 55, 0.5) !important;
}

.day-card,
.calendar-empty {
    min-height: 54px !important;
    padding: 6px 7px !important;
    border-radius: 8px !important;
}

.day-card {
    display: block !important;

    background: rgba(38, 0, 62, 0.78) !important;
    border: 1px solid rgba(212, 175, 55, 0.65) !important;

    box-shadow:
        inset 0 0 10px rgba(120, 0, 255, 0.12) !important;
}

.day-card span {
    display: block !important;
    margin-bottom: 3px !important;

    color: #d4af37 !important;
    font-size: 14px !important;
    font-weight: 900 !important;
}

.day-card p {
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.15 !important;
    color: #ffffff !important;
}

.day-card.live {
    border-color: #f0c94b !important;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.35) !important;
}

.day-card.casino {
    border-color: #b000ff !important;
    box-shadow: 0 0 12px rgba(176, 0, 255, 0.35) !important;
}

.day-card.pc {
    border-color: #8a5cff !important;
    box-shadow: 0 0 12px rgba(138, 92, 255, 0.35) !important;
}

#kalender > .hero-btn,
#kalender > .hero-btn.second {
    display: block !important;
    width: fit-content !important;
    margin: 12px auto 0 !important;
    padding: 9px 18px !important;
    font-size: 17px !important;
}

/* Striimid lehe kalendri nupp tagasi keskele */
#striimid .calendar-open-box {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 14px auto 16px !important;
    text-align: center !important;
}

#striimid .calendar-open-box .hero-btn {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;

    width: fit-content !important;
    min-width: 270px !important;
    margin: 0 auto !important;
}/* Kalendri seletustekst natuke rahulikumaks */
#kalender .calendar-note {
    max-width: 820px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    margin: 8px auto 8px !important;
}

/* Kalender ühte tooni - kõik päevakastid sama stiiliga */
#kalender .day-card,
#kalender .day-card.live,
#kalender .day-card.casino,
#kalender .day-card.pc {
    background: rgba(38, 0, 62, 0.78) !important;

    border: 1px solid rgba(212, 175, 55, 0.75) !important;

    box-shadow:
        0 0 8px rgba(212, 175, 55, 0.18),
        inset 0 0 10px rgba(120, 0, 255, 0.12) !important;
}

/* Kuupäeva number sama kuldne */
#kalender .day-card span {
    color: #d4af37 !important;
}

/* Punktid/tekstid kastis rahulikuks */
#kalender .day-card p {
    color: #ffffff !important;
}

/* Hover ka samas toonis */
#kalender .day-card:hover,
#kalender .day-card.live:hover,
#kalender .day-card.casino:hover,
#kalender .day-card.pc:hover {
    border-color: #f0c94b !important;

    box-shadow:
        0 0 14px rgba(212, 175, 55, 0.35),
        inset 0 0 12px rgba(212, 175, 55, 0.10) !important;
}

/* Koostööpartnerid leht 100% zoomi jaoks kompaktsemaks */
@media (min-width: 1000px) {
    #koostoo {
        max-width: 940px !important;
        padding: 26px 32px 24px !important;
        margin: 0 auto 10px !important;
        transform: translateX(-40px) !important;
    }

    #koostoo h2 {
        font-size: 38px !important;
        margin-bottom: 8px !important;
    }

    #koostoo h2::after {
        margin-top: 8px !important;
    }

    #koostoo .partner-age-warning {
        margin: 8px auto 14px !important;
        padding: 7px 18px !important;
        font-size: 15px !important;
    }

    #koostoo > p {
        max-width: 820px !important;
        margin: 8px auto 14px !important;
        font-size: 16px !important;
        line-height: 1.28 !important;
    }

    #koostoo .partner-boxes {
        gap: 12px !important;
        margin: 14px 0 14px !important;
    }

    #koostoo .partner-box {
        padding: 16px 14px !important;
        min-height: 108px !important;
    }

    #koostoo .partner-box h3 {
        font-size: 23px !important;
        margin-bottom: 7px !important;
    }

    #koostoo .partner-box p {
        font-size: 14px !important;
        line-height: 1.25 !important;
    }

    #koostoo .partner-note,
    #koostoo .adult-note {
        margin: 12px auto !important;
        padding: 12px 18px !important;
        font-size: 15px !important;
    }

    #koostoo .partner-contact-box,
    #koostoo .contact-cta,
    #koostoo .cta-box {
        margin-top: 12px !important;
        padding: 16px 20px !important;
    }

    #koostoo .hero-btn {
        padding: 10px 22px !important;
        font-size: 18px !important;
    }

    footer {
        margin-top: 6px !important;
        padding: 8px 24px !important;
    }
}

/* Kontakt lehe nupud samale kõrgusele */
#kontakt .contact-box {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}

#kontakt .contact-box p {
    min-height: 46px !important;
}

#kontakt .contact-action {
    margin-top: auto !important;
    align-self: center !important;
}

/* Striimid leht veel kompaktsemaks 100% zoomi jaoks */
@media (min-width: 1000px) {
    #striimid {
        max-width: 920px !important;
        padding: 22px 30px 18px !important;
        margin: 0 auto 6px !important;
        transform: translateX(-40px) !important;
    }

    #striimid h2 {
        font-size: 34px !important;
        margin-bottom: 6px !important;
    }

    #striimid h2::after {
        margin-top: 6px !important;
    }

    #striimid > p {
        max-width: 780px !important;
        margin: 6px auto 7px !important;
        font-size: 14.5px !important;
        line-height: 1.24 !important;
    }

    #striimid .stream-boxes {
        gap: 10px !important;
        margin-top: 10px !important;
        margin-bottom: 8px !important;
    }

    #striimid .stream-box {
        padding: 13px 12px !important;
        min-height: 92px !important;
    }

    #striimid .stream-box h3 {
        font-size: 21px !important;
        margin-bottom: 5px !important;
    }

    #striimid .stream-box p {
        font-size: 13.5px !important;
        line-height: 1.18 !important;
    }

    #striimid .calendar-open-box {
        margin: 8px auto 10px !important;
    }

    #striimid .calendar-open-box .hero-btn {
        padding: 8px 18px !important;
        font-size: 17px !important;
        min-width: 245px !important;
    }

    #striimid .twitch-link-box {
        margin-top: 8px !important;
        padding: 10px 18px !important;
    }

    #striimid .twitch-link-box p {
        margin-bottom: 6px !important;
        font-size: 14px !important;
    }

    #striimid .twitch-link-box a {
        padding: 7px 20px !important;
        font-size: 17px !important;
    }

    footer {
        margin-top: 4px !important;
        padding: 7px 22px !important;
    }
}

/* ============================= */
/* SÜLEARVUTI / VÄIKSEM DESKTOP PARANDUS */
/* ============================= */

@media (min-width: 769px) and (max-width: 1400px) {
    html,
    body {
        overflow-x: hidden !important;
    }

    body {
        background-size: cover !important;
        background-position: center top !important;
    }

    .site-logo {
        width: 240px !important;
        max-width: 240px !important;
        height: auto !important;
        left: 35px !important;
        top: 70px !important;
    }

    nav {
        max-width: 840px !important;
        width: fit-content !important;

        margin: 36px auto 22px !important;
        padding: 10px 14px !important;

        gap: 10px !important;
        transform: translateX(55px) !important;
    }

    .menu-btn {
        min-width: auto !important;
        padding: 12px 22px !important;
        font-size: 23px !important;
        white-space: nowrap !important;
    }

    .menu-btn:nth-child(4) {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    main {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .page-section,
    #avaleht,
    #minust,
    #striimid,
    #kalender,
    #koostoo,
    #kontakt {
        max-width: 860px !important;
        width: calc(100vw - 420px) !important;

        min-width: 720px !important;

        margin: 0 auto 14px !important;
        padding: 26px 30px !important;

        transform: translateX(60px) !important;
        box-sizing: border-box !important;
    }

    .hero-box {
        max-width: 100% !important;
        width: 100% !important;
        padding: 24px 26px !important;
        box-sizing: border-box !important;
    }

    .brand-logo-text,
    .hero-logo-text {
        font-size: 42px !important;
        max-width: 100% !important;
        white-space: nowrap !important;
    }

    h2,
    #minust h2,
    #striimid h2,
    #kalender h2,
    #koostoo h2,
    #kontakt h2 {
        font-size: 36px !important;
        margin-bottom: 10px !important;
    }

    p {
        font-size: 15px !important;
        line-height: 1.3 !important;
    }

    .home-highlights,
    .info-boxes,
    .stream-boxes,
    .partner-boxes,
    .contact-boxes {
        gap: 12px !important;
    }

    .home-highlight,
    .info-box,
    .stream-box,
    .partner-box,
    .contact-box {
        padding: 16px 14px !important;
        min-height: auto !important;
    }

    .home-highlight h3,
    .info-box h3,
    .stream-box h3,
    .partner-box h3,
    .contact-box h3 {
        font-size: 22px !important;
        margin-bottom: 7px !important;
    }

    .home-highlight p,
    .info-box p,
    .stream-box p,
    .partner-box p,
    .contact-box p {
        font-size: 14px !important;
        line-height: 1.25 !important;
    }

    .hero-btn,
    .contact-action {
        padding: 9px 18px !important;
        font-size: 17px !important;
    }

    .twitch-link-box {
        padding: 12px 16px !important;
    }

    .month-calendar {
        gap: 5px !important;
    }

    .day-card,
    .calendar-empty {
        min-height: 48px !important;
        padding: 5px !important;
    }

    footer {
        max-width: 620px !important;
        margin: 12px auto 0 !important;
        padding: 8px 18px !important;
        transform: translateX(60px) !important;
    }
}

/* ============================= */
/* AINULT TELEFON - AVALEHT PARANDUS */
/* ============================= */

@media (max-width: 768px) {

    html,
    body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    body {
        padding: 8px 8px 22px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    nav {
        width: calc(100vw - 16px) !important;
        max-width: calc(100vw - 16px) !important;
        margin: 8px auto 16px !important;
        padding: 10px !important;
        box-sizing: border-box !important;
        transform: none !important;
    }

    main {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    #avaleht,
    #avaleht .hero-box {
        width: calc(100vw - 16px) !important;
        max-width: calc(100vw - 16px) !important;
        min-width: 0 !important;

        margin-left: auto !important;
        margin-right: auto !important;

        padding-left: 12px !important;
        padding-right: 12px !important;

        transform: none !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    #avaleht .brand-logo-text,
    #avaleht .hero-logo-text {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;

        font-size: 30px !important;
        line-height: 1 !important;
        letter-spacing: 0 !important;

        white-space: nowrap !important;
        text-align: center !important;

        transform: scale(0.9) !important;
        transform-origin: center center !important;
    }

    #avaleht .hero-text,
    #avaleht p {
        max-width: 100% !important;
        font-size: 16px !important;
        line-height: 1.35 !important;
        text-align: center !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
    }

    #avaleht .hero-buttons {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
    }

    #avaleht .hero-btn {
        width: auto !important;
        max-width: 90% !important;
        min-width: 190px !important;
        font-size: 18px !important;
        padding: 10px 16px !important;
    }

    #avaleht .home-highlights {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    #avaleht .home-highlight {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
}

/* ============================= */
/* TELEFON - LOGO TAGASI + TAUST PAREMALE */
/* ============================= */

@media (max-width: 768px) {

    body {
        background-size: auto 100vh !important;
        background-position: 58% top !important;
        background-repeat: no-repeat !important;
        background-color: #050008 !important;
    }

    header {
        display: block !important;
        width: 100% !important;
        margin: 6px auto 8px !important;
        text-align: center !important;
        position: relative !important;
        z-index: 5 !important;
    }

    .site-logo {
        display: block !important;
        position: relative !important;
        left: auto !important;
        top: auto !important;

        width: 190px !important;
        max-width: 70vw !important;
        height: auto !important;

        margin: 0 auto 8px !important;
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 10 !important;
    }

    nav {
        margin-top: 6px !important;
    }

    #avaleht,
    #avaleht .hero-box {
        margin-top: 10px !important;
    }
}

/* ============================= */
/* TELEFON - LOGO KINDLALT MENÜÜ KOHALE */
/* ============================= */

@media (max-width: 768px) {

    body {
        padding-top: 8px !important;
    }

    header {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 120px !important;
        margin: 0 auto 6px !important;
        padding: 0 !important;
        text-align: center !important;
        position: relative !important;
        z-index: 999 !important;
        overflow: visible !important;
    }

    header .site-logo,
    .site-logo,
    img.site-logo {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;

        position: static !important;

        width: 210px !important;
        max-width: 78vw !important;
        height: auto !important;

        margin: 0 auto !important;
        padding: 0 !important;

        transform: none !important;
        filter: none !important;

        z-index: 1000 !important;
    }

    nav {
        margin-top: 4px !important;
    }
}

/* ============================= */
/* TELEFON - VASAK/PAREM ÄÄR KORDA */
/* ============================= */

@media (max-width: 768px) {

    *,
    *::before,
    *::after {
        box-sizing: border-box !important;
    }

    html,
    body {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        overflow-x: hidden !important;
    }

    body {
        padding: 8px 8px 24px !important;
        background-position: center top !important;
    }

    header {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 0 !important;
        margin: 6px auto 8px !important;
        padding: 0 !important;
        text-align: center !important;
        overflow: visible !important;
    }

    .site-logo,
    header .site-logo,
    img.site-logo {
        display: block !important;
        width: 180px !important;
        max-width: 68vw !important;
        height: auto !important;
        margin: 0 auto 8px !important;
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    nav {
        width: 100% !important;
        max-width: 100% !important;
        margin: 6px auto 14px !important;
        padding: 8px !important;
        transform: none !important;

        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 7px !important;
    }

    .menu-btn {
        width: 100% !important;
        min-width: 0 !important;
        font-size: 18px !important;
        padding: 8px 5px !important;
        line-height: 1.05 !important;
        white-space: normal !important;
    }

    .menu-btn:nth-child(4) {
        grid-column: 1 / 3 !important;
        width: 82% !important;
        justify-self: center !important;
    }

    .menu-btn:nth-child(5) {
        grid-column: 1 / 3 !important;
        width: 190px !important;
        justify-self: center !important;
    }

    main {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        overflow-x: hidden !important;
    }

    #avaleht {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 auto 16px !important;
        padding: 0 !important;

        transform: none !important;
        overflow: visible !important;
    }

    #avaleht .hero-box {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 auto !important;
        padding: 18px 12px 22px !important;

        transform: none !important;
        overflow: hidden !important;
    }

    #avaleht .brand-logo-text,
    #avaleht .hero-logo-text {
        width: 100% !important;
        max-width: 100% !important;

        font-size: 28px !important;
        line-height: 1.05 !important;
        letter-spacing: 0 !important;

        white-space: nowrap !important;
        text-align: center !important;
        transform: none !important;
    }

    #avaleht .hero-text,
    #avaleht p {
        max-width: 100% !important;
        font-size: 15px !important;
        line-height: 1.32 !important;
        text-align: center !important;
    }

    #avaleht .hero-buttons {
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
    }

    #avaleht .hero-btn {
        width: auto !important;
        min-width: 185px !important;
        max-width: 90% !important;
        font-size: 17px !important;
        padding: 9px 15px !important;
    }

    #avaleht .home-highlights {
        width: 100% !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    #avaleht .home-highlight {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
}

/* ============================= */
/* TELEFONI PARANDUS */
/* nupud + striimi link kastis */
/* ============================= */
@media (max-width: 768px) {

    html, body {
        overflow-x: hidden !important;
    }

    body {
        padding: 0 8px 24px !important;
    }

    /* --- MENÜÜ --- */
    nav {
        width: calc(100% - 8px) !important;
        max-width: 100% !important;
        margin: 10px auto 18px !important;
        padding: 12px 10px !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        box-sizing: border-box !important;
    }

    .menu-btn {
        width: 100% !important;
        min-width: 0 !important;
        padding: 12px 8px !important;
        font-size: 18px !important;
        line-height: 1.1 !important;
        box-sizing: border-box !important;
        white-space: nowrap !important;
    }

    /* Striimid keskele */
    .menu-btn:nth-child(3) {
        grid-column: 1 / span 2 !important;
        width: 44% !important;
        justify-self: center !important;
    }

    /* Koostööpartnerid laiemaks keskele */
    .menu-btn:nth-child(4) {
        grid-column: 1 / span 2 !important;
        width: 78% !important;
        justify-self: center !important;
    }

    /* Kontakt keskele */
    .menu-btn:nth-child(5) {
        grid-column: 1 / span 2 !important;
        width: 42% !important;
        justify-self: center !important;
    }

    /* --- ÜLDISED SISUKASTID --- */
    main,
    .page-section,
    .hero-box,
    .content-box,
    .section-box {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* --- STRIIMID LEHT --- */
    #striimid,
    #striimid .hero-box,
    #striimid .content-box,
    #striimid .section-box {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* kolm infokasti üksteise alla */
    #striimid .stream-boxes,
    #striimid .info-boxes,
    #striimid .feature-boxes,
    #striimid .boxes-row {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    #striimid .stream-box,
    #striimid .info-box,
    #striimid .feature-box,
    #striimid .box {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }

    /* kalendri nupp */
    #striimid .calendar-btn,
    #striimid .stream-calendar-btn,
    #striimid .open-calendar-btn {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 14px auto 0 !important;
        padding: 14px 16px !important;
        font-size: 17px !important;
        line-height: 1.2 !important;
        white-space: normal !important;
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    /* twitchi kast */
    #striimid .twitch-box,
    #striimid .stream-link-box,
    #striimid .twitch-link-box {
        width: 100% !important;
        max-width: 100% !important;
        margin: 16px auto 0 !important;
        padding: 18px 12px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* probleemne kuldne twitchi nupp */
    #striimid .twitch-box a,
    #striimid .stream-link-box a,
    #striimid .twitch-link-box a,
    #striimid .twitch-link,
    #striimid .stream-link {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 12px auto 0 !important;
        padding: 14px 14px !important;
        font-size: 17px !important;
        line-height: 1.2 !important;
        text-align: center !important;
        white-space: normal !important;
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
        box-sizing: border-box !important;
    }

    /* footer ka puhtaks */
    footer {
        width: calc(100% - 8px) !important;
        max-width: 100% !important;
        margin: 18px auto 24px !important;
        padding: 16px 12px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
}

/* ============================= */
/* TELEFON - KALENDER KORDA */
/* ============================= */
@media (max-width: 768px) {

    #kalender {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 auto 16px !important;
        padding: 18px 10px 20px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    #kalender h2 {
        font-size: 32px !important;
        line-height: 1.05 !important;
        margin-bottom: 10px !important;
        text-align: center !important;
    }

    #kalender > p {
        font-size: 15px !important;
        line-height: 1.25 !important;
        max-width: 100% !important;
        margin: 0 auto 10px !important;
        text-align: center !important;
    }

    #kalender .month-title {
        font-size: 26px !important;
        margin: 8px auto 10px !important;
        text-align: center !important;
    }

    #kalender .month-calendar {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        display: grid !important;
        grid-template-columns: repeat(7, 1fr) !important;
        gap: 4px !important;

        margin: 0 auto !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    #kalender .week-day {
        font-size: 12px !important;
        line-height: 1 !important;
        padding: 3px 0 !important;
        text-align: center !important;
        min-width: 0 !important;
    }

    #kalender .day-card,
    #kalender .calendar-empty {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;

        min-height: 48px !important;
        padding: 4px 2px !important;

        border-radius: 7px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    #kalender .day-card span {
        display: block !important;
        font-size: 13px !important;
        line-height: 1 !important;
        margin-bottom: 3px !important;
        text-align: left !important;
    }

    #kalender .day-card p {
        font-size: 10px !important;
        line-height: 1.05 !important;
        margin: 0 !important;
        text-align: left !important;
        word-break: normal !important;
        overflow-wrap: anywhere !important;
    }

    #kalender .hero-btn,
    #kalender button {
        max-width: 90% !important;
        width: auto !important;
        margin: 14px auto 0 !important;
        display: block !important;
        font-size: 17px !important;
        padding: 10px 14px !important;
        white-space: normal !important;
        text-align: center !important;
    }
}

/* ============================= */
/* TELEFON - KALENDER LÕPLIK PARANDUS */
/* ============================= */
@media (max-width: 768px) {

    body #kalender.page-section,
    body #kalender {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;

        width: calc(100vw - 16px) !important;
        max-width: calc(100vw - 16px) !important;
        min-width: 0 !important;

        margin-left: auto !important;
        margin-right: auto !important;
        margin-top: 0 !important;
        margin-bottom: 16px !important;

        padding: 18px 8px 20px !important;

        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    body #kalender h2 {
        font-size: 28px !important;
        line-height: 1.05 !important;
        text-align: center !important;
        margin: 0 auto 10px !important;
        max-width: 100% !important;
        white-space: normal !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
    }

    body #kalender h2::after {
        max-width: 70% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    body #kalender > p {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 13.5px !important;
        line-height: 1.25 !important;
        text-align: center !important;
        margin: 0 auto 8px !important;
        padding: 0 4px !important;
        box-sizing: border-box !important;
    }

    body #kalender .month-title {
        font-size: 24px !important;
        line-height: 1 !important;
        text-align: center !important;
        margin: 8px auto 10px !important;
        width: 100% !important;
    }

    body #kalender .month-calendar {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        display: grid !important;
        grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
        gap: 3px !important;

        margin: 0 auto !important;
        padding: 0 !important;

        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    body #kalender .month-calendar > div {
        min-width: 0 !important;
        max-width: 100% !important;
        width: auto !important;
        box-sizing: border-box !important;
    }

    body #kalender .week-day {
        font-size: 11px !important;
        line-height: 1 !important;
        padding: 2px 0 4px !important;
        text-align: center !important;
        min-width: 0 !important;
        width: auto !important;
    }

    body #kalender .day-card,
    body #kalender .calendar-empty {
        width: auto !important;
        min-width: 0 !important;
        max-width: 100% !important;

        min-height: 42px !important;
        height: 42px !important;

        padding: 3px 2px !important;
        border-radius: 6px !important;

        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    body #kalender .day-card span {
        display: block !important;
        font-size: 11px !important;
        line-height: 1 !important;
        margin: 0 0 2px !important;
        text-align: left !important;
    }

    body #kalender .day-card p {
        font-size: 8.5px !important;
        line-height: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    body #kalender .hero-btn,
    body #kalender button {
        display: block !important;
        width: 82% !important;
        max-width: 260px !important;
        min-width: 0 !important;

        margin: 14px auto 0 !important;
        padding: 10px 10px !important;

        font-size: 16px !important;
        line-height: 1.15 !important;
        text-align: center !important;
        white-space: normal !important;

        box-sizing: border-box !important;
    }
}

/* ============================= */
/* LÄPAKA VAADE - KOKKU JA PAREMINI PAIKA */
/* ============================= */
@media (min-width: 769px) and (max-width: 1400px) {

    html,
    body {
        overflow-x: hidden !important;
    }

    body {
        padding: 0 10px 18px !important;
        background-size: cover !important;
        background-position: center top !important;
    }

    header {
        position: relative !important;
        z-index: 10 !important;
    }

    .site-logo {
        width: 230px !important;
        max-width: 230px !important;
        height: auto !important;

        position: absolute !important;
        left: 35px !important;
        top: 42px !important;

        margin: 0 !important;
        transform: none !important;
        z-index: 20 !important;
    }

    nav {
        max-width: 820px !important;
        width: fit-content !important;

        margin: 34px auto 18px !important;
        padding: 9px 12px !important;

        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 9px !important;

        transform: translateX(35px) !important;
        box-sizing: border-box !important;
    }

    .menu-btn {
        min-width: auto !important;
        padding: 10px 18px !important;
        font-size: 21px !important;
        line-height: 1.05 !important;
        white-space: nowrap !important;
    }

    .menu-btn:nth-child(4) {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    main {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        overflow-x: hidden !important;
    }

    .page-section,
    #avaleht,
    #minust,
    #striimid,
    #kalender,
    #koostoo,
    #kontakt {
        width: 760px !important;
        max-width: 760px !important;
        min-width: 0 !important;

        margin: 0 auto 12px !important;
        padding: 22px 26px !important;

        transform: translateX(25px) !important;
        box-sizing: border-box !important;
    }

    .hero-box {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px 22px !important;
        box-sizing: border-box !important;
    }

    .brand-logo-text,
    .hero-logo-text {
        font-size: 38px !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    h2,
    #minust h2,
    #striimid h2,
    #kalender h2,
    #koostoo h2,
    #kontakt h2 {
        font-size: 34px !important;
        line-height: 1.05 !important;
        margin-bottom: 9px !important;
    }

    p {
        font-size: 14px !important;
        line-height: 1.25 !important;
    }

    .hero-buttons {
        gap: 10px !important;
        margin: 12px auto !important;
    }

    .hero-btn,
    .contact-action {
        padding: 8px 17px !important;
        font-size: 16px !important;
    }

    .home-highlights,
    .info-boxes,
    .stream-boxes,
    .partner-boxes,
    .contact-boxes {
        gap: 10px !important;
    }

    .home-highlight,
    .info-box,
    .stream-box,
    .partner-box,
    .contact-box {
        padding: 13px 12px !important;
        min-height: auto !important;
    }

    .home-highlight h3,
    .info-box h3,
    .stream-box h3,
    .partner-box h3,
    .contact-box h3 {
        font-size: 20px !important;
        margin-bottom: 6px !important;
    }

    .home-highlight p,
    .info-box p,
    .stream-box p,
    .partner-box p,
    .contact-box p {
        font-size: 13px !important;
        line-height: 1.2 !important;
    }

    .twitch-link-box {
        margin-top: 10px !important;
        padding: 10px 14px !important;
    }

    .twitch-link-box p {
        font-size: 13px !important;
        margin-bottom: 6px !important;
    }

    .twitch-link-box a {
        font-size: 16px !important;
        padding: 7px 18px !important;
    }

    .month-calendar {
        gap: 4px !important;
    }

    .day-card,
    .calendar-empty {
        min-height: 43px !important;
        height: 43px !important;
        padding: 4px !important;
    }

    .day-card span {
        font-size: 12px !important;
    }

    .day-card p {
        font-size: 9px !important;
        line-height: 1.05 !important;
    }

    footer {
        max-width: 560px !important;
        width: 560px !important;

        margin: 10px auto 0 !important;
        padding: 8px 16px !important;

        transform: translateX(25px) !important;
        box-sizing: border-box !important;
    }

    footer h3,
    footer strong {
        font-size: 19px !important;
    }

    footer p {
        font-size: 12.5px !important;
        line-height: 1.2 !important;
    }
}

/* ============================= */
/* LÄPAKAS 100% - KÕIK ÜHTE VAAATESSE */
/* ============================= */
@media (min-width: 769px) and (max-width: 1400px) and (max-height: 850px) {

    body {
        padding: 0 8px 8px !important;
        overflow-x: hidden !important;
        background-position: center top !important;
        background-size: cover !important;
    }

    .site-logo {
        width: 210px !important;
        max-width: 210px !important;
        left: 35px !important;
        top: 38px !important;
    }

    nav {
        max-width: 760px !important;
        margin: 26px auto 12px !important;
        padding: 7px 10px !important;
        gap: 8px !important;
        transform: translateX(35px) !important;
    }

    .menu-btn {
        font-size: 18px !important;
        padding: 8px 15px !important;
        line-height: 1 !important;
    }

    .page-section,
    #avaleht,
    #minust,
    #striimid,
    #kalender,
    #koostoo,
    #kontakt {
        width: 700px !important;
        max-width: 700px !important;
        padding: 18px 22px !important;
        margin: 0 auto 8px !important;
        transform: translateX(20px) !important;
    }

    .hero-box {
        padding: 16px 18px !important;
    }

    .brand-logo-text,
    .hero-logo-text {
        font-size: 34px !important;
        line-height: 1 !important;
        margin-bottom: 8px !important;
    }

    h2,
    #minust h2,
    #striimid h2,
    #kalender h2,
    #koostoo h2,
    #kontakt h2 {
        font-size: 30px !important;
        line-height: 1 !important;
        margin-bottom: 8px !important;
    }

    h2::after {
        margin-top: 6px !important;
    }

    p,
    .hero-text {
        font-size: 13px !important;
        line-height: 1.18 !important;
        margin-top: 5px !important;
        margin-bottom: 6px !important;
    }

    .hero-buttons {
        margin: 9px auto !important;
        gap: 8px !important;
    }

    .hero-btn,
    .contact-action {
        font-size: 15px !important;
        padding: 7px 15px !important;
    }

    .home-highlights,
    .info-boxes,
    .stream-boxes,
    .partner-boxes,
    .contact-boxes {
        gap: 8px !important;
        margin-top: 8px !important;
    }

    .home-highlight,
    .info-box,
    .stream-box,
    .partner-box,
    .contact-box {
        padding: 11px 10px !important;
        min-height: auto !important;
    }

    .home-highlight h3,
    .info-box h3,
    .stream-box h3,
    .partner-box h3,
    .contact-box h3 {
        font-size: 18px !important;
        margin-bottom: 4px !important;
    }

    .home-highlight p,
    .info-box p,
    .stream-box p,
    .partner-box p,
    .contact-box p {
        font-size: 12px !important;
        line-height: 1.15 !important;
    }

    .twitch-link-box {
        margin-top: 8px !important;
        padding: 8px 12px !important;
    }

    .twitch-link-box p {
        font-size: 12px !important;
        margin-bottom: 5px !important;
    }

    .twitch-link-box a {
        font-size: 15px !important;
        padding: 6px 15px !important;
    }

    .month-title {
        font-size: 24px !important;
        margin: 6px auto 8px !important;
    }

    .month-calendar {
        gap: 3px !important;
    }

    .week-day {
        font-size: 11px !important;
        padding: 2px !important;
    }

    .day-card,
    .calendar-empty {
        min-height: 36px !important;
        height: 36px !important;
        padding: 3px !important;
        border-radius: 6px !important;
    }

    .day-card span {
        font-size: 11px !important;
        margin-bottom: 1px !important;
    }

    .day-card p {
        font-size: 8px !important;
        line-height: 1 !important;
    }

    footer {
        width: 520px !important;
        max-width: 520px !important;
        margin: 6px auto 0 !important;
        padding: 6px 14px !important;
        transform: translateX(20px) !important;
    }

    footer h3,
    footer strong {
        font-size: 17px !important;
    }

    footer p {
        font-size: 11.5px !important;
        line-height: 1.15 !important;
    }
}

/* ============================= */
/* LÄPAKAS - AINULT PAIGAST LEHED */
/* Avaleht, Striimid, Kalender, Koostöö */
/* ============================= */
@media (min-width: 769px) and (max-width: 1400px) and (max-height: 850px) {

    /* Avaleht kompaktsemaks */
    #avaleht {
        width: 720px !important;
        max-width: 720px !important;
        padding: 16px 22px !important;
        margin-top: 0 !important;
        margin-bottom: 8px !important;
        transform: translateX(15px) !important;
    }

    #avaleht .hero-box {
        padding: 14px 18px !important;
    }

    #avaleht .brand-logo-text,
    #avaleht .hero-logo-text {
        font-size: 32px !important;
        margin-bottom: 6px !important;
    }

    #avaleht .hero-text,
    #avaleht p {
        font-size: 13px !important;
        line-height: 1.15 !important;
        margin: 4px auto 6px !important;
    }

    #avaleht .hero-buttons {
        margin: 8px auto !important;
        gap: 8px !important;
    }

    #avaleht .hero-btn {
        font-size: 15px !important;
        padding: 7px 15px !important;
    }

    #avaleht .home-highlights {
        gap: 8px !important;
        margin-top: 8px !important;
    }

    #avaleht .home-highlight {
        padding: 10px 10px !important;
        min-height: 90px !important;
    }

    #avaleht .home-highlight h3 {
        font-size: 18px !important;
        margin-bottom: 4px !important;
    }

    #avaleht .home-highlight p {
        font-size: 12px !important;
        line-height: 1.15 !important;
    }


    /* Striimid kompaktsemaks */
    #striimid {
        width: 720px !important;
        max-width: 720px !important;
        padding: 16px 22px !important;
        margin-top: 0 !important;
        margin-bottom: 8px !important;
        transform: translateX(15px) !important;
    }

    #striimid h2 {
        font-size: 30px !important;
        margin-bottom: 7px !important;
    }

    #striimid p {
        font-size: 13px !important;
        line-height: 1.15 !important;
        margin: 4px auto 6px !important;
    }

    #striimid .stream-boxes {
        gap: 8px !important;
        margin-top: 8px !important;
    }

    #striimid .stream-box {
        padding: 10px 10px !important;
        min-height: 86px !important;
    }

    #striimid .stream-box h3 {
        font-size: 18px !important;
        margin-bottom: 4px !important;
    }

    #striimid .stream-box p {
        font-size: 12px !important;
        line-height: 1.15 !important;
    }

    #striimid .calendar-open-box {
        margin: 8px auto !important;
    }

    #striimid .calendar-open-box .hero-btn,
    #striimid .hero-btn {
        font-size: 15px !important;
        padding: 7px 15px !important;
    }

    #striimid .twitch-link-box {
        margin-top: 8px !important;
        padding: 8px 12px !important;
    }

    #striimid .twitch-link-box p {
        font-size: 12px !important;
        margin-bottom: 5px !important;
    }

    #striimid .twitch-link-box a {
        font-size: 15px !important;
        padding: 6px 15px !important;
    }


    /* Koostööpartnerid kompaktsemaks */
    #koostoo {
        width: 720px !important;
        max-width: 720px !important;
        padding: 16px 22px !important;
        margin-top: 0 !important;
        margin-bottom: 8px !important;
        transform: translateX(15px) !important;
    }

    #koostoo h2 {
        font-size: 30px !important;
        margin-bottom: 7px !important;
    }

    #koostoo p {
        font-size: 13px !important;
        line-height: 1.15 !important;
        margin: 5px auto 8px !important;
    }

    #koostoo .partner-age-warning {
        font-size: 13px !important;
        padding: 5px 14px !important;
        margin: 6px auto 10px !important;
    }

    #koostoo .partner-boxes {
        gap: 8px !important;
        margin-top: 8px !important;
    }

    #koostoo .partner-box {
        padding: 10px 10px !important;
        min-height: 92px !important;
    }

    #koostoo .partner-box h3 {
        font-size: 18px !important;
        margin-bottom: 4px !important;
    }

    #koostoo .partner-box p {
        font-size: 12px !important;
        line-height: 1.15 !important;
    }

    #koostoo .partner-note,
    #koostoo .adult-note {
        padding: 8px 12px !important;
        margin: 8px auto !important;
        font-size: 12px !important;
    }

    #koostoo .partner-cta {
        padding: 10px 12px !important;
        margin-top: 8px !important;
    }

    #koostoo .partner-cta p {
        font-size: 13px !important;
        margin-bottom: 6px !important;
    }

    #koostoo .partner-cta .hero-btn {
        font-size: 15px !important;
        padding: 7px 15px !important;
    }


    /* Kalender kompaktsemaks */
    #kalender {
        width: 720px !important;
        max-width: 720px !important;
        padding: 14px 22px 16px !important;
        margin-top: 0 !important;
        margin-bottom: 8px !important;
        transform: translateX(15px) !important;
    }

    #kalender h2 {
        font-size: 28px !important;
        margin-bottom: 6px !important;
    }

    #kalender > p {
        font-size: 12.5px !important;
        line-height: 1.15 !important;
        margin: 3px auto 6px !important;
    }

    #kalender .month-title {
        font-size: 22px !important;
        margin: 4px auto 6px !important;
    }

    #kalender .month-calendar {
        gap: 3px !important;
    }

    #kalender .week-day {
        font-size: 10px !important;
        padding: 1px !important;
    }

    #kalender .day-card,
    #kalender .calendar-empty {
        min-height: 34px !important;
        height: 34px !important;
        padding: 2px 3px !important;
        border-radius: 5px !important;
    }

    #kalender .day-card span {
        font-size: 10px !important;
        margin-bottom: 1px !important;
    }

    #kalender .day-card p {
        font-size: 7.5px !important;
        line-height: 1 !important;
    }

    #kalender .hero-btn,
    #kalender button {
        font-size: 15px !important;
        padding: 7px 15px !important;
        margin-top: 8px !important;
    }
}