/* d:\activa1045fm.net\css\replica.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body, html {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #000;
}

/* Background Image */
.bg-image {
    position: absolute;
    top: 0;
    right: 0;
    left: auto;
    width: 70%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

/* Left Overlays */
.overlay-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    z-index: 2;
}

/* Polygons */
.poly-blue-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    height: 100%;
    background-color: #0b1528; /* Dark navy */
    clip-path: polygon(0 0, 100% 0, 60% 100%, 0 100%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 10%;
}

.poly-blue-bright {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0056b3; /* Bright blue replacing red */
    clip-path: polygon(0 0, 100% 0, 65% 100%, 0 100%);
    z-index: 4;
}

.poly-white {
    position: absolute;
    top: 0;
    left: 0;
    width: 105%;
    height: 100%;
    background-color: #ffffff; /* White replacing blue */
    clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
    z-index: 3;
}

/* Add some texture to the dark poly like in the image */
.poly-blue-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.05;
    z-index: -1;
}

/* Logo and text inside overlay */
.social-handle {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2rem;
}

.social-handle i {
    font-size: 1.8rem;
}

.main-logo-large {
    width: 380px;
    max-width: 90%;
    margin-bottom: 1rem;
    filter: drop-shadow(2px 4px 10px rgba(0,0,0,0.5));
}

/* Additional geometric accents bottom left */
.accent-blue {
    position: absolute;
    bottom: 50px;
    left: 10%;
    width: 150px;
    height: 40px;
    background-color: #0056b3;
    clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%);
    z-index: 6;
}
.accent-white {
    position: absolute;
    bottom: 30px;
    left: 5%;
    width: 200px;
    height: 60px;
    background-color: #ffffff;
    clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%);
    z-index: 5;
}

/* Center Modal */
.app-modal {
    position: absolute;
    bottom: 100px; /* above player */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(11, 21, 40, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 10;
    color: white;
    width: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

.app-modal-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    margin-bottom: 10px;
}

.app-modal-title {
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-download {
    color: #0056b3;
    background: rgba(0, 86, 179, 0.2);
    padding: 8px;
    border-radius: 50%;
}

.app-modal-close {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 1.2rem;
}

.app-modal-text {
    font-size: 0.85rem;
    color: #ccc;
    margin-bottom: 15px;
    line-height: 1.4;
}

.btn-install {
    background-color: #0056b3;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.3s;
}
.btn-install:hover {
    background-color: #004494;
}

/* Right floating menu */
.right-menu {
    position: absolute;
    right: 0;
    top: 60%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    padding: 10px 5px;
    border-radius: 10px 0 0 10px;
    z-index: 10;
}

.right-menu a {
    color: white;
    font-size: 1.2rem;
    padding: 10px;
    transition: color 0.3s;
}
.right-menu a:hover {
    color: #0056b3;
}
.right-menu .active-icon {
    color: #0056b3;
}

/* Bottom Player */
.player-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: #050a15; /* Dark almost black */
    border-top: 3px solid #0056b3; /* Bright blue top border */
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    color: white;
}

.player-left {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 30%;
}

.player-logo-small {
    width: 50px;
    height: auto;
}

.player-info {
    display: flex;
    flex-direction: column;
}

.player-status {
    font-size: 0.7rem;
    color: #888;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
}

.live-indicator {
    width: 6px;
    height: 6px;
    background-color: #0056b3;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.player-station {
    font-weight: 800;
    font-size: 1rem;
    margin-top: 2px;
}

.player-location {
    font-size: 0.75rem;
    color: #666;
}

.player-center {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 40%;
    justify-content: center;
}

.btn-play {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #0056b3;
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 86, 179, 0.5);
    transition: transform 0.2s;
}
.btn-play:hover {
    transform: scale(1.05);
}

.station-select {
    background-color: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    padding-right: 30px;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: 10px auto;
}
.station-select option {
    background-color: #1a1a1a;
    color: white;
}

.player-right {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 30%;
    justify-content: flex-end;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #888;
}

.vol-slider {
    -webkit-appearance: none;
    width: 80px;
    height: 4px;
    background: #333;
    border-radius: 2px;
    outline: none;
}
.vol-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #0056b3;
    cursor: pointer;
}

.player-actions {
    display: flex;
    gap: 15px;
    color: #888;
    font-size: 1.1rem;
}
.player-actions a {
    color: #888;
    transition: color 0.3s;
}
.player-actions a:hover {
    color: white;
}

.small-logo {
    width: 30px;
    height: 30px;
    background-color: white;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
}
.small-logo img {
    max-width: 100%;
    max-height: 100%;
}

@media (max-width: 992px) {
    .overlay-container { width: 70%; }
    .poly-blue-dark { width: 100%; clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%); }
    .poly-blue-bright { clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%); }
    .poly-white { clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%); }
    
    .main-logo-large { width: 300px; }
    .bg-image { width: 100%; left: 0; }
    
    .player-left { width: auto; }
    .player-center { width: auto; }
    .player-right { display: none; }
    
    .app-modal { width: 90%; bottom: 80px; }
}

@media (max-width: 576px) {
    .overlay-container { width: 100%; background: rgba(11,21,40,0.7); }
    .poly-blue-dark, .poly-blue-bright, .poly-white { clip-path: none; background: none; }
    .poly-blue-dark { padding-left: 20px; align-items: center; text-align: center; justify-content: flex-start; padding-top: 50px; }
    
    .social-handle { margin-bottom: 1rem; }
    .main-logo-large { width: 220px; }
    .bg-image { width: 100%; left: 0; }
    
    .accent-blue, .accent-white { display: none; }
    
    .player-bar { padding: 0 15px; justify-content: space-between; }
    .player-station { font-size: 0.8rem; }
    .player-location { display: none; }
    .station-select { display: none; }
}
