

:root {
    /* Main colors */
    --primary-color: #5e35b1;
    --primary-dark: #4527a0;
    --primary-light: #7e57c2;
    --secondary-color: #03a9f4;
    --secondary-dark: #0288d1;
    --secondary-light: #4fc3f7;
    --accent-color: #ff5722;
    
    /* Neutral colors */
    --dark-color: #212121;
    --light-color: #f5f5f5;
    --gray-color: #9e9e9e;
    --gray-light: #e0e0e0;
    --gray-dark: #616161;
    
    /* Gradients */
    --primary-gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --dark-gradient: linear-gradient(135deg, #1a237e, #311b92);
    
    /* Other variables */
    --border-radius: 10px;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Base styles */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

.section-padding {
    padding: 5rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-dark);
    margin-bottom: 2.5rem;
}

.section-header {
    margin-bottom: 2rem;
}

.bg-light {
    background-color: #f8f9fa !important;
}

/* Buttons */
.btn {
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-light {
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.btn-sm {
    padding: 0.25rem 1rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}



.site-header .navbar .container {
    display: flex;
    align-items: center;
}

.search-input::-webkit-search-decoration,
.search-input::-webkit-search-cancel-button,
.search-input::-webkit-search-results-button,
.search-input::-webkit-search-results-decoration {
    display: none;
}

/* Hero section */
.hero-section {
    padding: 6rem 0;
    background: var(--primary-gradient);
    color: white;
    position: relative;
    overflow: hidden;
}
.hero-section .row > .col-lg-6:first-child {
    position: relative;
    z-index: 2;
}
.hero-section .carousel { position: relative; z-index: 1; }

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('path-to-texture.png');
    opacity: 0.1;
    z-index: 0;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.featured-station-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    position: relative;
    z-index: 1;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.featured-badge {
    position: absolute;
    top: 0.35rem; 
    right: 0.35rem;
    background-color: #c70313; 
    color: #ffffff;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.82rem;
    border: 2px solid rgba(255, 255, 255, 0.9); 
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25); 
    z-index: 2; 
}

.featured-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.featured-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.featured-info p {
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.btn-play-featured {
    padding: 0.75rem 2rem;
    font-weight: 600;
}

/* Station Cards */
.station-grid {
    margin-bottom: 2rem;
}

.station-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
    margin-bottom: 1.5rem;
    height: 100%;
}

.station-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.station-card-img {
    position: relative;
    overflow: hidden;
}

.station-card-img img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.station-card:hover .station-card-img img {
    transform: scale(1.05);
}

.station-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 1; 
}

.station-card:hover .station-card-overlay {
    opacity: 1;
}

.btn-play {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition);
}

.btn-play:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
}

.station-card-body {
    padding: 1.25rem;
}

.station-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.station-card-genre {
    color: var(--gray-dark);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.station-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray-color);
    font-size: 0.85rem;
}

.btn-fav {
    color: var(--gray-color);
    background: none;
    border: none;
    transition: var(--transition);
}

.btn-fav:hover, .btn-fav.active {
    color: #e91e63;
}

/* Genre Cards */
.genre-card {
    height: 200px;
    border-radius: var(--border-radius);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.genre-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.genre-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    color: white;
}

.genre-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.genre-card-count {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Podcast Cards */
.podcast-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.podcast-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.podcast-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.podcast-card-body {
    padding: 1.25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.podcast-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.podcast-card-desc {
    color: var(--gray-dark);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.podcast-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.podcast-card-category {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    background-color: rgba(94, 53, 177, 0.1);
    border-radius: 50px;
}

.country-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    position: relative;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.country-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.country-flag-container {
    position: relative;
    overflow: hidden;
    height: 160px;
}

.country-flag {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.country-card:hover .country-flag {
    transform: scale(1.05);
}

.country-flag-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 50%);
    pointer-events: none;
}

.country-info {
    padding: 1.5rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.country-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.country-count {
    color: var(--primary-color);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    display: inline-block;
    padding: 0.25rem 1rem;
    background-color: rgba(94, 53, 177, 0.08);
    border-radius: 50px;
}

.btn-browse-country {
    width: 100%;
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.country-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 1;
}

.country-badge i {
    color: var(--primary-color);
    font-size: 1rem;
}

.stats-row {
    margin-top: 3rem;
}

.stat-item {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem 1.5rem;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.stat-text {
    color: var(--gray-dark);
    font-size: 0.95rem;
}

.app-promo-section {
    padding: 5rem 0;
    background: var(--dark-gradient);
    color: white;
}

.app-promo-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.app-promo-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.app-store-buttons {
    display: flex;
    gap: 1rem;
}


.app-mockup-img {
    max-width: 100%;
    height: auto;
}

.site-footer {
    background-color: #212121;
    color: #f5f5f5;
    padding: 4rem 0 2rem;
}

.footer-heading {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.newsletter-form .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    border-radius: 50px 0 0 50px;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .btn {
    border-radius: 0 50px 50px 0;
}

.footer-bottom {
    padding-top: 2rem;
}

.footer-social {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.footer-social li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer-social li a:hover {
    color: white;
}

/* Player Bar */
.player-bar {
    background-color: var(--dark-color);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

.with-player-offset {
    padding-bottom: 110px;
}
@media (max-width: 767.98px) {
    .with-player-offset {
        padding-bottom: 160px;
    }
}

.station-thumbnail {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
}

.control-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    transition: var(--transition);
}

.control-btn:hover {
    color: var(--primary-light);
}

.control-btn.main {
    font-size: 2.5rem;
}

.volume-control {
    width: 100px;
}

.form-range::-webkit-slider-thumb {
    background-color: var(--primary-color);
}

.form-range::-moz-range-thumb {
    background-color: var(--primary-color);
}

/* Modals */
.modal-content {
    border-radius: var(--border-radius);
    border: none;
}

.modal-header {
    border-bottom: none;
    padding-bottom: 0;
}

.modal-title {
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .featured-station-card {
        margin-top: 3rem;
    }
    
    .app-promo-title {
        font-size: 2rem;
    }
    
    .app-mockup-img {
        margin-top: 3rem;
    }
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: 3rem 0;
    }
    
    .hero-section {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .podcast-card-img {
        height: 150px;
        border-radius: var(--border-radius) var(--border-radius) 0 0;
    }
    
    .player-controls {
        margin: 1rem 0;
    }
    
    .newsletter-form {
        margin-bottom: 2rem;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
        margin-top: 1rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .station-card-title {
        font-size: 1rem;
    }
    
    .genre-card {
        height: 150px;
    }
    
    
    .stat-item {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .app-store-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
.country-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    position: relative;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.country-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.country-flag-container {
    height: 140px;
    overflow: hidden;
    position: relative;
}

.country-flag {
    width: 100%;
    height: 140px;
    object-fit: cover;
    transition: var(--transition);
}

.country-card:hover .country-flag {
    transform: scale(1.05);
}

.country-info {
    padding: 1.25rem;
    text-align: center;
}

.country-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.country-count {
    color: var(--gray-dark);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.btn-browse-country {
    width: 100%;
    border-radius: 50px;
}
}
.navbar .navbar-nav { flex-wrap: nowrap; }
.navbar .collapse { flex-wrap: nowrap; align-items: center; }
.navbar .input-group { flex-wrap: nowrap; }
.navbar .dropdown-menu {
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    padding: 0.5rem;
}
.navbar .dropdown-item i { margin-right: 0.5rem; }
.profile-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; }
.hero-app-badges {
    position: absolute;
    right: 24px;
    bottom: 24px;
    z-index: 1;
    pointer-events: none;
}



@media (max-width: 767px) {
    .hero-app-badges {
        position: static;
        margin-top: 1rem;
        display: flex;
        justify-content: center;
    }
}
.hero-card {
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    color: #fff;
}
.hero-card i { color: rgba(255,255,255,0.9); }
.hero-card--mint {
    background: linear-gradient(135deg, #34d399 0%, #0f766e 100%);
}
.hero-card--amber {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}
.hero-card--indigo {
    background: linear-gradient(135deg, #6366f1 0%, #3b82f6 100%);
}
.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
    top: auto;
    bottom: 12px;
    transform: none;
    width: 40px;
    height: 40px;
    opacity: 0.9;
}
.hero-section .carousel-control-next { right: 12px; }
.hero-section .carousel-control-prev { left: auto; right: 60px; }
.favorites-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: rgba(51, 65, 85, 0.95);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 2000;
  font-size: 0.9rem;
}
.favorites-toast.show { opacity: 1; }
