/**
 * Gamblingpedia Custom Styles
 * VGT & Article Styling
 */

/* Author Box */
.gp-author-box {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.gp-author-box-content {
    flex: 1;
}

.gp-author-box-avatar {
    flex-shrink: 0;
}

.gp-author-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
}

.gp-author-box-label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 1px;
}

.gp-author-box-name {
    margin: 0 0 12px 0;
    font-size: 22px;
    color: #333;
    padding-left: 0;
}

.gp-author-box-name a {
    color: #1a1a2e;
    text-decoration: none;
    font-weight: 500;
}

.gp-author-box-bio {
    margin: 0;
    color: #666;
    line-height: 1.7;
    font-size: 15px;
}

/* Info/Tip Boxes */
.gp-info-box {
    margin-bottom: 20px;
    padding: 10px 15px;
    background: #e3f2fd;
    border-radius: 5px;
    font-size: 0.9rem;
    color: #1565c0;
}

.gp-tip-box {
    margin-top: 40px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #4CAF50;
}

.gp-warning-box {
    margin-top: 40px;
    padding: 25px;
    background: #fff3e0;
    border-radius: 10px;
    border-left: 4px solid #ff9800;
}

/* Custom Lists */
.gp-styled-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.gp-styled-list li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.gp-styled-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
}

/* Article Meta */
.gp-article-meta {
    margin: 0 0 20px;
    font-size: 1.25rem;
    color: #1a1a2e;
}

/* VGT Specific Styles */
.gp-vgt-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.gp-vgt-table th {
    background: #1a1a2e;
    color: #fff;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
}

.gp-vgt-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.gp-vgt-table tr:nth-child(even) {
    background: #f9f9f9;
}

.gp-vgt-table tr:hover {
    background: #f0f0f0;
}

/* Red Screen Highlight */
.gp-red-screen-highlight {
    background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.gp-red-screen-highlight h3 {
    color: #fff;
    margin-top: 0;
}

/* Game Cards */
.gp-game-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    transition: box-shadow 0.3s ease;
}

.gp-game-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gp-game-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 10px 0;
}

.gp-game-card-meta {
    font-size: 14px;
    color: #666;
}

/* YouTube Embed Container */
.gp-video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 20px 0;
    border-radius: 8px;
}

.gp-video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* FAQ Styling */
.gp-faq-section {
    margin: 40px 0;
}

.gp-faq-item {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

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

.gp-faq-question {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 10px 0;
}

.gp-faq-answer {
    color: #555;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
    .gp-author-box {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .gp-vgt-table {
        font-size: 14px;
    }

    .gp-vgt-table th,
    .gp-vgt-table td {
        padding: 8px 10px;
    }
}
