/* Common Styles for Board Games, Gaming, and About Me Pages */

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --dark-bg: #1e293b;
    --light-bg: #f8fafc;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--light-bg) 0%, #e2e8f0 100%);
    min-height: 100vh;
    transition: background-color 0.3s, color 0.3s;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 0;
    margin-bottom: 60px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.hero-section h1 {
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.25rem;
    opacity: 0.95;
}

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

body #darkModeToggle {
    background-color: white;
    border: none;
}

/* Home Button */
.home-button {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    background-color: white;
    border: none;
    text-decoration: none;
    color: #1e293b;
}

.home-button:hover {
    transform: scale(1.1);
    color: var(--primary-color);
}

/* Dark Mode Styles */
body.dark-mode {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #e0e0e0;
}

body.dark-mode #darkModeToggle {
    background-color: #1e293b;
    border: 1px solid #334155;
}

body.dark-mode .home-button {
    background-color: #1e293b;
    border: 1px solid #334155;
    color: #f1f5f9;
}

body.dark-mode .home-button:hover {
    color: #a78bfa;
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section {
        padding: 50px 0;
    }
}
