        :root {
            --main-bg-color: linear-gradient(180deg, #4a8fe2, #6baedc);
            --menu-bg-color: linear-gradient(90deg, #1a3a6f, #2b65d9);
            --menu-hover-color: #ffbf00;
            --text-color: #ffffff;
            --button-bg-color: linear-gradient(315deg, #fb8a00, #ffbf00, #fb8a00);
            --button-hover-color: linear-gradient(315deg, #ffbf00, #fb8a00, #ffbf00);
            --section-bg-color: linear-gradient(90deg, #102a54, #1a3a6f);
            --header-bg-color: linear-gradient(to bottom right, #1a3a6f, #2b65d9);
        }

        body {
            margin: 0;
            font-family: Arial, sans-serif;
            background: url('/images/body-bg.png') no-repeat center center fixed;
            background-size: cover;
            color: var(--text-color);
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            padding-top: 60px;
        }
        
        html {
            background: none !important;
        }

        header {
            background: var(--menu-bg-color);
            padding: 0.5rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
        }

        nav {
            display: flex;
            justify-content: center;
            gap: 1rem;
        }

        nav a {
            color: var(--text-color);
            text-decoration: none;
            padding: 0.5rem 1rem;
            border-radius: 5px;
            text-transform: uppercase;
            font-size: 1.2rem;
            font-weight: bold;
            text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
        }

        nav a:hover {
            background: var(--menu-hover-color);
            color: #102a54;
            text-shadow: 0 5px 15px rgba(255, 255, 255, 0.5);
        }

        .logo-container {
            width: 100%;
            height: 200px;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 1rem;
        }

        .logo-container img {
            max-height: 100%;
            max-width: 100%;
            object-fit: contain;
            margin-top: 10px;
        }

        .container {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 1rem;
            gap: 1rem;
            min-height: 100vh;
        }

        .content {
            display: flex;
            flex-direction: row;
            flex: 1;
            width: 100%;
            max-width: 1000px;
            gap: 1rem;
        }

        .widget-section {
            display: flex;
            flex-direction: column;
            width: 400px;
            gap: 1rem;
            order: 2;
        }

        .widget {
            background: linear-gradient(315deg, #ffbf00, #fb8a00, #ffbf00);
            border-radius: 10px;
            padding: 1rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        .widget h2 {
            font-size: 1.5rem;
            color: var(--text-color);
            text-transform: uppercase;
            text-align: center;
            margin-bottom: 0.5rem;
            background: var(--header-bg-color);
            padding: 0.5rem;
            border-radius: 5px;
            text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
            margin-top: 0px;
        }

        .widget-box {
            flex: 1;
            overflow-y: auto;
            background: var(--section-bg-color);
            border-radius: 5px;
            padding: 0.5rem;
            height: auto;
        }

        .main {
            flex: 1;
            display: flex;
            flex-direction: column;
            margin-left: -145px;
            gap: 1rem;
            order: 1;
        }

        .chat {
            background: linear-gradient(315deg, #ffbf00, #fb8a00, #ffbf00);
            border-radius: 10px;
            padding: 1rem;
            display: flex;
            flex-direction: column;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        .chat h1 {
            color: var(--text-color);
            text-transform: uppercase;
            text-align: center;
            margin-bottom: 1rem;
            background: var(--header-bg-color);
            padding: 0.5rem;
            border-radius: 5px;
            text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
            margin-top: 0px;
        }

        .chat-box {
            flex: 1;
            background: var(--section-bg-color);
            border-radius: 5px;
            padding: 0.5rem;
            width: 827px;
            height: 552px;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .chat-box iframe {
            border-radius: 5px;
            width: 827px;
            height: 552px;
            border: none;
        }

        .chat-box button {
            background: var(--main-bg-color);
            color: var(--text-color);
            padding: 0.7rem 1.5rem;
            border: none;
            border-radius: 5px;
            font-size: 1.2rem;
            font-weight: bold;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
            cursor: pointer;
            transition: background 0.3s ease, transform 0.1s ease;
        }

        .chat-box button:hover {
            background: var(--button-hover-color);
        }

        .table-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    }

        .table-row {
            display: flex;
            justify-content: space-between;
            width: 100%;
            margin-bottom: 10px;
    }

        .table-cell {
            padding: 20px;
            background-color: #fff;
            border-radius: 5px;
            font-size: 15px;
            color: #1a3a6f;
            width: 100%;
            text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }

        .music-player {
            display: flex;
            justify-content: space-between;
            height: 185px;
            background: linear-gradient(315deg, #ffbf00, #fb8a00, #ffbf00);
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            padding: 1rem;
        }

        .music-player-left,
        .music-player-right {
            flex: 1;
            display: flex;
            align-items: center;
            border-radius: 5px;
            background: var(--header-bg-color);
        }

        .music-player-left {
            flex: 0 0 22%;
            justify-content: center;
            align-items: center;
            display: flex;
        }

        .music-player-left img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 5px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        .music-player-right {
            flex: 1;
            text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            justify-content: top;
            align-items: center;
            height: 100%;
        }

        .music-player-left p,
        .music-player-right p {
            color: var(--text-color);
            font-size: 1.2rem;
        }

        iframe[src*="ramowka2"] {
            height: 400px !important;
        }

        #host-name {
            font-weight: bold;
            font-size: 1.8rem;
            text-transform: uppercase;
        }

        #listeners {
            font-weight: bold;
            font-size: 1.2rem;
        }

        #live-indicator {
            margin-bottom: 0.2rem;
            opacity: 1;
        }

        #volume::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 20px;
            height: 20px;
            background: #6BAEDC;
            border-radius: 50%;
            cursor: pointer;
        }

        #volume::-moz-range-thumb {
            background-color: #6BAEDC;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            border: 2px solid #fff;
        }

        #volume::-ms-thumb {
            background-color: #6BAEDC;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            border: 2px solid #fff;
        }

        .control-button {
            background-color: #ffffff;
            color: #102a54;
            font-weight: bold;
            border: none;
            padding: 8px 20px;
            border-radius: 5px;
            font-size: 1.1rem;
            cursor: pointer;
            transition: background-color 0.1s, color 0.1s, box-shadow 0.1s;
        }

        .control-button:hover {
            background-color: #4a8fe2;
            color: #ffffff;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        .button-pozdro {
            display: flex;
            justify-content: center;
            gap: 1rem;
        }

        .button-pozdro button {
            background: var(--button-bg-color);
            color: #102a54;
            text-transform: uppercase;
            font-weight: bold;
            font-size: 1.5rem;
            border: none;
            padding: 0.5rem 1rem;
            border-radius: 5px;
            cursor: pointer;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            text-shadow: 0 5px 15px rgba(255, 255, 255, 0.5);
        }

        .button-pozdro button:hover {
            background: var(--button-hover-color);
            color: var(--text-color);
            text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
        }

        .buttons {
            display: flex;
            justify-content: center;
            gap: 1rem;
        }

        .buttons button {
            background: var(--button-bg-color);
            color: #102a54;
            text-transform: uppercase;
            font-weight: bold;
            font-size: 1.5rem;
            padding: 0.5rem 1rem;
            border-radius: 5px;
            border: none;
            cursor: pointer;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            text-shadow: 0 5px 15px rgba(255, 255, 255, 0.5);
        }

        .buttons button:hover {
            background: var(--button-hover-color);
            color: var(--text-color);
            text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
        }

        footer {
            background: var(--menu-bg-color);
            padding: 0.5rem;
            text-align: left;
            color: var(--text-color);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            width: 100%;
            box-sizing: border-box;
        }

        footer p {
            margin: 0;
            font-size: 1rem;
        }

        #cookie-banner {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background: var(--header-bg-color);
            color: var(--text-color);
            text-align: center;
            padding: 0.5rem;
            font-size: 1rem;
            border-radius: 5px;
            box-shadow: 0 -1px 10px rgba(0,0,0,0.5);
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        #cookie-banner.show {
            opacity: 1;
        }

        .buttons-cookie button {
            background: var(--button-bg-color);
            color: #102a54;
            text-transform: uppercase;
            font-weight: bold;
            font-size: 1rem;
            border: none;
            padding: 0.3rem 0.8rem;
            border-radius: 5px;
            cursor: pointer;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            text-shadow: 0 5px 15px rgba(255, 255, 255, 0.5);
            margin-bottom: 10px;
        }
        
        .buttons-cookie button:hover {
            background: var(--button-hover-color);
            color: #ffffff;
            text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
        }

           #stream-wrapper {
      width: 100%;
      display: none;
      justify-content: center;
      align-items: center;
    }

        #offline {
      width: 100%;
      height: 500px;
      display: none;
      justify-content: center;
      align-items: center;
    }

    #offline {
      display: flex;
      font-size: 32px;
      font-weight: bold;
      color: gray;
      text-shadow: 0 5px 5px rgba(0, 0, 0, 0.5);
    }

/* DESKTOPS */
@media (min-width: 1024px) {
    .content {
        flex-direction: row;
    }

    .widget-section {
        flex: none;
    }

    .main {
        flex: 1;
    }
}

/* PHONES */
@media (max-width: 600px) {
    body {
        padding-top: 30px;
        overflow-x: hidden;
    }

    header {
        padding: 0.5rem 1rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        box-sizing: border-box;
        text-align: center;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
        padding: 0;
    }

    nav a {
        font-size: 1rem;
        padding: 0.3rem 0.7rem;
    }

    .logo-container {
        width: 100%;
        height: 150px;
        margin-top: 150px;
    }

    .content {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .widget-section {
        width: 100%;
        order: 1;
    }

    .widget-section .widget-box {
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    /* Facebook Widget Styling */
    .fb-page {
        width: 100% !important;  /* Ensure it takes up the full container width */
        height: auto !important; /* Adjust height automatically */
        box-sizing: border-box;
        max-width: 100%; /* Prevent overflow */
        object-fit: contain; /* Ensure it fits the container without overflowing */
    }

    /* Ensure the widget box is properly aligned and responsive */
    .widget-box {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .main {
        margin-left: 0;
        gap: 1rem;
        order: 2;
    }

    .chat-box {
        width: 95%;
        height: auto;
    }

    .table-row {
        flex-direction: column;
    }

    .table-cell {
        width: 100%;
        padding: 10px;
        font-size: 14px;
    }

    .music-player {
        flex-direction: column;
        height: auto;
        padding: 1rem;
    }

    .music-player-left, 
    .music-player-right {
        flex: none;
        width: 100%;
    }

    .music-player-left img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 5px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }

    .control-button {
        font-size: 0.9rem;
        padding: 0.3rem 0.6rem; 
        margin-bottom: 15px;
    }

    #volume {
        margin-top: -10px;
        width: 120px;
    }

    .buttons {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .buttons button {
        flex: 1 1 45%;
        max-width: 300px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.2rem;
        padding: 0.5rem 1rem;
    }

        .cookie-consent {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            background-color: #3b71b3;
            color: white;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            display: none;
            z-index: 9999;
            box-sizing: border-box;
        }

        .cookie-message p {
            margin: 0;
            font-size: 14px;
        }

        .cookie-message a {
            color: #5180ba;
            text-decoration: none;
        }

        .accept-button {
            background-color: #5180ba;
            color: white;
            border: none;
            padding: 10px 20px;
            margin-top: 10px;
            border-radius: 5px;
            cursor: pointer;
            font-size: 14px;
        }

        .accept-button:hover {
            background-color: #3b71b3;
        }

    footer {
        padding: 1rem;
        text-align: center;
    }

    footer p {
        font-size: 0.9rem;
    }
}

/* LANDSCAPE PHONES */
@media (max-width: 1024px) and (orientation: landscape) {
    body {
        padding-top: 3vh; /* Adjust padding for landscape */
        overflow-x: hidden;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    header {
        padding: 1.5vh 2vw;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        box-sizing: border-box;
        text-align: center;
        width: 100%;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1vh;
        width: 100%;
        padding: 0;
    }

    nav a {
        font-size: 1rem;
        padding: 1vh 1.5vw;
    }

    .logo-container {
        width: 100%;
        height: 20vh; /* Scale proportionally */
        margin-top: 12vh;
    }

    .content {
        flex-direction: column;
        gap: 2vh;
        width: 100%;
        padding: 1vh 2vw;
    }

    .widget-section {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
    }

    .widget-section .widget-box {
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    /* Facebook Widget */
    .fb-page {
        width: 200% !important;
        height: auto !important;
        box-sizing: border-box;
        max-width: 100%;
        object-fit: contain;
    }

    .widget-box {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .main {
        margin-left: 0;
        gap: 2vh;
        order: 2;
    }

    .chat-box {
        width: 98%;
        height: auto;
    }

    .table-row {
        flex-direction: column;
    }

    .table-cell {
        width: 100%;
        padding: 1.5vh;
        font-size: 2vh;
    }

.music-player {
    flex-direction: row;
    padding: 1rem;
    font-size: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 120%;
    box-sizing: border-box;
    overflow: hidden;
}

#live-indicator {
    margin-top: 25px !important;
}

#host-name {
    margin-top: 5px !important;
}


.music-player-left {
    width: 30%;
    height: 100%;
    box-sizing: border-box;
}

.music-player-right {
    width: 70%;
    height: 120%;
    box-sizing: border-box;
}

.music-player-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.control-button {
    font-size: 1.2rem;
    padding: 0.5vh 1vw;
    margin-bottom: 25px;
    flex: 1 1 auto;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    margin-top: 10px;
}

#volume {
    margin-top: -10px;
    width: auto;
    flex-grow: 1;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1vh;
    width: 100%;
    box-sizing: border-box;
}

.buttons button {
    flex: 1 1 auto;
    max-width: 150px;
    font-size: 1rem;
    padding: 0.5vh 1vw;
    margin: 0.5vh;
}

    .buttons {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1vh;
    }

    .buttons button {
        flex: 1 1 auto;
        max-width: none;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1rem;
        padding: 1vh 1.5vw;
        white-space: nowrap;
    }

    footer {
        padding: 1.5vh;
        text-align: center;
    }

    footer p {
        font-size: 1.2rem;
    }
}

