/* ==========================================
   Radyoburada Landing Page - Reference Design
   ========================================== */

:root {
    --yellow: #ffd300;
    --yellow-dark: #e6be00;
    --dark: #181f2f;
    --darker: #0f141e;
    --white: #ffffff;
    --gray: #cccccc;
    --font: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: var(--font);
    background: var(--dark);
    color: var(--white);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    width: 100%;
}

/* ---- Diagonal Background ---- */
.bg-diagonal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: var(--dark);
    overflow: hidden;
    pointer-events: none;
}

.bg-diagonal::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background: var(--yellow);
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 2;
}

/* ---- Floating Music Notes ---- */
.music-note {
    position: fixed;
    z-index: 1;
    color: var(--yellow);
    opacity: 0.5;
    font-size: 2.5rem;
    animation: floatNote 6s ease-in-out infinite;
}

.note-1 {
    top: 8%;
    right: 32%;
    font-size: 3rem;
    opacity: 0.6;
    animation-delay: 0s;
}

.note-2 {
    top: 15%;
    right: 18%;
    font-size: 2rem;
    opacity: 0.4;
    animation-delay: 1s;
}

.note-3 {
    top: 55%;
    right: 8%;
    font-size: 3.5rem;
    opacity: 0.5;
    animation-delay: 2s;
    color: var(--dark);
}

.note-4 {
    bottom: 15%;
    right: 38%;
    font-size: 2rem;
    opacity: 0.35;
    animation-delay: 3s;
    color: var(--dark);
}

.note-5 {
    top: 30%;
    left: 55%;
    font-size: 2.5rem;
    opacity: 0.3;
    animation-delay: 1.5s;
}

@keyframes floatNote {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-18px) rotate(10deg);
    }
}

/* ---- Play Floating Icons ---- */
.play-float {
    position: fixed;
    z-index: 1;
    color: rgba(255, 255, 255, 0.15);
    font-size: 1.2rem;
    animation: floatPlay 5s ease-in-out infinite;
}

.float-1 {
    top: 35%;
    left: 42%;
    animation-delay: 0.5s;
}

.float-2 {
    top: 60%;
    left: 35%;
    animation-delay: 2s;
}

@keyframes floatPlay {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.15;
    }

    50% {
        transform: translateY(-12px);
        opacity: 0.3;
    }
}

/* ---- Dot Patterns ---- */
.dot-pattern {
    position: fixed;
    z-index: 1;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.2) 1.5px, transparent 1.5px);
    background-size: 14px 14px;
}

.dot-pattern-1 {
    bottom: 25%;
    left: 48%;
}

.dot-pattern-2 {
    top: 20%;
    right: 12%;
    background-image: radial-gradient(circle, rgba(26, 26, 26, 0.15) 1.5px, transparent 1.5px);
}

/* ---- Container ---- */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ---- Hero ---- */
.hero {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 100vh;
    padding: 40px 0;
}

/* ---- Hero Content (Left) ---- */
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-right: 20px;
}

/* App Logo */
.app-logo {
    width: 120px;
    height: 120px;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--yellow);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.app-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

/* Version Badge */
.version-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 211, 0, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    width: fit-content;
    margin-bottom: -10px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--yellow);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 0 rgba(255, 211, 0, 0.4);
    animation: simplePulse 2s infinite;
}

@keyframes simplePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 211, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(255, 211, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 211, 0, 0);
    }
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--yellow);
    letter-spacing: 0.5px;
}

/* Heading */
.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--white);
}

.hero-content h1 .highlight {
    color: var(--yellow);
}

/* Description */
.hero-desc {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.8;
    max-width: 500px;
}

/* Store Buttons */
.store-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #0a0a0a;
    color: var(--white);
    padding: 16px 36px;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 211, 0, 0.4);
}

.store-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 211, 0, 0.15);
    background: #111;
}

.store-btn i {
    font-size: 2.2rem;
    color: var(--white);
}

.store-info {
    display: flex;
    flex-direction: column;
}

.store-info span {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--gray);
}

.store-info strong {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}

/* Social Proof */
.social-proof {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 5px;
}

.avatars {
    display: flex;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    border: 3px solid var(--dark);
    margin-left: -10px;
}

.avatar:first-child {
    margin-left: 0;
}

.download-count strong {
    font-size: 1.1rem;
    display: block;
    line-height: 1.2;
}

.download-count span {
    font-size: 0.8rem;
    color: var(--gray);
}

/* Social Media Icons */
.social-media {
    display: flex;
    align-items: center;
    gap: 16px;
}

.social-label {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 500;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.social-icon.facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: #dc2743;
    box-shadow: 0 6px 20px rgba(220, 39, 67, 0.4);
}

/* ---- Phone Mockup (Right) ---- */
.hero-phone {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-frame {
    width: 310px;
    height: 630px;
    background: #000;
    border-radius: 44px;
    padding: 10px;
    position: relative;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.5),
        inset 0 0 0 2px #333,
        0 0 0 3px #222;
    animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1c1c1e 0%, #111 100%);
    border-radius: 36px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Status Bar */
.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px 8px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-icons {
    display: flex;
    gap: 6px;
    font-size: 0.65rem;
}

/* Search */
.app-search {
    margin: 6px 16px 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #888;
}

/* Now Playing Banner */
.now-playing-banner {
    margin: 0 16px 14px;
    background: linear-gradient(135deg, #2a1a0a 0%, #3a2a10 100%);
    border-radius: 16px;
    padding: 14px;
    display: flex;
    gap: 12px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.now-playing-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(245, 197, 24, 0.1), transparent);
    border-radius: 16px;
}

.np-image {
    width: 80px;
    height: 70px;
    background: linear-gradient(135deg, #c41e3a, #8b0000);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    color: #fff;
    text-align: center;
    line-height: 1.1;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.np-image small {
    font-size: 1rem;
    font-weight: 900;
}

.np-controls {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
    z-index: 1;
    flex: 1;
}

.np-name {
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.np-name i {
    font-size: 0.7rem;
    color: var(--yellow);
}

.np-status {
    font-size: 0.65rem;
    color: #2ecc71;
    font-weight: 600;
    background: rgba(46, 204, 113, 0.15);
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-block;
    width: fit-content;
}

.np-genre {
    font-size: 0.65rem;
    color: #888;
}

/* Popular Section */
.popular-section {
    flex: 1;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.popular-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.popular-header strong {
    font-size: 0.9rem;
}

.popular-header span {
    font-size: 0.7rem;
    color: var(--yellow);
}

.radio-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    transition: background 0.2s;
}

.radio-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.ri-1 {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.ri-2 {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.ri-3 {
    background: linear-gradient(135deg, #e67e22, #d35400);
}

.ri-4 {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.radio-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.radio-info strong {
    font-size: 0.75rem;
    font-weight: 700;
}

.radio-info span {
    font-size: 0.6rem;
    color: #888;
}

.radio-item .fa-heart {
    color: #555;
    font-size: 0.85rem;
}

.play-icon {
    width: 32px;
    height: 32px;
    background: var(--yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: 0.75rem;
}

/* Bottom Nav */
.bottom-nav {
    display: flex;
    justify-content: space-around;
    padding: 10px 8px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: auto;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 0.55rem;
    color: #555;
}

.nav-item i {
    font-size: 0.9rem;
}

.nav-item.active {
    color: var(--yellow);
}

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        align-items: center;
        padding-right: 0;
    }

    .hero-desc {
        margin: 0 auto;
    }

    .store-buttons {
        justify-content: center;
    }

    .social-proof {
        justify-content: center;
    }

    .social-media {
        justify-content: center;
    }

    .bg-diagonal::after {
        clip-path: polygon(0 80%, 100% 70%, 100% 100%, 0 100%);
        width: 100%;
    }

    .music-note {
        display: none;
    }

    .play-float {
        display: none;
    }

    .dot-pattern {
        display: none;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-desc {
        font-size: 0.85rem;
    }

    .store-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        flex-wrap: nowrap;
    }

    .store-btn {
        width: auto;
        padding: 12px 18px;
        gap: 12px;
        justify-content: center;
    }

    .store-btn i {
        font-size: 1.8rem;
    }

    .store-info span {
        font-size: 0.65rem;
    }

    .store-info strong {
        font-size: 0.95rem;
    }

    .phone-frame {
        width: 260px;
        height: 530px;
    }

    .app-logo {
        width: 90px;
        height: 90px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .bg-diagonal::after {
        clip-path: polygon(0 92%, 100% 88%, 100% 100%, 0 100%);
    }
}