/* Landing Page Shared Styles */
/* Used by: spider-solitaire.html, freecell.html, solitaire.html, google-solitaire.html */
/* NOTE: Base .content-page styles defined in content-pages.css */
/* This file provides only landing-page-specific components */

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.15rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.game-card {
    display: inline-block;
    margin: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #f1f8e9 0%, #dcedc8 100%);
    border: 2px solid #2e7d32;
    border-radius: 6px;
    text-decoration: none;
    color: #1b5e20;
    font-weight: 600;
    transition: all 0.2s ease;
}

.game-card:hover {
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.faq-section {
    margin-top: 3rem;
}

.faq-item {
    margin-bottom: 2rem;
}

.faq-question {
    color: #2e7d32;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.faq-answer {
    color: #333;
    line-height: 1.8;
    margin-left: 1rem;
}

.back-link {
    display: inline-block;
    margin-top: 2rem;
    color: #006400;
    text-decoration: none;
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border: 2px solid #006400;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.back-link:hover {
    background: #006400;
    color: white;
}

/* Keyboard Accessibility */
.game-card:focus,
.cta-button:focus,
.back-link:focus {
    outline: 3px solid #ffd700;
    outline-offset: 2px;
}

.game-card:focus {
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    color: white;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    /* Improved Mobile CTA Buttons */
    .cta-button {
        padding: 1.25rem 2.5rem;
        font-size: 1.2rem;
        width: 100%;
        max-width: 400px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Professional Content Page Header */
.content-page-header {
    width: 100%;
    background: linear-gradient(135deg, #006400 0%, #004d00 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.6rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: opacity 0.2s;
}

.header-brand:hover {
    opacity: 0.9;
}

.header-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.header-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: white !important;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Show header title on all content pages for consistency */
.content-page-header .header-title {
    display: inline;
}

/* Breadcrumb in header */
.content-page-header .breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.content-page-header .breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s ease;
}

.content-page-header .breadcrumb a:hover {
    color: white;
}

.content-page-header .breadcrumb span {
    color: white;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .content-page-header .breadcrumb {
        font-size: 0.8rem;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.back-to-top:focus {
    outline: 3px solid #ffd700;
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}
