/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.3) 0%, transparent 50%);
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(1deg); }
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 4rem 0;
    color: #fff;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

/* Image placeholder styles */
.hero-background img:not([src]),
.hero-background img[src=""],
.hero-image img:not([src]),
.hero-image img[src=""],
.banner-image img:not([src]),
.banner-image img[src=""],
.step-image img:not([src]),
.step-image img[src=""],
.game-card img:not([src]),
.game-card img[src=""],
.showcase-image img:not([src]),
.showcase-image img[src=""],
.feature-card img:not([src]),
.feature-card img[src=""] {
    background: linear-gradient(45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(-45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #f0f0f0 75%), 
                linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    border: 2px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.9rem;
    text-align: center;
    position: relative;
    min-height: 150px;
}

/* Specific placeholder heights for different image types */
.hero-background img:not([src]),
.hero-background img[src=""] {
    min-height: 400px;
}

.hero-image img:not([src]),
.hero-image img[src=""] {
    min-height: 300px;
}

.banner-image img:not([src]),
.banner-image img[src=""] {
    min-height: 200px;
}

.step-image img:not([src]),
.step-image img[src=""] {
    min-height: 150px;
}

.game-card img:not([src]),
.game-card img[src=""] {
    min-height: 150px;
}

.showcase-image img:not([src]),
.showcase-image img[src=""] {
    min-height: 250px;
}

.feature-card img:not([src]),
.feature-card img[src=""] {
    min-height: 80px;
    width: 80px;
    border-radius: 50%;
}

.hero-background img:not([src])::after,
.hero-background img[src=""]::after,
.hero-image img:not([src])::after,
.hero-image img[src=""]::after,
.banner-image img:not([src])::after,
.banner-image img[src=""]::after,
.step-image img:not([src])::after,
.step-image img[src=""]::after,
.game-card img:not([src])::after,
.game-card img[src=""]::after,
.showcase-image img:not([src])::after,
.showcase-image img[src=""]::after,
.feature-card img:not([src])::after,
.feature-card img[src=""]::after {
    content: "图片占位符";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.8rem;
}

/* Container placeholders when images are hidden */
.hero-image:empty::after,
.banner-image:empty::after,
.step-image:empty::after,
.showcase-image:empty::after {
    content: "图片占位符";
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(-45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #f0f0f0 75%), 
                linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    border: 2px dashed #ccc;
    color: #999;
    font-size: 0.9rem;
    text-align: center;
    min-height: 150px;
    border-radius: 10px;
}

.hero-image:empty::after {
    min-height: 300px;
    content: "英雄区域图片占位符";
}

.banner-image:empty::after {
    min-height: 200px;
    content: "横幅图片占位符";
}

.showcase-image:empty::after {
    min-height: 250px;
    content: "展示图片占位符";
}

/* Enhanced placeholder styles for better visual feedback */
.image-placeholder {
    position: relative;
    background: linear-gradient(45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(-45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #f0f0f0 75%), 
                linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    border: 2px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.9rem;
    text-align: center;
    min-height: 150px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.image-placeholder:hover {
    border-color: #2a5298;
    background-color: rgba(42, 82, 152, 0.05);
}

.image-placeholder::after {
    content: attr(data-placeholder);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.8rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
}

/* Image placeholder styles for containers */
.image-placeholder {
    position: relative;
    background: linear-gradient(45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(-45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #f0f0f0 75%), 
                linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    border: 2px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.9rem;
    text-align: center;
    min-height: 150px;
    border-radius: 10px;
}

.image-placeholder::after {
    content: attr(data-placeholder);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.8rem;
}

/* Specific placeholder heights */
.hero-image.image-placeholder {
    min-height: 300px;
}

.banner-image.image-placeholder {
    min-height: 200px;
}

.step-image.image-placeholder {
    min-height: 150px;
}

.showcase-image.image-placeholder {
    min-height: 250px;
}

.game-card .image-placeholder {
    min-height: 150px;
}

.feature-card .image-placeholder {
    min-height: 80px;
    width: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
}

/* Specific placeholder text for different sections */
.hero-image.image-placeholder::after {
    content: "英雄区域图片占位符";
}

.banner-image.image-placeholder::after {
    content: "横幅图片占位符";
}

.step-image.image-placeholder::after {
    content: "步骤图片占位符";
}

.showcase-image.image-placeholder::after {
    content: "展示图片占位符";
}

.game-card .image-placeholder::after {
    content: "游戏图片占位符";
}

.feature-card .image-placeholder::after {
    content: "功能图标占位符";
}

/* Loading animation for placeholders */
@keyframes placeholderPulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.image-placeholder {
    animation: placeholderPulse 2s ease-in-out infinite;
}

.image-placeholder:hover {
    animation: none;
    opacity: 1;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(42, 82, 152, 0.2);
}

/* Add icon to placeholders */
.image-placeholder::before {
    content: "📷";
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* Responsive adjustments for placeholders */
@media (max-width: 768px) {
    .image-placeholder::after {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
    }
    
    .image-placeholder::before {
        font-size: 1.5rem;
    }
    
    .hero-image.image-placeholder {
        min-height: 200px;
    }
    
    .banner-image.image-placeholder {
        min-height: 150px;
    }
    
    .showcase-image.image-placeholder {
        min-height: 180px;
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-text {
    text-align: left;
}

.hero-text h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Banner Section */
.banner-section {
    background: rgba(255, 255, 255, 0.95);
    margin: 3rem 0;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.banner-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.banner-text h3 {
    color: #2a5298;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.banner-text p {
    font-size: 1.1rem;
    color: #666;
}

.banner-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 0.5rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

.btn-secondary {
    background: linear-gradient(45deg, #4ecdc4, #44a08d);
    color: #fff;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.6);
}

/* Sections */
.features-section,
.login-section,
.register-section,
.games-section {
    background: rgba(255, 255, 255, 0.95);
    margin: 3rem 0;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.features-section h3,
.login-section h3,
.register-section h3,
.games-section h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2a5298;
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    border-radius: 50%;
}

.feature-card h4 {
    color: #2a5298;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Steps */
.login-steps,
.register-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.step {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step h4 {
    color: #2a5298;
    margin-bottom: 1rem;
}

.step-image {
    margin: 1rem 0;
}

.step-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.game-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.game-card h4 {
    color: #2a5298;
    margin-bottom: 1rem;
}

/* CTA Sections */
.login-cta,
.register-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Showcase Section */
.showcase-section {
    background: rgba(255, 255, 255, 0.95);
    margin: 3rem 0;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.showcase-section h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2a5298;
}

.showcase-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.showcase-item.reverse {
    direction: rtl;
}

.showcase-item.reverse .showcase-content {
    direction: ltr;
}

.showcase-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.showcase-content h4 {
    color: #2a5298;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.showcase-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ff6b6b;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-text h2 {
        font-size: 2rem;
    }
    
    .banner-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .showcase-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .showcase-item.reverse {
        direction: ltr;
    }
    
    .features-section,
    .login-section,
    .register-section,
    .games-section,
    .banner-section,
    .showcase-section {
        padding: 2rem 1rem;
    }
    
    .features-grid,
    .login-steps,
    .register-steps,
    .games-grid {
        grid-template-columns: 1fr;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .background-animation {
        animation: none;
    }
    
    .btn:hover,
    .feature-card:hover,
    .game-card:hover {
        transform: none;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.nav-menu a:focus {
    outline: 3px solid #ff6b6b;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    body {
        background: #000;
        color: #fff;
    }
    
    .features-section,
    .login-section,
    .register-section,
    .games-section {
        background: #fff;
        color: #000;
    }
}

/* Content Section Styles */
.content-section {
    background: rgba(255, 255, 255, 0.95);
    margin: 3rem 0;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.content-section h2 {
    color: #2a5298;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
}

.policy-content h3 {
    color: #2a5298;
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.policy-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.policy-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
}

/* Contact Page Styles */
.contact-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-info {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 15px;
}

.contact-info h3 {
    color: #2a5298;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-item {
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
}

.contact-item h4 {
    color: #2a5298;
    margin-bottom: 0.5rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 15px;
}

.contact-form h3 {
    color: #2a5298;
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2a5298;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2a5298;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
}

/* FAQ Section */
.faq-section {
    background: rgba(255, 255, 255, 0.95);
    margin: 3rem 0;
    padding: 3rem;
    border-radius: 20px;
}

.faq-section h3 {
    color: #2a5298;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #2a5298;
}

.faq-item h4 {
    color: #2a5298;
    margin-bottom: 1rem;
}

/* Support Hours */
.support-hours {
    background: rgba(255, 255, 255, 0.95);
    margin: 3rem 0;
    padding: 3rem;
    border-radius: 20px;
}

.support-hours h3 {
    color: #2a5298;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.hours-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
}

.hours-item h4 {
    color: #2a5298;
    margin-bottom: 1rem;
}

/* 404 Error Page */
.error-section {
    text-align: center;
    padding: 4rem 0;
    color: #fff;
}

.error-number {
    font-size: 8rem;
    font-weight: bold;
    color: #ff6b6b;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
}

.error-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.error-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.error-actions {
    margin: 2rem 0;
}

.helpful-links {
    background: rgba(255, 255, 255, 0.95);
    margin: 3rem 0;
    padding: 3rem;
    border-radius: 20px;
}

.helpful-links h3 {
    color: #2a5298;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.link-card {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 15px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.link-card:hover {
    transform: translateY(-5px);
    border-color: #2a5298;
}

.link-card h4 {
    color: #2a5298;
    margin-bottom: 1rem;
}

.search-suggestion {
    text-align: center;
    margin-top: 2rem;
}

.search-suggestion h3 {
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Responsive Design for new sections */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid,
    .hours-grid,
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .error-number {
        font-size: 4rem;
    }
    
    .content-section,
    .contact-info,
    .contact-form,
    .faq-section,
    .support-hours,
    .helpful-links {
        padding: 2rem 1rem;
    }
}

/* Print styles */
@media print {
    .background-animation,
    .btn,
    .nav-menu {
        display: none;
    }
    
    body {
        background: #fff;
        color: #000;
    }
}
