/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors - Dark Fantasy Theme */
    --primary-color: #d4af37;
    --primary-dark: #b8941f;
    --secondary-color: #c9a961;
    --accent-color: #f4a460;
    --text-dark: #f5f5dc;
    --text-light: #b8b8aa;
    --bg-dark: #0a0a0a;
    --bg-darker: #1a1a1a;
    --bg-card: #2a2520;
    --bg-white: #ffffff;
    --border-color: #3a3530;
    --success-color: #4ade80;
    --warning-color: #f59e0b;
    
    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    --font-heading: 'Bebas Neue', 'Impact', sans-serif;
    --font-display: 'Bangers', cursive;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(139, 69, 19, 0.03) 0%, transparent 50%);
    background-attachment: fixed;
}

/* Header & Navigation */
.header {
    position: sticky;
    top: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-sm) var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-image {
    max-width: 200px;
    height: auto;
    display: block;
}

.logo a {
    display: block;
    line-height: 0;
}

/* Responsive logo sizing */
@media (max-width: 768px) {
    .logo-image {
        max-width: 150px;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-sm);
    align-items: center;
    flex-wrap: nowrap;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    font-size: 0.85rem;
    white-space: nowrap;
}

.nav-menu a:hover {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.85)), 
                url('/images/The Lens of Accuracy Wizard Scene.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    color: var(--text-dark);
    padding: 6rem var(--spacing-md);
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid var(--primary-color);
}

@media (min-width: 768px) {
    .hero {
        background-attachment: fixed;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, rgba(212, 175, 55, 0.03) 0px, transparent 1px, transparent 2px, rgba(212, 175, 55, 0.03) 3px),
        repeating-linear-gradient(90deg, rgba(212, 175, 55, 0.03) 0px, transparent 1px, transparent 2px, rgba(212, 175, 55, 0.03) 3px);
    pointer-events: none;
    opacity: 0.5;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    font-family: var(--font-display);
    color: var(--primary-color);
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.9), 
                 0 0 40px rgba(212, 175, 55, 0.4),
                 5px 5px 15px rgba(212, 175, 55, 0.3);
    animation: glow 2s ease-in-out infinite alternate;
    letter-spacing: 2px;
}

@keyframes glow {
    from {
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9), 0 0 20px rgba(212, 175, 55, 0.2);
    }
    to {
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9), 0 0 40px rgba(212, 175, 55, 0.4);
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-dark);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--bg-dark);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Sections */
.section {
    padding: var(--spacing-2xl) var(--spacing-md);
    background-color: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, rgba(212, 175, 55, 0.02) 0px, transparent 1px, transparent 2px, rgba(212, 175, 55, 0.02) 3px),
        repeating-linear-gradient(90deg, rgba(212, 175, 55, 0.02) 0px, transparent 1px, transparent 2px, rgba(212, 175, 55, 0.02) 3px);
    pointer-events: none;
    opacity: 0.3;
}

.section::after {
    content: '⚄ ⚁ ⚃ ⚂ ⚀ ⚅';
    position: absolute;
    top: 50%;
    left: -100px;
    color: var(--primary-color);
    opacity: 0.05;
    font-size: 8rem;
    letter-spacing: 2rem;
    animation: float 30s linear infinite;
    pointer-events: none;
}

@keyframes float {
    0% { transform: translateX(0) rotate(0deg); }
    100% { transform: translateX(calc(100vw + 200px)) rotate(360deg); }
}

.section:nth-child(even) {
    background-color: var(--bg-darker);
}

.section:nth-child(even)::before {
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(139, 69, 19, 0.03) 0%, transparent 50%);
}

.section:nth-child(even)::after {
    content: '🎲 🃏 🎯 🏆 ♠ ♥';
    animation-duration: 40s;
    animation-direction: reverse;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-divider {
    text-align: center;
    padding: 2rem 0;
    background: linear-gradient(90deg, transparent, var(--bg-darker), transparent);
}

.section-divider span {
    font-size: 2rem;
    color: var(--primary-color);
    letter-spacing: 2rem;
    opacity: 0.6;
    display: inline-block;
    animation: sway 3s ease-in-out infinite;
}

@keyframes sway {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
    font-family: var(--font-display);
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3), 3px 3px 0 rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.title-icon {
    font-size: 2rem;
    animation: bounce 2s ease-in-out infinite;
    display: inline-block;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-xl);
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.video-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
    border-color: var(--primary-color);
}

.video-card.placeholder {
    padding: var(--spacing-xl);
    text-align: center;
    border: 2px dashed var(--border-color);
    background: var(--bg-darker);
}

.video-thumbnail {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3), rgba(139, 69, 19, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 3rem;
}

.video-card h3 {
    margin: var(--spacing-md) 0 var(--spacing-sm);
    color: var(--text-dark);
}

.video-card p {
    color: var(--text-light);
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.game-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(42, 37, 32, 0.8) 100%);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    position: relative;
}

.game-card::before {
    content: '✦';
    position: absolute;
    top: 10px;
    left: 10px;
    color: var(--primary-color);
    font-size: 1.5rem;
    opacity: 0.3;
    z-index: 1;
    transition: all 0.3s ease;
}

.game-card::after {
    content: '✦';
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: var(--primary-color);
    font-size: 1.5rem;
    opacity: 0.3;
    z-index: 1;
    transition: all 0.3s ease;
}

.game-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 25px 50px rgba(212, 175, 55, 0.4), 0 0 0 3px var(--primary-color);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(42, 37, 32, 1) 0%, rgba(52, 47, 42, 1) 100%);
}

.game-card:hover::before,
.game-card:hover::after {
    opacity: 0.9;
    transform: rotate(180deg) scale(1.2);
    text-shadow: 0 0 20px var(--primary-color);
}

.game-card.featured {
    grid-column: 1 / -1;
}

.game-image {
    width: 100%;
    height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: var(--bg-card);
    overflow: hidden;
}

/* Fallback gradient for images that don't load */
.game-image:not([style*="background-image"]) {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.5) 0%, rgba(101, 67, 33, 0.5) 100%);
}

.game-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
    z-index: 1;
}

.game-image .badge {
    position: relative;
    z-index: 2;
}

.game-card.featured .game-image {
    height: 400px;
}

.badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background-color: var(--primary-color);
    color: var(--bg-dark);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        box-shadow: 0 4px 10px rgba(212, 175, 55, 0.4);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
        transform: scale(1.05);
    }
}

.badge.sold-out {
    background-color: #8b4513;
    color: var(--text-light);
    animation: none;
}

.game-content {
    padding: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.game-content h3 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.game-description {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.game-stats {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.stat {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-light);
    font-size: 0.875rem;
}

.game-tagline {
    font-style: italic;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
    font-weight: 500;
}

.game-actions {
    margin-top: auto;
}

/* Favorites Grid */
.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.favorite-card {
    background: var(--bg-card);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.favorite-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.favorite-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2);
    transform: translateY(-4px);
}

.favorite-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.favorite-list {
    list-style: none;
}

.favorite-list li {
    padding: var(--spacing-sm) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.favorite-list li:last-child {
    border-bottom: none;
}

.game-name {
    font-weight: 500;
    color: var(--text-dark);
}

.game-link {
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
    cursor: pointer;
}

.game-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.amazon-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    background-color: rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.amazon-link:hover {
    background-color: var(--primary-color);
    color: var(--bg-dark);
}

/* House Rules Grid */
.house-rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.rule-card {
    background: var(--bg-card);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.rule-card:hover {
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2);
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.rule-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.rule-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.rule-card p {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.rule-benefit {
    display: inline-block;
    background-color: rgba(74, 222, 128, 0.2);
    color: var(--success-color);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid var(--success-color);
}

/* Hire Us Section */
.hire-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    background: var(--bg-card);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

/* DND Content Section */
.dnd-content-section {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.1) 0%, rgba(101, 67, 33, 0.1) 100%), var(--bg-darker);
}

/* Game Directory Section */
.game-directory-section {
    background: var(--bg-dark);
}

.directory-controls {
    max-width: 900px;
    margin: 0 auto var(--spacing-xl);
}

.search-wrapper {
    position: relative;
    margin-bottom: var(--spacing-lg);
    display: flex;
    gap: 1rem;
}

.search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    color: var(--text-dark);
    font-size: 1.1rem;
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.search-input::placeholder {
    color: var(--text-light);
    opacity: 0.6;
}

.search-button {
    padding: 1rem 2rem;
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-lg);
    color: var(--bg-dark);
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.search-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.sort-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: var(--spacing-lg);
    justify-content: center;
}

.sort-wrapper label {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
}

.sort-select {
    padding: 0.75rem 1.5rem;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    color: var(--text-dark);
    font-family: var(--font-main);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sort-select:hover {
    border-color: var(--primary-color);
}

.sort-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.filter-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-tag {
    padding: 0.75rem 1.5rem;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    color: var(--text-light);
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-tag:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.filter-tag.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-dark);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.games-directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.directory-game-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(42, 37, 32, 0.9) 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.directory-game-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.3);
}

.directory-game-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.directory-game-content {
    padding: var(--spacing-lg);
}

.directory-game-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-heading);
}

.directory-game-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-sm);
}

.game-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: var(--radius-sm);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.directory-game-summary {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
    font-size: 0.95rem;
}

.directory-game-reviewers {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.reviewer-rating {
    flex: 1;
}

.reviewer-name {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.rating {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
}

.directory-game-video {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--primary-color);
    color: var(--bg-dark);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.directory-game-video:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.no-results {
    text-align: center;
    padding: var(--spacing-2xl);
    color: var(--text-light);
    font-size: 1.2rem;
}

/* DND Content Section */
.dnd-content-section {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.1) 0%, rgba(101, 67, 33, 0.1) 100%), var(--bg-darker);
}

.dnd-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.dnd-card {
    background: var(--bg-card);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dnd-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s ease;
}

.dnd-card:hover::before {
    left: 100%;
}

.dnd-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.3);
}

.dnd-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    animation: float-gentle 3s ease-in-out infinite;
}

@keyframes float-gentle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.dnd-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dnd-card p {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.dnd-card .btn {
    width: 100%;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.download-icon {
    display: inline-block;
    animation: bounce-download 2s ease-in-out infinite;
}

@keyframes bounce-download {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.dnd-cta {
    text-align: center;
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(139, 69, 19, 0.1));
    border-radius: var(--radius-lg);
    border: 2px dashed var(--primary-color);
}

.dnd-cta-text {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

/* Hire Us Section */
.hire-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    background: var(--bg-card);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

.hire-benefits h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hire-benefits ul {
    list-style: none;
}

.hire-benefits li {
    padding: var(--spacing-sm) 0;
    padding-left: var(--spacing-lg);
    position: relative;
    color: var(--text-light);
}

.hire-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.25rem;
}

.hire-cta-box {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(139, 69, 19, 0.2));
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 2px solid var(--primary-color);
}

.hire-cta-box h3 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.hire-cta-box p {
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
    color: var(--text-light);
}

.hire-note {
    font-size: 0.875rem;
    margin-top: var(--spacing-sm);
    opacity: 0.8;
    color: var(--text-light);
}

/* Footer */
.footer {
    background-color: var(--bg-darker);
    color: var(--text-dark);
    padding: var(--spacing-2xl) var(--spacing-md) var(--spacing-lg);
    border-top: 2px solid var(--primary-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto var(--spacing-xl);
}

.footer-col h4 {
    margin-bottom: var(--spacing-md);
    font-size: 1.125rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col p {
    color: var(--text-light);
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-col a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-lg);
        gap: 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: var(--spacing-md);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .game-card.featured {
        grid-column: auto;
    }
    
    .game-card.featured .game-image {
        height: 250px;
    }
    
    .game-image {
        height: 200px;
    }
    
    .hire-content {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .title-icon {
        font-size: 1.5rem;
    }
    
    .section-title {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .video-grid,
    .favorites-grid,
    .house-rules-grid {
        grid-template-columns: 1fr;
    }
}
