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

:root {
    --primary-green: #00ff88;
    --primary-accent: #00ff88;
    /* era blue, ora verde */
    --dark-bg: #0a0e27;
    --darker-bg: #050810;
    --card-bg: #0f1428;
    --text-primary: #ffffff;
    --text-secondary: #8892b0;
    --gradient-1: linear-gradient(135deg, #00ff88, #00ff88);
    --gradient-2: linear-gradient(135deg, #00ff88, #00ff88, #00ff88);
}

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


/* Hardware Pages Styles - COMPLETE */
.hardware-section {
    padding: 6rem 0;
    background: var(--darker-bg);
}

.hardware-intro {
    text-align: center;
    padding: 3rem 2rem;
    margin-bottom: 4rem;
    background: var(--card-bg);
    border-radius: 20px;
    border: 2px solid rgba(0, 255, 136, 0.1);
}

.hardware-intro h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.hardware-intro p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.hardware-specs {
    margin-bottom: 4rem;
}

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

.spec-card {
    background: var(--card-bg);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid rgba(0, 255, 136, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.spec-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.spec-card:hover::before {
    opacity: 0.05;
}

.spec-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-green);
    box-shadow: 0 15px 40px rgba(0, 255, 136, 0.3);
}

.spec-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.spec-card h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-family: 'Orbitron', sans-serif;
    position: relative;
    z-index: 1;
}

.spec-card p {
    color: var(--text-secondary);
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.reasons-section {
    margin-bottom: 4rem;
}

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

.reason-card {
    background: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-green);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.reason-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.reason-card:hover::before {
    opacity: 0.03;
}

.reason-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.2);
}

.reason-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    color: var(--primary-green);
    opacity: 0.3;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.reason-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-family: 'Orbitron', sans-serif;
    position: relative;
    z-index: 1;
}

.reason-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.usage-section {
    margin-bottom: 4rem;
}

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

.usage-item {
    background: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid rgba(0, 255, 136, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.usage-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.usage-item:hover::before {
    opacity: 0.05;
}

.usage-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-green);
    box-shadow: 0 15px 40px rgba(0, 255, 136, 0.2);
}

.usage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.usage-item h3 {
    color: var(--primary-green);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    font-family: 'Orbitron', sans-serif;
    position: relative;
    z-index: 1;
}

.usage-item p {
    color: var(--text-secondary);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.comparison-section {
    margin-bottom: 4rem;
}

.comparison-table {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(0, 255, 136, 0.2);
    margin-top: 2rem;
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(0, 255, 136, 0.1);
    transition: all 0.3s ease;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row:not(.header):hover {
    background: rgba(0, 255, 136, 0.05);
}

.comparison-row.header {
    background: var(--darker-bg);
    font-weight: 700;
    color: var(--primary-green);
    font-family: 'Orbitron', sans-serif;
}

.comparison-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-align: center;
    font-size: 1rem;
}

.comparison-cell:first-child {
    justify-content: flex-start;
    font-weight: 600;
}

.comparison-cell.highlight {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 1.05rem;
}

/* Camera Section (Raspberry Pi) */
.camera-section {
    margin-bottom: 4rem;
}

.camera-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.camera-card {
    background: var(--card-bg);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(0, 255, 136, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
}

.camera-card:hover {
    border-color: var(--primary-green);
    box-shadow: 0 20px 60px rgba(0, 255, 136, 0.3);
}

.camera-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

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

.camera-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

.camera-features {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid rgba(0, 255, 136, 0.2);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.camera-feature {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--darker-bg);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 136, 0.1);
}

.camera-feature:hover {
    transform: translateX(5px);
    background: rgba(0, 255, 136, 0.05);
    border-color: var(--primary-green);
}

.feature-check {
    font-size: 1.8rem;
    color: var(--primary-green);
    flex-shrink: 0;
}

.camera-feature h4 {
    color: var(--primary-green);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.camera-feature p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Integration Section */
.integration-section {
    margin-bottom: 4rem;
}

.integration-diagram {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding: 3rem 2rem;
    background: var(--card-bg);
    border-radius: 20px;
    border: 2px solid rgba(0, 255, 136, 0.2);
    overflow-x: auto;
}

.integration-step {
    background: var(--darker-bg);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    min-width: 180px;
    border: 2px solid rgba(0, 255, 136, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.integration-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.integration-step:hover::before {
    opacity: 0.05;
}

.integration-step:hover {
    transform: translateY(-5px);
    border-color: var(--primary-green);
    box-shadow: 0 15px 40px rgba(0, 255, 136, 0.2);
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.integration-step h3 {
    color: var(--primary-green);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    font-family: 'Orbitron', sans-serif;
    position: relative;
    z-index: 1;
}

.integration-step p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.integration-arrow {
    color: var(--primary-green);
    font-size: 2rem;
    font-weight: 700;
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}

/* Software Section */
.software-section {
    margin-bottom: 4rem;
}

/* Responsive for Hardware Pages */
@media (max-width: 1024px) {
    .camera-content {
        grid-template-columns: 1fr;
    }

    .integration-diagram {
        flex-direction: column;
        padding: 2rem 1.5rem;
    }

    .integration-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }

    .integration-step {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hardware-intro {
        padding: 2rem 1.5rem;
    }

    .hardware-intro h2 {
        font-size: 2rem;
    }

    .hardware-intro p {
        font-size: 1.05rem;
    }

    .specs-grid-hardware {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
    }

    .spec-card {
        padding: 1.5rem 1rem;
    }

    .spec-icon {
        font-size: 2rem;
    }

    .reasons-grid,
    .usage-grid {
        grid-template-columns: 1fr;
    }

    .reason-card {
        padding: 2rem 1.5rem;
    }

    .comparison-row {
        grid-template-columns: 1.5fr 1fr 1fr;
        padding: 1rem;
        font-size: 0.9rem;
    }

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

    .camera-card {
        padding: 2.5rem 2rem;
    }

    .camera-icon {
        font-size: 4rem;
    }

    .camera-feature {
        padding: 1.2rem;
        gap: 1rem;
    }

    .integration-step {
        min-width: 100%;
        padding: 1.5rem 1rem;
    }

    .step-icon {
        font-size: 2.5rem;
    }

    .integration-step h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .comparison-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 0.8rem;
    }

    .comparison-cell {
        justify-content: flex-start;
        padding: 0.5rem 0;
    }

    .comparison-row:not(.header) .comparison-cell:not(:first-child) {
        font-size: 0.9rem;
    }

    .spec-card h3 {
        font-size: 1rem;
    }

    .spec-card p {
        font-size: 0.9rem;
    }

    .reason-number {
        font-size: 2rem;
    }

    .reason-card h3 {
        font-size: 1.1rem;
    }

    .usage-item {
        padding: 2rem 1.5rem;
    }

    .camera-feature {
        flex-direction: column;
        text-align: center;
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 255, 136, 0.1);
}

/* Dropdown Navigation */
.nav-dropdown {
    position: relative;
}

.nav-dropdown>a {
    cursor: pointer;
    user-select: none;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--darker-bg);
    list-style: none;
    padding: 1rem 0;
    min-width: 200px;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 136, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0.5rem;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Mostra al hover su desktop */
@media (min-width: 769px) {

    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: rgba(0, 255, 136, 0.1);
    color: var(--primary-green);
    padding-left: 2rem;
}

.dropdown-menu a::after {
    display: none;
}

/* Mobile styles */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        right: auto;
        margin-top: 0;
        border-radius: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, opacity 0.3s ease;
        box-shadow: none;
        border: none;
        background: rgba(0, 255, 136, 0.05);
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-dropdown.active .dropdown-menu {
        max-height: 500px;
        padding: 0.5rem 0;
    }

    .dropdown-menu a {
        padding-left: 3rem;
        padding-right: 2rem;
    }

    .dropdown-menu a:hover {
        padding-left: 3.5rem;
    }
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}


.dropdown-menu a::after {
    display: none;
}

/* Terminal Page Styles */
.terminal-section {
    padding: 6rem 0;
    background: var(--darker-bg);
}

.terminal-intro {
    text-align: center;
    padding: 3rem 2rem;
    margin-bottom: 4rem;
    background: var(--card-bg);
    border-radius: 20px;
    border: 2px solid rgba(0, 255, 136, 0.1);
}

.intro-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

.terminal-intro h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.terminal-intro p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.terminal-features {
    margin-bottom: 4rem;
}

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

.feature-terminal {
    background: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid rgba(0, 255, 136, 0.2);
    transition: all 0.3s ease;
}

.feature-terminal:hover {
    transform: translateY(-10px);
    border-color: var(--primary-green);
    box-shadow: 0 20px 60px rgba(0, 255, 136, 0.3);
}

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

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

.feature-terminal p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

.terminal-gallery {
    margin-bottom: 4rem;
}

.terminal-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.terminal-image-card {
    text-align: center;
}

.terminal-window {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(0, 255, 136, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.terminal-window:hover {
    border-color: var(--primary-green);
    box-shadow: 0 20px 60px rgba(0, 255, 136, 0.3);
    transform: translateY(-5px);
}

.terminal-titlebar {
    background: var(--darker-bg);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(0, 255, 136, 0.1);
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
}

.terminal-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.terminal-btn.close {
    background: #ff5f57;
}

.terminal-btn.minimize {
    background: #ffbd2e;
}

.terminal-btn.maximize {
    background: #28ca42;
}

.terminal-title {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-family: 'Space Grotesk', monospace;
    font-weight: 600;
}

.terminal-img {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
}

.terminal-caption {
    color: var(--text-secondary);
    margin-top: 1.5rem;
    font-size: 1rem;
    font-weight: 500;
}

.terminal-tech {
    margin-bottom: 4rem;
}

.tech-stack {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.tech-item {
    background: var(--card-bg);
    padding: 1.5rem 2.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 2px solid rgba(0, 255, 136, 0.2);
    transition: all 0.3s ease;
}

.tech-item:hover {
    border-color: var(--primary-green);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 255, 136, 0.2);
}

.tech-icon {
    font-size: 2rem;
}

.tech-name {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 1.1rem;
}

.terminal-status {
    margin-bottom: 4rem;
}

.status-badge {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    border: 2px solid rgba(0, 255, 136, 0.2);
}

.status-icon {
    font-size: 4.5rem;
    flex-shrink: 0;
}

.status-content {
    flex: 1;
}

.status-content h3 {
    color: var(--primary-green);
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    font-family: 'Orbitron', sans-serif;
}

.status-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.progress-bar-container {
    width: 100%;
    height: 24px;
    background: var(--darker-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(0, 255, 136, 0.3);
    margin-bottom: 0.8rem;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-1);
    transition: width 1s ease;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

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

    100% {
        transform: translateX(100%);
    }
}

.progress-label {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
}

/* Projects Page Styles */
.projects-section {
    padding: 6rem 0;
    background: var(--darker-bg);
}

.projects-intro {
    text-align: center;
    padding: 3rem 2rem;
    margin-bottom: 4rem;
    background: var(--card-bg);
    border-radius: 20px;
    border: 2px solid rgba(0, 255, 136, 0.1);
}

.projects-intro h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.projects-intro p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.project-card {
    background: var(--card-bg);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(0, 255, 136, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover::before {
    opacity: 0.05;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-green);
    box-shadow: 0 20px 60px rgba(0, 255, 136, 0.3);
}

.project-icon {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.project-card h3 {
    color: var(--primary-green);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-family: 'Orbitron', sans-serif;
    position: relative;
    z-index: 1;
}

.project-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

.project-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

.project-link:hover {
    padding-left: 10px;
}

.coming-soon-card {
    border-style: dashed;
    opacity: 0.8;
}

.coming-soon-badge {
    display: inline-block;
    background: var(--darker-bg);
    color: var(--primary-green);
    padding: 0.6rem 1.8rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    border: 2px solid rgba(0, 255, 136, 0.4);
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.empty-state {
    background: var(--card-bg);
    padding: 5rem 3rem;
    border-radius: 20px;
    text-align: center;
    border: 2px dashed rgba(0, 255, 136, 0.3);
}

.empty-icon {
    font-size: 6rem;
    margin-bottom: 2rem;
    opacity: 0.6;
    animation: float 3s ease-in-out infinite;
}

.empty-state h3 {
    color: var(--primary-green);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-family: 'Orbitron', sans-serif;
}

.empty-state p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 650px;
    margin: 0 auto;


}

/* Migliora il layout responsive per le pagine di documentazione */
@media (max-width: 768px) {
    .doc-section {
        padding: 4rem 0;
    }

    .doc-hero {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }

    .doc-hero h2 {
        font-size: 1.8rem;
    }

    .doc-hero p {
        font-size: 1rem;
    }

    .github-card {
        padding: 2rem 1.5rem;
    }

    .github-card h3 {
        font-size: 1.5rem;
    }

    .coming-items {
        gap: 1.5rem;
    }

    .coming-item {
        padding: 1.5rem;
    }
}

/* Fix per il dropdown mobile - assicura che sia visibile quando attivo */
@media (max-width: 768px) {
    .nav-menu.active {
        left: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    /* Assicura che il dropdown sia visibile nel menu mobile */
    .nav-dropdown.active .dropdown-menu {
        max-height: 500px;
        padding: 0.5rem 0;
        opacity: 1;
        visibility: visible;
    }

    .dropdown-menu a {
        padding: 0.8rem 1.5rem;
        padding-left: 3rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-dropdown>a::after {
        content: none;
    }

    .dropdown-menu {
        position: static;
        margin-top: 0;
        border-radius: 0;
        padding: 0.5rem 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-dropdown.active .dropdown-menu {
        max-height: 300px;
    }

    .dropdown-menu a {
        padding-left: 3rem;
    }

    .dropdown-menu a:hover {
        padding-left: 3.5rem;
    }

    .terminal-images {
        grid-template-columns: 1fr;
    }

    .terminal-intro,
    .projects-intro {
        padding: 2rem 1.5rem;
    }

    .terminal-intro h2,
    .projects-intro h2 {
        font-size: 2rem;
    }

    .tech-stack {
        flex-direction: column;
        align-items: stretch;
    }

    .tech-item {
        justify-content: center;
    }

    .status-badge {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .status-icon {
        font-size: 3.5rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .empty-state {
        padding: 3rem 2rem;
    }

    .feature-terminal {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .terminal-images {
        grid-template-columns: 1fr;
    }

    .intro-icon,
    .empty-icon {
        font-size: 4rem;
    }
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {

    0%,
    100% {
        filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.5));
    }

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

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

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-green);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-green);
    transition: all 0.3s ease;
}

/* Ranking Section */
.ranking-section {
    margin-bottom: 4rem;
}

.ranking-card {
    background: var(--card-bg);
    padding: 4rem 3rem;
    border-radius: 20px;
    text-align: center;
    border: 3px solid var(--primary-green);
    position: relative;
    overflow: hidden;
}

.ranking-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0.03;
}

.ranking-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

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

.ranking-status {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.ranking-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* 64K Prototype Page */
.prototype-section {
    padding: 6rem 0;
    background: var(--darker-bg);
    min-height: 80vh;
}

.prototype-container {
    background: var(--card-bg);
    padding: 4rem 3rem;
    border-radius: 20px;
    text-align: center;
    border: 2px dashed var(--primary-green);
}

.prototype-icon {
    font-size: 6rem;
    margin-bottom: 2rem;
    animation: pulse 2s ease-in-out infinite;
}

.prototype-container h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.prototype-container p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.loading-bar {
    width: 100%;
    max-width: 500px;
    height: 30px;
    background: var(--darker-bg);
    border-radius: 15px;
    margin: 2rem auto;
    overflow: hidden;
    border: 2px solid var(--primary-green);
}

.loading-progress {
    height: 100%;
    background: var(--gradient-1);
    width: 45%;
    animation: loading 2s ease-in-out infinite;
}

@keyframes loading {

    0%,
    100% {
        width: 45%;
    }

    50% {
        width: 75%;
    }
}

.prototype-status {
    display: inline-block;
    background: var(--darker-bg);
    color: var(--primary-green);
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 700;
    letter-spacing: 2px;
    border: 2px solid var(--primary-green);
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .ranking-card {
        padding: 3rem 2rem;
    }

    .ranking-icon {
        font-size: 4rem;
    }

    .ranking-status {
        font-size: 1.4rem;
    }

    .prototype-icon {
        font-size: 4rem;
    }
}

/* Countdown Section */
.countdown-section {
    background: var(--darker-bg);
    padding: 3rem;
    border-radius: 20px;
    margin-top: 3rem;
    text-align: center;
    border: 2px solid var(--primary-green);
}

.countdown-section h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.countdown-item {
    background: var(--card-bg);
    padding: 2rem 2.5rem;
    border-radius: 15px;
    min-width: 120px;
    border: 2px solid rgba(0, 255, 136, 0.3);
    transition: all 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-green);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

.countdown-number {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-green);
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.countdown-label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .countdown-timer {
        gap: 1rem;
    }

    .countdown-item {
        padding: 1.5rem 1.5rem;
        min-width: 100px;
    }

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

    .countdown-section h3 {
        font-size: 1.5rem;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}



.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 255, 136, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.hero-content {
    text-align: center;
    z-index: 1;
    padding: 0 2rem;
}

.glitch {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 900;
    letter-spacing: 0.1em;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: glitch 5s infinite;
}

@keyframes glitch {

    0%,
    90%,
    100% {
        transform: translate(0);
    }

    91% {
        transform: translate(-2px, 2px);
    }

    92% {
        transform: translate(2px, -2px);
    }

    93% {
        transform: translate(-2px, 2px);
    }

    94% {
        transform: translate(2px, -2px);
    }
}

.subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--primary-blue);
    margin: 1rem 0;
    font-weight: 300;
    letter-spacing: 3px;
    animation: fadeInUp 1s ease 0.3s both;
}

.description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 2rem auto;
    animation: fadeInUp 1s ease 0.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.9s both;
}

.btn {
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--dark-bg);
    border: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.4);
}

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

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--dark-bg);
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.arrow-down {
    width: 2px;
    height: 30px;
    background: var(--gradient-1);
    margin: 0 auto;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Features Section */
.features {
    padding: 8rem 0;
    background: var(--darker-bg);
}

.features .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 255, 136, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover::before {
    opacity: 0.05;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-green);
    box-shadow: 0 20px 60px rgba(0, 255, 136, 0.2);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.feature-card:hover .feature-icon {
    filter: grayscale(0%);
}

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

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

.feature-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.feature-link:hover {
    color: var(--primary-green);
    padding-left: 10px;
}

/* Stats Section */
.stats {
    padding: 6rem 0;
    background: var(--dark-bg);
}

.stats .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

/* Latest Updates */
.latest-updates {
    padding: 8rem 0;
    background: var(--darker-bg);
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 4rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.update-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border-left: 4px solid var(--primary-green);
    transition: all 0.3s ease;
}

.update-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.2);
}

.update-date {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.update-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.update-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.latest-updates .btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

/* Footer */
footer {
    background: var(--darker-bg);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(0, 255, 136, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-green);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 255, 136, 0.1);
    color: var(--text-secondary);
}

/* Animations */
[data-aos] {
    opacity: 0;
    transition: all 0.8s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.8);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--darker-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu li {
        padding: 1rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .features .container,
    .updates-grid {
        grid-template-columns: 1fr;
    }

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

/* Page Header Styles */
.page-header {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 80px;
    overflow: hidden;
}

.page-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    text-align: center;
    letter-spacing: 2px;
}

/* 64K Page Styles */
.content-section {
    padding: 6rem 0;
    background: var(--darker-bg);
}

.retro-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 4rem;
    border: 2px solid var(--primary-green);
}

.retro-screen {
    background: #1a1a1a;
    padding: 3rem;
    position: relative;
}

.scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg,
            rgba(0, 0, 0, 0.15),
            rgba(0, 0, 0, 0.15) 1px,
            transparent 1px,
            transparent 2px);
    pointer-events: none;
}

.retro-content {
    position: relative;
    z-index: 1;
}

.retro-title {
    font-family: 'Orbitron', monospace;
    color: var(--primary-green);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px var(--primary-green);
}

.retro-text {
    color: #0f0;
    font-family: monospace;
    font-size: 1.1rem;
    line-height: 2;
}

.retro-text .highlight {
    color: var(--primary-blue);
    font-weight: bold;
}

.challenge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.challenge-card {
    background: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(0, 255, 136, 0.2);
    transition: all 0.3s ease;
}

.challenge-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-green);
    box-shadow: 0 15px 40px rgba(0, 255, 136, 0.3);
}

.challenge-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.challenge-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.challenge-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.team-64k {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 4rem;
}

.team-64k-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.member-64k {
    background: var(--darker-bg);
    padding: 2rem;
    border-radius: 15px;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.member-64k:hover {
    border-color: var(--primary-blue);
    transform: translateX(5px);
}

.member-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--dark-bg);
    flex-shrink: 0;
}

.member-info h3 {
    color: var(--primary-green);
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
}

.member-class {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.member-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.specs-section {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 4rem;
}

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

.spec-item {
    background: var(--darker-bg);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 3px solid var(--primary-green);
}

.spec-label {
    color: var(--primary-blue);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.spec-value {
    color: var(--text-primary);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
}

.cta-section {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--card-bg);
    border-radius: 20px;
    border: 2px solid rgba(0, 255, 136, 0.2);
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.cta-section p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Team Page Styles */
.team-section {
    padding: 6rem 0;
    background: var(--darker-bg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 6rem;
}

.team-member-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.4s ease;
}

.team-member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-member-card:hover::before {
    opacity: 0.05;
}

.team-member-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 255, 136, 0.3);
}

.member-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
}

.member-avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--dark-bg);
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
}

.member-content {
    position: relative;
    z-index: 1;
}

.member-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.member-role {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.role-icon {
    font-size: 1.5rem;
}

.role-title {
    font-weight: 700;
    color: var(--primary-green);
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.member-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.member-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.skill-tag {
    background: var(--darker-bg);
    color: var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: var(--primary-blue);
    color: var(--dark-bg);
    transform: scale(1.05);
}

.team-values {
    margin-top: 4rem;
}

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

.value-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(0, 255, 136, 0.1);
    transition: all 0.3s ease;
}

.value-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-5px);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Documentation Page Styles */
.doc-section {
    padding: 6rem 0;
    background: var(--darker-bg);
}

.doc-hero {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--card-bg);
    border-radius: 20px;
    margin-bottom: 4rem;
    border: 2px dashed rgba(0, 255, 136, 0.3);
}

.doc-icon {
    font-size: 5rem;
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.doc-hero h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.doc-hero p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.github-section {
    margin-bottom: 4rem;
}

.github-card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(0, 255, 136, 0.2);
    transition: all 0.3s ease;
}

.github-card:hover {
    border-color: var(--primary-green);
    box-shadow: 0 20px 60px rgba(0, 255, 136, 0.2);
}

.github-icon {
    color: var(--primary-green);
    margin-bottom: 2rem;
}

.github-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.github-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.github-card .btn .arrow {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.github-card .btn:hover .arrow {
    transform: translateX(5px);
}

.coming-soon-grid h2 {
    margin-bottom: 3rem;
}

.coming-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.coming-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-blue);
    transition: all 0.3s ease;
}

.coming-item:hover {
    transform: translateX(10px);
    border-left-color: var(--primary-green);
}

.coming-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.coming-item h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.coming-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Gallery Page Styles */
.gallery-section {
    padding: 6rem 0;
    background: var(--darker-bg);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
}

.gallery-image-placeholder {
    position: relative;
    background: var(--card-bg);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.gallery-info p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.gallery-date {
    display: block;
    margin-top: 0.5rem;
    color: var(--primary-blue);
    font-size: 0.9rem;
    font-weight: 600;
}

.gallery-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.stat-box {
    background: var(--card-bg);
    padding: 2rem 3rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid rgba(0, 255, 136, 0.2);
    transition: all 0.3s ease;
}

.stat-box:hover {
    border-color: var(--primary-green);
    transform: translateY(-5px);
}

.stat-box .stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stat-box .stat-number {
    font-size: 3rem;
}

.stat-box .stat-label {
    font-size: 1rem;
}

.gallery-notice {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    border: 2px dashed rgba(0, 212, 255, 0.3);
}

.notice-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.gallery-notice h3 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.gallery-notice p {
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* Competitions Page Styles */
.competitions-section {
    padding: 6rem 0;
    background: var(--darker-bg);
}

.competition-main {
    background: var(--card-bg);
    padding: 4rem 3rem;
    border-radius: 20px;
    margin-bottom: 4rem;
    border: 2px solid var(--primary-green);
    position: relative;
}

.competition-badge {
    position: absolute;
    top: -15px;
    left: 3rem;
    background: var(--gradient-1);
    color: var(--dark-bg);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.competition-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.competition-subtitle {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 3rem;
}

.competition-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.detail-item {
    background: var(--darker-bg);
    padding: 2rem;
    border-radius: 15px;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.detail-icon {
    font-size: 2.5rem;
}

.detail-content h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.detail-content p {
    color: var(--text-secondary);
}

.ranking-status {
    color: var(--primary-green) !important;
    font-weight: 600;
}

.competition-description {
    background: var(--darker-bg);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    border-left: 4px solid var(--primary-blue);
}

.competition-description h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.competition-description p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.challenge-features h3 {
    color: var(--primary-green);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    text-align: center;
}

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

.challenge-item {
    background: var(--darker-bg);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.challenge-item:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
}

.challenge-emoji {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
}

.challenge-item h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

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

.other-competitions {
    margin-bottom: 4rem;
}

.comp-card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.comp-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
}

.comp-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.comp-card h3 {
    color: var(--primary-green);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

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

.comp-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.comp-link:hover {
    color: var(--primary-green);
    padding-left: 10px;
}

/* Blog Page Styles */
.blog-section {
    padding: 6rem 0;
    background: var(--darker-bg);
}

.blog-section .container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

.blog-post {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    border: 1px solid rgba(0, 255, 136, 0.1);
    transition: all 0.3s ease;
}

.blog-post:hover {
    border-color: var(--primary-green);
    box-shadow: 0 15px 50px rgba(0, 255, 136, 0.2);
}

.post-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.post-icon {
    font-size: 3rem;
    width: 80px;
    height: 80px;
    background: var(--darker-bg);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(0, 255, 136, 0.2);
}

.post-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.post-date {
    color: var(--primary-blue);
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.post-category {
    display: inline-block;
    background: var(--darker-bg);
    color: var(--primary-green);
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    border: 1px solid rgba(0, 255, 136, 0.3);
    width: fit-content;
}

.post-title {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-family: 'Orbitron', sans-serif;
}

.post-content {
    color: var(--text-secondary);
    line-height: 1.9;
}

.post-content p {
    margin-bottom: 1rem;
}

.post-list {
    list-style: none;
    margin: 1.5rem 0;
}

.post-list li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.post-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-size: 1.2rem;
}

.highlight-box {
    background: var(--darker-bg);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-blue);
    margin: 1.5rem 0;
}

.highlight-box p {
    margin: 0;
    color: var(--text-primary);
}

.post-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 255, 136, 0.1);
}

.post-author {
    color: var(--primary-blue);
    font-weight: 600;
}

.blog-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 255, 136, 0.1);
}

.sidebar-card h3 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 1rem;
}

.category-list a {
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.category-list a:hover {
    color: var(--primary-green);
    padding-left: 10px;
}

.category-icon {
    font-size: 1.2rem;
}

.recent-posts {
    list-style: none;
}

.recent-posts li {
    margin-bottom: 1rem;
}

.recent-posts a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    line-height: 1.6;
    display: block;
}

.recent-posts a:hover {
    color: var(--primary-green);
    padding-left: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--primary-blue);
    text-decoration: none;
    padding: 1rem;
    background: var(--darker-bg);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.social-link:hover {
    border-color: var(--primary-blue);
    transform: translateX(5px);
}

/* Contact Page Styles */
.contacts-section {
    padding: 6rem 0;
    background: var(--darker-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-card {
    background: var(--card-bg);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(0, 255, 136, 0.1);
    transition: all 0.4s ease;
}

.contact-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 255, 136, 0.3);
}

.contact-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--dark-bg);
    margin: 0 auto 1.5rem;
}

.contact-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.contact-class {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-green);
    text-decoration: none;
    padding: 1rem 1.5rem;
    background: var(--darker-bg);
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 136, 0.2);
    font-size: 0.9rem;
}

.contact-email:hover {
    background: var(--primary-green);
    color: var(--dark-bg);
    transform: scale(1.05);
}

.email-icon {
    font-size: 1.2rem;
}

.contact-info-section {
    margin-bottom: 4rem;
}

.info-box {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid rgba(0, 212, 255, 0.2);
}

.info-box h2 {
    color: var(--primary-green);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-item {
    background: var(--darker-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.info-item h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.info-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.social-section {
    text-align: center;
}

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

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--card-bg);
    color: var(--primary-green);
    text-decoration: none;
    padding: 1.5rem 3rem;
    border-radius: 50px;
    border: 2px solid var(--primary-green);
    transition: all 0.3s ease;
    font-weight: 600;
}

.social-btn:hover {
    background: var(--primary-green);
    color: var(--dark-bg);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 255, 136, 0.4);
}

/* Responsive adjustments for new pages */
@media (max-width: 1024px) {
    .blog-section .container {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        min-height: 40vh;
    }

    .retro-screen {
        padding: 2rem 1.5rem;
    }

    .retro-title {
        font-size: 1.3rem;
    }

    .retro-text {
        font-size: 0.95rem;
    }

    .challenge-grid,
    .team-grid,
    .gallery-grid,
    .contact-grid,
    .info-grid,
    .values-grid,
    .coming-items,
    .features-grid {
        grid-template-columns: 1fr;
    }

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

    .competition-details {
        grid-template-columns: 1fr;
    }

    .post-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .post-title {
        font-size: 1.5rem;
    }

    .gallery-stats {
        flex-direction: column;
        align-items: stretch;
    }

    .social-links {
        flex-direction: column;
    }

    .social-btn {
        width: 100%;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }
}