* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #F7F7F7;
    color: #232323;
    line-height: 1.6;
}

/* Títulos com fonte Rubik */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Rubik', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Header */
header {
    background-color: #FC393A;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    align-items: center;
    padding: 0 20px !important;
    max-width: 1700px;
    margin: 0 auto;
    position: relative;
    min-height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    padding-left: 10px;
}

@media (max-width: 768px) {
    .logo {
        position: static;
        transform: none;
        padding-left: 0;
    }
    
    .mobile-menu-toggle {
        margin-left: auto;
    }
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-menu {
    margin-left: auto;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    color: white;
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
    line-height: 1.2;
}

.logo-text span {
    font-size: 0.9rem;
    opacity: 0.9;
    display: block;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Main Content */
main {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #FC393A 0%, #232323 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* Player */
.player-container {
    max-width: 500px;
    margin: 0 auto;
}

.player {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.player-info {
    text-align: center;
    margin-bottom: 2rem;
}

.song-title {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.artist {
    opacity: 0.8;
    font-size: 1rem;
}

.player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.volume-control i {
    font-size: 1.2rem;
}

#volumeSlider {
    width: 100px;
    height: 5px;
    background: rgba(255, 255, 255, 0.3);
    outline: none;
    border-radius: 5px;
    cursor: pointer;
}

#volumeSlider::-webkit-slider-thumb {
    appearance: none;
    width: 15px;
    height: 15px;
    background: #FC393A;
    border-radius: 50%;
    cursor: pointer;
}

#volumeSlider::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background: #FC393A;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.play-btn {
    background-color: #FC393A;
    border: none;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn:hover {
    background-color: #e02e2f;
    transform: scale(1.05);
}


/* About Section */
.about {
    padding: 4rem 0;
    background-color: white;
    position: relative;
    background-image: url('img/PeVermelho.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    background-attachment: fixed;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: 1;
}

.about .container {
    position: relative;
    z-index: 2;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #FC393A;
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-align: center;
    line-height: 1.8;
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    max-height: 300px;
}

/* Programming Section */
.programming {
    padding: 4rem 0;
    background-color: #F7F7F7;
    position: relative;
    background-image: url('img/PeVermelho.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    background-attachment: fixed;
}

.programming::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(247, 247, 247, 0.85);
    z-index: 1;
}

.programming .container {
    position: relative;
    z-index: 2;
}

.programming h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #FC393A;
}

.programming-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.time-slot {
    background-color: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #FC393A;
}

.time-slot:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(252, 57, 58, 0.2);
}

.time-slot .time {
    font-size: 1.1rem;
    font-weight: bold;
    color: #FC393A;
    margin-bottom: 0.5rem;
}

.time-slot .program {
    font-size: 1.3rem;
    font-weight: 600;
    color: #232323;
    margin-bottom: 0.5rem;
    font-family: 'Rubik', sans-serif;
}

.time-slot .host {
    font-size: 1rem;
    color: #666;
    font-style: italic;
}

.time-slot .tag {
    display: inline-block;
    background-color: #FC393A;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 0.5rem;
    letter-spacing: 0.5px;
}

/* News Section */
.news-section {
    padding: 4rem 0;
    background-color: white;
    position: relative;
    background-image: url('img/PeVermelho.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    background-attachment: fixed;
}

.news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: 1;
}

.news-section .container {
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: #FC393A;
    margin-bottom: 1rem;
    font-family: 'Rubik', sans-serif;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    opacity: 0.9;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.news-card {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #FC393A;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(252, 57, 58, 0.2);
}

.news-image {
    width: 100%;
    height: 200px;
    background-color: #f0f0f0;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.news-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.1) 100%);
}

.news-content {
    padding: 1.5rem;
}

.news-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #232323;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    font-family: 'Rubik', sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-snippet {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.news-date {
    font-size: 0.85rem;
    color: #999;
}

.news-read-more {
    background-color: #FC393A;
    color: white;
    text-decoration: none;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease;
}

.news-read-more:hover {
    background-color: #e02e2f;
}

.news-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 0;
    color: #666;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #FC393A;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.news-error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 0;
    color: #666;
}

.news-error i {
    font-size: 3rem;
    color: #FC393A;
    margin-bottom: 1rem;
}

.news-error h3 {
    color: #FC393A;
    margin-bottom: 1rem;
}

/* Grupo Master Section */
.grupo-master {
    padding: 4rem 0;
    background: linear-gradient(135deg, #232323 0%, #FC393A 100%);
    color: white;
}

.grupo-master h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: white;
}

.master-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.master-link {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: block;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.master-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.master-link:hover .link-icon img {
    transform: scale(1.1);
    filter: brightness(1.3);
}

.master-link:hover .link-icon i {
    transform: scale(1.1);
    color: #FC393A;
}

.link-icon {
    margin-bottom: 1.5rem;
}

.link-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
    filter: brightness(1.1);
}

.link-icon i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    display: block;
}

.link-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: white;
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
}

.link-content p {
    opacity: 0.9;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.link-badge {
    display: inline-block;
    background-color: #FC393A;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer */
footer {
    background-color: #232323;
    color: white;
    padding: 3rem 0 1rem;
}

footer .container {
    max-width: 1700px;
    padding: 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 2rem;
}

.contact-info h2 {
    color: #FC393A;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.contact-info > p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    border: 1px solid rgba(26, 26, 26, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.contact-item i {
    font-size: 1.5rem;
    color: #FC393A;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.contact-item h4 {
    color: #FC393A;
    margin-bottom: 4px;
    font-weight: 600;
    font-size: 0.95rem;
}

.contact-item p {
    color: #1a1a1a;
    margin: 0;
    font-weight: 500;
}

.social-media h3 {
    color: #FC393A;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.social-link.facebook:hover {
    border-color: #1877f2;
    background: rgba(24, 119, 242, 0.1);
}

.social-link.instagram:hover {
    border-color: #e1306c;
    background: rgba(225, 48, 108, 0.1);
}

.social-link i {
    font-size: 1.5rem;
    width: 24px;
    text-align: center;
}

.social-link span {
    font-weight: 500;
}

.footer-logo {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(252, 57, 58, 0.2);
}

.footer-logo img {
    height: 120px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: #FC393A;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1rem;
    text-align: center;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: #FC393A;
        transition: 0.3s;
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        padding: 2rem;
        gap: 2rem;
        height: 100%;
        justify-content: flex-start;
    }

    .nav-menu a {
        font-size: 1.2rem;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .logo {
        left: 0;
        padding-left: 10px;
    }

    .logo-text h1 {
        font-size: 1.2rem;
    }

    .logo-text span {
        font-size: 0.8rem;
    }

    .logo img {
        height: 40px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .player {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .volume-control {
        display: none;
    }
    
    .player-controls {
        gap: 0;
    }

    .about {
        padding: 2rem 0;
    }

    .about h2 {
        font-size: 2rem;
    }

    .about-text p {
        font-size: 1rem;
        text-align: left;
        padding: 0 1rem;
    }
    
    .programming {
        padding: 2rem 0;
    }
    
    .programming h2 {
        font-size: 2rem;
    }
    
    .programming-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .grupo-master {
        padding: 2rem 0;
    }
    
    .grupo-master h2 {
        font-size: 2rem;
    }
    
    .master-links {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .master-link {
        padding: 1.5rem;
    }

    .news-section {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .news-card {
        border-radius: 10px;
    }

    .news-image {
        height: 180px;
    }

    .news-content {
        padding: 1.2rem;
    }

    .news-title {
        font-size: 1.1rem;
    }

    .news-snippet {
        font-size: 0.9rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info h2 {
        font-size: 1.7rem;
    }
    
    .contact-item {
        padding: 1rem;
    }
    
    .social-link {
        padding: 1rem;
    }
    
    .footer-logo img {
        height: 100px;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    header .container {
        padding: 0 10px !important;
    }

    .logo {
        gap: 0.5rem;
    }

    .logo-text h1 {
        font-size: 1rem;
    }

    .logo-text span {
        font-size: 0.7rem;
    }

    .logo img {
        height: 35px;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .player {
        padding: 1rem;
        margin: 0 0.5rem;
    }

    .play-btn {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }

    .about {
        padding: 1.5rem 0;
    }

    .about-text p {
        padding: 0 0.5rem;
    }
    
    .programming-grid,
    .master-links,
    .news-grid {
        padding: 0 0.5rem;
    }

    .news-section {
        padding: 1.5rem 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .news-image {
        height: 160px;
    }

    .news-content {
        padding: 1rem;
    }

    .news-title {
        font-size: 1rem;
    }

    .news-snippet {
        font-size: 0.85rem;
    }

    .news-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .news-read-more {
        padding: 0.3rem 0.8rem;
        font-size: 0.75rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-info h2 {
        font-size: 1.5rem;
    }
    
    .contact-info > p {
        font-size: 1rem;
    }
    
    .contact-item {
        padding: 0.8rem;
        gap: 0.8rem;
    }
    
    .contact-item h4 {
        font-size: 0.9rem;
    }
    
    .contact-item p {
        font-size: 0.9rem;
    }
    
    .social-media h3 {
        font-size: 1.3rem;
    }
    
    .social-link {
        padding: 0.8rem;
        gap: 0.8rem;
    }

    .footer-logo img {
        height: 80px;
    }

    .container {
        padding: 0 10px;
    }
}