/* 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: #ffffff;
    background: linear-gradient(135deg, #000000 0%, #1a0033 25%, #2d1b69 50%, #4a148c 75%, #6a1b9a 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    min-height: 100vh;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Styles */
.navbar {
    background: #1a0033;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #ffd700;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 10px 15px;
    border-radius: 25px;
}

.nav-link:hover,
.nav-link.active {
    color: #ffd700;
    transform: translateY(-2px);
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

/* Button Styles */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700);
    background-size: 200% 200%;
    color: #000000;
    position: relative;
    overflow: hidden;
    animation: buttonShine 3s ease-in-out infinite;
    font-weight: bold;
}

@keyframes buttonShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.8);
}

.btn-secondary {
    background: #ffd700;
    color: #000000;
    border: 2px solid #ffd700;
    font-weight: bold;
}

.btn-secondary:hover {
    background: #ffed4e;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.7);
}

.btn-login {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    font-weight: bold;
}

.btn-login:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.btn-register {
    background: #ffd700;
    color: #000000;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
    font-weight: bold;
}

.btn-register:hover {
    background: #ffed4e;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.7);
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1em;
}

/* Breadcrumb Styles */
.breadcrumb {
    background: #2d1b69;
    padding: 15px 0;
    border-bottom: 2px solid #ffd700;
}

.breadcrumb-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    list-style: none;
    display: flex;
}

.breadcrumb-item a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #ffd700;
    text-decoration: underline;
}

/* Hero Section */
.hero {
    background: #4a148c;
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    border-top: 2px solid #ffd700;
    border-bottom: 2px solid #ffd700;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
    z-index: -1;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Live Stats */
.live-stats {
    display: flex;
    gap: 40px;
    margin: 40px 0;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 120px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 1), 0 0 40px rgba(255, 215, 0, 0.8);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9em;
    opacity: 0.9;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Main Content */
.main-content {
    padding: 60px 0;
}

.section {
    margin-bottom: 80px;
}

.section h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #ffffff;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.section h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #ffd700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.section p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.8;
}

/* Brand Introduction */
.brand-intro {
    background: #2d1b69;
    padding: 60px 0;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 2px solid #ffd700;
    position: relative;
    overflow: hidden;
}

.brand-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffd700, #ffed4e, #ffd700);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: #1a0033;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid #ffd700;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3);
}

.feature-card img {
    margin-bottom: 20px;
}

.feature-icon {
    font-size: 4em;
    margin-bottom: 20px;
    text-align: center;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.3));
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 6px 12px rgba(255, 215, 0, 0.5));
}

.feature-card h3 {
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Registration Process */
.registration-process {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(15px);
    padding: 60px 0;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Advantages Grid */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.advantage-item {
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(15px);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.advantage-item h3 {
    color: #ffd700;
    margin-bottom: 15px;
}

/* FAQ Section */
.faq-section {
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(20px);
    padding: 60px 0;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 30px;
    padding: 25px;
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border-left: 4px solid #ffd700;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item h3 {
    color: #e0e0e0;
    margin-bottom: 15px;
}

.faq-item p {
    color: #b0b0b0;
    margin-bottom: 0;
}

/* Game Preview Section */
.game-preview {
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(20px);
    padding: 60px 0;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
}

.demo-game {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.game-board {
    background: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.game-board h3 {
    color: #e0e0e0;
    margin-bottom: 30px;
    font-size: 1.5em;
}

.number-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 8px;
    margin-bottom: 30px;
    max-height: 400px;
    overflow-y: auto;
    padding: 20px;
    background: rgba(114, 9, 183, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.number-cell {
    width: 40px;
    height: 40px;
    background: rgba(26, 26, 46, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    color: #e0e0e0;
}

.number-cell:hover {
    background: rgba(114, 9, 183, 0.3);
    transform: scale(1.1);
}

.number-cell.selected {
    background: linear-gradient(45deg, #7209b7, #533483);
    color: white;
    border-color: #ffd700;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.number-cell.winning {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #1a1a2e;
    border-color: #ffd700;
    animation: pulse 1s ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.game-controls {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.game-result {
    background: rgba(114, 9, 183, 0.1);
    padding: 20px;
    border-radius: 15px;
    border: 2px solid rgba(114, 9, 183, 0.2);
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-result p {
    margin: 0;
    font-weight: 500;
    color: #e0e0e0;
}

.game-result.win {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    color: #b8860b;
}

.game-result.lose {
    background: rgba(255, 107, 107, 0.1);
    border-color: rgba(255, 107, 107, 0.3);
    color: #d63031;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #7209b7 0%, #533483 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.cta-section h2 {
    color: white;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2em;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: #ffd700;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffd700;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #b0b0b0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }
    
    .nav-menu {
        margin: 20px 0;
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2em;
    }
    
    .section h2 {
        font-size: 2em;
    }
    
    .features-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero h1 {
        font-size: 1.8em;
    }
    
    .section {
        margin-bottom: 40px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
.btn:focus,
.nav-link:focus,
a:focus {
    outline: 2px solid #ffd700;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000;
        color: #fff;
    }
    
    .btn-secondary {
        background: #fff;
        color: #000;
        border-color: #000;
    }
}

/* Additional page styles */
.page-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
}

.page-header h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.page-subtitle {
    font-size: 1.2em;
    opacity: 0.9;
    margin-bottom: 10px;
}

.last-updated {
    font-size: 0.9em;
    opacity: 0.8;
    font-style: italic;
}

.content-section {
    background: white;
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.content-section p {
    color: #333;
    line-height: 1.8;
    margin-bottom: 20px;
}

.content-section h2 {
    color: #333;
    margin-bottom: 25px;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.content-section h3 {
    color: #667eea;
    margin: 25px 0 15px 0;
}

.content-section ul {
    margin: 15px 0;
    padding-left: 30px;
}

.content-section li {
    margin-bottom: 8px;
    color: #666;
}

.content-section ol {
    margin: 15px 0;
    padding-left: 30px;
}

/* Mission grid styles */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.mission-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.mission-item h3 {
    color: #333;
    margin-bottom: 15px;
}

.mission-item p {
    color: #333;
    line-height: 1.6;
}

/* Contact info styles */
.contact-info {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-top: 20px;
}

.contact-info p {
    margin-bottom: 10px;
    color: #333;
}

/* Contact methods styles */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.contact-method {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
}

.contact-method h3 {
    color: #667eea;
    margin-bottom: 15px;
}

.contact-method p {
    margin-bottom: 10px;
    color: #666;
}

/* Support hours styles */
.support-hours {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.hours-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.hours-item h3,
.hours-item p {
    color: #333;
}

.hours-item h3 {
    color: #667eea;
    margin-bottom: 15px;
}

.hours-item p {
    margin-bottom: 10px;
    color: #666;
}

/* Form styles */
.support-form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-group input.error {
    border-color: #ff6b6b;
}

/* Resources grid */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.resource-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.resource-item h3,
.resource-item p {
    color: #333;
}

.resource-item h3 {
    color: #667eea;
    margin-bottom: 15px;
}

.resource-item p {
    margin-bottom: 20px;
    color: #666;
}

/* 404 Error page styles */
.error-section {
    text-align: center;
    padding: 80px 0;
}

.error-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.error-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.error-text h1 {
    font-size: 3em;
    color: #333;
    margin-bottom: 10px;
}

.error-text h2 {
    font-size: 2em;
    color: #667eea;
    margin-bottom: 20px;
}

.error-text p {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 30px;
}

.error-suggestions {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: left;
}

.error-suggestions h3 {
    color: #333;
    margin-bottom: 15px;
}

.error-suggestions ul {
    margin: 0;
    padding-left: 20px;
}

.error-suggestions li {
    margin-bottom: 8px;
    color: #666;
}

.error-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Popular pages styles */
.popular-pages {
    margin: 60px 0;
}

.popular-pages h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-card:hover {
    transform: translateY(-5px);
}

.page-card h3 {
    color: #333;
    margin-bottom: 15px;
}

.page-card p {
    color: #666;
    margin-bottom: 20px;
}

/* Search section styles */
.search-section {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
    margin: 40px 0;
    text-align: center;
}

.search-section h2 {
    color: #333;
    margin-bottom: 20px;
}

.search-section p {
    color: #666;
    margin-bottom: 30px;
}

.search-form {
    max-width: 600px;
    margin: 0 auto;
}

.search-input-group {
    display: flex;
    gap: 10px;
}

.search-input-group input {
    flex: 1;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

.search-input-group input:focus {
    outline: none;
    border-color: #667eea;
}

/* Helpful links styles */
.helpful-links {
    margin: 40px 0;
}

.helpful-links h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.link-category {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.link-category h3 {
    color: #667eea;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.link-category ul {
    list-style: none;
    padding: 0;
}

.link-category li {
    margin-bottom: 10px;
}

.link-category a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.link-category a:hover {
    color: #667eea;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .error-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .error-text h1 {
        font-size: 2em;
    }
    
    .error-text h2 {
        font-size: 1.5em;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .search-input-group {
        flex-direction: column;
    }
    
    .content-section {
        padding: 25px;
    }
    
    .page-header {
        padding: 30px 20px;
    }
    
    .page-header h1 {
        font-size: 2em;
    }
}
