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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #e8f5e8 0%, #f0fff0 30%, #ffffff 70%, #e8f5e8 100%);
    min-height: 100vh;
    overflow-x: hidden;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Fix H1UserAgentFontSizeInSection warning - Explicit h1 styling */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1rem 0;
    color: #2e7d32;
}

/* Override browser default h1 sizing in sections */
section h1 {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    margin: inherit;
    color: inherit;
}

/* Modern Typography API - CSS Custom Properties for dynamic font sizing */
:root {
    --font-size-h1: clamp(2rem, 5vw, 3.5rem);
    --font-size-h2: clamp(1.5rem, 4vw, 2.5rem);
    --font-size-h3: clamp(1.25rem, 3vw, 1.8rem);
    --font-size-body: clamp(1rem, 2.5vw, 1.125rem);
    --font-size-small: clamp(0.875rem, 2vw, 1rem);
    --line-height-tight: 1.1;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
}

/* Modern responsive typography using CSS custom properties */
.hero-title {
    font-size: var(--font-size-h1);
    font-weight: 700;
    line-height: var(--line-height-tight);
    color: #2e7d32;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
    animation: fadeInUp 1s ease-out;
}

.section-title {
    font-size: var(--font-size-h2);
    text-align: center;
    margin-bottom: 3rem;
    color: #2e7d32;
    font-weight: 700;
    line-height: var(--line-height-tight);
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
    border-radius: 4px;
}

.skip-link:focus {
    top: 6px;
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid #ffd700;
    outline-offset: 2px;
}

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.floating-coins {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(76, 175, 80, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 195, 74, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(76, 175, 80, 0.08) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

.sparkle-effects {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 20px 30px, #4caf50, transparent),
        radial-gradient(1px 1px at 40px 70px, #8bc34a, transparent),
        radial-gradient(1px 1px at 90px 40px, #66bb6a, transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: sparkle 3s linear infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes sparkle {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(76, 175, 80, 0.3);
    box-shadow: 0 2px 20px rgba(76, 175, 80, 0.1);
    /* CSS custom property for scroll-based opacity changes */
    --scroll-opacity: 0;
    transition: background-color 0.1s ease-out;
    max-height: 70px; /* 限制导航栏最大高度 */
    overflow: hidden; /* 防止内容溢出 */
}

/* Scroll-based header background using CSS custom properties - Disabled to prevent black background */
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent; /* 保持透明，不添加黑色背景 */
    pointer-events: none;
    transition: opacity 0.1s ease-out;
}

.navbar {
    padding: 1rem 0;
}

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

.logo h1 {
    color: #4caf50;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
    white-space: nowrap; /* 防止关键词换行 */
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-menu a:hover,
.nav-menu a:focus {
    color: #4caf50;
    background: rgba(76, 175, 80, 0.1);
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

.btn-login,
.btn-register {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-login {
    color: #4caf50;
    border-color: #4caf50;
}

.btn-login:hover,
.btn-login:focus {
    background: #4caf50;
    color: #fff;
}

.btn-register {
    background: #4caf50;
    color: #fff;
}

.btn-register:hover,
.btn-register:focus {
    background: transparent;
    color: #4caf50;
    border-color: #4caf50;
}

/* Main Content */
main {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, rgba(232, 245, 232, 0.9) 0%, rgba(240, 255, 240, 0.9) 50%, rgba(255, 255, 255, 0.9) 100%);
    padding-top: 80px; /* 为固定导航栏留出空间 */
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    z-index: 2;
}

/* .hero-title moved to modern typography section above */

.hero-subtitle {
    font-size: 1.3rem;
    color: #4a4a4a;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 150px;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(45deg, #4caf50, #66bb6a);
    color: #fff;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-primary:hover,
.btn-primary:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #4caf50;
    border: 2px solid #4caf50;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: #4caf50;
    color: #fff;
}

/* Sections */
section {
    padding: 5rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* .section-title moved to modern typography section above */

/* Features Section */
.features {
    background: rgba(76, 175, 80, 0.05);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #2e7d32;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #4a4a4a;
    line-height: 1.6;
}

/* Games Section */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.game-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.1);
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-image {
    height: 200px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.05);
}

.game-info {
    padding: 1.5rem;
}

.game-info h3 {
    color: #2e7d32;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.game-info p {
    color: #4a4a4a;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.game-rating {
    color: #4caf50;
    font-weight: 600;
}

/* Reviews Section */
.reviews {
    background: rgba(76, 175, 80, 0.05);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.reviewer-info h4 {
    color: #2e7d32;
    font-size: 1.1rem;
}

.review-rating {
    color: #4caf50;
    font-size: 1.2rem;
}

.review-text {
    color: #4a4a4a;
    line-height: 1.6;
    font-style: italic;
}

/* Promotions Section */
.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.promotion-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.1);
}

.promotion-card:hover {
    transform: translateY(-5px);
}

.promotion-card.featured {
    border-color: #4caf50;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
}

.promotion-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #ff4444;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.promotion-card h3 {
    color: #2e7d32;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.promotion-card p {
    color: #4a4a4a;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.promotion-features {
    list-style: none;
    margin-bottom: 2rem;
}

.promotion-features li {
    color: #4a4a4a;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.promotion-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
}

.btn-promotion {
    background: linear-gradient(45deg, #4caf50, #66bb6a);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-promotion:hover,
.btn-promotion:focus {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

/* Registration Section */
.registration {
    background: rgba(76, 175, 80, 0.05);
}

.registration-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.1);
}

.step-number {
    background: #4caf50;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h3 {
    color: #2e7d32;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #4a4a4a;
    line-height: 1.6;
}

.registration-cta {
    text-align: center;
}

.btn-primary.large {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: rgba(46, 125, 50, 0.95);
    border-top: 1px solid rgba(76, 175, 80, 0.3);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #fff;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section li {
    color: #e8f5e8;
    margin-bottom: 0.5rem;
}

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

.footer-section a {
    color: #e8f5e8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover,
.footer-section a:focus {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: #e8f5e8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design - Mobile Optimized */
@media (max-width: 768px) {
    /* Disable expensive effects on mobile for better performance */
    .background-effects {
        display: none;
    }
    
    .header {
        backdrop-filter: none;
        background: rgba(255, 255, 255, 0.98);
    }
    
    .nav-container {
        flex-direction: column;
        gap: 0.5rem;
        height: auto;
        padding: 0.5rem;
        max-height: 60px; /* 限制移动端导航栏高度 */
    }
    
    .logo h1 {
        white-space: nowrap; /* 移动端也防止关键词换行 */
        font-size: 1.5rem; /* 稍微减小字体以适应小屏幕 */
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        width: 100%;
    }
    
    .nav-menu a {
        padding: 0.8rem 1rem;
        border-radius: 8px;
        background: rgba(76, 175, 80, 0.1);
        transition: background-color 0.2s ease;
    }
    
    .nav-menu a:hover {
        background: rgba(76, 175, 80, 0.2);
    }
    
    .hero {
        min-height: 100vh;
        padding: 6rem 1rem 2rem 1rem; /* 移动端也需要顶部间距 */
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .features-grid,
    .games-grid,
    .reviews-grid,
    .promotions-grid,
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card,
    .game-card,
    .review-card,
    .promotion-card,
    .step {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .game-image {
        height: 150px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    /* Optimize animations for mobile */
    .fade-in-scale {
        animation: none;
    }
    
    .stagger-animation > * {
        animation: none;
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .hero {
        padding: 5rem 0.5rem 1rem 0.5rem; /* 小屏幕也需要顶部间距 */
        min-height: 100vh;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .feature-card,
    .game-card,
    .review-card,
    .promotion-card,
    .step {
        padding: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .game-image {
        height: 120px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .nav-menu a {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
    
    /* Disable all animations on very small screens */
    * {
        animation-duration: 0s !important;
        animation-delay: 0s !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
    }
}

/* Mobile touch optimizations */
@media (max-width: 768px) {
    .touch-active {
        transform: scale(0.95);
        opacity: 0.8;
        transition: all 0.1s ease;
    }
    
    /* Improve touch targets */
    .btn-primary,
    .btn-secondary,
    .btn-promotion {
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
    }
    
    .nav-menu a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        touch-action: manipulation;
    }
    
    /* Optimize scrolling */
    .hero,
    .section {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    /* Prevent zoom on input focus */
    input,
    textarea,
    select {
        font-size: 16px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .feature-card,
    .game-card,
    .review-card,
    .promotion-card,
    .step {
        border-width: 2px;
    }
}

/* Page-specific styles */
.page-header {
    background: linear-gradient(135deg, rgba(232, 245, 232, 0.9) 0%, rgba(240, 255, 240, 0.9) 50%, rgba(255, 255, 255, 0.9) 100%);
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
}

.page-subtitle {
    font-size: 1.3rem;
    color: #4a4a4a;
    margin-bottom: 1rem;
}

.last-updated {
    color: #4caf50;
    font-size: 0.9rem;
    font-style: italic;
}

.content-section {
    padding: 4rem 0;
    background: rgba(76, 175, 80, 0.05);
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.1);
}

.content-wrapper h2 {
    color: #2e7d32;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

.content-wrapper h2:first-child {
    margin-top: 0;
}

.content-wrapper h3 {
    color: #4caf50;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.content-wrapper p {
    color: #4a4a4a;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.content-wrapper ul {
    color: #4a4a4a;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.content-wrapper li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.contact-info {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #4a4a4a;
}

.contact-info strong {
    color: #2e7d32;
}

/* Support page specific styles */
.support-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.support-feature {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.1);
}

.support-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.support-feature h3 {
    color: #2e7d32;
    margin-bottom: 1rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.contact-method {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.1);
}

.contact-method h3 {
    color: #2e7d32;
    margin-bottom: 1rem;
}

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

.faq-item {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(76, 175, 80, 0.1);
}

.faq-item h3 {
    color: #2e7d32;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.feedback-section,
.support-cta {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    margin: 3rem 0;
}

.cta-section {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    margin: 3rem 0;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.emergency-contact {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.emergency-contact p {
    color: #4a4a4a;
    margin-bottom: 0.5rem;
}

.emergency-contact strong {
    color: #f44336;
}

.responsible-gaming-resources {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.acknowledgment-section {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(76, 175, 80, 0.1);
}

.acknowledgment-section p {
    color: #4a4a4a;
    margin-bottom: 0.5rem;
}

.acknowledgment-section strong {
    color: #2e7d32;
}

/* 404 Error Page Styles */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.error-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.error-icon {
    margin-bottom: 2rem;
}

.error-code {
    font-size: 8rem;
    font-weight: 900;
    color: #4caf50;
    margin: 0;
    text-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
    line-height: 1;
}

.error-symbol {
    font-size: 4rem;
    margin-top: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.error-content h2 {
    color: #2e7d32;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.error-message {
    font-size: 1.2rem;
    color: #4a4a4a;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.error-suggestions {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: left;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.1);
}

.error-suggestions h3 {
    color: #2e7d32;
    margin-bottom: 1rem;
    text-align: center;
}

.error-suggestions ul {
    list-style: none;
    padding: 0;
}

.error-suggestions li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(76, 175, 80, 0.1);
}

.error-suggestions li:last-child {
    border-bottom: none;
}

.error-suggestions a {
    color: #4caf50;
    text-decoration: none;
    font-weight: 500;
}

.error-suggestions a:hover {
    text-decoration: underline;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.popular-links {
    background: rgba(76, 175, 80, 0.05);
    border: 1px solid rgba(76, 175, 80, 0.2);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.popular-links h3 {
    color: #2e7d32;
    margin-bottom: 1.5rem;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.popular-link {
    display: block;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 10px;
    text-decoration: none;
    color: #4a4a4a;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}

.popular-link:hover {
    background: #4caf50;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
}

.search-section {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.1);
}

.search-section h3 {
    color: #2e7d32;
    margin-bottom: 1rem;
}

.search-box {
    display: flex;
    max-width: 400px;
    margin: 1rem auto 0;
    border: 2px solid rgba(76, 175, 80, 0.3);
    border-radius: 25px;
    overflow: hidden;
    background: #fff;
}

.search-box input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    outline: none;
    font-size: 1rem;
}

.search-btn {
    padding: 0.75rem 1rem;
    background: #4caf50;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.search-btn:hover {
    background: #45a049;
}

.help-section {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.help-section h3 {
    color: #2e7d32;
    margin-bottom: 1rem;
}

.help-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* Contact Form Styles */
.contact-form-section {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.1);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #2e7d32;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid rgba(76, 175, 80, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4caf50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-group small {
    display: block;
    color: #666;
    margin-top: 0.25rem;
    font-size: 0.875rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    color: #4a4a4a;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.contact-details {
    margin-top: 1rem;
}

.contact-details p {
    margin-bottom: 0.5rem;
    color: #4a4a4a;
}

.contact-details strong {
    color: #2e7d32;
}

.business-hours {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.1);
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.hours-item {
    text-align: center;
    padding: 1rem;
    background: rgba(76, 175, 80, 0.05);
    border-radius: 10px;
}

.hours-item h4 {
    color: #2e7d32;
    margin-bottom: 0.5rem;
}

.hours-item p {
    color: #4a4a4a;
    margin-bottom: 0.25rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.social-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 25px;
    text-decoration: none;
    color: #4a4a4a;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #4caf50;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
