/* Home Page Specific Styles */
.hero-subtitle {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-6);
    opacity: 0.9;
}

/* Cards */
.about-grid,
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-8);
}

.about-card,
.highlight-card {
    background: var(--color-white);
    padding: var(--space-8);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition-base);
}

.about-card:hover,
.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card-icon {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--space-4);
}

.about-card h3,
.highlight-card h3 {
    color: var(--color-primary);
    margin-bottom: var(--space-3);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
}

/* Event Spotlight */
.events-preview {
    /* The first part of the background is a dark overlay to ensure text is readable. */
    /* The second part is your image. You will need to add an image to this path. */
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/assets/images/backgrounds/poker.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Creates a cool parallax effect */
}

.events-preview h2 {
    color: var(--color-text-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.event-spotlight {
    margin-top: var(--space-8);
}

.event-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto;
}

.event-card.featured {
    border: 3px solid var(--color-primary);
}

.event-header {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    padding: var(--space-6);
    text-align: center;
}

.event-header h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-2);
}

.event-date {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    background: rgba(255,255,255,0.2);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--border-radius-md);
    display: inline-block;
}

.event-content {
    padding: var(--space-8);
}

.event-highlights {
    list-style: none;
    margin: var(--space-6) 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-2);
}

.event-highlights li {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.event-actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    margin-top: var(--space-6);
}

/* Community Section */
.community-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
    margin-top: var(--space-8);
}

.community-stats {
    display: flex;
    gap: var(--space-6);
    margin-top: var(--space-6);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-top: var(--space-4);
}

/* Mobile Responsive for Home Page */
@media (max-width: 768px) {
    .about-grid,
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .community-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .community-stats {
        justify-content: center;
    }
    
    .event-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .event-highlights {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .about-card,
    .highlight-card,
    .event-content {
        padding: var(--space-6);
    }
}