/* Casino Content Generator - Frontend Styles */

/* Authority Box */
.ccg-authority-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.ccg-authority-box h2 {
    color: #fff;
    margin-top: 0;
    font-size: 28px;
    margin-bottom: 20px;
}

.ccg-authority-table {
    width: 100%;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.ccg-authority-table tr {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ccg-authority-table tr:last-child {
    border-bottom: none;
}

.ccg-authority-table td {
    padding: 15px 20px;
    color: #fff;
}

.ccg-authority-table td:first-child {
    font-weight: 600;
    width: 40%;
}

/* Table of Contents */
.ccg-toc {
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 8px;
}

.ccg-toc h2 {
    margin-top: 0;
    color: #333;
    font-size: 22px;
}

.ccg-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    column-count: 2;
    column-gap: 30px;
}

.ccg-toc-list li {
    margin: 8px 0;
    break-inside: avoid;
}

.ccg-toc-list a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.ccg-toc-list a:hover {
    color: #764ba2;
    padding-left: 5px;
}

/* Sections */
.ccg-section {
    margin: 40px 0;
}

.ccg-section h2 {
    color: #2c3e50;
    border-bottom: 3px solid #667eea;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.ccg-section h3 {
    color: #34495e;
    margin-top: 25px;
}

/* Bonus Highlight */
.ccg-bonus-highlight {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    text-align: center;
    margin: 20px 0;
}

.ccg-bonus-highlight h3 {
    margin-top: 0;
    color: #fff;
}

.ccg-bonus-amount {
    font-size: 32px;
    font-weight: bold;
    margin: 10px 0;
}

/* Steps */
.ccg-steps {
    background: #f8f9fa;
    padding: 20px 20px 20px 50px;
    border-radius: 8px;
    margin: 15px 0;
}

.ccg-steps li {
    margin: 12px 0;
    line-height: 1.6;
}

/* FAQ List - Simple, always visible */
.ccg-faq-list {
    margin: 20px 0;
}

.ccg-faq-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e1e8ed;
}

.ccg-faq-item:last-child {
    border-bottom: none;
}

.ccg-faq-question {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 0;
}

.ccg-faq-answer p {
    margin: 0;
    line-height: 1.7;
    color: #495057;
}

/* Reviews */
.ccg-reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.ccg-review-card {
    background: #fff;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ccg-review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.ccg-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.ccg-review-date {
    color: #6c757d;
    font-size: 14px;
}

.ccg-review-rating {
    color: #ffc107;
    font-weight: bold;
    margin: 10px 0;
}

.ccg-review-text {
    color: #495057;
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .ccg-toc-list {
        column-count: 1;
    }
    
    .ccg-reviews-container {
        grid-template-columns: 1fr;
    }
    
    .ccg-authority-table td {
        padding: 10px 15px;
        font-size: 14px;
    }
}

/* Articulos relacionados */
.ccg-related {
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    padding: 25px 30px;
    border-radius: 8px;
}

.ccg-related-list {
    margin: 15px 0 0;
    padding-left: 20px;
}

.ccg-related-list li {
    margin: 10px 0;
    line-height: 1.6;
}

.ccg-related-list a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.ccg-related-list a:hover {
    color: #764ba2;
    text-decoration: underline;
}
