    /*
    * PlayMeta Core - Global Styles
    * Dark Mode & E-sports Aesthetic Overrides
    */

    :root {
        --wp--preset--color--foreground: #121212 !important;
        --wp--preset--color--background: #121212 !important;
        --wp--preset--color--body-text: #e0e0e0 !important;
        --wp--preset--color--title-color: #ffffff !important;
        --wp--preset--color--dark-color: #ffffff !important; 
        --wp--preset--color--secondary-bg-color: #1a1a1c !important;
        --wp--preset--color--button-bg-color: #ffdc31 !important;
        --wp--preset--color--hover-color: #ffd623 !important;
    }

    body {
        background-color: var(--wp--preset--color--foreground) !important;
        color: var(--wp--preset--color--body-text) !important;
    }

    /* Fix White Backgrounds on specific blocks */
    .wp-block-group, .wp-block-columns, .wp-block-column, .has-background, .site-main {
        background-color: transparent !important;
    }

    .has-secondary-bg-color-background-color {
        background-color: var(--wp--preset--color--secondary-bg-color) !important;
    }

    h1, h2, h3, h4, h5, h6, .wp-block-heading {
        color: var(--wp--preset--color--title-color) !important;
    }

    /* Improved Video Grids for "Últimos Posts" and "Vídeos" */
    @media (min-width: 782px) {
        .wp-block-columns {
            gap: 2rem !important;
        }
    }

    /* Twitch Embed specific styling */
    iframe[src*="twitch.tv"] {
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.5);
        border: 1px solid #333;
    }

    /* Button enhancements (Primary & Outline) */
    .wp-block-button__link {
        font-weight: bold !important;
        text-transform: uppercase;
        border-radius: 4px !important;
        transition: all 0.2s ease-in-out;
        padding: 12px 28px !important;
    }

    /* Primary Button (Filled) */
    .wp-block-button:not(.is-style-outline) .wp-block-button__link {
        background-color: #ffdc31 !important;
        color: #121212 !important;
        border: 2px solid #ffdc31 !important;
    }
    .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
        background-color: transparent !important;
        color: #ffdc31 !important;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(255, 220, 49, 0.4);
    }

    /* Secondary Button (Outline) */
    .wp-block-button.is-style-outline .wp-block-button__link {
        background-color: transparent !important;
        color: #ffdc31 !important;
        border: 2px solid #ffdc31 !important;
    }
    .wp-block-button.is-style-outline .wp-block-button__link:hover {
        background-color: #ffdc31 !important;
        color: #121212 !important;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(255, 220, 49, 0.4);
    }

    /* --- Banner SkinClub --- */
    .playmeta-sponsor-banner {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        background: linear-gradient(90deg, #18092B 0%, #2A114A 100%);
        border-radius: 8px;
        padding: 20px 30px;
        border-left: 4px solid #E11C6B;
        margin: 30px 0;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        font-family: var(--wp--preset--font-family--montserrat), sans-serif;
    }

    .playmeta-sponsor-logo {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .playmeta-sponsor-text {
        flex: 1;
        margin: 0 30px;
        color: #e0e0e0;
        font-size: 16px;
        line-height: 1.4;
    }

    .playmeta-sponsor-text strong {
        color: #ffffff;
        font-size: 18px;
    }

    .playmeta-sponsor-promo {
        background: rgba(225, 28, 107, 0.2);
        border: 1px dashed #E11C6B;
        padding: 10px 20px;
        border-radius: 4px;
        text-align: center;
        margin-right: 20px;
    }

    .playmeta-sponsor-promo .promo-label {
        display: block;
        font-size: 11px;
        color: #aaaaaa;
        margin-bottom: 2px;
        text-transform: uppercase;
    }

    .playmeta-sponsor-promo strong {
        font-size: 20px;
        color: #ffffff;
        letter-spacing: 1px;
    }

    .playmeta-sponsor-promo .promo-bonus {
        color: #ffdc31;
        font-weight: bold;
        font-size: 14px;
        margin-left: 5px;
    }

    .playmeta-sponsor-btn {
        background-color: #E11C6B;
        color: #ffffff !important;
        font-weight: bold;
        text-transform: uppercase;
        padding: 12px 24px;
        border-radius: 4px;
        text-decoration: none;
        transition: all 0.2s;
        font-family: var(--wp--preset--font-family--russo-one), sans-serif;
    }

    .playmeta-sponsor-btn:hover {
        background-color: #ff2a85;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(225, 28, 107, 0.4);
    }

    @media (max-width: 768px) {
        .playmeta-sponsor-banner {
            flex-direction: column;
            text-align: center;
            gap: 15px;
        }
        .playmeta-sponsor-text {
            margin: 10px 0;
        }
        .playmeta-sponsor-promo {
            margin-right: 0;
        }
    }

    /* --- Twitch Section --- */
    .playmeta-twitch-section {
        background: #0d0d0f;
        border: 1px solid #222;
        border-radius: 12px;
        padding: 20px;
        margin: 40px 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }

    .playmeta-twitch-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        border-bottom: 1px solid #222;
        padding-bottom: 15px;
    }

    .twitch-title {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .twitch-title h2 {
        color: #ffffff !important;
        font-size: 22px;
        margin: 0 !important;
        font-family: var(--wp--preset--font-family--russo-one), sans-serif;
        letter-spacing: 1px;
    }

    .live-dot {
        width: 12px;
        height: 12px;
        background-color: #ff0000;
        border-radius: 50%;
        display: inline-block;
        box-shadow: 0 0 10px #ff0000;
        animation: pulse-red 2s infinite;
    }

    @keyframes pulse-red {
        0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7); }
        70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 0, 0, 0); }
        100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); }
    }

    .twitch-btn {
        background-color: #9146FF;
        color: #ffffff !important;
        font-weight: bold;
        padding: 10px 20px;
        border-radius: 4px;
        text-decoration: none;
        font-size: 14px;
        transition: background 0.2s;
        font-family: var(--wp--preset--font-family--montserrat), sans-serif;
    }

    .twitch-btn:hover {
        background-color: #772ce8;
        color: #ffffff !important;
    }

    .playmeta-twitch-embed-container {
        position: relative;
        width: 100%;
        padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
        background: #000;
        border-radius: 8px;
        overflow: hidden;
    }

    .playmeta-twitch-embed-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    @media (max-width: 768px) {
        .playmeta-twitch-header {
            flex-direction: column;
            gap: 15px;
            text-align: center;
        }
    }

    /* --- Videos Grid Section --- */
    .playmeta-videos-section {
        margin: 60px 0;
    }

    .playmeta-videos-header {
        margin-bottom: 30px;
        border-left: 4px solid #ffdc31;
        padding-left: 15px;
    }

    .playmeta-videos-header h2 {
        font-size: 28px;
        margin: 0 0 5px 0 !important;
        text-transform: uppercase;
        font-family: var(--wp--preset--font-family--russo-one), sans-serif;
        color: #ffffff;
    }

    .playmeta-videos-header p {
        color: #aaaaaa;
        margin: 0 !important;
        font-size: 15px;
    }

    .playmeta-videos-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .playmeta-video-card {
        background: #1a1a1c;
        border-radius: 8px;
        overflow: hidden;
        text-decoration: none !important;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        display: flex;
        flex-direction: column;
        border: 1px solid #2a2a2c;
    }

    .playmeta-video-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(255, 220, 49, 0.15);
        border-color: #ffdc31;
    }

    .video-thumbnail {
        position: relative;
        width: 100%;
        aspect-ratio: 16 / 9;
        background: #0d0d0f;
        overflow: hidden;
    }

    .video-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .playmeta-video-card:hover .video-thumbnail img {
        transform: scale(1.05);
    }

    .play-icon-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 50px;
        height: 50px;
        background: rgba(255, 0, 0, 0.9);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .play-icon-overlay svg {
        width: 24px;
        height: 24px;
        color: white;
        margin-left: 3px;
    }

    .playmeta-video-card:hover .play-icon-overlay {
        opacity: 1;
    }

    .video-info {
        padding: 20px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .video-title {
        font-size: 16px !important;
        font-weight: bold;
        color: #ffffff;
        margin: 0 0 10px 0 !important;
        line-height: 1.4;
        font-family: var(--wp--preset--font-family--montserrat), sans-serif;
    }

    .video-date {
        font-size: 13px;
        color: #888888;
    }

    .no-thumb {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #555;
        background: #111;
    }

    /* --- About / Coach Section --- */
    .playmeta-about-section {
        margin: 60px 0;
    }

    .playmeta-about-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .playmeta-about-card {
        background: #111112;
        border: 1px solid #222;
        border-radius: 12px;
        padding: 40px;
        position: relative;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        transition: border-color 0.3s ease;
    }

    .playmeta-about-card:hover {
        border-color: #333;
    }

    /* Efeito de brilho amarelo sutil na borda superior do Portal */
    .portal-card {
        border-top: 3px solid #ffdc31;
    }

    /* Efeito sutil roxo/escuro na borda superior do Coach */
    .coach-card {
        border-top: 3px solid #E11C6B;
    }

    .playmeta-about-card h2 {
        font-size: 32px;
        margin-top: 0 !important;
        margin-bottom: 20px !important;
        font-family: var(--wp--preset--font-family--russo-one), sans-serif;
        color: #ffffff;
        line-height: 1.2;
    }

    .title-divider {
        width: 60px;
        height: 4px;
        background-color: #ffdc31;
        margin-bottom: 25px;
        border-radius: 2px;
    }

    .playmeta-about-card p {
        color: #b0b0b0;
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 30px !important;
    }

    .playmeta-btn-outline {
        display: inline-block;
        padding: 12px 28px;
        border: 2px solid #ffdc31;
        color: #ffdc31 !important;
        text-decoration: none;
        font-weight: bold;
        text-transform: uppercase;
        border-radius: 4px;
        transition: all 0.2s ease;
        font-family: var(--wp--preset--font-family--montserrat), sans-serif;
    }

    .playmeta-btn-outline:hover {
        background-color: #ffdc31;
        color: #121212 !important;
        box-shadow: 0 0 15px rgba(255, 220, 49, 0.3);
    }

    .coach-header {
        display: flex;
        align-items: center;
        gap: 20px;
        margin-bottom: 25px;
    }

    .coach-avatar {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        overflow: hidden;
        border: 2px solid #E11C6B;
        background: #222;
        flex-shrink: 0;
    }

    .coach-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .coach-placeholder {
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, #222, #333);
    }

    .coach-name-block h3 {
        margin: 0 !important;
        font-size: 22px;
        color: #ffffff;
        font-family: var(--wp--preset--font-family--russo-one), sans-serif;
    }

    .coach-title {
        color: #E11C6B;
        font-size: 14px;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .coach-stats {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: auto;
    }

    .stat-badge {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: 8px 12px;
        border-radius: 4px;
        font-size: 13px;
        color: #e0e0e0;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .stat-badge .icon {
        font-size: 16px;
    }

    @media (max-width: 992px) {
        .playmeta-about-grid {
            grid-template-columns: 1fr;
        }
    }

    /* --- Loucademia Landing Page --- */
    .playmeta-loucademia-page {
        margin: 40px 0;
    }

    /* Hero */
    .louca-hero {
        display: flex;
        align-items: center;
        gap: 50px;
        margin-bottom: 80px;
    }

    .louca-hero-text {
        flex: 1;
    }

    .badge-pro {
        display: inline-block;
        background: rgba(225, 28, 107, 0.2);
        color: #E11C6B;
        border: 1px solid #E11C6B;
        padding: 6px 12px;
        font-size: 12px;
        font-weight: bold;
        border-radius: 4px;
        margin-bottom: 15px;
        letter-spacing: 1px;
    }

    .louca-hero h1 {
        font-size: 48px;
        font-family: var(--wp--preset--font-family--russo-one), sans-serif;
        color: #ffffff;
        margin: 0 0 20px 0 !important;
        text-transform: uppercase;
        text-shadow: 2px 2px 0px rgba(255, 220, 49, 0.3);
    }

    .louca-lead {
        font-size: 18px;
        color: #cccccc;
        line-height: 1.6;
        margin-bottom: 30px !important;
    }

    .louca-features {
        list-style: none;
        padding: 0;
        margin: 0 0 40px 0 !important;
    }

    .louca-features li {
        margin-bottom: 12px;
        font-size: 15px;
        color: #aaaaaa;
        position: relative;
        padding-left: 25px;
    }

    .louca-features li::before {
        content: "►";
        position: absolute;
        left: 0;
        color: #ffdc31;
        font-size: 12px;
        top: 3px;
    }

    .highlight-red {
        color: #ff3333;
        font-weight: bold;
        text-transform: uppercase;
    }

    .highlight-yellow {
        color: #ffdc31;
    }

    .louca-actions {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .playmeta-btn-primary {
        display: inline-block;
        background-color: #ffdc31;
        color: #121212 !important;
        padding: 14px 30px;
        font-weight: bold;
        text-transform: uppercase;
        border-radius: 4px;
        text-decoration: none;
        font-family: var(--wp--preset--font-family--russo-one), sans-serif;
        transition: all 0.2s ease;
    }

    .playmeta-btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 20px rgba(255, 220, 49, 0.4);
    }

    .playmeta-btn-text {
        color: #e0e0e0;
        text-decoration: underline;
        font-weight: bold;
    }
    .playmeta-btn-text:hover {
        color: #ffffff;
    }

    .louca-hero-image {
        flex: 1;
        position: relative;
    }

    .meme-art {
        width: 100%;
        border-radius: 8px;
        box-shadow: 0 20px 50px rgba(0,0,0,0.6);
        border: 2px solid #333;
        transform: rotate(2deg);
        transition: transform 0.3s ease;
    }

    .meme-art:hover {
        transform: rotate(0deg) scale(1.02);
    }

    /* Rules Section */
    .louca-rules {
        display: flex;
        align-items: center;
        gap: 50px;
        background: #111112;
        border: 1px solid #222;
        border-radius: 12px;
        padding: 40px;
        margin-bottom: 60px;
    }

    .louca-rules-image {
        flex: 0.8;
    }

    .rules-art {
        width: 100%;
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        border: 1px solid #333;
    }

    .louca-rules-text {
        flex: 1;
    }

    .louca-rules-text h2 {
        font-size: 32px;
        color: #ffffff;
        margin: 0 0 15px 0 !important;
        font-family: var(--wp--preset--font-family--russo-one), sans-serif;
    }

    .rule-box {
        background: rgba(255, 255, 255, 0.02);
        border-left: 3px solid #ffdc31;
        padding: 15px 20px;
        margin-bottom: 20px;
        border-radius: 0 4px 4px 0;
    }

    .rule-box strong {
        display: block;
        color: #ffffff;
        font-size: 18px;
        margin-bottom: 5px;
        font-family: var(--wp--preset--font-family--montserrat), sans-serif;
    }

    .rule-box p {
        color: #bbbbbb;
        font-size: 14px;
        margin: 0 !important;
        line-height: 1.5;
    }

    .placeholder-img {
        background: #222;
        padding: 40px;
        text-align: center;
        color: #666;
        border: 2px dashed #444;
        border-radius: 8px;
    }

    @media (max-width: 992px) {
        .louca-hero, .louca-rules {
            flex-direction: column;
            text-align: center;
        }
        .louca-features li::before {
            display: none;
        }
        .louca-features li {
            padding-left: 0;
        }
        .louca-actions {
            justify-content: center;
        }
        .meme-art {
            transform: none;
        }
        .rule-box {
            text-align: left;
        }
    }

/* --- Home Hero --- */
.playmeta-home-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 60px 0;
    min-height: 60vh;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 72px;
    font-family: var(--wp--preset--font-family--russo-one), sans-serif;
    color: #ffffff;
    margin: 0 0 20px 0 !important;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: -1px;
    text-shadow: 2px 2px 0px rgba(255, 220, 49, 0.2);
}

.hero-lead {
    font-size: 18px;
    color: #bbbbbb;
    line-height: 1.6;
    margin-bottom: 40px !important;
    font-family: var(--wp--preset--font-family--montserrat), sans-serif;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.hero-img {
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.6));
    animation: float 6s ease-in-out infinite;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, rgba(255,220,49,0.15) 0%, rgba(0,0,0,0) 60%);
    z-index: 1;
    border-radius: 50%;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@media (max-width: 992px) {
    .playmeta-home-hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 0;
    }
    .hero-content {
        margin: 0 auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-content h1 {
        font-size: 48px;
    }
}

/* --- Tournament Pages (Copa Dota 2) --- */
.playmeta-tournament-wrapper {
    max-width: 900px;
    margin: 40px auto;
    font-family: var(--wp--preset--font-family--montserrat), sans-serif;
}

.tournament-header {
    text-align: center;
    margin-bottom: 50px;
}

.tourney-badge {
    display: inline-block;
    background: rgba(225, 28, 107, 0.2);
    color: #E11C6B;
    border: 1px solid #E11C6B;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.tournament-header h1 {
    font-size: 42px;
    font-family: var(--wp--preset--font-family--russo-one), sans-serif;
    color: #ffffff;
    margin: 0 0 10px 0 !important;
    text-transform: uppercase;
}

.tournament-header p {
    color: #aaaaaa;
    font-size: 16px;
}

.tournament-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 50px;
}

.info-box {
    background: #111112;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.info-label {
    display: block;
    color: #777;
    font-size: 11px;
    text-transform: uppercase;
    margin-bottom: 5px;
    font-weight: bold;
}

.info-value {
    display: block;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}

.tournament-section {
    margin-bottom: 50px;
}

.tournament-section h2 {
    font-family: var(--wp--preset--font-family--russo-one), sans-serif;
    font-size: 24px;
    color: #ffdc31;
    margin-bottom: 20px !important;
    border-bottom: 2px solid #222;
    padding-bottom: 10px;
}

/* Teams */
.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.team-card {
    background: #1a1a1c;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 15px;
    text-align: center;
    transition: all 0.2s;
}
.team-card:hover {
    border-color: #ffdc31;
    transform: translateY(-2px);
}

.team-name {
    color: #e0e0e0;
    font-weight: bold;
    font-size: 14px;
}

/* Standings */
.standings-table {
    background: #111112;
    border: 1px solid #222;
    border-radius: 8px;
    overflow: hidden;
}

.standing-row {
    display: flex;
    border-bottom: 1px solid #222;
    padding: 12px 15px;
    align-items: center;
}

.standing-row:last-child {
    border-bottom: none;
}

.standing-row.header {
    background: #0a0a0b;
    font-weight: bold;
    color: #888;
    font-size: 12px;
    text-transform: uppercase;
}

.standing-row.advance {
    border-left: 3px solid #00cc66;
}

.standing-row.elim {
    border-left: 3px solid #E11C6B;
}

.col-pos { width: 40px; font-weight: bold; color: #555; }
.col-team { flex: 1; font-weight: bold; color: #fff; }
.col-stat { width: 40px; text-align: center; color: #aaa; }

/* Bracket */
.bracket-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
}

.bracket-round {
    display: flex;
    flex-direction: column;
    gap: 30px;
    min-width: 200px;
}

.bracket-match {
    background: #111112;
    border: 1px solid #333;
    border-radius: 4px;
    overflow: hidden;
}

.bracket-team {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    font-size: 14px;
    border-bottom: 1px solid #222;
    color: #aaa;
}

.bracket-team:last-child {
    border-bottom: none;
}

.bracket-team.winner {
    background: rgba(255, 220, 49, 0.1);
    color: #fff;
    font-weight: bold;
}
.bracket-team.winner strong {
    color: #ffdc31;
}

.bracket-connector {
    position: relative;
    width: 30px;
    height: 80px;
}

@media (max-width: 768px) {
    .tournament-info-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Bracket Image Wrapper */
.bracket-image-wrapper {
    text-align: center;
    background: #111112;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.bracket-img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* --- Tournaments Index (Listing Page) --- */
.playmeta-tournaments-index {
    max-width: 1000px;
    margin: 40px auto;
}

.tournaments-index-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #222;
}

.tournaments-index-header .tournament-logo {
    max-width: 400px;
    width: 100%;
    margin-bottom: 20px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.tournaments-index-header p {
    color: #aaaaaa;
    font-size: 18px;
}

.tournaments-index-section h2 {
    font-family: var(--wp--preset--font-family--russo-one), sans-serif;
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 30px !important;
    text-align: center;
}

.tournaments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tournament-card {
    position: relative;
    background: #111112;
    border: 1px solid #333;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    min-height: 220px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.tournament-card:hover {
    transform: translateY(-5px);
    border-color: #ffdc31;
    box-shadow: 0 15px 40px rgba(255, 220, 49, 0.15);
}

.tournament-card .card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.playmeta.com.br/wp-content/uploads/2024/09/header-logo-1-768x187.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.tournament-card:hover .card-bg {
    opacity: 0.2;
}

.tournament-card .card-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: linear-gradient(to top, rgba(17,17,18,1) 0%, rgba(17,17,18,0.4) 100%);
}

.tourney-status {
    align-self: flex-start;
    background: rgba(225, 28, 107, 0.2);
    color: #E11C6B;
    border: 1px solid #E11C6B;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 4px;
    margin-bottom: 15px;
}

.tournament-card h3 {
    font-family: var(--wp--preset--font-family--russo-one), sans-serif;
    font-size: 24px;
    color: #ffffff;
    margin: 0 0 20px 0 !important;
}

.tourney-meta {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tourney-meta span {
    color: #cccccc;
    font-size: 14px;
    font-weight: bold;
    font-family: var(--wp--preset--font-family--montserrat), sans-serif;
}

/* --- Media Sections (Tutorials & Success Cases) --- */
.playmeta-media-section {
    max-width: 1200px;
    margin: 60px auto;
    font-family: var(--wp--preset--font-family--montserrat), sans-serif;
    color: #fff;
    padding: 0 20px;
}

.media-section-title {
    font-size: 32px;
    font-family: var(--wp--preset--font-family--russo-one), sans-serif;
    color: #fff;
    margin-bottom: 30px;
    border-left: 5px solid #e5b300;
    padding-left: 15px;
    text-transform: uppercase;
}

/* Tutorials Layout */
.tutorials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.tutorial-main {
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.tutorial-main .video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

.tutorial-main .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.tutorial-main-info {
    padding: 20px;
}

.tutorial-main-info h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
    color: #e5b300;
}

.tutorial-main-info p {
    margin: 0;
    color: #aaa;
    font-size: 14px;
    line-height: 1.5;
}

.tutorial-playlist {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.playlist-item {
    background: #151515;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    min-height: 120px;
    color: #666;
    transition: all 0.2s;
}

.playlist-item i {
    font-size: 24px;
    margin-bottom: 10px;
    color: #444;
}

.playlist-item:hover {
    border-color: #444;
    color: #888;
}

/* Success Case Feature */
.success-case-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: linear-gradient(135deg, #151515 0%, #0a0a0a 100%);
    border: 1px solid #333;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 60px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.success-case-video {
    width: 100%;
    height: 100%;
    min-height: 350px;
    object-fit: cover;
    background: #000;
}

.success-case-content {
    padding: 40px 40px 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.success-badge {
    display: inline-block;
    background: rgba(229, 179, 0, 0.1);
    color: #e5b300;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
    border: 1px solid rgba(229, 179, 0, 0.3);
    width: fit-content;
}

.success-case-content h3 {
    font-size: 36px;
    margin: 0 0 20px 0;
    font-family: var(--wp--preset--font-family--russo-one), sans-serif;
    color: #fff;
    line-height: 1.2;
}

.success-case-content p {
    color: #bbb;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.success-case-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.success-case-content ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ddd;
    margin-bottom: 10px;
    font-weight: 500;
}

.success-case-content ul li i {
    color: #58b663;
}

.case-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #e5b300;
    color: #000;
    padding: 14px 24px;
    text-decoration: none;
    font-weight: bold;
    font-family: var(--wp--preset--font-family--russo-one), sans-serif;
    border-radius: 6px;
    text-transform: uppercase;
    transition: transform 0.2s, background 0.2s;
    width: fit-content;
}

.case-btn:hover {
    background: #ffcc00;
    transform: translateY(-2px);
    color: #000;
}

@media (max-width: 900px) {
    .tutorials-grid, .success-case-feature {
        grid-template-columns: 1fr;
    }
    .success-case-content {
        padding: 30px;
    }
    .playlist-item {
        min-height: 80px;
    }
}
