/*
Theme Name: AI Tech Pro
Theme URI: https://www.yourwebsite.com
Author: Your Name
Author URI: https://www.yourwebsite.com
Description: A modern, futuristic WordPress theme designed for AI and technology content publishing
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: responsive, ai, technology, code, futuristic, modern
Text Domain: ai-tech-pro
*/

/* Global Styles */
:root {
    /* 浅色主题变量 */
    --primary-color: #0066cc;
    --secondary-color: #6633cc;
    --accent-color: #009966;
    --bg-color: #ffffff;
    --card-bg: #f8f9fa;
    --text-primary: #333333;
    --text-secondary: #6c757d;
    --border-color: #dee2e6;
    --gradient-primary: linear-gradient(135deg, #0066cc 0%, #6633cc 100%);
    --gradient-secondary: linear-gradient(135deg, #6633cc 0%, #009966 100%);
    --shadow: 0 8px 32px rgba(0, 102, 204, 0.1);
    --shadow-glow: 0 0 20px rgba(0, 102, 204, 0.3);
}

/* 深色主题变量 */
[data-theme="dark"] {
    --primary-color: #00d4ff;
    --secondary-color: #7b68ee;
    --accent-color: #00ff88;
    --bg-color: #0a0e27;
    --card-bg: #16213e;
    --text-primary: #ffffff;
    --text-secondary: #b8c2cc;
    --border-color: #2a3b5f;
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #7b68ee 100%);
    --gradient-secondary: linear-gradient(135deg, #7b68ee 0%, #00ff88 100%);
    --shadow: 0 8px 32px rgba(0, 212, 255, 0.1);
    --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.3);
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Inter", "Microsoft YaHei", Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-primary);
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(0, 102, 204, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(102, 51, 204, 0.05) 0%, transparent 50%);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* 深色主题下的背景图片调整 */
[data-theme="dark"] body {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(123, 104, 238, 0.05) 0%, transparent 50%);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

/* 添加主题切换按钮样式 */
#theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-left: 15px;
}

#theme-toggle:hover {
    background-color: var(--border-color);
    transform: scale(1.1);
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Header Styles */
#header {
    background-color: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

#header .container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

#logo {
    font-size: 28px;
    font-weight: bold;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 32px;
    animation: pulse 2s ease-in-out infinite;
}

/* AI Decoration Styles */
.ai-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.ai-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.1) 0%, transparent 100%);
    animation: glowPulse 3s ease-in-out infinite alternate;
}

.ai-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, rgba(0, 212, 255, 0.2) 1px, transparent 1px),
        radial-gradient(circle, rgba(123, 104, 238, 0.2) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
    animation: particlesMove 20s linear infinite;
}

.ai-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 212, 255, 0.1) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0, 212, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    animation: gridMove 30s linear infinite;
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.1);
        filter: brightness(1.3);
    }
}

@keyframes glowPulse {
    0% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

@keyframes particlesMove {
    0% {
        background-position: 0 0, 25px 25px;
    }
    100% {
        background-position: 50px 50px, 75px 75px;
    }
}

@keyframes gridMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

#nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}

#nav-menu li {
    margin: 0;
}

#nav-menu li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

#nav-menu li a:hover {
    color: var(--primary-color);
}

#nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

#nav-menu li a:hover::after {
    width: 100%;
}

/* Main Content Styles */
#content {
    max-width: 1400px;
    width: 100%;
    margin: 30px auto;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 0 30px;
}

/* Read More Button */
.read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 2px 5px;
}

.read-more:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* AI Content Info */
.ai-content-info {
    background-color: rgba(0, 212, 255, 0.05);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ai-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: #000;
    padding: 5px 12px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 14px;
    width: fit-content;
}

.ai-content-info p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
}

/* AI Widget Styles */
.ai-widget {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.ai-widget:hover {
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

.ai-models-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ai-model-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background-color: rgba(0, 212, 255, 0.05);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.ai-model-item:hover {
    background-color: rgba(0, 212, 255, 0.1);
    transform: translateX(5px);
}

.ai-model-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.ai-model-info {
    flex: 1;
}

.ai-model-name {
    margin: 0 0 4px 0;
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 600;
}

.ai-model-desc {
    margin: 0;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* AI Categories */
.ai-categories {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ai-categories li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.ai-categories li::before {
    content: '🔹';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.ai-categories li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.ai-categories li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Recent AI Posts */
.recent-ai-posts {
    list-style: none;
    margin: 0;
    padding: 0;
}

.recent-ai-post {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.recent-ai-post .post-icon {
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 12px;
}

.recent-ai-post a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    line-height: 1.5;
}

.recent-ai-post a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* AI Resources */
.ai-resources {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ai-resource-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background-color: rgba(0, 255, 136, 0.05);
    border-radius: 6px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.ai-resource-item:hover {
    background-color: rgba(0, 255, 136, 0.1);
    border-left-color: var(--accent-color);
    transform: translateX(3px);
}

.resource-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.resource-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.resource-link:hover {
    color: var(--accent-color);
}

#main {
    width: 75%;
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

#sidebar {
    width: 25%;
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    position: sticky;
    top: 100px;
    height: fit-content;
}

/* Post Styles */
.post {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.post:hover {
    transform: translateY(-3px);
}

.post:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.post-title {
    font-size: 24px;
    margin-bottom: 12px;
    line-height: 1.3;
}

.post-title a {
    text-decoration: none;
    color: var(--text-primary);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.post-title a:hover {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}

.post-meta {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 15px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ai-generated-tag {
    background-color: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 10px;
    animation: pulse 2s ease-in-out infinite;
}

.post-meta span::before {
    content: "📅";
    font-size: 14px;
}

.post-meta span:nth-child(2)::before {
    content: "👤";
}

.post-meta span:nth-child(3)::before {
    content: "📁";
}

.post-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Widget Styles */
.widget {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.widget:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.widget-title {
    font-size: 17px;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--primary-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-title::before {
    content: "🔬";
    font-size: 20px;
}

.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget ul li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.widget ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.widget ul li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    transition: color 0.3s ease;
}

.widget ul li a:hover {
    color: var(--primary-color);
}

/* Footer Styles */
#footer {
    background-color: var(--card-bg);
    color: var(--text-secondary);
    padding: 40px 0;
    margin-top: 60px;
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

#footer .container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    font-size: 14px;
    position: relative;
    z-index: 1;
    padding: 0 30px;
}

#footer::after {
    content: "✨";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    opacity: 0.05;
    z-index: 0;
}

/* Code Highlighting Styles */
pre {
    background-color: rgba(0, 0, 0, 0.3);
    color: #abb2bf;
    padding: 18px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
    border: 1px solid var(--border-color);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
}

pre::before {
    content: "💻";
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 18px;
    opacity: 0.5;
}

code {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    background-color: rgba(0, 212, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--primary-color);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

pre code {
    background-color: transparent;
    padding: 0;
    color: inherit;
    border: none;
}

/* Highlight.js theme adjustments */
.hljs {
    background: transparent;
    color: inherit;
}

/* Add some glow effects to code blocks */
pre:hover {
    box-shadow: 
        inset 0 2px 8px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(0, 212, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 1200px) {
    #header .container, #content, #footer .container {
        padding: 0 20px;
    }
    
    #content {
        gap: 25px;
    }
}

@media (max-width: 960px) {
    #content {
        width: 100%;
        flex-direction: column;
        padding: 0 20px;
        gap: 20px;
    }
    
    #main, #sidebar {
        width: 100%;
    }
    
    #sidebar {
        position: static;
    }
    
    #header .container, #footer .container {
        width: 100%;
        padding: 0 20px;
    }
    
    pre {
        padding: 15px;
        font-size: 13px;
    }
    
    #nav-menu {
        gap: 15px;
    }
    
    .post-title {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    #nav-menu {
        gap: 10px;
    }
    
    #nav-menu li a {
        font-size: 14px;
    }
    
    #logo {
        font-size: 24px;
    }
    
    .logo-icon {
        font-size: 28px;
    }
    
    .post {
        margin-bottom: 30px;
        padding-bottom: 25px;
    }
    
    #main {
        padding: 25px;
    }
    
    #sidebar {
        padding: 20px;
    }
    
    .post-title {
        font-size: 18px;
    }
    
    .post-content {
        font-size: 15px;
    }
    
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    #header {
        padding: 10px 0;
    }
    
    #nav-menu {
        flex-wrap: wrap;
    }
    
    #main {
        padding: 20px;
    }
    
    .post {
        margin-bottom: 25px;
        padding-bottom: 20px;
    }
    
    .post-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .post-meta {
        font-size: 12px;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    pre {
        padding: 12px;
        font-size: 12px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* Enhanced Footer Styles */
.footer-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
}

.footer-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    filter: blur(10px);
    animation: pulse 3s ease-in-out infinite;
}

.footer-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    text-align: left;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.footer-section {
    position: relative;
}

.footer-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-icon {
    font-size: 28px;
    animation: pulse 2s ease-in-out infinite;
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ai-badge, .tech-badge {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid transparent;
}

.ai-badge {
    background-color: rgba(0, 212, 255, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tech-badge {
    background-color: rgba(123, 104, 238, 0.1);
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-nav li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.social-icon:hover {
    background-color: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
    border-color: var(--primary-color);
}

.newsletter {
    margin-top: 20px;
    text-align: left;
}

.newsletter h5 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.newsletter p {
    font-size: 13px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    position: relative;
}

.newsletter-input {
    flex: 1;
    padding: 10px 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.newsletter-btn {
    padding: 10px 20px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    position: relative;
    z-index: 1;
}

.footer-copyright {
    opacity: 0.8;
}

.footer-copyright span {
    color: var(--primary-color);
    font-weight: 600;
}

.footer-policies {
    display: flex;
    gap: 20px;
}

.footer-policies a {
    color: var(--text-secondary);
    text-decoration: none;
    opacity: 0.8;
    transition: color 0.3s ease;
}

.footer-policies a:hover {
    color: var(--primary-color);
}

/* 404 Error Page Styles */
.error-404 {
    text-align: center;
    padding: 60px 20px;
    position: relative;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.error-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.2;
}

.error-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: var(--gradient-primary);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.error-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: gridMove 15s linear infinite;
}

.error-title {
    font-size: 48px;
    color: var(--text-primary);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 15px;
}

.error-message {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.error-suggestion {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.error-suggestions {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.error-suggestions li {
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.error-suggestions li::before {
    content: "💡";
    font-size: 16px;
}

.error-return {
    position: relative;
    z-index: 1;
}

.btn-primary {
    padding: 12px 30px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
}

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}