body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; 
    overflow: hidden; 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.content {
    padding: 10px;
    flex: 1;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: 60px;
}

.content::-webkit-scrollbar {
    display: none; 
}

.phone-container {
    width: 360px;
    height: 740px;
    box-shadow: 10px 20px 20px 10px #111827;
    border: 10px solid #222e3f;
    border-radius: 30px;
    padding: 5px;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: visible;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.header {
    background: linear-gradient(to bottom, #111827, #111827);
    text-align: center;
    font-size: 24px;
    background-color: #111827;
    font-weight: bold;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}
.logo {
    width: 100%;
    border-radius: 25px 25px 0 0;
    height: auto;
    margin-bottom: 1px;
}

.header-text {
    position: relative;
    font-size: 24px;
    color: #000;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.3);
}

.nav-bar {
    border-top: 2px solid #6b72807f;
    background: #111827;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 10;
    flex-shrink: 0;
    position: sticky; 
    bottom: 0; 
    width: 100%;
    box-sizing: border-box;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.nav-item {
    color: #6B7280;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.nav-item:hover {
    color: #FB923C;
}

.nav-item.active {
    color: #FB923C; 
    font-weight: bold; 
}

.nav-icon {
    font-size: 24px;
}

.nav-text {
    font-size: 10px;
}

.record {
    margin: 10px 0;
    padding: 1rem;
    background: #1F2937;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    transition: transform 0.4s;
    cursor: pointer;
}

.record:hover {
    transform: scale(1.04);
    background: #374151;
}

.record b {
    color: #FB923C;
    text-decoration: none;
    margin-left: 20px;
}

.record_link_color {
    color: #9CA3AF !important;
}

a {
    text-decoration: none;
}

.logo-play-next {
    position: absolute;
    right: 25px;
}

.record-link {
    color: #FB923C;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s;
}

.record-link:hover {
    background-color: #444;
    border-radius: 5px;
}

.qr-button_1 {
    top: 190px;
    right: 15px;
    margin-left: 3px;
    background: #374151;
    color: #FB923C;
    border-radius: 25%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s;
    z-index: 999;
}

.qr-button {
    position: absolute;
    top: 190px;
    right: 15px;
    background: #F97316;
    color: #ffffff;
    border-radius: 25%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s;
    z-index: 999;
}

.qr-button:hover {
    transform: scale(1.1);
}

.player {
    background: #333;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.player-music {
    border-radius: 10px;
    text-align: center;
    margin: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.player audio {
    width: 100%;
    background: #FB923C;
    border-radius: 5px;
    outline: none;
}

audio {
    background-color: #1a1a1a !important;
}

.player-controls {
    margin-top: 10px;
}

.player-controls button {
    background: #FB923C;
    color: #000;
    border: none;
    padding: 10px;
    margin: 0 5px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.player-controls button:hover {
    background-color: #ffd700;
}

.news-detail {
    margin-bottom: 20px;
}

.news-image {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .phone-container {
        width: 100%;
        height: 100vh;
        border: none;
        border-radius: 0;
        padding: 0;
        box-shadow: none;
        overflow: visible;
    }

    .nav-bar {
        padding-bottom: env(safe-area-inset-bottom, 10px);
    }

    .content {
        padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
    }
}

.space-background audio::-webkit-media-controls-play-button,
.space-background audio::-webkit-media-controls-pause-button,
.space-background audio::-webkit-media-controls-timeline-container,
.space-background audio::-webkit-media-controls-current-time-display,
.space-background audio::-webkit-media-controls-time-remaining-display,
.space-background audio::-webkit-media-controls-mute-button,
.space-background audio::-webkit-media-controls-volume-slider {
    color: #fff !important;
    background-color: #565555;
    border-radius: 15px;
    border: none;
}

.space-background audio::-webkit-media-controls-panel {
    background-color: #2c2c2c;
}

.space-background audio {
    width: 100%;
    background: #2c2c2c;
    border: none;
    border-radius: 15px;
    color: #fff; 
    accent-color: #fff; 
}

.news-item {
    display: flex;
    align-items: center;
    background: rgb(31 41 55);
    border-radius: 10px;
    margin: 10px 0;
    padding: 20px;
    transition: transform 0.3s;
}

.news-item:hover {
    transform: scale(1.02);
}

.news-thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.news-info {
    flex: 1;
}

.news-info .record-link {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.news-preview {
    font-size: 12px;
    color: #ccc;
    margin: 0;
    line-height: 1.4;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.41);
    z-index: 1000;
}

.modal-content {
    background-color: #16213E;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
}

.close {
    color: #FB923C;
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #ffd700;
}

#video {
    border-radius: 10px;
    box-shadow: 0 0 10px #344b89;
}

#qrResult {
    margin-top: 10px;
    font-size: 14px;
    color: #FB923C;
}

.button-qr-logo {
    position: absolute;
    background-color: #ff6200;
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    top: 77px;
    margin-bottom: 10px;
}

.button-qr-logo:hover {
    background-color: #e65c00;
}

.icons {
    display: flex;
    position: absolute;
    top: 14px;
    justify-content: center;
    gap: 15px;
}

.icon {
    background-color: #ffffff;
    border-radius: 25%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #e65c00;
}

.icon i {
    font-size: 1.3em;
}

.text-left-about {
    text-align: left !important;
    margin-bottom: 7px !important;
}

pre {
    white-space: pre-line;
    overflow: hidden;
    font-size: 16px;
    text-overflow: clip;
    text-overflow: ellipsis;
}

.video-player {
    margin: 20px 0;
    text-align: center;
}

.video-player video {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.inst-icon {
   background-color: unset !important; 
}

.catalog-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    margin-bottom: 10px;
    position: relative;
    z-index: 5; 
}

.filter-buttons {
    display: flex;
    background-color: #1F2937;
    border-radius: 10px;
    padding: 5px;
}

.filter-btn {
    padding: 8px 16px;
    color: #9CA3AF; 
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background-color: #FB923C; 
    color: #111827; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.random-btn {
    background-color: #374151; 
    color: #FB923C; 
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0; 
    margin-left: 10px;
}

.random-btn:hover {
    background-color: #FB923C;
    color: #111827;
    transform: scale(1.1);
}

.no-records {
    text-align: center;
    color: #9CA3AF;
    padding: 40px 20px;
}

.mute-btn {
    position: fixed;
    bottom: 80px; 
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #FB923C;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 999; 
    transition: transform 0.2s;
}

.mute-btn:hover {
    transform: scale(1.1);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(251, 146, 60, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 10px 20px rgba(251, 146, 60, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(251, 146, 60, 0);
  }
}

.music-icon.playing {
  animation: pulse 2s infinite;
  border-radius: 50%; 
}