/* ===================================
   ERENNOVA - Space Simulator Webpage
   Modern Dark Theme with Futuristic UI
   =================================== */

:root {
    --primary-color: #00d4ff;
    --secondary-color: #7c3aed;
    --accent-color: #f59e0b;
    --dark-bg: #0a0a12;
    --panel-bg: rgba(10, 10, 18, 0.95);
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --border-color: rgba(0, 212, 255, 0.3);
    --glow-primary: 0 0 20px rgba(0, 212, 255, 0.5);
    --glow-secondary: 0 0 20px rgba(124, 58, 237, 0.5);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Starfield Background */
#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at bottom, #1a1a2e 0%, var(--dark-bg) 70%);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    background: linear-gradient(180deg, rgba(10, 10, 18, 0.95) 0%, transparent 100%);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.logo h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.accent {
    color: var(--primary-color);
    text-shadow: var(--glow-primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
    text-shadow: var(--glow-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Main Content */
main {
    padding-top: 80px;
}

section {
    min-height: 100vh;
    padding: 6rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Hero Section */
.hero-section {
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(3rem, 12vw, 7.5rem);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 8px;
    animation: fadeInUp 1s ease-out, glowPulse 3s infinite alternate;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.6));
}

@keyframes glowPulse {
    0% {
        filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.4));
    }
    100% {
        filter: drop-shadow(0 0 50px rgba(0, 212, 255, 0.8));
    }
}

.hero-title .accent {
    -webkit-text-fill-color: var(--primary-color);
    text-shadow: 0 0 40px rgba(0, 212, 255, 0.9), 0 0 80px rgba(0, 212, 255, 0.6);
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    animation: fadeInUp 1s ease-out 0.2s backwards;
    font-weight: 300;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

/* Buttons */
.btn {
    padding: 1rem 2.5rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    box-shadow: var(--glow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.7);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
    box-shadow: var(--glow-primary);
}

.btn.large {
    padding: 1.3rem 3rem;
    font-size: 1.2rem;
}

/* Section Titles */
.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    text-align: center;
}

/* Story Section */
.story-section {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 212, 255, 0.05) 50%, transparent 100%);
}

.story-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1400px;
    width: 100%;
}

.chapter-selector {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chapter-btn {
    padding: 1.2rem 1.5rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.chapter-btn:hover,
.chapter-btn.active {
    background: rgba(0, 212, 255, 0.2);
    border-color: var(--primary-color);
    box-shadow: var(--glow-primary);
}

.story-content {
    display: flex;
    gap: 1rem;
}

.story-article {
    flex: 1;
    padding: 2rem;
    background: var(--panel-bg);
    border-left: 3px solid var(--primary-color);
    display: none;
    animation: fadeIn 0.5s ease;
}

.story-article.active {
    display: block;
}

.story-article h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.story-article p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.exploration-list {
    list-style: none;
    padding-left: 0;
}

.exploration-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.story-choice {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.story-choice h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.choice-btn {
    display: block;
    width: 100%;
    padding: 0.8rem 1.5rem;
    margin: 0.5rem 0;
    background: rgba(124, 58, 237, 0.2);
    border: 1px solid var(--secondary-color);
    color: white;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.choice-btn:hover {
    background: rgba(124, 58, 237, 0.4);
    box-shadow: var(--glow-secondary);
}

.outcome-panel {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(124, 58, 237, 0.1));
    border: 1px solid var(--border-color);
    text-align: center;
}

.outcome-panel h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Features Section */
.features-section {
    background: linear-gradient(180deg, transparent 0%, rgba(124, 58, 237, 0.05) 50%, transparent 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    width: 100%;
    margin-bottom: 4rem;
}

.feature-card {
    padding: 2.5rem;
    background: var(--panel-bg);
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--glow-primary);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
}

/* Ship Builder Demo */
.feature-demo {
    max-width: 1200px;
    width: 100%;
    padding: 3rem;
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
}

.feature-demo h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.ship-builder {
    display: flex;
    gap: 3rem;
    align-items: center;
    justify-content: center;
}

#shipCanvas {
    border: 2px solid var(--border-color);
    background: rgba(0, 0, 0, 0.5);
}

.customization-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 250px;
}

.customization-controls label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.customization-controls select,
.customization-controls input[type="color"] {
    padding: 0.8rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--border-color);
    color: white;
    font-family: 'Rajdhani', sans-serif;
    cursor: pointer;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    width: 100%;
}

.gallery-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.placeholder-image {
    aspect-ratio: 16/9;
    background: var(--panel-bg);
    border: 2px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.placeholder-image span {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.placeholder-image p {
    color: var(--text-secondary);
    text-align: center;
}

/* Gallery Viewer */
.viewer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.viewer-overlay.hidden {
    display: none;
}

#viewer-content {
    max-width: 90%;
    max-height: 85vh;
    text-align: center;
}

.close-btn,
.nav-btn {
    position: absolute;
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-btn {
    top: 2rem;
    right: 2rem;
}

.nav-btn {
    background: rgba(0, 212, 255, 0.2);
    border: 1px solid var(--primary-color);
    padding: 1rem;
    font-size: 2rem;
}

.nav-btn:hover {
    background: var(--primary-color);
}

/* Download Section */
.download-section {
    text-align: center;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 212, 255, 0.05) 100%);
}

.download-options {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.requirements-panel {
    max-width: 600px;
    width: 100%;
    padding: 2rem;
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    margin-top: 2rem;
}

.requirements-panel.hidden {
    display: none;
}

.requirements-grid {
    text-align: left;
    margin-top: 1.5rem;
}

.requirement-item {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.newsletter-section {
    max-width: 600px;
    width: 100%;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(0, 212, 255, 0.05);
}

.newsletter-section h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

#newsletter-form {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

#newsletter-form input {
    flex: 1;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    color: white;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal.hidden {
    display: none;
}

.video-container {
    max-width: 1200px;
    width: 90%;
}

.placeholder-video {
    aspect-ratio: 16/9;
    background: var(--panel-bg);
    border: 2px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.small-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Footer */
footer {
    padding: 3rem;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.social-link {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.2);
}

footer p {
    color: var(--text-secondary);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Particle Canvas */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    section {
        padding: 4rem 1.5rem;
    }

    .story-container {
        grid-template-columns: 1fr;
    }

    .cta-buttons,
    .download-options {
        flex-direction: column;
    }

    .ship-builder {
        flex-direction: column;
    }

    #newsletter-form {
        flex-direction: column;
    }

    .hero-title {
        font-size: 2rem;
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* ===================================
   Blog Section Styles
   =================================== */

.blog-section {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 212, 255, 0.03) 50%, transparent 100%);
}

.blog-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2rem;
    max-width: 1400px;
    width: 100%;
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.blog-item-btn {
    padding: 1.5rem;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid var(--border-color);
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-item-btn:hover,
.blog-item-btn.active {
    background: rgba(0, 212, 255, 0.15);
    border-color: var(--primary-color);
    box-shadow: var(--glow-primary);
}

.blog-date {
    display: block;
    color: var(--accent-color);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.blog-item-btn h4 {
    color: var(--text-primary);
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    letter-spacing: 1px;
}

.blog-content {
    display: flex;
    gap: 1rem;
}

.blog-article {
    flex: 1;
    padding: 2.5rem;
    background: var(--panel-bg);
    border-left: 3px solid var(--primary-color);
    display: none;
    animation: fadeIn 0.5s ease;
}

.blog-article.active {
    display: block;
}

.blog-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.blog-header h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.blog-meta {
    color: var(--text-secondary);
    font-style: italic;
}

.blog-body h4 {
    color: var(--accent-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Orbitron', sans-serif;
}

.blog-body p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.blog-body ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.blog-body li {
    padding: 0.6rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
}

.blog-body li::before {
    content: '►';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.blog-image-placeholder {
    aspect-ratio: 16/9;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 1.5rem 0;
}

.blog-image-placeholder span {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.comments-panel {
    width: 320px;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(124, 58, 237, 0.08));
    border: 1px solid var(--border-color);
}

.comments-panel h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-family: 'Orbitron', sans-serif;
}

#comment-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

#comment-form input,
#comment-form textarea {
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    color: white;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
}

#comment-form textarea {
    resize: vertical;
    min-height: 80px;
}

.comments-list-container {
    max-height: 300px;
    overflow-y: auto;
}

.comment-item {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
    border-left: 2px solid var(--secondary-color);
}

.comment-author {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 0.3rem;
}

.comment-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.comment-text {
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Blog Modal */
#blog-modal .placeholder-image {
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive Design for Blog */
@media (max-width: 968px) {
    .blog-container {
        grid-template-columns: 1fr;
    }

    .comments-panel {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    section {
        padding: 4rem 1.5rem;
    }

    .story-container,
    .blog-container {
        grid-template-columns: 1fr;
    }

    .cta-buttons,
    .download-options {
        flex-direction: column;
    }

    .ship-builder {
        flex-direction: column;
    }

    #newsletter-form {
        flex-direction: column;
    }

    .hero-title {
        font-size: 2rem;
    }

    .blog-header h3 {
        font-size: 1.4rem;
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* ===================================
   About Us Section Styles
   =================================== */

.about-section {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 212, 255, 0.03) 50%, transparent 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    width: 100%;
    margin-bottom: 3rem;
}

.company-info h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.company-info p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.company-info h3:first-child {
    margin-top: 0;
}

.leadership-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.team-member-card {
    padding: 2rem;
    background: var(--panel-bg);
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.team-member-card:hover {
    transform: translateX(10px);
    box-shadow: var(--glow-primary);
}

.team-member-card.featured {
    border-left-width: 5px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(124, 58, 237, 0.08));
}

.member-avatar {
    width: 100px;
    height: 100px;
    background: var(--dark-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    border: 2px solid var(--primary-color);
    overflow: hidden;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.member-info h4 {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.member-title {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 1rem;
    font-style: italic;
}

.member-bio {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.member-links {
    display: flex;
    gap: 1rem;
}

.social-link-small {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.social-link-small:hover {
    transform: scale(1.2);
}

.team-highlights {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.team-highlights h4 {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.highlights-list {
    list-style: none;
    padding-left: 0;
}

.highlights-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    line-height: 1.6;
}

.highlights-list li:last-child {
    border-bottom: none;
}

/* Stats Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    width: 100%;
    margin: 3rem auto;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-primary);
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.4;
}

/* Contact Section */
.contact-section {
    max-width: 800px;
    width: 100%;
    margin: 3rem auto 0;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(124, 58, 237, 0.08));
    border-radius: 12px;
    text-align: center;
}

.contact-section h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-section p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 0.8rem 2rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.2);
}

.contact-link:hover {
    background: rgba(0, 212, 255, 0.1);
    box-shadow: var(--glow-primary);
    transform: translateY(-2px);
}

/* Responsive Design for About Section */
@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .team-member-card {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .contact-info {
        gap: 0.8rem;
    }

    .contact-link {
        width: 100%;
        text-align: center;
    }
}


/* Open Source Contributions Section */
.open-source-contributions {
    padding: 1.5rem;
    background: rgba(0, 212, 255, 0.05);
    border-left: 3px solid var(--primary-color);
    margin-top: 1rem;
}

.open-source-contributions h4 {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.open-source-contributions > p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.contributions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.contribution-item {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contribution-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-primary);
}

.contribution-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.contribution-item strong {
    color: var(--primary-color);
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.contribution-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.contribution-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.contribution-link:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

/* Responsive adjustments for contributions section */
@media (max-width: 768px) {
    .contributions-grid {
        grid-template-columns: 1fr;
    }
    
    .open-source-contributions {
        padding: 1.2rem;
    }
}


/* Hero Title Wrapper - Eren Nova stands alone */
.hero-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.hero-tagline {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.2rem, 4vw, 2rem);
    color: var(--text-secondary);
    letter-spacing: 6px;
    text-transform: uppercase;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(3rem, 12vw, 7.5rem);
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 8px;
    animation: fadeInUp 1s ease-out 0.4s backwards, glowPulse 3s infinite alternate;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.6));
}

@keyframes glowPulse {
    0% {
        filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.4));
    }
    100% {
        filter: drop-shadow(0 0 50px rgba(0, 212, 255, 0.8));
    }
}

.hero-title .accent {
    -webkit-text-fill-color: var(--primary-color);
    text-shadow: 0 0 40px rgba(0, 212, 255, 0.9), 0 0 80px rgba(0, 212, 255, 0.6);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-tagline {
        font-size: clamp(1rem, 3vw, 1.5rem);
        letter-spacing: 4px;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 10vw, 6rem);
        letter-spacing: 6px;
    }
}

