@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:wght@400;700&family=Orbitron:wght@400;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier Prime', monospace;
    background: linear-gradient(45deg, #00ff88, #00ccff);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* 90s Pattern Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(0,0,0,0.1) 2px, rgba(0,0,0,0.1) 4px),
        repeating-linear-gradient(-45deg, transparent, transparent 2px, rgba(255,255,255,0.05) 2px, rgba(255,255,255,0.05) 4px);
    pointer-events: none;
    z-index: 0;
}

/* Header */
.header {
    position: relative;
    z-index: 10;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid #000;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 30px;
    width: auto;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

.nav-btn {
    padding: 10px 20px;
    border: 2px solid #000;
    background: #fff;
    color: #000;
    font-family: 'Courier Prime', monospace;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.nav-btn:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 4px 4px 0px rgba(0,0,0,0.3);
}

/* Navigation Active State */
.nav-btn.active {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 4px 4px 0px rgba(0,0,0,0.3);
}

/* Main Container */
.container {
    position: relative;
    z-index: 5;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Hero Section */
.hero {
    text-align: center;
    background: rgba(255,255,255,0.95);
    border: 4px solid #000;
    padding: 60px 40px;
    margin-bottom: 40px;
    position: relative;
    box-shadow: 10px 10px 0px rgba(0,0,0,0.2);
}

.hero h1 {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 900;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-shadow: 3px 3px 0px rgba(0,255,136,0.5);
}

.hero .subtitle {
    font-size: 1.2rem;
    color: #333;
    font-weight: bold;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* About Hero Section */
.about-hero, .contact-hero {
    text-align: center;
    background: rgba(255,255,255,0.95);
    border: 4px solid #000;
    padding: 60px 40px;
    margin-bottom: 40px;
    position: relative;
    box-shadow: 10px 10px 0px rgba(0,0,0,0.2);
}

.about-hero h1, .contact-hero h1 {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 900;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-shadow: 3px 3px 0px rgba(0,255,136,0.5);
}

.about-hero .subtitle, .contact-hero .subtitle {
    font-size: 1.2rem;
    color: #333;
    font-weight: bold;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    animation: float 3s ease-in-out infinite;
}

.triangle {
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 45px solid #00ccff;
}

.triangle.top-right {
    top: 20px;
    right: 30px;
    animation-delay: 0s;
}

.square {
    width: 40px;
    height: 40px;
    background: #ff6b6b;
    transform: rotate(45deg);
}

.square.top-left {
    top: 40px;
    left: 50px;
    animation-delay: 1s;
}

.circle {
    width: 35px;
    height: 35px;
    background: #ffd93d;
    border-radius: 50%;
}

.circle.bottom-right {
    bottom: 30px;
    right: 80px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Content Section */
.content {
    background: rgba(255,255,255,0.9);
    border: 3px solid #000;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.15);
}

.content h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    color: #000;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 3px solid #00ff88;
    padding-bottom: 10px;
}

.content p {
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #333;
}
/* Presentation Section Styles - Add these to your existing styles.css */

.presentation-section {
    background: #1a1a2e;
    padding: 60px 20px;
    margin: 40px 0;
    border: 4px solid #00ff41;
    border-style: dashed;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 0 20px #00ff41,
        inset 0 0 20px rgba(0, 255, 65, 0.1);
    animation: retro-glow 2s ease-in-out infinite alternate;
}

@keyframes retro-glow {
    from {
        box-shadow: 
            0 0 20px #00ff41,
            inset 0 0 20px rgba(0, 255, 65, 0.1);
    }
    to {
        box-shadow: 
            0 0 30px #00ff41,
            inset 0 0 30px rgba(0, 255, 65, 0.2);
    }
}

.presentation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, transparent 98%, #00ff41 100%),
        linear-gradient(0deg, transparent 98%, #00ff41 100%);
    background-size: 20px 20px;
    opacity: 0.1;
    pointer-events: none;
    animation: scan-lines 0.1s linear infinite;
}

@keyframes scan-lines {
    0% { transform: translateY(0px); }
    100% { transform: translateY(20px); }
}

.presentation-title {
    color: #00ff41;
    font-family: 'Courier New', monospace;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 
        0 0 10px #00ff41,
        0 0 20px #00ff41,
        0 0 30px #00ff41;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: text-flicker 3s ease-in-out infinite alternate;
}

@keyframes text-flicker {
    0%, 18%, 22%, 25%, 53%, 57%, 100% {
        text-shadow: 
            0 0 10px #00ff41,
            0 0 20px #00ff41,
            0 0 30px #00ff41;
    }
    20%, 24%, 55% {
        text-shadow: none;
    }
}

.presentation-subtitle {
    color: #ff6b35;
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 5px #ff6b35;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slides-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    background: #0f0f23;
    padding: 20px;
    border: 2px solid #ff6b35;
    border-style: solid;
    box-shadow: 
        0 0 15px #ff6b35,
        inset 0 0 15px rgba(255, 107, 53, 0.1);
}

.slides-iframe {
    width: 100%;
    height: 600px;
    border: 2px solid #00ff41;
    background: #000;
    filter: contrast(1.1) brightness(0.9);
}

/* Retro Terminal Effect */
.presentation-section::after {
    content: '> LOADING PRESENTATION... _';
    position: absolute;
    top: 20px;
    left: 20px;
    color: #00ff41;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    z-index: 2;
    animation: terminal-blink 1s step-end infinite;
}

@keyframes terminal-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Responsive Design for Presentation Section */
@media (max-width: 768px) {
    .presentation-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .slides-iframe {
        height: 400px;
    }
    
    .presentation-section {
        padding: 40px 15px;
        margin: 20px 0;
    }
    
    .presentation-section::after {
        font-size: 0.7rem;
        top: 15px;
        left: 15px;
    }
}

@media (max-width: 480px) {
    .slides-iframe {
        height: 300px;
    }
    
    .presentation-title {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    
    .presentation-subtitle {
        font-size: 1rem;
    }
}
/* About Section */
.about-section {
    background: rgba(255,255,255,0.95);
    border: 4px solid #000;
    padding: 50px 40px;
    margin-bottom: 40px;
    position: relative;
    box-shadow: 10px 10px 0px rgba(0,0,0,0.2);
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: repeating-conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(0,255,136,0.05) 10deg,
        transparent 20deg
    );
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-text h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 0px rgba(0,255,136,0.3);
    border-bottom: 4px solid #00ff88;
    padding-bottom: 15px;
}

.about-description p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #333;
    position: relative;
}

.about-description p:first-child::before {
    content: '>';
    color: #00ff88;
    font-weight: bold;
    margin-right: 10px;
    font-family: 'Courier Prime', monospace;
}

.about-description p:last-child::before {
    content: '>';
    color: #00ccff;
    font-weight: bold;
    margin-right: 10px;
    font-family: 'Courier Prime', monospace;
}

.about-icons {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.icon-container {
    background: linear-gradient(45deg, #fff, #f0f0f0);
    border: 3px solid #000;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 5px 5px 0px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.icon-container:hover {
    transform: translateY(-5px) rotate(2deg);
    box-shadow: 8px 8px 0px rgba(0,0,0,0.3);
}

.icon-container:nth-child(1) { border-color: #ff6b6b; }
.icon-container:nth-child(2) { border-color: #ffd93d; }
.icon-container:nth-child(3) { border-color: #4ecdc4; }

.about-icon {
    width: 260px;
    height: auto;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
    transition: all 0.3s ease;
}

.icon-container:hover .about-icon {
    transform: scale(1.1);
}

/* Vision Section */
.vision-section {
    background: rgba(255,255,255,0.9);
    border: 3px solid #000;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.15);
}

.vision-section h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    color: #000;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 3px solid #00ccff;
    padding-bottom: 10px;
    text-align: center;
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.vision-card {
    background: rgba(255,255,255,0.9);
    border: 3px solid #000;
    padding: 30px;
    text-align: center;
    position: relative;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 12px 12px 0px rgba(0,0,0,0.2);
}

.vision-card:nth-child(1) {
    border-color: #ff6b6b;
    box-shadow: 8px 8px 0px rgba(255,107,107,0.3);
}

.vision-card:nth-child(2) {
    border-color: #4ecdc4;
    box-shadow: 8px 8px 0px rgba(78,205,196,0.3);
}

.vision-card:nth-child(3) {
    border-color: #ffd93d;
    box-shadow: 8px 8px 0px rgba(255,217,61,0.3);
}

.vision-card .card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: drop-shadow(3px 3px 0px rgba(0,0,0,0.2));
}

.vision-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    color: #000;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vision-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #ffd93d);
    border: 4px solid #000;
    padding: 50px 40px;
    margin-bottom: 40px;
    position: relative;
    box-shadow: 10px 10px 0px rgba(0,0,0,0.2);
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 20px,
        rgba(0,0,0,0.05) 20px,
        rgba(0,0,0,0.05) 40px
    );
    animation: slideX 6s linear infinite;
    pointer-events: none;
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.contact-header h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-shadow: 3px 3px 0px rgba(255,255,255,0.5);
    animation: pulse 2s ease-in-out infinite;
}

.contact-intro {
    font-size: 1.3rem;
    font-weight: bold;
    color: #000;
    background: rgba(255,255,255,0.8);
    padding: 15px 30px;
    border: 2px solid #000;
    border-radius: 25px;
    display: inline-block;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.2);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.contact-card {
    background: rgba(255,255,255,0.95);
    border: 4px solid #000;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    border-radius: 20px;
}

.contact-card:hover {
    transform: translateY(-8px) rotate(-1deg);
    box-shadow: 12px 12px 0px rgba(0,0,0,0.3);
}

.email-card {
    border-color: #ff6b6b;
    background: linear-gradient(45deg, rgba(255,107,107,0.1), rgba(255,255,255,0.95));
}

.github-card {
    border-color: #4ecdc4;
    background: linear-gradient(45deg, rgba(78,205,196,0.1), rgba(255,255,255,0.95));
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: drop-shadow(3px 3px 0px rgba(0,0,0,0.2));
    animation: bounce 2s ease-in-out infinite;
}

.contact-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    color: #000;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-link {
    color: #000;
    font-family: 'Courier Prime', monospace;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    border: 2px solid #000;
    padding: 12px 20px;
    display: inline-block;
    background: #fff;
    transition: all 0.3s ease;
    border-radius: 8px;
    word-break: break-all;
}

.contact-link:hover {
    background: #000;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 4px 4px 0px rgba(0,0,0,0.3);
}

.contact-description {
    font-size: 0.9rem;
    color: #666;
    margin-top: 15px;
    line-height: 1.5;
}

/* Quick Contact Form */
.quick-contact {
    background: rgba(255,255,255,0.9);
    border: 3px solid #000;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.quick-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #ffd93d);
    animation: slideX 3s linear infinite;
}

.quick-contact h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    color: #000;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}

.quick-contact > p {
    text-align: center;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 30px;
}

.contact-form-container {
    max-width: 500px;
    margin: 0 auto;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-label {
    display: block;
    font-family: 'Courier Prime', monospace;
    font-weight: bold;
    font-size: 1.1rem;
    color: #000;
    margin-bottom: 10px;
}

.contact-input, .contact-textarea {
    width: 100%;
    padding: 15px;
    border: 3px solid #000;
    background: #fff;
    font-family: 'Courier Prime', monospace;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-input:focus, .contact-textarea:focus {
    outline: none;
    border-color: #00ff88;
    box-shadow: 0 0 10px rgba(0,255,136,0.3);
}

.contact-textarea {
    height: 120px;
    resize: vertical;
}

.contact-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    border: 3px solid #000;
    color: #000;
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 5px 5px 0px rgba(0,0,0,0.2);
}

.contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 7px 7px 0px rgba(0,0,0,0.3);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.feature-card {
    background: rgba(255,255,255,0.9);
    border: 3px solid #000;
    padding: 30px;
    text-align: center;
    position: relative;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 12px 12px 0px rgba(0,0,0,0.2);
}

.feature-card:nth-child(1) {
    border-color: #ff6b6b;
    box-shadow: 8px 8px 0px rgba(255,107,107,0.3);
}

.feature-card:nth-child(2) {
    border-color: #4ecdc4;
    box-shadow: 8px 8px 0px rgba(78,205,196,0.3);
}

.feature-card:nth-child(3) {
    border-color: #ffd93d;
    box-shadow: 8px 8px 0px rgba(255,217,61,0.3);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: drop-shadow(3px 3px 0px rgba(0,0,0,0.2));
}

.feature-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    color: #000;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    border: 4px solid #000;
    padding: 40px;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 10px 10px 0px rgba(0,0,0,0.2);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 15px,
        rgba(255,255,255,0.1) 15px,
        rgba(255,255,255,0.1) 30px
    );
    animation: slide 4s linear infinite;
}

.cta-section h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.2rem;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 0px rgba(255,255,255,0.5);
}

.cta-section p {
    font-size: 1.3rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.cta-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    border: 3px solid #000;
    text-decoration: none;
    display: inline-block;
}

.cta-btn:hover {
    background: #fff;
    color: #000;
    transform: scale(1.05);
    box-shadow: 5px 5px 0px rgba(0,0,0,0.3);
}

@keyframes slide {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes slideX {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Glitch Effect for Title */
.glitch {
    animation: glitch 2s infinite;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    10% { transform: translate(-2px, -1px); }
    20% { transform: translate(2px, 1px); }
    30% { transform: translate(-1px, 2px); }
    40% { transform: translate(1px, -1px); }
    50% { transform: translate(-2px, 2px); }
    60% { transform: translate(2px, -2px); }
    70% { transform: translate(-1px, 1px); }
    80% { transform: translate(1px, -2px); }
    90% { transform: translate(-2px, 1px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1, .about-hero h1, .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .subtitle, .about-hero .subtitle, .contact-hero .subtitle {
        font-size: 1rem;
    }
    
    .hero, .content, .about-section, .contact-section, .about-hero, .contact-hero, .vision-section, .quick-contact {
        padding: 30px 20px;
    }
    
    .container {
        padding: 20px 10px;
    }
    
    .nav-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .header {
        flex-direction: column;
        gap: 20px;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .floating-element {
        display: none;
    }
    
    /* About Section Mobile */
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .about-icons {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }
    
    .about-icon {
        width: 50px;
        height: 50px;
    }
    
    /* Contact Section Mobile */
    .contact-header h2 {
        font-size: 2rem;
    }
    
    .contact-intro {
        font-size: 1.1rem;
        padding: 12px 20px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-link {
        font-size: 1rem;
        padding: 10px 15px;
    }
    
    /* Vision and Quick Contact Mobile */
    .vision-grid {
        grid-template-columns: 1fr;
    }
    
    .vision-section h2, .quick-contact h2 {
        font-size: 1.8rem;
    }
}
/* Additional styles for contact form - Add these to your existing styles.css file */

/* Form feedback messages */
.form-success {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
    display: none;
    box-shadow: 0 4px 20px rgba(74, 222, 128, 0.3);
    animation: slideIn 0.5s ease-out;
}

.form-error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
    display: none;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.3);
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Submit button states */
.contact-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !welcome;
}

.contact-submit:disabled:hover {
    transform: none !important;
}

/* Loading spinner */
.loading {
    position: relative;
    padding-right: 40px !important;
}

.loading::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

/* Enhanced form interactions */
.contact-item:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

.contact-input:focus,
.contact-textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1);
    border-color: #9333ea;
}

/* Form validation styles */
.contact-input:valid {
    border-color: #22c55e;
}

.contact-input:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
}

.contact-textarea:valid {
    border-color: #22c55e;
}

.contact-textarea:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
}

/* Mobile responsiveness for form messages */
@media (max-width: 768px) {
    .form-success,
    .form-error {
        padding: 0.8rem;
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .loading::after {
        right: 10px;
        width: 14px;
        height: 14px;
    }
}
.community-hero {
    text-align: center;
    background: rgba(255,255,255,0.95);
    border: 4px solid #000;
    padding: 60px 40px;
    margin-bottom: 40px;
    position: relative;
    box-shadow: 10px 10px 0px rgba(0,0,0,0.2);
}

.community-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 15px,
        rgba(255,255,255,0.1) 15px,
        rgba(255,255,255,0.1) 30px
    );
    animation: slide 6s linear infinite;
    pointer-events: none;
}

.community-hero h1 {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 900;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-shadow: 3px 3px 0px rgba(0,255,136,0.5);
}

.community-hero p {
    font-size: 1.2rem;
    color: #333;
    font-weight: bold;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.community-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    position: relative;
    z-index: 2;
}
.community-hero .floating-element {
    position: absolute;
    animation: float 3s ease-in-out infinite;
}

.community-hero .triangle {
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 45px solid #00ccff;
}

.community-hero .triangle.top-right {
    top: 20px;
    right: 30px;
    animation-delay: 0s;
}

.community-hero .square {
    width: 40px;
    height: 40px;
    background: #ff6b6b;
    transform: rotate(45deg);
}

.community-hero .square.top-left {
    top: 40px;
    left: 50px;
    animation-delay: 1s;
}

.community-hero .circle {
    width: 35px;
    height: 35px;
    background: #ffd93d;
    border-radius: 50%;
}

.community-hero .circle.bottom-right {
    bottom: 30px;
    right: 80px;
    animation-delay: 2s;
}
.stat-item {
    text-align: center;
    background: rgba(255,255,255,0.9);
    padding: 15px 25px;
    border: 3px solid #000;
    border-radius: 15px;
    box-shadow: 5px 5px 0px rgba(0,0,0,0.2);
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: bold;
    color: #000;
}

.stat-label {
    font-family: 'Courier Prime', monospace;
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
}

.community-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 15px 25px;
    border: 3px solid #000;
    background: #fff;
    color: #000;
    font-family: 'Courier Prime', monospace;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    border-radius: 8px;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.2);
}

.tab-btn:hover, .tab-btn.active {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 6px 6px 0px rgba(0,0,0,0.3);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Forum Section */
.forum-section {
    background: rgba(255,255,255,0.95);
    border: 4px solid #000;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.15);
    border-radius: 15px;
}

.forum-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.category-card {
    background: linear-gradient(135deg, #fff, #f8f9fa);
    border: 3px solid #000;
    padding: 25px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 0px rgba(0,0,0,0.2);
}

.category-card:nth-child(1) { border-color: #ff6b6b; }
.category-card:nth-child(2) { border-color: #4ecdc4; }
.category-card:nth-child(3) { border-color: #ffd93d; }
.category-card:nth-child(4) { border-color: #9b59b6; }

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.category-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    color: #000;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-desc {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.category-stats {
    display: flex;
    justify-content: space-between;
    font-family: 'Courier Prime', monospace;
    font-size: 0.8rem;
    color: #888;
}

.recent-posts {
    background: rgba(248,249,250,0.8);
    border: 2px solid #ddd;
    padding: 20px;
    border-radius: 10px;
}

.recent-posts h3 {
    font-family: 'Orbitron', monospace;
    color: #000;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #fff;
    border: 2px solid #eee;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.post-item:hover {
    border-color: #00ff88;
    transform: translateX(5px);
}

.post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
}

.post-content h4 {
    margin: 0 0 5px 0;
    color: #000;
    font-size: 0.9rem;
}

.post-meta {
    font-size: 0.8rem;
    color: #666;
}

/* Chat Integration Section */
.chat-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 4px solid #000;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.15);
    border-radius: 15px;
    color: white;
    position: relative;
    overflow: hidden;
}

.chat-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: repeating-conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(255,255,255,0.05) 10deg,
        transparent 20deg
    );
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

.chat-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    position: relative;
    z-index: 2;
}

.chat-option {
    background: rgba(255,255,255,0.1);
    border: 3px solid rgba(255,255,255,0.3);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.chat-option:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.5);
}

.chat-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.chat-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.chat-desc {
    margin-bottom: 20px;
    line-height: 1.6;
}

.chat-link {
    background: #fff;
    color: #667eea;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
}

.chat-link:hover {
    background: #f0f0f0;
    transform: scale(1.05);
}

/* Discussion Board Section */
.discussion-section {
    background: rgba(255,255,255,0.95);
    border: 4px solid #000;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.15);
    border-radius: 15px;
}

.post-form {
    background: rgba(248,249,250,0.5);
    padding: 30px;
    border: 2px solid #ddd;
    border-radius: 12px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-family: 'Courier Prime', monospace;
    font-weight: bold;
    margin-bottom: 8px;
    color: #000;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: 'Courier Prime', monospace;
    transition: all 0.3s ease;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: #00ff88;
    box-shadow: 0 0 10px rgba(0,255,136,0.2);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(45deg, #00ff88, #00ccff);
    border: 3px solid #000;
    color: #000;
    padding: 12px 25px;
    font-family: 'Orbitron', monospace;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 5px 5px 0px rgba(0,0,0,0.2);
}

.discussion-threads {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.thread-item {
    background: #fff;
    border: 2px solid #eee;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.thread-item:hover {
    border-color: #00ff88;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.thread-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.thread-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(45deg, #4ecdc4, #ffd93d);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 0.9rem;
}

.thread-info h4 {
    margin: 0 0 5px 0;
    color: #000;
}

.thread-meta {
    font-size: 0.8rem;
    color: #666;
}

.thread-content {
    margin-left: 50px;
    color: #333;
    line-height: 1.6;
}

.welcome-message {
    background: rgba(255,255,255,0.9);
    border: 3px solid #000;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.15);
}

.welcome-message h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    color: #000;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 3px solid #00ff88;
    padding-bottom: 10px;
}

.welcome-message p {
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #333;
}

/* Community rules section */
.community-rules {
    background: rgba(255,255,255,0.9);
    border: 3px solid #000;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.15);
}

.community-rules h3 {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    color: #000;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 3px solid #00ccff;
    padding-bottom: 10px;
}

.rules-list li {
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #333;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 25px;
}

.rules-list {
    list-style: none;
    padding: 0;
}

.rules-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4ecdc4;
    font-weight: bold;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .community-hero h1 {
        font-size: 2rem;
    }

    .community-stats {
        flex-direction: column;
        gap: 15px;
    }

    .community-tabs {
        flex-direction: column;
        align-items: center;
    }

    .tab-btn {
        width: 200px;
    }

    .forum-categories {
        grid-template-columns: 1fr;
    }

    .chat-options {
        grid-template-columns: 1fr;
    }
}
/* Import Retro Fonts */
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono:wght@400&family=Orbitron:wght@400;700;900&display=swap');

/* CSS Variables for Retro Theme */
:root {
    --primary-green: #00ff00;
    --dark-green: #00cc00;
    --bright-green: #39ff14;
    --background-black: #000000;
    --dark-gray: #111111;
    --medium-gray: #222222;
    --light-gray: #333333;
    --white: #ffffff;
    --amber: #ffb000;
    --red: #ff0040;
    --blue: #0080ff;
    
    /* Terminal scanlines effect */
    --scanline-color: rgba(0, 255, 0, 0.05);
    
    /* Font families */
    --mono-font: 'Share Tech Mono', 'Courier New', monospace;
    --display-font: 'Orbitron', 'Arial', sans-serif;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--mono-font);
    background-color: var(--background-black);
    color: var(--primary-green);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* CRT Screen Effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 50%, var(--scanline-color) 50%),
        linear-gradient(var(--scanline-color) 50%, transparent 50%);
    background-size: 4px 4px;
    pointer-events: none;
    z-index: 1000;
    animation: scanlines 0.1s linear infinite;
}

@keyframes scanlines {
    0% { transform: translateY(0); }
    100% { transform: translateY(4px); }
}

/* Terminal Header */
.terminal-header {
    background: var(--dark-gray);
    border-bottom: 2px solid var(--primary-green);
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 0 20px var(--primary-green);
}

.window-controls {
    display: flex;
    gap: 0.5rem;
}

.control-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

.control-button.close { background: var(--red); }
.control-button.minimize { background: var(--amber); }
.control-button.maximize { background: var(--primary-green); }

.terminal-title {
    font-family: var(--display-font);
    font-weight: 700;
    font-size: 1.1rem;
    text-shadow: 0 0 10px var(--primary-green);
}

.terminal-menu {
    display: flex;
    gap: 1.5rem;
}

.menu-item {
    color: var(--primary-green);
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.menu-item:hover,
.menu-item.active {
    border-color: var(--primary-green);
    background: rgba(0, 255, 0, 0.1);
    box-shadow: 0 0 10px var(--primary-green);
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: calc(100vh - 120px);
}

/* Screen Management */
.screen {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.screen.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Welcome Screen */
#welcome-screen {
    text-align: center;
    padding: 2rem 0;
}

.ascii-art {
    margin-bottom: 2rem;
}

.ascii-art pre {
    font-size: 0.7rem;
    color: var(--bright-green);
    text-shadow: 0 0 5px var(--primary-green);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 5px var(--primary-green); }
    to { text-shadow: 0 0 20px var(--primary-green), 0 0 30px var(--primary-green); }
}

.welcome-text {
    margin-bottom: 2rem;
}

.typewriter {
    font-size: 1.1rem;
    margin: 0.5rem 0;
    opacity: 0;
    animation: typewriter 0.8s ease-in forwards;
}

@keyframes typewriter {
    to { opacity: 1; }
}

.command-prompt {
    margin: 2rem 0;
    font-size: 1.2rem;
}

.prompt {
    color: var(--amber);
}

.cursor {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* CRT Button */
.crt-button {
    background: var(--background-black);
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    padding: 1rem 2rem;
    font-family: var(--mono-font);
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.crt-button:hover {
    background: rgba(0, 255, 0, 0.1);
    box-shadow: 
        0 0 20px var(--primary-green),
        inset 0 0 20px rgba(0, 255, 0, 0.1);
    transform: translateY(-2px);
}

.crt-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary-green), transparent);
    transition: left 0.5s ease;
}

.crt-button:hover::before {
    left: 100%;
}

/* GUIDES PAGE STYLES - Add to your existing styles.css */

/* Screen Management for Guides */
.screen {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.screen.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Loading Progress Bar */
.loading-progress {
    margin-top: 30px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: rgba(0,0,0,0.2);
    border: 3px solid #000;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(45deg, #00ff88, #00ccff);
    width: 0%;
    animation: progressLoad 3s ease-in-out forwards;
}

@keyframes progressLoad {
    0% { width: 0%; }
    100% { width: 100%; }
}

.loading-text {
    font-family: 'Courier Prime', monospace;
    font-weight: bold;
    color: #000;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Stats Bar */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    background: rgba(255,255,255,0.9);
    padding: 15px 25px;
    border: 3px solid #000;
    border-radius: 15px;
    box-shadow: 5px 5px 0px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 8px 8px 0px rgba(0,0,0,0.3);
}

.stat-item:nth-child(1) { border-color: #ff6b6b; }
.stat-item:nth-child(2) { border-color: #4ecdc4; }
.stat-item:nth-child(3) { border-color: #ffd93d; }

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: bold;
    color: #000;
    display: block;
}

.stat-label {
    font-family: 'Courier Prime', monospace;
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Guides Section */
.guides-section {
    background: rgba(255,255,255,0.9);
    border: 3px solid #000;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.guides-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #ffd93d);
    animation: slideX 3s linear infinite;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.guide-card {
    background: linear-gradient(135deg, #fff, #f8f9fa);
    border: 3px solid #000;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 5px 5px 0px rgba(0,0,0,0.15);
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 10px 10px 0px rgba(0,0,0,0.2);
    border-color: #00ff88;
}

.guide-card:nth-child(odd) {
    border-color: #ff6b6b;
}

.guide-card:nth-child(even) {
    border-color: #4ecdc4;
}

.guide-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color, #ff6b6b), transparent);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.guide-card:hover::before {
    transform: translateX(100%);
}

.guide-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.guide-name {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    color: #000;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex: 1;
}

.guide-type {
    background: #000;
    color: #fff;
    padding: 5px 10px;
    font-family: 'Courier Prime', monospace;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 4px;
}

.guide-description {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.guide-info {
    display: flex;
    justify-content: space-between;
    font-family: 'Courier Prime', monospace;
    font-size: 0.9rem;
    color: #888;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.guide-size, .guide-date {
    color: #666;
}

/* Loading States */
.loading {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255,255,255,0.9);
    border: 3px solid #000;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.15);
    margin-bottom: 30px;
}

.spinner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.retro-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(0,0,0,0.1);
    border-left: 4px solid #00ff88;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading p {
    font-family: 'Courier Prime', monospace;
    font-weight: bold;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

/* Error States */
.error-section {
    text-align: center;
    padding: 40px;
    background: rgba(255,255,255,0.9);
    border: 3px solid #000;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.15);
    margin-bottom: 30px;
}

.error-box {
    max-width: 400px;
    margin: 0 auto;
}

.error-box h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    color: #ff6b6b;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.error-box p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Load More Container */
.load-more-container {
    text-align: center;
    margin: 30px 0;
}

.load-more-btn {
    background: linear-gradient(45deg, #4ecdc4, #ffd93d);
    border: 3px solid #000;
    color: #000;
    padding: 15px 30px;
    font-family: 'Orbitron', monospace;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 5px 5px 0px rgba(0,0,0,0.2);
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 8px 8px 0px rgba(0,0,0,0.3);
}

/* Guide Viewer Styles */
.viewer-header-section {
    background: rgba(255,255,255,0.9);
    border: 3px solid #000;
    padding: 30px 40px;
    margin-bottom: 30px;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.15);
    position: relative;
}

.viewer-header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #00ff88, #00ccff);
    animation: slideX 4s linear infinite;
}

.back-navigation {
    margin-bottom: 20px;
}

.back-button {
    background: #fff !important;
    color: #000 !important;
    border: 2px solid #000 !important;
    padding: 10px 20px;
    font-family: 'Courier Prime', monospace;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.back-button:hover {
    background: #000 !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 4px 4px 0px rgba(0,0,0,0.3);
}

.guide-title-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.guide-main-title {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    color: #000;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 0px rgba(0,255,136,0.3);
    flex: 1;
}

.guide-metadata {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.meta-item {
    background: rgba(0,0,0,0.1);
    padding: 8px 15px;
    border: 2px solid #000;
    border-radius: 20px;
    font-family: 'Courier Prime', monospace;
    font-size: 0.9rem;
    font-weight: bold;
    color: #666;
}

/* Guide Content Section */
.guide-content-section {
    background: rgba(255,255,255,0.95);
    border: 3px solid #000;
    padding: 0;
    margin-bottom: 30px;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.15);
    overflow: hidden;
}

.guide-content {
    padding: 40px;
    line-height: 1.8;
    font-family: 'Courier Prime', monospace;
}

/* Guide Content Typography */
.guide-content h1 {
    font-family: 'Orbitron', monospace;
    color: #000;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #00ff88;
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.guide-content h2 {
    font-family: 'Orbitron', monospace;
    color: #000;
    font-size: 1.6rem;
    margin: 2.5rem 0 1rem 0;
    position: relative;
    text-transform: uppercase;
}

.guide-content h2::before {
    content: '▶';
    color: #ff6b6b;
    margin-right: 10px;
    font-size: 1.2rem;
}

.guide-content h3 {
    font-family: 'Orbitron', monospace;
    color: #4ecdc4;
    font-size: 1.3rem;
    margin: 2rem 0 0.8rem 0;
    text-transform: uppercase;
}

.guide-content p {
    color: #333;
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.guide-content ul,
.guide-content ol {
    margin-left: 2rem;
    margin-bottom: 1.2rem;
}

.guide-content li {
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.guide-content code {
    background: #f8f9fa;
    color: #e83e8c;
    padding: 0.2rem 0.4rem;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-family: 'Courier Prime', monospace;
    font-size: 0.9rem;
}

.guide-content pre {
    background: #f8f9fa;
    border: 2px solid #000;
    padding: 20px;
    overflow-x: auto;
    margin: 1.5rem 0;
    border-radius: 8px;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.1);
}

.guide-content pre code {
    background: none;
    border: none;
    padding: 0;
    color: #333;
    font-size: 0.9rem;
}

.guide-content blockquote {
    border-left: 4px solid #00ff88;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: rgba(0,255,136,0.05);
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.guide-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    border: 2px solid #000;
}

.guide-content th,
.guide-content td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.guide-content th {
    background: #f8f9fa;
    color: #000;
    font-family: 'Orbitron', monospace;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Content Loading State */
.content-loading {
    text-align: center;
    padding: 60px 20px;
}

.content-loading p {
    font-family: 'Courier Prime', monospace;
    font-weight: bold;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 20px;
}

/* Mobile Responsive for Guides */
@media (max-width: 768px) {
    .stats-bar {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .guides-grid {
        grid-template-columns: 1fr;
    }
    
    .guides-section {
        padding: 20px;
    }
    
    .guide-title-section {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .guide-main-title {
        font-size: 1.5rem;
    }
    
    .guide-content {
        padding: 20px;
    }
    
    .guide-content h1 {
        font-size: 1.8rem;
    }
    
    .guide-content h2 {
        font-size: 1.4rem;
    }
    
    .viewer-header-section {
        padding: 20px;
    }
    
    .guide-metadata {
        justify-content: flex-start;
    }
}
/* TEMPLATES PAGE STYLES - Add these to your existing styles.css */

/* Category Tabs Section */
.category-tabs-section {
    background: rgba(255,255,255,0.9);
    border: 3px solid #000;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.category-tabs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #ffd93d, #9b59b6);
    animation: slideX 4s linear infinite;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.category-tab {
    padding: 12px 25px;
    border: 3px solid #000;
    background: #fff;
    color: #000;
    font-family: 'Courier Prime', monospace;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border-radius: 8px;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.category-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,255,136,0.3), transparent);
    transition: left 0.3s ease;
}

.category-tab:hover::before,
.category-tab.active::before {
    left: 100%;
}

.category-tab:hover, 
.category-tab.active {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 6px 6px 0px rgba(0,0,0,0.3);
}

.category-tab:nth-child(1) { border-color: #ff6b6b; }
.category-tab:nth-child(2) { border-color: #4ecdc4; }
.category-tab:nth-child(3) { border-color: #ffd93d; }
.category-tab:nth-child(4) { border-color: #9b59b6; }

/* Templates Section */
.templates-section {
    background: rgba(255,255,255,0.9);
    border: 3px solid #000;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.templates-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #9b59b6, #ff6b6b, #4ecdc4, #ffd93d);
    animation: slideX 3s linear infinite;
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.template-card {
    background: linear-gradient(135deg, #fff, #f8f9fa);
    border: 4px solid #000;
    padding: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 6px 6px 0px rgba(0,0,0,0.15);
    border-radius: 12px;
}

.template-card:hover {
    transform: translateY(-8px) rotate(-1deg);
    box-shadow: 12px 12px 0px rgba(0,0,0,0.25);
}

/* Template Card Categories */
.template-card[data-category="webpage"] {
    border-color: #4ecdc4;
    background: linear-gradient(135deg, rgba(78,205,196,0.1), #fff);
}

.template-card[data-category="ai-apps"] {
    border-color: #ffd93d;
    background: linear-gradient(135deg, rgba(255,217,61,0.1), #fff);
}

.template-card[data-category="agentic-apps"] {
    border-color: #9b59b6;
    background: linear-gradient(135deg, rgba(155,89,182,0.1), #fff);
}

.template-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-color, #4ecdc4);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.template-card:hover::before {
    transform: scaleX(1);
}

.template-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 15px;
}

.template-name {
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem;
    color: #000;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex: 1;
    line-height: 1.3;
}

.template-category-badge {
    background: #000;
    color: #fff;
    padding: 6px 12px;
    font-family: 'Courier Prime', monospace;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.template-category-badge.webpage {
    background: #4ecdc4;
    color: #000;
}

.template-category-badge.ai-apps {
    background: #ffd93d;
    color: #000;
}

.template-category-badge.agentic-apps {
    background: #9b59b6;
    color: #fff;
}

.template-description {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-family: 'Courier Prime', monospace;
}

.template-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.feature-tag {
    background: rgba(0,0,0,0.1);
    color: #333;
    padding: 4px 8px;
    font-family: 'Courier Prime', monospace;
    font-size: 0.7rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(0,0,0,0.2);
}

.template-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Courier Prime', monospace;
    font-size: 0.85rem;
    color: #888;
    padding-top: 15px;
    border-top: 2px solid #eee;
}

.template-stats {
    display: flex;
    gap: 15px;
}

.stat-downloads, .stat-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
}

.template-actions-preview {
    display: flex;
    gap: 10px;
}

.quick-action-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 6px 12px;
    font-family: 'Courier Prime', monospace;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.quick-action-btn:hover {
    background: #333;
    transform: translateY(-2px);
}

/* Template Viewer Styles */
.viewer-header-section {
    background: rgba(255,255,255,0.9);
    border: 3px solid #000;
    padding: 30px 40px;
    margin-bottom: 30px;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.15);
    position: relative;
}

.viewer-header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #9b59b6, #ff6b6b, #4ecdc4, #ffd93d);
    animation: slideX 4s linear infinite;
}

.template-title-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.template-main-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.2rem;
    color: #000;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 0px rgba(155,89,182,0.3);
    flex: 1;
}

.template-metadata {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.meta-item {
    background: rgba(0,0,0,0.1);
    padding: 8px 15px;
    border: 2px solid #000;
    border-radius: 20px;
    font-family: 'Courier Prime', monospace;
    font-size: 0.9rem;
    font-weight: bold;
    color: #666;
}

/* Template Content Section */
.template-content-section {
    background: rgba(255,255,255,0.95);
    border: 3px solid #000;
    margin-bottom: 30px;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.15);
    overflow: hidden;
    border-radius: 12px;
}

.template-content {
    padding: 40px;
    line-height: 1.8;
    font-family: 'Courier Prime', monospace;
    min-height: 400px;
}

.template-actions {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 30px;
    border-top: 3px solid #000;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.action-btn {
    padding: 15px 30px;
    border: 3px solid #000;
    font-family: 'Orbitron', monospace;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.3s ease;
}

.action-btn:hover::before {
    left: 100%;
}

.preview-btn {
    background: linear-gradient(45deg, #4ecdc4, #45b7aa);
    color: #000;
    border-color: #4ecdc4;
}

.preview-btn:hover {
    background: #45b7aa;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(78,205,196,0.4);
}

.download-btn {
    background: linear-gradient(45deg, #ffd93d, #e6c200);
    color: #000;
    border-color: #ffd93d;
}

.download-btn:hover {
    background: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255,217,61,0.4);
}

.fork-btn {
    background: linear-gradient(45deg, #9b59b6, #8e44ad);
    color: #fff;
    border-color: #9b59b6;
}

.fork-btn:hover {
    background: #8e44ad;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(155,89,182,0.4);
}

/* Template Content Typography */
.template-content h1 {
    font-family: 'Orbitron', monospace;
    color: #000;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #9b59b6;
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.template-content h2 {
    font-family: 'Orbitron', monospace;
    color: #000;
    font-size: 1.6rem;
    margin: 2.5rem 0 1rem 0;
    position: relative;
    text-transform: uppercase;
}

.template-content h2::before {
    content: '▶';
    color: #9b59b6;
    margin-right: 10px;
    font-size: 1.2rem;
}

.template-content h3 {
    font-family: 'Orbitron', monospace;
    color: #4ecdc4;
    font-size: 1.3rem;
    margin: 2rem 0 0.8rem 0;
    text-transform: uppercase;
}

.template-content p {
    color: #333;
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.template-content ul,
.template-content ol {
    margin-left: 2rem;
    margin-bottom: 1.2rem;
}

.template-content li {
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.template-content code {
    background: #f8f9fa;
    color: #e83e8c;
    padding: 0.2rem 0.4rem;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-family: 'Courier Prime', monospace;
    font-size: 0.9rem;
}

.template-content pre {
    background: #f8f9fa;
    border: 2px solid #000;
    padding: 20px;
    overflow-x: auto;
    margin: 1.5rem 0;
    border-radius: 8px;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.1);
}

.template-content pre code {
    background: none;
    border: none;
    padding: 0;
    color: #333;
    font-size: 0.9rem;
}

/* Preview Modal Styles */
.preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
}

.preview-modal.active {
    display: flex;
}

.modal-content {
    background: #fff;
    width: 90%;
    height: 90%;
    border: 4px solid #000;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

.modal-header {
    background: #000;
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.close-modal {
    background: #ff6b6b;
    color: #fff;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
}

.modal-body {
    flex: 1;
    padding: 0;
}

.preview-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Mobile Responsive for Templates */
@media (max-width: 768px) {
    .category-tabs {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .category-tab {
        width: 200px;
        text-align: center;
    }
    
    .templates-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .templates-section {
        padding: 20px;
    }
    
    .template-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .template-name {
        font-size: 1.2rem;
    }
    
    .template-title-section {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .template-main-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .template-metadata {
        justify-content: flex-start;
    }
    
    .template-content {
        padding: 20px;
    }
    
    .template-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .action-btn {
        width: 100%;
    }
    
    .viewer-header-section {
        padding: 20px;
    }
    
    .modal-content {
        width: 95%;
        height: 95%;
    }
}
/* Additional styles for better error handling and loading states */

.error-message {
    background: rgba(255,107,107,0.1);
    border: 3px solid #ff6b6b;
    padding: 40px;
    text-align: center;
    border-radius: 12px;
    margin: 20px 0;
}

.error-message h3 {
    font-family: 'Orbitron', monospace;
    color: #ff6b6b;
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.error-message p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Enhanced code highlighting styles */
.guide-content pre {
    position: relative;
    overflow-x: auto;
    margin: 1.5rem 0;
    border-radius: 8px;
}

.guide-content pre code {
    display: block;
    padding: 1.5rem;
    line-height: 1.5;
    font-size: 0.9rem;
    font-family: 'Courier Prime', monospace;
}

/* Syntax highlighting improvements */
.hljs {
    background: #2d3748 !important;
    color: #e2e8f0 !important;
}

.hljs-keyword,
.hljs-selector-tag,
.hljs-title,
.hljs-section,
.hljs-doctag,
.hljs-name,
.hljs-strong {
    color: #81c784 !important;
}

.hljs-string,
.hljs-attr,
.hljs-symbol,
.hljs-bullet,
.hljs-addition {
    color: #ffb74d !important;
}

.hljs-comment,
.hljs-quote,
.hljs-deletion {
    color: #90a4ae !important;
    font-style: italic;
}

.hljs-number,
.hljs-regexp,
.hljs-literal,
.hljs-type {
    color: #f48fb1 !important;
}

.hljs-function,
.hljs-class,
.hljs-title.class_ {
    color: #64b5f6 !important;
}

/* Better responsive handling for guides */
@media (max-width: 768px) {
    .guide-content pre {
        margin-left: -20px;
        margin-right: -20px;
        border-radius: 0;
    }
    
    .guide-content pre code {
        padding: 1rem;
        font-size: 0.8rem;
    }
    
    .error-message {
        padding: 20px;
        margin: 10px 0;
    }
    
    .error-message h3 {
        font-size: 1.2rem;
    }
}

/* Loading animation improvements */
.content-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    gap: 20px;
}

.retro-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(0,0,0,0.1);
    border-left: 4px solid #00ff88;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Table styling for guides */
.guide-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    border: 2px solid #000;
    background: rgba(255,255,255,0.9);
}

.guide-content th,
.guide-content td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
}

.guide-content th {
    background: #f8f9fa;
    color: #000;
    font-family: 'Orbitron', monospace;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.guide-content td {
    color: #333;
    line-height: 1.6;
}

/* Blockquote styling */
.guide-content blockquote {
    border-left: 4px solid #00ff88;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: rgba(0,255,136,0.05);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    position: relative;
}

.guide-content blockquote p {
    margin: 0;
    color: #555;
}

.guide-content blockquote::before {
    content: '"';
    font-size: 3rem;
    color: #00ff88;
    position: absolute;
    top: -10px;
    left: 10px;
    font-family: Georgia, serif;
}

/* Link styling in guide content */
.guide-content a {
    color: #4ecdc4;
    text-decoration: none;
    border-bottom: 1px dashed #4ecdc4;
    transition: all 0.3s ease;
}

.guide-content a:hover {
    color: #00ff88;
    border-bottom-color: #00ff88;
    background: rgba(0,255,136,0.1);
    padding: 2px 4px;
    border-radius: 3px;
}

/* Inline code styling */
.guide-content p code,
.guide-content li code {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #e83e8c;
    padding: 0.2rem 0.4rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Courier Prime', monospace;
    font-size: 0.9rem;
    font-weight: bold;
}

/* List styling improvements */
.guide-content ul,
.guide-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.guide-content li {
    color: #333;
    margin-bottom: 0.8rem;
    line-height: 1.7;
    position: relative;
}

.guide-content ul li::before {
    content: '▶';
    color: #00ff88;
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
    top: 0;
}

.guide-content ol li {
    counter-increment: item;
}

.guide-content ol {
    counter-reset: item;
}

.guide-content ol li::before {
    content: counter(item) '.';
    color: #4ecdc4;
    font-weight: bold;
    position: absolute;
    left: -2rem;
    top: 0;
    font-family: 'Orbitron', monospace;
}

/* Image styling in guides */
.guide-content img {
    max-width: 100%;
    height: auto;
    border: 3px solid #000;
    border-radius: 8px;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.15);
    margin: 1.5rem 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Horizontal rule styling */
.guide-content hr {
    border: none;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #ffd93d);
    margin: 2rem 0;
    border-radius: 2px;
}

/* Print styles for guides */
@media print {
    .guide-content {
        color: #000 !important;
        background: #fff !important;
    }
    
    .guide-content pre {
        background: #f5f5f5 !important;
        border: 1px solid #ddd !important;
    }
    
    .guide-content pre code {
        color: #000 !important;
        background: transparent !important;
    }
    
    .floating-element,
    .retro-spinner,
    .back-button {
        display: none !important;
    }
}
