/*
Theme Name: AriaJet Cosmic
Theme URI: https://ariajet.site
Author: Aria
Author URI: https://ariajet.site
Description: A magical cosmic-themed WordPress theme for Aria's 2D game showcase. Features animated starfield backgrounds, neon glow effects, floating animations, and galaxy-inspired gradients. Perfect for showcasing games in a fun, space-adventure atmosphere.
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: ariajet-cosmic
Tags: games, 2d-games, game-showcase, cosmic, space, neon, animated, custom-menu, featured-images, threaded-comments, translation-ready

AriaJet Cosmic WordPress Theme
A cosmic adventure-themed design for Aria's amazing 2D games!
*/

/* ============================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================ */
:root {
    /* Cosmic Color Palette */
    --cosmic-dark: #0a0a1a;
    --cosmic-deeper: #050510;
    --cosmic-purple: #1a1a3e;
    --cosmic-blue: #0d1b2a;
    
    /* Neon Glow Colors */
    --neon-pink: #ff2d95;
    --neon-cyan: #00fff7;
    --neon-purple: #bf00ff;
    --neon-blue: #00a8ff;
    --neon-yellow: #fff700;
    --neon-green: #00ff88;
    
    /* Aurora Gradients */
    --aurora-start: #00ff88;
    --aurora-mid: #00a8ff;
    --aurora-end: #bf00ff;
    
    /* Star Colors */
    --star-white: #ffffff;
    --star-blue: #a8d8ff;
    --star-gold: #ffd700;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b8c5d6;
    --text-muted: #6b7c93;
    
    /* UI Colors */
    --card-bg: rgba(20, 20, 50, 0.7);
    --card-border: rgba(255, 255, 255, 0.1);
    --card-glow: rgba(0, 168, 255, 0.3);
    
    /* Spacing System (8px base) */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    
    /* Typography */
    --font-display: 'Orbitron', 'Rajdhani', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Poppins', 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'Fira Code', 'JetBrains Mono', monospace;
    
    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-glow: 0 0 20px var(--neon-cyan), 0 0 40px rgba(0, 255, 247, 0.3);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 1px rgba(255, 255, 255, 0.1);
    --shadow-button: 0 4px 15px rgba(0, 168, 255, 0.4);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--cosmic-dark);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   COSMIC BACKGROUND
   ============================================ */
.cosmic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    background: 
        radial-gradient(ellipse at top left, rgba(191, 0, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at top right, rgba(0, 168, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom center, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, var(--cosmic-deeper) 0%, var(--cosmic-dark) 50%, var(--cosmic-purple) 100%);
}

/* Animated Stars Layer */
.stars-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -9;
    pointer-events: none;
}

.star {
    position: absolute;
    background: var(--star-white);
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Shooting Stars */
.shooting-star {
    position: absolute;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-cyan), transparent);
    border-radius: 50%;
    animation: shoot 3s ease-in-out infinite;
    opacity: 0;
}

@keyframes shoot {
    0% { transform: translateX(0) translateY(0); opacity: 0; }
    10% { opacity: 1; }
    70% { opacity: 1; }
    100% { transform: translateX(500px) translateY(300px); opacity: 0; }
}

/* Nebula Effect */
.nebula {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    z-index: -8;
    animation: float 20s ease-in-out infinite;
}

.nebula-1 {
    top: -200px;
    left: -200px;
    background: radial-gradient(circle, var(--neon-purple) 0%, transparent 70%);
    animation-delay: 0s;
}

.nebula-2 {
    top: 50%;
    right: -200px;
    background: radial-gradient(circle, var(--neon-cyan) 0%, transparent 70%);
    animation-delay: -10s;
}

.nebula-3 {
    bottom: -200px;
    left: 30%;
    background: radial-gradient(circle, var(--neon-pink) 0%, transparent 70%);
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* ============================================
   LAYOUT
   ============================================ */
.site {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.site-main {
    min-height: calc(100vh - 200px);
    padding: var(--space-10) 0;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: var(--space-4) 0;
    background: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
}

.site-branding {
    flex-shrink: 0;
}

.site-title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 800;
    margin: 0;
    letter-spacing: 3px;
}

.site-title a {
    text-decoration: none;
    background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-purple) 50%, var(--neon-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 255, 247, 0.5);
    transition: var(--transition-normal);
}

.site-title a:hover {
    filter: brightness(1.2);
}

.site-description {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin: var(--space-1) 0 0;
    letter-spacing: 1px;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    display: flex;
    gap: var(--space-6);
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
    position: relative;
}

.main-navigation a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-full);
    padding: 1px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    opacity: 0;
    transition: var(--transition-normal);
}

.main-navigation a:hover {
    color: var(--text-primary);
}

.main-navigation a:hover::before {
    opacity: 1;
}

.main-navigation .current-menu-item a {
    color: var(--neon-cyan);
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: var(--space-2);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-normal);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .main-navigation {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 26, 0.95);
        backdrop-filter: blur(20px);
        padding: var(--space-6);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-normal);
    }
    
    .main-navigation.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: var(--space-4);
    }
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1px;
    color: var(--text-primary);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
    margin-bottom: var(--space-4);
    color: var(--text-secondary);
}

a {
    color: var(--neon-cyan);
    text-decoration: none;
    transition: var(--transition-normal);
}

a:hover {
    color: var(--neon-pink);
}

/* ============================================
   BUTTONS
   ============================================ */
.cosmic-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: var(--space-4) var(--space-8);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-blue) 100%);
    box-shadow: var(--shadow-button);
}

.cosmic-button::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: var(--transition-slow);
}

.cosmic-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 168, 255, 0.5);
}

.cosmic-button:hover::before {
    left: 100%;
}

.cosmic-button.secondary {
    background: transparent;
    border: 2px solid var(--neon-purple);
    box-shadow: 0 0 15px rgba(191, 0, 255, 0.3);
}

.cosmic-button.secondary:hover {
    background: var(--neon-purple);
    box-shadow: 0 0 25px rgba(191, 0, 255, 0.5);
}

.cosmic-button.accent {
    background: linear-gradient(135deg, var(--neon-pink) 0%, var(--neon-purple) 100%);
    box-shadow: 0 4px 15px rgba(255, 45, 149, 0.4);
}

.cosmic-button.accent:hover {
    box-shadow: 0 8px 25px rgba(255, 45, 149, 0.5);
}

/* ============================================
   CARDS
   ============================================ */
.cosmic-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    backdrop-filter: blur(10px);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.cosmic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple), var(--neon-pink));
    opacity: 0;
    transition: var(--transition-normal);
}

.cosmic-card:hover {
    transform: translateY(-8px);
    border-color: var(--card-glow);
    box-shadow: var(--shadow-card), 0 0 30px var(--card-glow);
}

.cosmic-card:hover::before {
    opacity: 1;
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    text-align: center;
    padding: var(--space-16) 0 var(--space-12);
}

.page-title {
    font-size: var(--text-5xl);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--neon-cyan) 50%, var(--neon-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-4);
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(0, 255, 247, 0.5)); }
    50% { filter: drop-shadow(0 0 20px rgba(191, 0, 255, 0.7)); }
}

.page-description {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   ENTRY CONTENT
   ============================================ */
.entry-header {
    margin-bottom: var(--space-8);
}

.entry-title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-4);
}

.entry-content {
    font-size: var(--text-lg);
    line-height: 1.8;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin: var(--space-8) 0 var(--space-4);
}

.entry-content ul,
.entry-content ol {
    margin: var(--space-4) 0;
    padding-left: var(--space-8);
}

.entry-content li {
    margin-bottom: var(--space-2);
    color: var(--text-secondary);
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: var(--space-6) 0;
}

/* ============================================
   NO CONTENT STATE
   ============================================ */
.no-content {
    text-align: center;
    padding: var(--space-20) var(--space-6);
}

.no-content h2 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-4);
    color: var(--neon-cyan);
}

.no-content p {
    font-size: var(--text-lg);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: rgba(5, 5, 16, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--space-12) 0 var(--space-8);
    margin-top: var(--space-16);
}

.site-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-8);
}

.footer-navigation ul {
    display: flex;
    gap: var(--space-8);
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-navigation a {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-normal);
}

.footer-navigation a:hover {
    color: var(--neon-cyan);
}

.site-info {
    text-align: center;
}

.site-info p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --text-5xl: 2.5rem;
        --text-4xl: 2rem;
        --text-3xl: 1.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --text-5xl: 2rem;
        --text-4xl: 1.75rem;
        --text-3xl: 1.375rem;
        --space-16: 3rem;
        --space-12: 2.5rem;
    }
    
    .container {
        padding: 0 var(--space-4);
    }
    
    .page-header {
        padding: var(--space-10) 0 var(--space-8);
    }
}

@media (max-width: 480px) {
    :root {
        --text-5xl: 1.75rem;
        --text-4xl: 1.5rem;
        --text-3xl: 1.25rem;
    }
    
    .footer-navigation ul {
        flex-direction: column;
        align-items: center;
        gap: var(--space-4);
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-glow {
    text-shadow: 0 0 10px currentColor, 0 0 20px currentColor;
}

.neon-cyan { color: var(--neon-cyan); }
.neon-pink { color: var(--neon-pink); }
.neon-purple { color: var(--neon-purple); }
.neon-green { color: var(--neon-green); }

.float-animation {
    animation: float 6s ease-in-out infinite;
}

.pulse-animation {
    animation: glow-pulse 2s ease-in-out infinite;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   PLAYLISTS & PROJECTS PAGES
   ============================================ */

/* Page Hero Styles */
.page-hero {
    padding: var(--space-20) var(--space-5);
    margin-bottom: var(--space-16);
}

.page-hero .hero-title {
    font-size: var(--text-5xl);
    margin-bottom: var(--space-6);
}

.page-hero .hero-subtitle {
    font-size: var(--text-xl);
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Playlists Section */
.playlists-section,
.projects-section {
    padding: var(--space-12) 0;
}

.playlists-grid,
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-8);
    margin-bottom: var(--space-12);
}

.playlist-card,
.project-card {
    text-align: center;
    padding: var(--space-8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.playlist-card:hover,
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 255, 247, 0.3);
}

.playlist-icon,
.project-icon {
    font-size: 4rem;
    margin-bottom: var(--space-6);
    display: block;
    animation: float 4s ease-in-out infinite;
}

.playlist-title,
.project-title {
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
}

.playlist-description,
.project-description {
    font-size: var(--text-base);
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: var(--space-6);
}

.project-card .cosmic-button {
    margin-top: var(--space-4);
}

/* Coming Soon Section */
.coming-soon {
    text-align: center;
    padding: var(--space-16) var(--space-8);
    margin-top: var(--space-12);
    background: linear-gradient(135deg, rgba(26, 26, 62, 0.8) 0%, rgba(13, 27, 42, 0.8) 100%);
    border: 2px solid var(--neon-purple);
    box-shadow: 0 0 30px rgba(191, 0, 255, 0.3);
}

.coming-soon-icon,
.coming-soon .coming-soon-icon {
    font-size: 5rem;
    margin-bottom: var(--space-6);
    display: block;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 20px var(--neon-pink));
}

.coming-soon h2 {
    font-size: var(--text-3xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--neon-pink);
    text-shadow: 0 0 15px var(--neon-pink);
}

.coming-soon p {
    font-size: var(--text-lg);
    line-height: 1.7;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Page Content */
.page-content {
    margin-top: var(--space-12);
    padding: var(--space-8);
}

.page-content .entry-content {
    background: rgba(26, 26, 62, 0.5);
    padding: var(--space-8);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 255, 247, 0.2);
}

.page-content .entry-content p {
    margin-bottom: var(--space-4);
    line-height: 1.7;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .playlists-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .page-hero .hero-title {
        font-size: var(--text-4xl);
    }
    
    .coming-soon {
        padding: var(--space-12) var(--space-5);
    }
    
    .coming-soon-icon,
    .coming-soon .coming-soon-icon {
        font-size: 3.5rem;
    }
}