/* RESET E ESTILOS GERAIS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    user-select: none; /* Bloqueia seleção visual de texto */
    -webkit-user-select: none;
    -ms-user-select: none;
}

body {
    background-color: #ffffff;
    color: #1a1a1a;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding-bottom: 70px;
}

/* HEADER COM ANIMAÇÃO DE ONDAS (5 Segundos Loop) */
.header-container {
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid #eaeaea;
    padding: 30px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.logo-wrapper {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
}

.main-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0076ff;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
}

.wave-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 40px;
    border: 2px solid rgba(0, 118, 255, 0.4);
    animation: emitirOnda 5s infinite ease-in-out;
    z-index: 1;
    pointer-events: none;
}

.wave-effect.delay {
    animation-delay: 0.8s;
}

@keyframes emitirOnda {
    0% {
        width: 80%;
        height: 80%;
        opacity: 0.9;
        border-color: rgba(0, 118, 255, 0.6);
    }
    40% {
        width: 140%;
        height: 180%;
        opacity: 0;
        border-color: rgba(0, 118, 255, 0);
    }
    100% {
        width: 80%;
        height: 80%;
        opacity: 0;
    }
}

/* FEED CONTAINER */
.feed-container {
    width: 100%;
    max-width: 680px;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

/* FEED CARDS */
.feed-card {
    background-color: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feed-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.card-header {
    width: 100%;
    margin-bottom: 15px;
    text-align: left;
}

.card-header h2 {
    font-size: 1.25rem;
    color: #111;
    margin-bottom: 6px;
    line-height: 1.35;
}

.card-header p {
    font-size: 0.92rem;
    color: #666;
    line-height: 1.4;
}

/* RESPONSIVIDADE DOS IFRAMES */
.iframe-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fafafa;
    border-radius: 12px;
    overflow: hidden;
}

.iframe-wrapper.vertical-short {
    max-width: 400px;
    aspect-ratio: 9 / 16;
    height: auto;
}

.iframe-wrapper.vertical-short iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.iframe-wrapper.standard-video {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.iframe-wrapper.standard-video iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.audio-stack {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.soundcloud-wrapper {
    width: 100%;
    min-height: 300px;
}

.extra-link-box {
    margin-top: 12px;
    width: 100%;
    text-align: right;
}

.extra-link-box a {
    color: #0076ff;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
}

/* COMENTÁRIOS E AVALIAÇÃO */
.comments-section {
    background-color: #ffffff;
    border: 1px solid #eef0f2;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.comments-header h2 {
    font-size: 1.4rem;
    color: #111;
}

.comments-header p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #0076ff;
}

/* AVALIAÇÃO POR ESTRELAS */
.star-rating {
    display: flex;
    gap: 6px;
    font-size: 1.8rem;
    cursor: pointer;
    color: #ccc;
}

.star-rating .star.active {
    color: #ffb400;
}

.btn-submit {
    background-color: #0076ff;
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-submit:hover {
    background-color: #0056b3;
}

.feedback-msg {
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

.comments-list-container {
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.comments-list-container h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #222;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comment-card {
    background-color: #f9fafb;
    border: 1px solid #f0f0f0;
    padding: 12px 16px;
    border-radius: 10px;
}

.comment-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.comment-author {
    font-weight: 700;
    color: #333;
    font-size: 0.95rem;
}

.comment-stars {
    color: #ffb400;
    font-size: 0.9rem;
}

.comment-text {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
}

/* RODAPÉ CENTRALIZADO */
.footer-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-top: 1px solid #eaeaea;
    padding: 15px;
    text-align: center;
    z-index: 100;
}

.footer-link {
    color: #0076ff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #004499;
    text-decoration: underline;
}

/* RESPONSIVIDADE */
@media (max-width: 480px) {
    .main-title {
        font-size: 1.4rem;
    }

    .feed-card {
        padding: 15px;
    }

    .iframe-wrapper.vertical-short {
        max-width: 100%;
    }
}