/* Mantém o h3 dos streamers com cor branca e tamanho original, mesmo com link */
.streamer-header h3 {
  color: #fff;
  font-size: 1.4em;
  margin: 0 0 5px 0;
  font-weight: 700;
  font-family: 'Exo', 'Montserrat', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.streamer-header h3 a {
    color: #fff !important;
    text-decoration: none !important;
    font-size: inherit;
    font-weight: inherit;
}

/* Estilo para o parágrafo principal abaixo do título */
.main-description {
    max-width: 1400px;
    margin: 0 auto 25px auto;
    color: #fff;
    font-size: 1.6rem;
    text-align: justify;
    text-justify: inter-word;
    font-weight: 500;
    font-family: 'Open Sans', Arial, sans-serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    padding-bottom: 10px;
    word-break: break-word;
}
@media (max-width: 768px) {
    .main-description {
        font-size: 1.2rem;
        padding: 0 8px 10px 8px;
        text-align: justify;
        text-justify: inter-word;
    }
}
@media (max-width: 480px) {
    .main-description {
        font-size: 1rem;
        padding: 0 4px 8px 4px;
        text-align: justify;
        text-justify: inter-word;
    }
}
* {
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #6441a5;
    color: #333333;
    margin: 0;
    padding: 20px;
    min-height: 100vh;
    line-height: 1.6;
}

.logo {
    text-align: center;
    margin-bottom: 20px;
}

.logo img {
    max-width: 600px;
    height: auto;
    filter: brightness(1.1);
}

.description-box {
    max-width: 1100px;
    background: transparent;
    color: #ffffff;
    text-align: center;
    padding: 28px 70px;
    border-radius: 15px;
    margin: 0 auto 40px auto;
    border: 1px solid #ffffff;
    font-size: 1.7rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    box-shadow: 0 8px 25px rgba(126, 76, 217, 0.4);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: visible;
}

.description-box::before {
    content: '';
    display: none;
}

h1 {
    text-align: center;
    color: #ffffff;
    font-size: 2.2rem;
    margin-bottom: 38px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.8);
    padding-bottom: 14px;
}

.stats-title {
    text-align: center;
    color: #ffffff;
    font-size: 3.5rem;
    margin: 38px 0 38px 0;
    font-weight: 700;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    border-bottom: 6px solid #7e4cd9;
    padding-bottom: 14px;
}

.streamers-title {
    text-align: center;
    color: #ffffff;
    font-size: 3.5rem;
    margin: 38px 0 38px 0;
    font-weight: 700;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    border-bottom: 6px solid #7e4cd9;
    padding-bottom: 24px;
    margin-top: 110px;
}

#status {
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    margin: 20px auto;
    max-width: 500px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.loading {
    background-color: #fff3cd;
    color: #856404;
    border-color: #ffeaa7;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
    display: block;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.streamer-card {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    background-color: #0c0c14;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 370px;
    height: 160px;
}

.streamer-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    border-color: #7e4cd9;
}

.streamer-card.live {
    border-color: #28a745;
    background: linear-gradient(135deg, #0c0c14 0%, #1a1a2e 100%);
}

.streamer-card.live::before {
    content: 'AO VIVO';
    position: absolute;
    top: 10px;
    right: 10px;
    background: #28a745;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.streamer-card.offline::before {
    content: 'OFFLINE';
    position: absolute;
    top: 10px;
    right: 10px;
    background: #9b9b9b;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.streamer-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 15px;
    border: 3px solid #e0e0e0;
    transition: all 0.3s ease;
    object-fit: cover;
}

.streamer-card.live img {
    border-color: #28a745;
}

.streamer-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

/* ...existing code... */

.streamer-header a {
    color: #7e4cd9;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Efeito hover apenas para o link 'visitar canal' */
.streamer-header a.twitch-link:hover {
  color: #5a2db8 !important;
  text-decoration: none !important;
}

/* Nome do streamer no h3 nunca muda de cor no hover */
.streamer-header h3 a:hover {
  color: #fff !important;
  text-decoration: none !important;
}

.streamer-info {
    font-size: 0.95rem;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    color: #ffffff;
}

.streamer-info p {
    margin: 0;
    line-height: 1.5;
}

.streamer-info strong {
    color: #ffffff;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 8px;
    margin-left: auto;
    justify-content: flex-end;
}

.social-icon {
    width: 20px;
    height: 20px;
    opacity: 0.7;
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-icon:hover {
    opacity: 1;
    transform: scale(1.1);
}

.social-icon.instagram {
    color: #E4405F;
}

.social-icon.twitter {
    color: #1DA1F2;
}

.social-icon.youtube {
    color: #FF0000;
}

.social-icon.tiktok {
    color: #bfbfbf;
}

.status-live {
    color: #28a745;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.status-live::before {
    content: '●';
    margin-right: 6px;
    animation: pulse-dot 1.5s infinite;
}

.status-offline {
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

@keyframes pulse-dot {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.stats-section {
    background: transparent;
    color: #ffffff;
    padding: 0px 10px;
    border-radius: 5px;
    margin: 30px 0;
    text-align: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.stats-section h2 {
    color: #ffffff;
    border-bottom: 6px solid #7e4cd9;
    margin-bottom: 38px;
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding-bottom: 14px;
}

.stats-grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 32px;
    margin-top: 10px;
    flex-wrap: nowrap;
}

.stat-item {
    background: #6441a5;
    color: white;
    padding: 12px 15px;
    border-radius: 15px;
    border: 2px solid #e0e0e0;
    min-width: 370px;
    max-width: 370px;
    height: 160px;
    padding: 20px;
    font-size: 1.3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    border-color: #7e4cd9;
}

.stat-number {
    font-size: 3.0rem;
    font-weight: 700;
    display: inline-block;
    margin-right: 8px;
}

.stat-label {
    font-size: 1.2rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
    display: inline-block;
}

.bdj-member {
    text-align: center;
    margin: 20px auto;
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff;
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .logo img {
        max-width: 350px;
    }

    .description-box {
        font-size: 1.5rem;
        padding: 18px 16px;
        max-width: 98vw;
        letter-spacing: 1px;
    }

    h1 {
        font-size: 1.8rem;
        margin-bottom: 20px;
        padding: 0 5px;
        text-align: center;
        word-break: break-word;
    }

    h2, .stats-title, .streamers-title {
        font-size: 1.6rem !important;
        margin: 28px 0 16px 0 !important;
        padding: 0 5px;
    }

    .container {
        gap: 14px;
    }

    .streamer-card {
        padding: 14px;
        width: 98vw;
        height: auto;
        min-width: unset;
        max-width: 99vw;
    }

    .streamer-card img {
        width: 80px;
        height: 80px;
    }

    .stats-grid {
        flex-direction: column;
        gap: 18px;
        align-items: center;
    }
    .stat-item {
        min-width: 90vw;
        max-width: 99vw;
        height: auto;
        padding: 18px 8px;
        font-size: 1.1rem;
    }
    .stat-number {
        font-size: 2.2rem;
    }
    .stats-section {
        padding: 14px 4px;
    }
    p, .stat-label, .streamer-info {
        font-size: 1.1rem !important;
        word-break: break-word;
    }
}

@media (max-width: 480px) {
    .logo img {
        max-width: 220px;
    }

    .description-box {
        font-size: 1.3rem;
        padding: 14px 8px;
        max-width: 99vw;
        letter-spacing: 0.5px;
    }

    h1 {
        font-size: 1.5rem;
        margin-bottom: 14px;
        padding: 0 2px;
        text-align: center;
        word-break: break-word;
    }

    h2, .stats-title, .streamers-title {
        font-size: 1.3rem !important;
        margin: 20px 0 12px 0 !important;
        padding: 0 2px;
    }

    .stats-grid {
        flex-direction: column;
        gap: 14px;
        align-items: center;
    }
    .stat-item {
        min-width: 98vw;
        max-width: 99vw;
        height: auto;
        padding: 14px 4px;
        font-size: 1rem;
    }
    .stat-number {
        font-size: 1.4rem;
    }
    .stats-section {
        padding: 10px 2px;
    }
    p, .stat-label, .streamer-info {
        font-size: 1rem !important;
        word-break: break-word;
    }
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #4c2a85;
}

::-webkit-scrollbar-thumb {
    background: #7e4cd9;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5a2db8;
}

.no-streamers {
    text-align: center;
    min-width: 180px;
    min-height: 140px;
    font-size: 1.3em;
    color: #888888;
    font-style: italic;
}

.twitch-btn {
    display: inline-block;
    background: #7e4cd9;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    padding: 2px 5px;
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(126, 76, 217, 0.15);
    cursor: pointer;
}
.twitch-btn:hover {
    background: #5a2db8;
    color: #fff;
    box-shadow: 0 4px 16px rgba(126, 76, 217, 0.25);
}
