* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #0a0a0a;
    color: #fff;
    pointer-events: auto !important;
}

main {
    min-height: 100vh;
    width: 100%;
    background-image: url('../images/Java-Radio-1024x683.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    pointer-events: auto !important;
    position: relative;
    display: flex;
    flex-direction: column;
}

main::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

header {
    width: 100%;
    padding: 8px 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
    background: linear-gradient(135deg, #BB0F0F, #a30119);
    backdrop-filter: blur(10px);
    min-height: 50px;
}

header div {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0;
}

header div h2 {
    margin: 0;
    font-weight: 700;
    color: #fff;
    font-size: 35px;
}

header div h2 .java-brand {
    font-weight: 700;
    letter-spacing: 1px;
    color: #FFD700;
    font-family: 'Oswald', 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

header div h2 .radio-text {
    font-weight: 500;
    color: #fff;
    font-family: 'Montserrat', Verdana, Geneva, Tahoma, sans-serif;
}

header img {
    width: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

header img:hover {
    transform: scale(1.08) rotate(-5deg);
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.4));
}

nav {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    margin: 0;
    padding: 0;
}

nav span {
    font-weight: 600;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

/* Make nav labels use the same family as the header 'RADIO' text */
nav span.one,
nav a.two {
    font-family: 'Montserrat', Verdana, Geneva, Tahoma, sans-serif;
    font-weight: 300;
    letter-spacing: 0.2px;
}

.one {
    color: #fff;
    font-family: 'Montserrat', Verdana, Geneva, Tahoma, sans-serif;
}

.one:hover {
    background-color: rgba(242, 219, 10, 0.15);
    color: #F2DB0A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(242, 219, 10, 0.3);
}

/* Make the secondary nav item match the `.one` style (link-safe) */
.two,
nav a.two {
    color: #fff;
    padding: 2px 6px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.two:hover,
nav a.two:hover {
    background-color: rgba(242, 219, 10, 0.15);
    color: #F2DB0A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(242, 219, 10, 0.3);
}

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5px 20px 30px;
    flex: 1;
    position: relative;
    z-index: 5;
}

.hero h1 {
    font-size: 33px;
    /* margin: 25px 0 5px; */
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    margin-left: 90px;
    background: linear-gradient(135deg, #f8f7f3 0%, #e6e5e0 50%, #FF1744 75%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Montserrat', Verdana, Geneva, Tahoma, sans-serif;
}


.hero p {
    margin-top: 5px;
    line-height: 1.6;
    text-align: center;
    color: greenyellow;
    font-size: clamp(1rem, 3vw, 1.4rem);
    max-width: 600px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.player-box {
    margin-top: 10px;
    margin-bottom: 10px;
    font-family: 'Montserrat', Verdana, Geneva, Tahoma, sans-serif;
    padding: 0;
    background: linear-gradient(135deg, #BB0F0F 0%, #a30119 50%, #8B0000 100%);
    border-radius: 16px;
    width: 90%;
    min-width: 320px;
    max-width: 900px;
    /* box-shadow: 0 20px 60px rgba(187, 15, 15, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1); */
    overflow: hidden;
    display: flex;
    align-items: stretch;
    position: relative;
    z-index: 5;
}

.player-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
    pointer-events: none;
}


#rj-player {
    width: 100%;
    display: flex;
    align-items: stretch;
    min-height: 220px;
    position: relative;
    z-index: 2;
}

#rj-player .player-v3 {
    background: transparent;
    display: flex;
    gap: 0;
    align-items: stretch;
    width: 100%;
    min-height: 220px;
}

#rj-cover {
    flex-shrink: 0;
    width: 220px;
    min-width: 220px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(163, 1, 25, 0.2));
    border-radius: 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

#rj-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(163, 1, 25, 0.2), rgba(187, 15, 15, 0.1));
    z-index: 1;
    pointer-events: none;
}

#rj-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(242, 219, 10, 0.1) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

#rj-cover a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: center;
    position: relative;
    cursor: pointer;
    pointer-events: auto;
    z-index: 2;
    text-decoration: none;
    transition: transform 0.3s ease;
}

#rj-cover a:hover {
    transform: scale(1.05);
}

#rj-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    position: relative;
    z-index: 0;
    filter: brightness(0.95);
}


#rj-player .info {
    flex: 1;
    padding: 30px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

#rj-player .rjp-trackinfo-container {
    text-align: left;
    margin-bottom: 0;
    margin-top: 0;
    flex-shrink: 0;
}

#rj-player .rjp-label {
    color: #F2DB0A;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 8px 0;
    opacity: 0.95;
    display: block;
    line-height: 1.2;
}

#rj-player .rjp-info {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    text-align: left;
    line-height: 1.5;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    word-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 28px;
}

#rj-player .rjp-player-container {
    width: 100%;
    margin-top: auto;
    padding-top: 10px;
    padding-bottom: 0;
    flex-shrink: 0;
    position: relative;
    z-index: 3;
}

#rj-player .jp-gui.jp-interface {
    width: 100%;
    padding: 0;
    margin: 0;
}

#rj-player .jp-controls {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 14px;
    flex-wrap: nowrap !important;
    padding: 0;
    margin: 0;
    width: 100%;
    justify-content: flex-start;
    position: relative;
    min-height: 50px;
    z-index: 10;
}

#rj-player .jp-controls .jp-play,
#rj-player .jp-controls .jp-pause {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(242, 219, 10, 0.4);
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(10px);
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    pointer-events: auto;
    position: relative;
    z-index: 10;
    margin: 0;
}

#rj-player .jp-controls .jp-play:hover,
#rj-player .jp-controls .jp-pause:hover {
    background: linear-gradient(135deg, #F2DB0A, #FFD700);
    border-color: #FFD700;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(242, 219, 10, 0.5);
}

#rj-player .jp-controls .jp-play:active,
#rj-player .jp-controls .jp-pause:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

#rj-player .jp-controls .jp-play i,
#rj-player .jp-controls .jp-pause i {
    color: #fff;
    font-size: 20px;
    margin-left: 3px;
    display: block;
    transition: color 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

#rj-player .jp-controls .jp-pause i {
    margin-left: 0;
}

#rj-player .jp-controls .jp-play:hover i,
#rj-player .jp-controls .jp-pause:hover i {
    color: #8B0000;
    filter: drop-shadow(0 2px 6px rgba(139, 0, 0, 0.4));
}

#rj-player .jp-controls .jp-mute,
#rj-player .jp-controls .jp-unmute {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(242, 219, 10, 0.3);
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
    margin: 0;
}

#rj-player .jp-controls .jp-mute:hover,
#rj-player .jp-controls .jp-unmute:hover {
    background: rgba(242, 219, 10, 0.2);
    border-color: #F2DB0A;
    transform: scale(1.1);
}

#rj-player .jp-controls .jp-mute i,
#rj-player .jp-controls .jp-unmute i {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    display: block;
    transition: color 0.3s;
    line-height: 1;
}

#rj-player .jp-controls .jp-mute:hover i,
#rj-player .jp-controls .jp-unmute:hover i {
    color: #F2DB0A;
}

#rj-player .jp-volume-bar-wrapper {
    flex: 1;
    min-width: 80px;
    max-width: 200px;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    padding: 5px 0;
    margin: 0 10px;
    box-sizing: content-box;
    pointer-events: auto;
    z-index: 10;
    user-select: none;
    -webkit-user-select: none;
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    opacity: 1 !important;
    visibility: visible !important;
}

#rj-player .jp-volume-bar {
    width: 100%;
    height: 6px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 4px;
    position: relative;
    pointer-events: auto !important;
    cursor: pointer;
    overflow: hidden;
    border: 1px solid rgba(242, 219, 10, 0.2);
}

#rj-player .jp-volume-bar-value {
    height: 100%;
    background: linear-gradient(90deg, #F2DB0A, #FFD700);
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(242, 219, 10, 0.6);
    pointer-events: none;
    width: 80%;
    min-width: 0;
}


#rj-player .rjp-stationlogo {
    display: none !important;
}


#rj-player .jp-controls a {
    text-decoration: none;
    border: none;
    outline: none;
    box-sizing: border-box;
    pointer-events: auto;
    z-index: 10;
    /* Remove !important from display in specific classes or override here */
}


#rj-player .jp-controls a[style*="display:none"],
#rj-player .jp-controls a[style*="display: none"],
#rj-player .jp-controls .jp-play[style*="display:none"],
#rj-player .jp-controls .jp-pause[style*="display:none"],
#rj-player .jp-controls .jp-mute[style*="display:none"],
#rj-player .jp-controls .jp-unmute[style*="display:none"] {
    display: none !important;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    width: 0 !important;
    min-width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    position: absolute;
    /* Take out of flow completely */
}


#rj-player .jp-controls a[style*="display:block"],
#rj-player .jp-controls a[style*="display: block"] {
    display: flex !important;
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
    position: relative;
}


#rj-player .jp-controls .jp-play i,
#rj-player .jp-controls .jp-pause i {
    font-size: 20px;
}

#rj-player .jp-controls .jp-mute i,
#rj-player .jp-controls .jp-unmute i {
    font-size: 18px;
}

#rj-player .jp-controls a:focus {
    outline: 3px solid rgba(242, 219, 10, 0.6);
    outline-offset: 3px;
    border-radius: 50%;
}


#rjp-radiojar-player {
    display: none;
}


#rj-player .rj-player-controls {
    width: 100%;
    pointer-events: auto;
    position: relative;
    z-index: 5;
}


#rj-player .jp-controls {
    pointer-events: auto;
    position: relative;
    z-index: 10;
}


@media (hover: none) and (pointer: coarse) {

    #rj-player .jp-controls .jp-play,
    #rj-player .jp-controls .jp-pause,
    #rj-player .jp-controls .jp-mute,
    #rj-player .jp-controls .jp-unmute {
        min-width: 44px;
        min-height: 44px;
        touch-action: manipulation;
    }

    #rj-player .jp-volume-bar-wrapper {
        min-height: 32px;
        padding: 12.5px 0;
        box-sizing: content-box;
        touch-action: manipulation;
    }

    /* Improve touch targets on mobile */
    .hamburger {
        min-width: 44px;
        min-height: 44px;
        touch-action: manipulation;
    }

    .close,
    .close-menu {
        min-width: 44px;
        min-height: 44px;
        touch-action: manipulation;
    }

    #login-form button,
    #manager-controls button {
        touch-action: manipulation;
    }
}


header img {
    pointer-events: auto;
    user-select: none;
    -webkit-user-select: none;
}

nav span {
    pointer-events: auto;
    user-select: none;
    -webkit-user-select: none;
}


.socials-container div {
    pointer-events: auto;
    cursor: pointer;
}

.mobile-socials div {
    pointer-events: auto;
    cursor: pointer;
}


#manager-controls select {
    pointer-events: auto;
    cursor: pointer;
}


#login-form input,
#login-form select {
    pointer-events: auto;
    cursor: text;
}


button,
.jp-controls a,
nav span,
.hamburger,
.close,
.close-menu {
    -webkit-tap-highlight-color: rgba(242, 219, 10, 0.3);
    -webkit-touch-callout: none;
}


footer {
    width: 100%;
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
    color: #F2DB0A;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    border-top: 1px solid rgba(187, 15, 15, 0.3);
    position: relative;
    z-index: 5;
}

footer span {
    color: #F2DB0A;
    font-weight: 500;
    font-size: 14px;
}

.socials-container {
    display: flex;
    gap: 15px;
}

.socials-container div {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #BB0F0F, #a30119);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 6px 20px rgba(187, 15, 15, 0.3);
    border: 1px solid rgba(242, 219, 10, 0.2);
}

.socials-container div:hover {
    transform: translateY(-4px) scale(1.12);
    box-shadow: 0 10px 30px rgba(187, 15, 15, 0.5);
}

.socials-container img {
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}


.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /* background-color: rgba(94, 18, 18, 0.8); */
    justify-content: center;
    align-items: center;
    pointer-events: none;
    backdrop-filter: blur(4px);
}

.modal.active {
    display: flex;
    pointer-events: auto;
}

.modal-content {
    background: #8B0000;
    padding: 40px 35px;
    border-radius: 12px;
    width: 90%;
    max-width: 420px;
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 1001;
    pointer-events: auto;
    border: 1px solid rgba(242, 219, 10, 0.2);
}

.modal-content h2 {
    color: #F2DB0A;
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 24px;
    font-weight: 700;
}

.close {
    color: #F2DB0A;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 20px;
    pointer-events: auto;
    z-index: 1002;
    user-select: none;
    -webkit-user-select: none;
    padding: 5px;
    margin: -5px;
    box-sizing: content-box;
    transition: all 0.3s ease;
}

.close:hover {
    color: #fff;
    transform: scale(1.2);
}

.form-group {
    margin-bottom: 18px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #F2DB0A;
    font-weight: 600;
    font-size: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(242, 219, 10, 0.3);
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 14px;
    pointer-events: auto;
    min-height: 44px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #F2DB0A;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 12px rgba(242, 219, 10, 0.3);
}

#login-form button,
#manager-controls button {
    background-color: #FFFFFF;
    color: #86e609;
    border: none;
    padding: 14px;
    width: 100%;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-top: 10px;
    pointer-events: auto;
    min-height: 44px;
}

#login-form button:hover,
#manager-controls button:hover {
    /* background: linear-gradient(135deg, #a30119, #BB0F0F); */
    transform: translateY(-2px);
    /* box-shadow: 0 12px 30px rgba(187, 15, 15, 0.5); */
}

#login-form button:active,
#manager-controls button:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(187, 15, 15, 0.3);
}

#login-form button:disabled,
#manager-controls button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#login-form button .spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

#login-message {
    margin-top: 15px;
    font-size: 14px;
    min-height: 20px;
    transition: all 0.3s ease;
}

#login-message.success {
    color: #4CAF50;
    font-weight: 600;
}

.shop-info {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: left;
    border-left: 3px solid #F2DB0A;
}

.shop-info p {
    margin: 8px 0;
    color: #fff;
    font-size: 14px;
}

.shop-info strong {
    color: #F2DB0A;
}

#manager-controls {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#manager-controls label {
    color: #F2DB0A;
    font-weight: 600;
    font-size: 14px;
}

#manager-controls select {
    padding: 12px 14px;
    border: 2px solid rgba(242, 219, 10, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    min-height: 44px;
}

#manager-controls select:focus {
    outline: none;
    border-color: #F2DB0A;
    box-shadow: 0 0 12px rgba(242, 219, 10, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    pointer-events: auto;
    user-select: none;
    -webkit-user-select: none;
}

.hamburger div {
    width: 28px;
    height: 3px;
    background: #F2DB0A;
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hamburger.active div:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active div:nth-child(2) {
    opacity: 0;
}

.hamburger.active div:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #1a1a1a 0%, #2d0f0f 100%);
    z-index: 999;
    overflow-y: auto;
    pointer-events: none;
    transition: right 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
    border-left: 2px solid rgba(187, 15, 15, 0.4);
}

.mobile-menu.active {
    display: flex;
    flex-direction: column;
    right: 0;
    pointer-events: auto;
}

body.menu-open {
    overflow: hidden;
}

body.menu-open::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    pointer-events: auto;
}

.close-menu {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 32px;
    color: #F2DB0A;
    cursor: pointer;
    pointer-events: auto;
    user-select: none;
    -webkit-user-select: none;
    transition: all 0.3s ease;
    z-index: 1000;
}

.close-menu:hover {
    color: #fff;
    transform: scale(1.2);
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 80px 25px 30px;
    pointer-events: auto;
    width: 100%;
}

.mobile-logo {
    width: 70px;
    margin-bottom: 20px;
    align-self: center;
}

.mobile-link {
    color: #F2DB0A;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: block;
    pointer-events: auto;
    width: 100%;
    text-align: left;
}

.mobile-link:hover {
    background: linear-gradient(135deg, #BB0F0F, #a30119);
    color: #fff;
    transform: translateX(10px);
    box-shadow: 0 4px 15px rgba(187, 15, 15, 0.3);
}

.mobile-socials {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    pointer-events: auto;
    padding: 0 20px;
    align-self: center;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
}

.mobile-socials div {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #BB0F0F, #a30119);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 6px 20px rgba(187, 15, 15, 0.3);
    border: 1px solid rgba(242, 219, 10, 0.2);
    pointer-events: auto;
}

.mobile-socials div:hover {
    transform: translateY(-4px) scale(1.12);
    box-shadow: 0 10px 30px rgba(187, 15, 15, 0.5);
}

.mobile-socials img {
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1);
}


/* ============================================
       RESPONSIVE MEDIA QUERIES - Mobile First
       ============================================ */

/* Small Mobile (320px - 480px) */
@media (max-width: 480px) {
    main {
        background-attachment: scroll;
    }

    header {
        padding: 8px 10px;
        min-height: 45px;
    }

    header div {
        gap: 10px;
    }

    header div h2 {
        font-size: 18px;
        letter-spacing: 2px;
    }

    header img {
        width: 50px;
    }

    nav {
        display: none;
    }

    .hamburger {
        display: flex;
        margin-right: 10px;
        padding: 8px;
    }

    .hamburger div {
        width: 24px;
        height: 3px;
    }

    .hero {
        padding: 30px 20px 20px;
    }

    .hero h1 {
        font-size: 18px;
        margin: 12px 0 10px;
    }

    .hero p {
        font-size: 14px;
        padding: 0 10px;
    }

    .player-box {
        width: 95%;
        margin-top: 25px;
        margin-bottom: 15px;
        min-height: auto;
    }

    #rj-player {
        flex-direction: column;
        min-height: auto;
    }

    #rj-player .player-v3 {
        flex-direction: column;
        min-height: auto;
    }

    #rj-cover {
        width: 100%;
        min-width: 100%;
        height: 180px;
    }

    #rj-player .info {
        padding: 20px 18px;
        min-height: auto;
    }

    #rj-player .rjp-label {
        font-size: 11px;
        margin-bottom: 6px;
    }

    #rj-player .rjp-info {
        font-size: 15px;
        -webkit-line-clamp: 2;
    }

    #rj-player .rjp-player-container {
        padding-top: 10px;
        padding-bottom: 0;
    }

    #rj-player .jp-controls {
        gap: 10px;
        min-height: 44px;
    }

    #rj-player .jp-controls .jp-play,
    #rj-player .jp-controls .jp-pause {
        width: 48px;
        height: 48px;
    }

    #rj-player .jp-controls .jp-mute,
    #rj-player .jp-controls .jp-unmute {
        width: 44px;
        height: 44px;
    }

    #rj-player .jp-volume-bar-wrapper {
        min-width: 70px;
        max-width: 130px;
    }

    footer {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        text-align: center;
    }

    footer span {
        font-size: 12px;
    }

    .socials-container {
        gap: 12px;
    }

    .socials-container div {
        width: 42px;
        height: 42px;
    }

    .modal-content {
        width: 95%;
        max-width: 360px;
        padding: 30px 20px;
    }

    .mobile-menu {
        width: 280px;
    }
}

/* Medium Mobile (481px - 576px) */
@media (min-width: 481px) and (max-width: 576px) {
    main {
        background-attachment: scroll;
    }

    header {
        padding: 10px 15px;
        min-height: 48px;
    }

    header div {
        gap: 10px;
    }

    header div h2 {
        font-size: 20px;
        letter-spacing: 2px;
    }

    header img {
        width: 55px;
    }

    nav {
        display: none;
    }

    .hamburger {
        display: flex;
        margin-right: 10px;
    }

    .hamburger div {
        width: 26px;
        height: 3px;
    }

    .hero {
        padding: 35px 20px 25px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 15px;
        padding: 0 15px;
    }

    .player-box {
        width: 92%;
        margin-top: 30px;
    }

    #rj-player {
        flex-direction: column;
    }

    #rj-player .player-v3 {
        flex-direction: column;
    }

    #rj-cover {
        width: 100%;
        min-width: 100%;
        height: 190px;
    }

    #rj-player .info {
        padding: 22px 20px;
    }

    #rj-player .rjp-label {
        font-size: 11px;
    }

    #rj-player .rjp-info {
        font-size: 16px;
    }

    #rj-player .jp-controls {
        gap: 11px;
    }

    footer {
        flex-direction: column;
        gap: 15px;
        padding: 22px;
    }

    .socials-container {
        gap: 13px;
    }

    .modal-content {
        width: 92%;
        max-width: 380px;
    }

    .mobile-menu {
        width: 280px;
    }
}

/* Tablet (577px - 768px) */
@media (min-width: 577px) and (max-width: 768px) {
    header {
        padding: 10px 20px;
        min-height: 50px;
    }

    header div {
        gap: 12px;
    }

    header div h2 {
        font-size: 22px;
    }

    header img {
        width: 60px;
    }

    nav {
        display: flex;
        gap: 8px;
        padding-right: 0;
        font-size: 15px;
    }

    .hamburger {
        display: none;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 16px;
        max-width: 550px;
    }

    .player-box {
        width: 88%;
        max-width: 750px;
    }

    #rj-cover {
        width: 200px;
        min-width: 200px;
    }

    #rj-player .info {
        padding: 24px 28px;
    }

    #rj-player .rjp-info {
        font-size: 17px;
    }

    footer {
        padding: 25px 30px;
    }

    .modal-content {
        max-width: 400px;
    }
}

/* Small Laptop (769px - 1023px) */
@media (min-width: 769px) and (max-width: 1023px) {
    header {
        padding: 10px 25px;
        min-height: 52px;
    }

    header div h2 {
        font-size: 26px;
    }

    header img {
        width: 65px;
    }

    nav {
        gap: 10px;
        font-size: 16px;
    }

    /* .hero h1 {
        font-size: 46px;
    } */

    .hero p {
        font-size: 18px;
    }

    .player-box {
        width: 80%;
        max-width: 820px;
    }

    #rj-cover {
        width: 220px;
        min-width: 220px;
    }

    #rj-player .info {
        padding: 28px 30px;
    }

    footer {
        padding: 28px 40px;
    }
}

/* Large Laptop (1024px+) */
@media (min-width: 1024px) {
    header {
        padding: 10px 40px;
        min-height: 55px;
    }


    header img {
        width: 70px;
    }

    nav {
        gap: 12px;
        font-size: 16px;
    }

    .hero p {
        font-size: 22px;
        max-width: 700px;
    }

    .player-box {
        width: 70%;
        max-width: 900px;
    }

    footer {
        padding: 30px 50px;
    }
}

/* Extra-wide screens */
@media (min-width: 1600px) {
    header {
        padding: 12px 60px;
        min-height: 60px;
    }

    header div h2 {
        font-size: 35px;
    }

    header img {
        width: 80px;
    }

    footer {
        padding: 35px 80px;
    }
}

/* Landscape orientation mobile */
@media (max-height: 500px) and (orientation: landscape) {
    header {
        padding: 15px 20px;
    }

    .hero {
        padding: 15px 20px 10px;
    }

    .hero h1 {
        margin: 5px 0;
        font-size: 10px;
    }

    .hero p {
        margin-top: 5px;
        font-size: 14px;
    }

    .player-box {
        margin-top: 15px;
        margin-bottom: 10px;
    }

    #rj-player {
        min-height: 160px;
    }

    #rj-cover {
        height: 160px;
    }

    #rj-player .info {
        padding: 15px 20px;
    }

    footer {
        padding: 10px 20px;
    }
}

/* Touch-friendly adjustments */
@media (hover: none) and (pointer: coarse) {

    #rj-player .jp-controls .jp-play,
    #rj-player .jp-controls .jp-pause,
    #rj-player .jp-controls .jp-mute,
    #rj-player .jp-controls .jp-unmute {
        min-width: 48px;
        min-height: 48px;
    }

    button {
        min-height: 48px;
    }

    .socials-container div,
    .mobile-socials div {
        min-width: 48px;
        min-height: 48px;
    }
}