/* Sections CSS - Extracted and Adapted from inicio.css */

/* --- Content Section --- */
.content-section {
    padding: 30px 0;
    min-height: auto;
}

.content-section h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    /* Use dashboard primary color if available, or fallback */
    color: var(--primary, #3498db);
    text-align: center;
    font-weight: 800;
}

/* Global Page Styles to Fix "Black Background" */
/* REMOVED: body background is now handled by inicio.css with correct theme */
/* Previously had morado gradient (#667eea → #764ba2) that conflicted with inicio.css */
body {
    /* background properties inherited from inicio.css */
    color: #ffffff;
    /* Default text white */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
}

/* Ensure main content pushes footer down */
.content-wrapper,
main,
.container {
    flex: 1 0 auto;
    width: 100%;
}

footer {
    flex-shrink: 0;
    margin-top: auto;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--secondary, #2c3e50);
    text-align: center;
}

/* --- Payment Methods --- */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.payment-card {
    /* ADAPTED: Use card background variable or white default */
    background: var(--bg-card, #ffffff);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--border-color, #e0e0e0);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow, 0 4px 6px rgba(0, 0, 0, 0.1));
}

.payment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary, #3498db);
}

.payment-card img.flag-icon {
    height: 50px;
    width: auto;
    margin-bottom: 20px;
    object-fit: contain;
}

.payment-card h3 {
    margin-bottom: 12px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary, #2c3e50);
}

.payment-card p {
    color: var(--text-secondary, #7f8c8d);
    font-size: 0.95rem;
    margin-bottom: 5px;
}

/* --- Channel Cards (Youtube) --- */
/* Extracted based on structure seen in youtube.php */
.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.youtube-channel-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.channel-card {
    background: var(--bg-card, #ffffff);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--border-color, #e0e0e0);
    transition: all 0.3s ease;
    box-shadow: var(--shadow, 0 4px 6px rgba(0, 0, 0, 0.1));
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.channel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: #ff0000;
    /* Youtube Red */
}

.channel-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid #f0f0f0;
}

.channel-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary, #2c3e50);
}

.channel-description {
    color: var(--text-secondary, #7f8c8d);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Youtube Title Specifics */
.youtube-title {
    color: #ff0000;
    /* Youtube Brand Color */
}

/* Dark Mode Helper if Dashboard supports it via body class */
body.dark-mode .payment-card,
body.dark-mode .channel-card {
    background: var(--bg-dark, #1a1d2e);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .channel-name,
body.dark-mode .payment-card h3 {
    color: #ffffff;
}