/* Corbis Theme - TRON-inspired Neon Tech */

.corbis-page {
    --accent: #00fff7;
    --accent-hover: #00d4ff;
    --accent-glow: rgba(0, 255, 247, 0.3);
    --bg-primary: #030308;
    --bg-secondary: #06060f;
    --bg-tertiary: #0a0a18;
    --bg-card: #050510;
    --border: #0f1a2a;
    --border-light: #1a2a3a;
    --gradient-primary: linear-gradient(135deg, #00fff7 0%, #0080ff 100%);
}

/* TRON Grid Background */
.grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 255, 247, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 247, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    animation: gridPulse 4s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Hero Styling */
.corbis-hero {
    background: #030308;
}

.corbis-hero .video-bg video {
    filter: blur(2px);
    opacity: 0.5;
}

.corbis-hero .hero-overlay {
    background: linear-gradient(to bottom,
        rgba(3, 3, 8, 0.3) 0%,
        rgba(3, 3, 8, 0.8) 100%);
    z-index: 1;
}

.corbis-hero .container {
    z-index: 2;
}

.corbis-title {
    font-family: 'Orbitron', sans-serif !important;
    font-size: clamp(2.5rem, 8vw, 5rem) !important;
    letter-spacing: 0.3em;
    color: #00fff7;
    text-shadow:
        0 0 10px rgba(0, 255, 247, 0.8),
        0 0 20px rgba(0, 255, 247, 0.6),
        0 0 40px rgba(0, 255, 247, 0.4),
        0 0 80px rgba(0, 255, 247, 0.2);
    background: none !important;
    -webkit-text-fill-color: #00fff7 !important;
}

/* Override tech stack tags */
.corbis-page .project-tech-stack span {
    background: rgba(0, 255, 247, 0.1);
    border: 1px solid rgba(0, 255, 247, 0.3);
    color: #00fff7;
    text-shadow: 0 0 10px rgba(0, 255, 247, 0.5);
}

/* Override section titles */
.corbis-page .section-title {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.1em;
}

.corbis-page .section-title::after {
    background: var(--gradient-primary);
    box-shadow: 0 0 20px rgba(0, 255, 247, 0.5);
}

/* Architecture cards */
.corbis-page .arch-card {
    background: rgba(5, 5, 16, 0.8);
    border: 1px solid rgba(0, 255, 247, 0.2);
    backdrop-filter: blur(10px);
}

.corbis-page .arch-card:hover {
    border-color: #00fff7;
    box-shadow:
        0 0 20px rgba(0, 255, 247, 0.2),
        inset 0 0 20px rgba(0, 255, 247, 0.05);
}

.corbis-page .arch-card h3 {
    color: #00fff7;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 10px rgba(0, 255, 247, 0.5);
}

/* Code preview */
.corbis-page .code-preview {
    border: 1px solid rgba(0, 255, 247, 0.3);
    background: rgba(5, 5, 16, 0.9);
    box-shadow:
        0 0 20px rgba(0, 255, 247, 0.1),
        inset 0 0 30px rgba(0, 255, 247, 0.02);
}

.corbis-page .code-preview code {
    color: #00fff7;
    text-shadow: 0 0 5px rgba(0, 255, 247, 0.5);
}

/* Badges */
.corbis-page .badge {
    background: rgba(0, 255, 247, 0.1);
    border: 1px solid rgba(0, 255, 247, 0.3);
    color: #00fff7;
    text-shadow: 0 0 10px rgba(0, 255, 247, 0.5);
}

/* Story stats */
.corbis-page .story-stat-number {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(0, 255, 247, 0.5));
}

/* Gallery placeholders */
.tron-placeholder {
    background:
        linear-gradient(135deg, rgba(0, 255, 247, 0.1) 0%, rgba(0, 128, 255, 0.1) 100%),
        #050510 !important;
    border: 1px solid rgba(0, 255, 247, 0.3) !important;
    position: relative;
    overflow: hidden;
}

.tron-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 247, 0.1), transparent);
    animation: scanLine 3s ease-in-out infinite;
}

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

.tron-placeholder span {
    color: #00fff7 !important;
    text-shadow: 0 0 10px rgba(0, 255, 247, 0.5);
    font-family: 'Orbitron', sans-serif;
}

/* Alt background */
.corbis-page .alt-bg {
    background: #06060f;
}

/* Footer */
.corbis-page .back-link:hover {
    color: #00fff7;
    text-shadow: 0 0 10px rgba(0, 255, 247, 0.5);
}

/* Scroll hint */
.corbis-page .scroll-hint span {
    color: rgba(0, 255, 247, 0.6);
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.2em;
}

.corbis-page .scroll-arrow {
    border-color: rgba(0, 255, 247, 0.6);
}

@media (max-width: 768px) {
    .corbis-title {
        letter-spacing: 0.1em;
    }
}
