/*
Theme Name: Pokemon Fire Red ROM
Theme URI: https://pokemonfirered.net
Author: Pemon Team
Author URI: https://pokemonfirered.net
Description: A futuristic, SEO-optimized one-page WordPress theme dedicated to Pokemon Fire Red ROM. Features cutting-edge design, smooth animations, comprehensive ROM guides, emulator setup tutorials, and everything trainers need for the ultimate Kanto adventure.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pokemon-fire-red
Tags: one-column, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready, gaming, pokemon, rom
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FF4444;
    --secondary-color: #FF8844;
    --dark-bg: #0a0a0a;
    --light-bg: #f5f5f5;
    --text-dark: #333;
    --text-light: #fff;
    --accent: #00ffff;
    --neon-blue: #00d4ff;
    --neon-purple: #b800ff;
    --glow-color: rgba(0, 212, 255, 0.6);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--light-bg);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* Header & Navigation */
.site-header {
    background: rgba(10, 10, 10, 0.95);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3), 0 0 20px rgba(0, 212, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.site-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 68, 68, 0.5), 0 0 20px rgba(255, 68, 68, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { text-shadow: 0 0 10px rgba(255, 68, 68, 0.5), 0 0 20px rgba(255, 68, 68, 0.3); }
    50% { text-shadow: 0 0 20px rgba(255, 68, 68, 0.8), 0 0 30px rgba(255, 68, 68, 0.5); }
}

.site-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.site-nav a {
    color: var(--text-light);
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.site-nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.site-nav a:hover {
    color: var(--accent);
    text-shadow: 0 0 10px var(--glow-color);
}

.site-nav a:hover::before {
    width: 80%;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    padding: 150px 2rem 100px;
    text-align: center;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(184, 0, 255, 0.1) 0%, transparent 50%);
    animation: moveGradient 10s ease infinite;
}

@keyframes moveGradient {
    0%, 100% { opacity: 1; transform: translateY(0); }
    50% { opacity: 0.8; transform: translateY(-20px); }
}

.hero-section h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5), 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { text-shadow: 0 0 20px rgba(0, 212, 255, 0.5), 2px 2px 4px rgba(0,0,0,0.3); }
    50% { text-shadow: 0 0 40px rgba(0, 212, 255, 0.8), 0 0 60px rgba(184, 0, 255, 0.4), 2px 2px 4px rgba(0,0,0,0.3); }
}

.hero-section p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    color: var(--text-light);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2), 0 0 20px rgba(0, 212, 255, 0.4);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    border: 2px solid rgba(0, 212, 255, 0.5);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3), 0 0 30px rgba(0, 212, 255, 0.6), 0 0 40px rgba(184, 0, 255, 0.4);
    color: var(--text-light);
    border-color: var(--neon-blue);
}

/* Secondary Button Style (Red Fire) */
.cta-button-secondary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: 2px solid rgba(255, 68, 68, 0.5);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2), 0 0 20px rgba(255, 68, 68, 0.4);
}

.cta-button-secondary:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.3), 0 0 30px rgba(255, 68, 68, 0.6), 0 0 40px rgba(255, 136, 68, 0.4);
    border-color: var(--primary-color);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Sections */
section {
    padding: 80px 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

/* About Section */
.about-section {
    background: var(--light-bg);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
}

/* Features Section */
.features-section {
    background: var(--dark-bg);
    color: var(--text-light);
}

.features-section .section-title {
    color: var(--accent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255,255,255,0.05);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 212, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(0, 212, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.1);
    border-color: var(--neon-blue);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3), 0 0 20px rgba(0, 212, 255, 0.2);
}

.feature-card:hover::before {
    left: 100%;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
    animation: iconFloat 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.feature-card h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.feature-card p {
    position: relative;
    z-index: 1;
}

/* Download Section */
.download-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--text-light);
    text-align: center;
}

.download-info {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.download-disclaimer {
    background: rgba(0,0,0,0.2);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem auto;
    max-width: 700px;
    font-size: 0.95rem;
}

/* FAQ Section */
.faq-section {
    background: var(--light-bg);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Footer */
.site-footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 3rem 2rem 2rem;
    border-top: 2px solid rgba(0, 212, 255, 0.3);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-about h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
}

.footer-about p {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.footer-topics h4,
.footer-quick-info h4 {
    color: var(--neon-blue);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.footer-topics ul {
    list-style: none;
    padding: 0;
}

.footer-topics li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-quick-info p {
    margin: 0.75rem 0;
    color: rgba(255, 255, 255, 0.8);
}

.footer-quick-info strong {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    margin: 0.75rem 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
    
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .site-nav ul {
        gap: 1rem;
    }
    
    .site-nav a {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
    
    section {
        padding: 60px 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--dark-bg);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* SEO & Performance */
img {
    max-width: 100%;
    height: auto;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

