/* ===================================
   Kiraz Sohbet Teması - Perav1
   Full Animasyonlu & Renkli Tema
   Tasarımcı: Kaan Yavuz
   =================================== */

:root {
    /* Kiraz Renk Paleti */
    --cherry-1: #FF1744;
    --cherry-2: #FF4081;
    --cherry-3: #E91E63;
    --cherry-4: #C2185B;
    --cherry-5: #F50057;
    --cherry-6: #FF6EC7;
    --cherry-7: #FF1493;
    
    /* Destek Renkler */
    --accent-1: #FFD700;
    --accent-2: #FF6B35;
    --accent-3: #FF8C42;
    
    /* Arka Plan */
    --dark-bg: #0F0F1E;
    --darker-bg: #0A0A14;
    --card-bg: rgba(15, 15, 30, 0.9);
    
    /* Metin */
    --text-white: #FFFFFF;
    --text-light: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark-bg);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    padding-bottom: 80px; /* Radio player için alan */
}

/* Animasyonlu Arka Plan */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 23, 68, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 64, 129, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(233, 30, 99, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 10% 80%, rgba(194, 24, 91, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 90% 20%, rgba(255, 21, 71, 0.3) 0%, transparent 50%);
    animation: backgroundPulse 8s ease-in-out infinite;
    z-index: -1;
}

@keyframes backgroundPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ===== HEADER ===== */
.header {
    background: rgba(15, 15, 30, 0.95);
    backdrop-filter: blur(15px);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(255, 23, 68, 0.3);
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--cherry-1), var(--cherry-2), var(--cherry-3), var(--cherry-1)) 1;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-white);
    transition: all 0.3s ease;
}

.logo i {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--cherry-1), var(--cherry-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoSpin 3s linear infinite;
}

@keyframes logoSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.logo span {
    background: linear-gradient(90deg, var(--cherry-1), var(--cherry-2), var(--cherry-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.3);
    }
}

.nav {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 23, 68, 0.3), transparent);
    transition: left 0.5s ease;
}

.nav a:hover::before {
    left: 100%;
}

.nav a:hover,
.nav a.active {
    color: var(--text-white);
    background: linear-gradient(135deg, rgba(255, 23, 68, 0.2), rgba(255, 64, 129, 0.2));
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--cherry-1), var(--cherry-2), var(--cherry-3), var(--cherry-4), var(--cherry-5));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleShimmer 3s ease-in-out infinite;
    line-height: 1.2;
}

@keyframes titleShimmer {
    0%, 100% {
        filter: hue-rotate(0deg);
    }
    50% {
        filter: hue-rotate(30deg);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

/* ===== CHAT LOGIN BOX ===== */
.chat-login-container {
    max-width: 500px;
    margin: 3rem auto;
    animation: fadeInUp 1s ease 0.4s both;
}

.chat-login-box {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 3rem;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(255, 23, 68, 0.3);
    animation: boxPulse 4s ease-in-out infinite;
}

@keyframes boxPulse {
    0%, 100% {
        box-shadow: 0 20px 60px rgba(255, 23, 68, 0.3);
    }
    50% {
        box-shadow: 0 20px 80px rgba(255, 23, 68, 0.5);
    }
}

.chat-login-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 23, 68, 0.1), transparent);
    animation: borderRotate 6s linear infinite;
}

@keyframes borderRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.chat-login-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 25px;
    padding: 3px;
    background: linear-gradient(90deg, var(--cherry-1), var(--cherry-2), var(--cherry-3), var(--cherry-1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

.box-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--cherry-1), var(--cherry-2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    box-shadow: 0 15px 40px rgba(255, 23, 68, 0.5);
    animation: iconFloat 3s ease-in-out infinite;
    position: relative;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-15px) scale(1.1);
    }
}

.box-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--cherry-1), var(--cherry-2), var(--cherry-3));
    z-index: -1;
    animation: iconRing 2s linear infinite;
}

@keyframes iconRing {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: rotate(360deg) scale(1.2);
        opacity: 0;
    }
}

.box-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(90deg, var(--cherry-1), var(--cherry-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--cherry-1);
    font-size: 1.2rem;
    z-index: 1;
}

.form-group input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 23, 68, 0.3);
    border-radius: 15px;
    color: var(--text-white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--cherry-1);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(255, 23, 68, 0.3);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.btn-login {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--cherry-1), var(--cherry-2));
    border: none;
    border-radius: 15px;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255, 23, 68, 0.4);
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-login:hover::before {
    width: 300px;
    height: 300px;
}

.btn-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 23, 68, 0.6);
}

.btn-login:active {
    transform: translateY(0);
}

.btn-alt {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 2px solid var(--cherry-1);
    border-radius: 15px;
    color: var(--cherry-1);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    margin-top: 1rem;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.btn-alt:hover {
    background: var(--cherry-1);
    color: white;
    transform: translateY(-2px);
}

.age-warning {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 23, 68, 0.1);
    border-radius: 10px;
    border-left: 4px solid var(--cherry-1);
    animation: slideInUp 1s ease-out;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    text-decoration: none;
}

.age-warning:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(255, 23, 68, 0.2);
    border-left-color: var(--cherry-2);
    box-shadow: 0 10px 30px rgba(255, 23, 68, 0.3);
}

.age-warning::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 23, 68, 0.2), transparent);
    animation: slideShine 3s infinite;
}

.age-warning i {
    animation: iconPulse 2s ease-in-out infinite;
    color: var(--cherry-1);
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.age-warning:hover i {
    animation: iconPulseHover 0.5s ease-in-out infinite;
    transform: rotate(15deg) scale(1.2);
}

.age-warning-text {
    display: inline-block;
    animation: slideInLeft 1.2s ease-out 0.3s backwards;
    transition: all 0.3s ease;
}

.age-warning:hover .age-warning-text {
    color: var(--cherry-1);
    font-weight: 700;
    transform: translateX(5px);
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideShine {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

@keyframes iconPulseHover {
    0%, 100% {
        transform: rotate(15deg) scale(1.2);
        opacity: 1;
    }
    50% {
        transform: rotate(-15deg) scale(1.3);
        opacity: 0.9;
    }
}

/* ===== CHAT ROOM SECTION ===== */
.chat-rooms-section {
    padding: 4rem 0;
    background: rgba(10, 10, 20, 0.5);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    background: linear-gradient(90deg, var(--cherry-1), var(--cherry-2), var(--cherry-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.room-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    border: 2px solid rgba(255, 23, 68, 0.3);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: cardFloat 4s ease-in-out infinite;
    text-decoration: none;
    display: block;
    color: inherit;
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.room-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 23, 68, 0.2), transparent);
    transition: left 0.6s ease;
}

.room-card:hover::before {
    left: 100%;
}

.room-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--cherry-1);
    box-shadow: 0 20px 60px rgba(255, 23, 68, 0.4);
}

.room-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--cherry-1), var(--cherry-2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(255, 23, 68, 0.4);
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.room-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--text-white);
}

.room-desc {
    color: var(--text-light);
    text-align: center;
    font-size: 0.95rem;
}

/* ===== FOOTER ===== */
.footer {
    background: rgba(10, 10, 20, 0.95);
    backdrop-filter: blur(15px);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--cherry-1), var(--cherry-2), var(--cherry-3)) 1;
}

.footer-content {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-bottom {
    background: rgba(10, 10, 20, 0.98);
    padding: 1.5rem 0;
    border-top: 2px solid rgba(255, 23, 68, 0.2);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-bottom-left,
.footer-bottom-right {
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.footer-bottom-left {
    background: linear-gradient(90deg, var(--cherry-1), var(--cherry-2), var(--cherry-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 3s ease-in-out infinite;
}

.footer-bottom-right {
    background: linear-gradient(90deg, var(--cherry-4), var(--cherry-5), var(--cherry-6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 3s ease-in-out infinite 1.5s;
}

.footer-bottom-left i,
.footer-bottom-right i {
    font-size: 1.1rem;
    background: linear-gradient(90deg, var(--cherry-1), var(--cherry-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: iconPulse 2s ease-in-out infinite;
}

.footer-bottom-right i {
    background: linear-gradient(90deg, var(--cherry-4), var(--cherry-5));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 80px);
        background: rgba(15, 15, 30, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transition: left 0.3s ease;
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.3);
        z-index: 999;
    }
    
    .nav.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .chat-login-box {
        padding: 2rem 1.5rem;
    }
    
    .rooms-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ===== CONTENT PAGES ===== */
.content-section {
    padding: 4rem 0;
    min-height: 70vh;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--cherry-1), var(--cherry-2), var(--cherry-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.page-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.content-text {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 3rem;
    border: 2px solid rgba(255, 23, 68, 0.3);
    line-height: 1.9;
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(255, 23, 68, 0.2);
}

.content-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    color: var(--text-white);
    background: linear-gradient(90deg, var(--cherry-1), var(--cherry-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1.5rem 0 1rem;
    color: var(--text-white);
}

.content-text p {
    margin-bottom: 1.5rem;
}

.content-text ul,
.content-text ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.content-text li {
    margin-bottom: 0.8rem;
}

.content-text strong {
    color: var(--cherry-1);
    font-weight: 700;
}

/* Floating Particles */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--cherry-1);
    border-radius: 50%;
    animation: particleFloat 15s infinite;
    opacity: 0.6;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100vh) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

/* ===== RADIO PLAYER ===== */
.radio-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 30, 0.98);
    backdrop-filter: blur(20px);
    border-top: 3px solid rgba(255, 23, 68, 0.5);
    box-shadow: 0 -10px 40px rgba(255, 23, 68, 0.3);
    z-index: 9999;
    padding: 1rem 0;
    transition: transform 0.3s ease;
}

.radio-player.hidden {
    transform: translateY(100%);
}

.radio-player-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.radio-player-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 0;
}

.radio-player-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--cherry-1), var(--cherry-2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    animation: iconPulse 2s ease-in-out infinite;
}

.radio-player-details {
    flex: 1;
    min-width: 0;
}

.radio-player-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.radio-player-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.radio-player-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.radio-player-btn {
    background: rgba(255, 23, 68, 0.2);
    border: 2px solid rgba(255, 23, 68, 0.3);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cherry-1);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.radio-player-btn:hover {
    background: var(--cherry-1);
    color: white;
    transform: scale(1.1);
    border-color: var(--cherry-1);
}

.radio-player-btn.play-btn {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--cherry-1), var(--cherry-2));
    color: white;
    border: none;
    font-size: 1.3rem;
}

.radio-player-btn.play-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(255, 23, 68, 0.6);
}

.radio-player-btn.playing {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 23, 68, 0.5);
    }
    50% {
        box-shadow: 0 0 25px rgba(255, 23, 68, 0.9);
    }
}

.radio-player-toggle {
    background: rgba(255, 23, 68, 0.2);
    border: 2px solid rgba(255, 23, 68, 0.3);
    border-radius: 10px;
    padding: 0.5rem 1rem;
    color: var(--cherry-1);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.radio-player-toggle:hover {
    background: var(--cherry-1);
    color: white;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    /* General Mobile Optimizations */
    body {
        padding-bottom: 70px;
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Header Mobile */
    .header {
        padding: 1rem 0;
    }
    
    .logo span {
        font-size: 1.1rem;
    }
    
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(15, 15, 30, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav li {
        margin: 0.5rem 0;
    }
    
    .nav a {
        padding: 0.75rem 1rem;
        width: 100%;
        display: block;
        border-radius: 8px;
        font-size: 1rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Hero Section Mobile */
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .chat-login-box {
        padding: 2rem 1.5rem;
        margin-top: 2rem;
    }
    
    /* Rooms Grid Mobile */
    .rooms-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1rem;
    }
    
    .room-card {
        padding: 1.5rem 1rem;
    }
    
    .room-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .room-title {
        font-size: 1rem;
    }
    
    .room-desc {
        font-size: 0.85rem;
    }
    
    /* Radio Player Mobile */
    .radio-player-content {
        padding: 0 1rem;
        gap: 1rem;
    }

    .radio-player-info {
        gap: 0.75rem;
    }

    .radio-player-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .radio-player-title {
        font-size: 0.9rem;
    }

    .radio-player-subtitle {
        font-size: 0.75rem;
    }

    .radio-player-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        min-width: 40px;
        touch-action: manipulation;
    }

    .radio-player-btn.play-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        min-width: 50px;
    }

    .radio-player-toggle {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        touch-action: manipulation;
    }
    
    /* Touch Optimizations */
    button, a, input, select, textarea {
        -webkit-tap-highlight-color: rgba(255, 23, 68, 0.3);
        touch-action: manipulation;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 2rem 0 1rem;
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .chat-login-box {
        padding: 1.5rem 1rem;
    }
    
    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .room-card {
        padding: 1rem 0.75rem;
    }
    
    .radio-player-content {
        padding: 0 0.75rem;
        gap: 0.75rem;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .header {
        padding: 0.75rem 0;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .header, .footer, .chat-login-box {
        border-width: 0.5px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    /* Already dark theme, no changes needed */
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Performance Optimizations */
img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* Lazy Loading Support */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}
