/* ========================================
   TABLE OF CONTENTS
   ========================================
   1. Reset & Global Styles
   2. CSS Variables
   3. Base Typography & Layout
   4. Navigation
   5. Hero Sections
   6. Buttons & Interactive Elements
   7. Video Modal System
   8. Project Components
   9. Skills Components
   10. Contact Components
   11. Footer
   12. Project Detail Pages
   13. Enemy Archetype Components
   14. Technical Implementation Sections
   15. Development Journey Components
   16. Game Feel & Insights Sections
   17. Utility Classes
   18. Animations & Transitions
   19. Mobile Navigation
   20. Responsive Design
   21. Accessibility & Print Styles
   22. Limitless Runner Theme
   23. Limitless Runner Technical Page Styles
   24. Asset Tooltips Style
   ======================================== */

/* ========================================
   1. RESET & GLOBAL STYLES
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--white);
    background: var(--deep-black);
    overflow-x: hidden;
}

/* ========================================
   2. CSS VARIABLES
   ======================================== */

:root {
    /* Primary Colors */
    --primary-red: #dc2626;
    --primary-gold: #fbbf24;
    --dark-red: #991b1b;
    --light-gold: #fde047;
    
    /* Neutral Colors */
    --deep-black: #0a0a0a;
    --charcoal: #1a1a1a;
    --dark-gray: #2a2a2a;
    --light-gray: #cccccc;
    --white: #ffffff;
    
    /* Limitless Runner Theme */
    --limitless-green: #22c55e;
    --limitless-dark-green: #16a34a;
    --limitless-light-green: #4ade80;
    --limitless-black: #000000;
    --limitless-white: #ffffff;
    
    /* Blood and Sand Theme */
    --blood-red: #dc2626;
    --sand-gold: #f59e0b;
    --combat-orange: #ea580c;
    --arena-brown: #92400e;
}

/* ========================================
   3. BASE TYPOGRAPHY & LAYOUT
   ======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(45deg, var(--primary-red), var(--primary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(45deg, var(--primary-red), var(--primary-gold));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: #ccc;
    font-size: 1.1em;
    margin-top: 15px;
    margin-bottom: 0;
}

.page-title {
    font-size: 3rem;
    background: linear-gradient(45deg, var(--primary-red), var(--primary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--light-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   4. NAVIGATION
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--primary-red);
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--primary-gold), var(--light-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

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

.nav-link {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--primary-gold);
}

.nav-link.active {
    color: var(--primary-gold);
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(45deg, var(--primary-red), var(--primary-gold));
    border-radius: 1px;
}

/* Breadcrumb Navigation */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-gold);
}

.breadcrumb i {
    color: var(--primary-red);
    font-size: 0.8rem;
}

.breadcrumb span {
    color: var(--primary-gold);
    font-weight: 500;
}

/* ========================================
   5. HERO SECTIONS
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--deep-black) 0%, var(--charcoal) 30%, #1a0a0a 70%, var(--dark-red) 100%);
    padding: 120px 0 50px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(220, 38, 38, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(251, 191, 36, 0.1) 0%, transparent 50%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--primary-red), var(--primary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--light-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-video {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Project Detail Hero */
.project-detail-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--deep-black) 0%, var(--charcoal) 30%, #1a0a0a 70%, var(--dark-red) 100%);
    position: relative;
}

.project-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(220, 38, 38, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(251, 191, 36, 0.1) 0%, transparent 50%);
}

.project-hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.project-title {
    font-size: 3.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--primary-red), var(--primary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.project-subtitle {
    font-size: 1.5rem;
    color: var(--light-gray);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.project-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(220, 38, 38, 0.3);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--light-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Skills Hero */
.skills-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--deep-black) 0%, var(--charcoal) 30%, #1a0a0a 70%, var(--dark-red) 100%);
    text-align: center;
}

/* Projects Hero */
.projects-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--deep-black) 0%, var(--charcoal) 30%, #1a0a0a 70%, var(--dark-red) 100%);
    position: relative;
}

.projects-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(220, 38, 38, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(251, 191, 36, 0.1) 0%, transparent 50%);
}

.projects-hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.projects-hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--primary-red), var(--primary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.projects-hero-subtitle {
    font-size: 1.3rem;
    color: var(--light-gray);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Hero */
.contact-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--deep-black) 0%, var(--charcoal) 30%, #1a0a0a 70%, var(--dark-red) 100%);
    text-align: center;
    position: relative;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(220, 38, 38, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(251, 191, 36, 0.1) 0%, transparent 50%);
}

/* ========================================
   6. BUTTONS & INTERACTIVE ELEMENTS
   ======================================== */

.btn {
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-red), var(--dark-red));
    color: var(--primary-gold);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
    border: 1px solid var(--primary-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(220, 38, 38, 0.5);
    background: linear-gradient(45deg, var(--dark-red), var(--primary-red));
}

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

.btn-secondary:hover {
    background: var(--primary-gold);
    color: var(--deep-black);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Project Badge */
.project-badge {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-red), var(--dark-red));
    color: var(--primary-gold);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 1rem;
    width: fit-content;
}

/* Limitless Runner Button Styles */
.limitless-btn-primary {
    background: linear-gradient(45deg, #22c55e, #16a34a) !important;
    color: #000000 !important;
    border: 1px solid #22c55e !important;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.limitless-btn-primary:hover {
    background: linear-gradient(45deg, #16a34a, #22c55e) !important;
    box-shadow: 0 6px 25px rgba(34, 197, 94, 0.4) !important;
    transform: translateY(-2px);
}

.limitless-btn-secondary {
    background: transparent !important;
    color: #22c55e !important;
    border: 2px solid #22c55e !important;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.limitless-btn-secondary:hover {
    background: #22c55e !important;
    color: #000000 !important;
    transform: translateY(-2px);
}

/* ========================================
   7. VIDEO MODAL SYSTEM
   ======================================== */

.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    opacity: 1;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: var(--charcoal);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}

.video-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(220, 38, 38, 0.9);
    border: none;
    color: var(--primary-gold);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10001;
    transition: all 0.3s ease;
}

.video-close-btn:hover {
    background: rgba(220, 38, 38, 1);
    transform: scale(1.1);
}

.video-close-btn:focus {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

/* Limitless Runner Video Button */
.video-modal.limitless-video .video-close-btn {
    background: rgba(34, 197, 94, 0.9) !important;
    color: #000000 !important;
}

.video-modal.limitless-video .video-close-btn:hover {
    background: rgba(34, 197, 94, 1) !important;
    color: #000000 !important;
}

.video-modal .video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
}

.video-modal iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Video placeholder styles */
.video-placeholder {
    width: 100%;
    height: 350px;
    background: linear-gradient(45deg, var(--charcoal), var(--dark-gray));
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px dashed var(--primary-red);
    position: relative;
    overflow: hidden;
}

.video-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.2), transparent);
    animation: shimmer 2s infinite;
}

.video-placeholder i {
    font-size: 4rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.video-note {
    background: linear-gradient(45deg, var(--primary-gold), var(--light-gold));
    color: var(--deep-black);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-top: 1rem;
}

/* Video Demo Section */
.project-media-showcase {
    padding: 60px 0;
    background: var(--charcoal);
}

.main-demo-video {
    text-align: center;
}

.video-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.video-description {
    text-align: center;
    margin-top: 20px;
    color: #ccc;
    font-size: 1.1em;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Featured Video Placeholder */
.featured-video {
    background: linear-gradient(45deg, var(--charcoal), var(--dark-gray));
    border: 2px dashed var(--primary-red);
    padding: 60px 20px;
    text-align: center;
    border-radius: 12px;
}

.featured-video i {
    font-size: 4rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.featured-video h3 {
    color: var(--primary-gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.featured-video p {
    color: var(--light-gray);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.video-duration {
    background: var(--primary-red);
    color: var(--primary-gold);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: bold;
}

/* ========================================
   8. PROJECT COMPONENTS
   ======================================== */

/* Project Grid System */
.projects-grid-section {
    padding: 80px 0;
    background: var(--deep-black);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.project-grid-item {
    background: linear-gradient(145deg, var(--charcoal), var(--dark-gray));
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(220, 38, 38, 0.1);
    position: relative;
}

.project-grid-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(220, 38, 38, 0.3);
}

.project-grid-item.featured {
    border: 2px solid var(--primary-red);
    box-shadow: 0 15px 30px rgba(220, 38, 38, 0.2);
}

.project-grid-item.featured:hover {
    box-shadow: 0 25px 50px rgba(220, 38, 38, 0.4);
}

/* Enhanced clickable project cards */
.project-grid-item[data-project-url]:not(.coming-soon) {
    cursor: pointer;
}

.project-grid-item[data-project-url]:not(.coming-soon)::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    width: 8px;
    height: 8px;
    background: var(--primary-gold);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-grid-item[data-project-url]:not(.coming-soon):hover::after {
    opacity: 0.8;
}

.project-thumbnail {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.thumbnail-media {
    position: relative;
    height: 250px;
    overflow: hidden;
    cursor: pointer;
}

.project-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3;
    border-radius: 10px;
}

.project-grid-item:hover .thumbnail-overlay {
    opacity: 1;
}

.play-button {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    animation: pulse-gentle 2s infinite;
    transition: all 0.3s ease;
}

.video-play-btn {
    cursor: pointer !important;
    transition: all 0.3s ease;
    z-index: 10;
    position: relative;
}

.video-play-btn:hover {
    transform: scale(1.2);
    color: var(--light-gold) !important;
}

.video-play-btn:focus {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
    border-radius: 50%;
}

.project-preview-content {
    text-align: center;
    color: var(--white);
}

.project-preview-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-gold);
}

.project-preview-content p {
    font-size: 1rem;
    color: var(--light-gray);
}

.project-info {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-badge {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-red), var(--dark-red));
    color: var(--primary-gold);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    width: fit-content;
}

.project-info h3 {
    font-size: 1.4rem;
    background: linear-gradient(45deg, var(--primary-red), var(--primary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.project-type {
    color: var(--light-gray);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tag {
    background: var(--dark-gray);
    color: var(--primary-gold);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    border: 1px solid rgba(251, 191, 36, 0.3);
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(251, 191, 36, 0.1);
    border-color: var(--primary-gold);
}

.project-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat {
    text-align: center;
    padding: 0.8rem 0.5rem;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.stat-value {
    display: block;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-gold);
    margin-bottom: 0.2rem;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--light-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-actions {
    padding: 0 2rem 2rem;
    display: flex;
    gap: 1rem;
}

.project-actions .btn {
    flex: 1;
    text-align: center;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
}

/* Traditional Project Cards */
.projects {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--deep-black) 0%, var(--charcoal) 100%);
}

.project-card {
    background: linear-gradient(145deg, var(--charcoal), var(--dark-gray));
    border-radius: 15px;
    padding: 3rem;
    margin-bottom: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
    border-color: rgba(220, 38, 38, 0.3);
}

.project-card.featured {
    border: 2px solid var(--primary-red);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.2);
}

.project-card.featured:hover {
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.3);
}

.project-card h3 {
    font-size: 1.8rem;
    background: linear-gradient(45deg, var(--primary-red), var(--primary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.project-description {
    color: var(--light-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.project-features {
    margin-bottom: 2rem;
}

.project-features h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.project-features ul {
    list-style: none;
    padding-left: 0;
}

.project-features li {
    color: var(--light-gray);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.project-features li::before {
    content: '▶';
    color: var(--primary-gold);
    position: absolute;
    left: 0;
    top: 0;
}

.project-metrics {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.metric {
    background: linear-gradient(45deg, var(--primary-red), var(--dark-red));
    color: var(--primary-gold);
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3);
    border: 1px solid var(--primary-gold);
}

.project-tech {
    display: flex;
    gap: 0.7rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tech-tag {
    background: var(--dark-gray);
    color: var(--primary-gold);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(251, 191, 36, 0.3);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(251, 191, 36, 0.1);
    border-color: var(--primary-gold);
    transform: translateY(-2px);
}

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

.image-placeholder {
    height: 250px;
    background: linear-gradient(45deg, var(--dark-gray), var(--charcoal));
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--light-gray);
    border: 2px dashed rgba(220, 38, 38, 0.5);
    transition: all 0.3s ease;
}

.image-placeholder:hover {
    border-color: var(--primary-red);
    color: var(--primary-gold);
}

.image-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Video hover system */
.project-video-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.project-thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.project-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1);
    transition: all 0.4s ease;
    z-index: 1;
    border-radius: 10px;
    overflow: hidden;
}

.project-hover-video {
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
}

/* Projects CTA */
.projects-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--deep-black) 0%, var(--charcoal) 30%, #1a0a0a 70%, var(--dark-red) 100%);
    text-align: center;
    position: relative;
}

.projects-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(220, 38, 38, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(251, 191, 36, 0.1) 0%, transparent 50%);
}

.projects-cta .container {
    position: relative;
    z-index: 1;
}

.projects-cta h2 {
    font-size: 2.5rem;
    background: linear-gradient(45deg, var(--primary-red), var(--primary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.projects-cta p {
    font-size: 1.2rem;
    color: var(--light-gray);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Coming soon projects */
.coming-soon {
    opacity: 0.7;
}

.coming-soon .project-image {
    color: rgba(255, 255, 255, 0.4);
}

/* Enhanced featured project styling */
.project-grid-item.featured .project-video-container::after {
    content: 'FEATURED';
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(45deg, var(--primary-red), var(--dark-red));
    color: var(--primary-gold);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 4;
}

/* ========================================
   9. SKILLS COMPONENTS
   ======================================== */

.skills {
    padding: 100px 0;
    background: var(--deep-black);
}

.skills-section {
    padding: 80px 0;
    background: var(--deep-black);
}

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

.skill-category {
    background: linear-gradient(145deg, var(--charcoal), var(--dark-gray));
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(220, 38, 38, 0.3);
}

.featured-skill {
    border: 2px solid var(--primary-red);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.2);
}

.skill-category h3 {
    background: linear-gradient(45deg, var(--primary-red), var(--primary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-category h3 i {
    font-size: 1.2rem;
    color: var(--primary-gold);
}

.skill-icon {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    text-align: center;
}

.skill-level {
    margin-bottom: 1rem;
    text-align: center;
}

.level-indicator {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.level-indicator.expert {
    background: linear-gradient(45deg, var(--primary-red), var(--dark-red));
    color: var(--primary-gold);
}

.level-indicator.advanced {
    background: linear-gradient(45deg, var(--primary-gold), var(--light-gold));
    color: var(--deep-black);
}

.level-indicator.intermediate {
    background: linear-gradient(45deg, var(--primary-red), var(--primary-gold));
    color: var(--white);
}

.level-indicator.beginner {
    background: linear-gradient(45deg, var(--dark-gray), var(--charcoal));
    color: var(--primary-gold);
    border: 1px solid var(--primary-gold);
}

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

.skill-category li {
    padding: 0.8rem 0;
    color: var(--light-gray);
    border-bottom: 1px solid rgba(220, 38, 38, 0.2);
    transition: all 0.3s ease;
    position: relative;
    padding-left: 1.5rem;
}

.skill-category li::before {
    content: '•';
    color: var(--primary-gold);
    position: absolute;
    left: 0;
    top: 0.8rem;
}

.skill-category li:hover {
    color: var(--white);
    padding-left: 2rem;
    border-bottom-color: var(--primary-gold);
}

.skill-category li:last-child {
    border-bottom: none;
}

.skill-projects {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(220, 38, 38, 0.2);
}

.skill-note {
    color: var(--primary-gold);
    font-style: italic;
    font-size: 0.9rem;
}

/* Technical Skills */
.technical-skills {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--deep-black) 100%);
}

.skills-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.tech-category {
    background: linear-gradient(145deg, var(--charcoal), var(--dark-gray));
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.tech-category h3 {
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tech-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tech-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tech-name {
    color: var(--white);
    font-weight: 500;
}

.skill-bar {
    height: 8px;
    background: var(--dark-gray);
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(45deg, var(--primary-red), var(--primary-gold));
    border-radius: 10px;
    transition: width 1s ease;
}

.skill-note {
    font-size: 0.8rem;
    color: var(--light-gray);
    margin-top: 0.2rem;
}

/* Specialized Skills */
.specialized-skills {
    padding: 80px 0;
    background: var(--deep-black);
}

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

.specialty-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(145deg, var(--charcoal), var(--dark-gray));
    border-radius: 15px;
    border: 1px solid rgba(220, 38, 38, 0.2);
    transition: all 0.3s ease;
}

.specialty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-red);
}

.specialty-card i {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.specialty-card h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.specialty-card p {
    color: var(--light-gray);
    line-height: 1.6;
}

/* Skills CTA */
.skills-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--deep-black) 0%, var(--charcoal) 30%, #1a0a0a 70%, var(--dark-red) 100%);
    text-align: center;
}

.skills-cta h2 {
    font-size: 2.5rem;
    background: linear-gradient(45deg, var(--primary-red), var(--primary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.skills-cta p {
    font-size: 1.2rem;
    color: var(--light-gray);
    margin-bottom: 2rem;
}

/* Learning Goals */
.learning-goals {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.goal-card {
    background: linear-gradient(145deg, var(--charcoal), var(--dark-gray));
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(220, 38, 38, 0.2);
    transition: all 0.3s ease;
}

.goal-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-red);
}

.goal-icon {
    text-align: center;
    margin-bottom: 1rem;
}

.goal-icon i {
    font-size: 2rem;
    color: var(--primary-gold);
}

.goal-card h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    text-align: center;
}

.goal-card p {
    color: var(--light-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.goal-progress {
    margin-top: 1rem;
}

.progress-label {
    color: var(--primary-gold);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

.progress-bar {
    height: 6px;
    background: var(--dark-gray);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(45deg, var(--primary-red), var(--primary-gold));
    border-radius: 10px;
    transition: width 1s ease;
}

/* ========================================
   10. CONTACT COMPONENTS
   ======================================== */

.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--deep-black) 0%, var(--charcoal) 30%, #1a0a0a 70%, var(--dark-red) 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(220, 38, 38, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(251, 191, 36, 0.1) 0%, transparent 50%);
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact .section-title {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.contact-intro {
    color: var(--light-gray);
    font-size: 1.4rem;
    margin-bottom: 4rem;
    line-height: 1.7;
    font-weight: 300;
}

.contact-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--white);
    text-decoration: none;
    padding: 2rem;
    background: linear-gradient(145deg, var(--primary-red), var(--dark-red));
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid rgba(251, 191, 36, 0.3);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

.contact-method:hover,
.contact-method:active,
.contact-method:focus {
    background: linear-gradient(145deg, var(--white), #f5f5f5);
    color: var(--deep-black);
    border-color: var(--primary-gold);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(220, 38, 38, 0.4);
}

.contact-method:hover .contact-details,
.contact-method:active .contact-details,
.contact-method:focus .contact-details {
    color: var(--deep-black);
}

.contact-method:hover .contact-value,
.contact-method:active .contact-value,
.contact-method:focus .contact-value {
    color: var(--deep-black);
}

.contact-method i {
    font-size: 2rem;
    color: var(--primary-gold);
    min-width: 35px;
}

.contact-method:hover i,
.contact-method:active i,
.contact-method:focus i {
    color: var(--primary-red);
}

.contact-details {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex: 1;
}

.contact-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-value {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
}

.availability {
    background: linear-gradient(145deg, var(--charcoal), var(--dark-gray));
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(220, 38, 38, 0.2);
    text-align: center;
}

.availability h3 {
    background: linear-gradient(45deg, var(--primary-red), var(--primary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.status-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--light-gray);
    font-size: 1.1rem;
}

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

.status-indicator.available {
    background: var(--primary-gold);
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
    animation: pulse 2s infinite;
}

/* Contact Main for dedicated contact page */
.contact-main {
    padding: 80px 0;
    background: var(--deep-black);
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

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

.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(145deg, var(--charcoal), var(--dark-gray));
    border-radius: 15px;
    border: 1px solid rgba(220, 38, 38, 0.2);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-red);
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--primary-gold);
}

.contact-card .contact-details h3 {
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.contact-card .contact-details p {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.contact-action {
    color: var(--primary-gold);
    font-size: 0.9rem;
    font-style: italic;
}

/* Why Me Section */
.why-me-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--deep-black) 100%);
}

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

.reason-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(145deg, var(--charcoal), var(--dark-gray));
    border-radius: 15px;
    border: 1px solid rgba(220, 38, 38, 0.2);
    transition: all 0.3s ease;
}

.reason-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-red);
}

.reason-card i {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.reason-card h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.reason-card p {
    color: var(--light-gray);
    line-height: 1.6;
}

/* Contact CTA */
.contact-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--deep-black) 0%, var(--charcoal) 30%, #1a0a0a 70%, var(--dark-red) 100%);
    text-align: center;
}

.contact-cta h2 {
    font-size: 2.5rem;
    background: linear-gradient(45deg, var(--primary-red), var(--primary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.contact-cta p {
    font-size: 1.2rem;
    color: var(--light-gray);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   11. FOOTER
   ======================================== */

.footer {
    background: var(--deep-black);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(220, 38, 38, 0.3);
}

.footer p {
    color: #666666;
    margin-bottom: 0.5rem;
}

.footer-note {
    color: var(--primary-gold);
    font-size: 0.9rem;
    font-style: italic;
}

/* Enhanced Footer */
.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding: 2rem 0;
}

.footer-section h3 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.footer-section a {
    display: block;
    color: var(--light-gray);
    text-decoration: none;
    padding: 0.3rem 0;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-red);
}

.footer-bottom {
    border-top: 1px solid rgba(220, 38, 38, 0.2);
    padding-top: 2rem;
    margin-top: 2rem;
    text-align: center;
}

/* ========================================
   12. PROJECT DETAIL PAGES
   ======================================== */

/* Project Overview Section */
.project-overview-section {
    padding: 80px 0;
    background: var(--deep-black);
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.overview-content h2 {
    font-size: 2.5rem;
    background: linear-gradient(45deg, var(--primary-red), var(--primary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
}

.overview-text {
    font-size: 1.2rem;
    color: var(--light-gray);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.key-features {
    margin-top: 3rem;
}

.key-features h3 {
    color: var(--primary-gold);
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-top: 0.2rem;
    min-width: 30px;
}

.feature-item h4 {
    color: var(--primary-red);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--light-gray);
    line-height: 1.6;
}

/* Media Gallery */
.overview-media {
    display: flex;
    justify-content: center;
    align-items: center;
}

.media-gallery {
    width: 100%;
    max-width: 500px;
}

.gallery-item.main {
    margin-bottom: 1.5rem;
}

.gallery-item.main img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.gallery-item.main p {
    text-align: center;
    color: var(--light-gray);
    margin-top: 1rem;
    font-style: italic;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.thumbnail {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.thumbnail:hover {
    transform: scale(1.05);
}

.thumbnail img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.thumbnail p {
    text-align: center;
    font-size: 0.8rem;
    color: var(--light-gray);
    margin-top: 0.5rem;
}

/* Technical Section */
.technical-section {
    padding: 80px 0;
    background: var(--charcoal);
}

.tech-tabs-container {
    margin-top: 3rem;
}

.tab-navigation {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 3rem;
    background: var(--dark-gray);
    border-radius: 12px;
    padding: 0.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

.tech-tab-btn {
    background: transparent;
    border: none;
    color: var(--light-gray);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    flex: 1;
    text-align: center;
}

.tech-tab-btn:hover {
    color: var(--primary-gold);
    background: rgba(220, 38, 38, 0.1);
}

.tech-tab-btn.active {
    background: linear-gradient(45deg, var(--primary-red), var(--dark-red));
    color: var(--primary-gold);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.tab-content-container {
    position: relative;
}

.tech-tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tech-tab-content.active {
    display: block;
    opacity: 1;
}

.tab-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.content-text h3 {
    color: var(--primary-gold);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.content-text p {
    color: var(--light-gray);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.feature-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(220, 38, 38, 0.2);
    color: var(--light-gray);
    line-height: 1.6;
}

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

.feature-list li strong {
    color: var(--primary-gold);
}

.tech-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.metric-item {
    text-align: center;
    padding: 1rem;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(220, 38, 38, 0.3);
}

.metric-number {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-gold);
    margin-bottom: 0.3rem;
}

.metric-desc {
    font-size: 0.8rem;
    color: var(--light-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Visual Content */
.content-visual {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.code-preview {
    background: var(--deep-black);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--dark-gray);
    border-bottom: 1px solid rgba(220, 38, 38, 0.2);
}

.code-title {
    color: var(--primary-gold);
    font-weight: 500;
}

.code-lang {
    color: var(--light-gray);
    font-size: 0.9rem;
    background: rgba(220, 38, 38, 0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
}

.code-placeholder {
    padding: 3rem;
    text-align: center;
    color: var(--light-gray);
}

.code-placeholder i {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

/* Performance Section */
.performance-chart {
    margin-top: 2rem;
}

.performance-chart h4 {
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
}

.benchmark-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.benchmark-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(220, 38, 38, 0.3);
}

.benchmark-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-gold);
    display: block;
    margin-bottom: 0.5rem;
}

.benchmark-label {
    font-size: 0.9rem;
    color: var(--light-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.performance-graph {
    background: var(--deep-black);
    border-radius: 12px;
    border: 1px solid rgba(220, 38, 38, 0.2);
    overflow: hidden;
}

.graph-header {
    padding: 1rem 1.5rem;
    background: var(--dark-gray);
    border-bottom: 1px solid rgba(220, 38, 38, 0.2);
}

.graph-title {
    color: var(--primary-gold);
    font-weight: 500;
}

.graph-subtitle {
    color: var(--light-gray);
    font-size: 0.9rem;
}

.graph-placeholder {
    padding: 3rem;
    text-align: center;
    color: var(--light-gray);
}

.graph-placeholder i {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

/* Architecture Section */
.architecture-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight-card {
    background: rgba(220, 38, 38, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.highlight-card h4 {
    color: var(--primary-gold);
    margin-bottom: 0.8rem;
}

.highlight-card p {
    color: var(--light-gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

.architecture-diagram {
    background: var(--deep-black);
    border-radius: 12px;
    border: 1px solid rgba(220, 38, 38, 0.2);
    overflow: hidden;
}

.diagram-header {
    padding: 1rem 1.5rem;
    background: var(--dark-gray);
    border-bottom: 1px solid rgba(220, 38, 38, 0.2);
}

.diagram-title {
    color: var(--primary-gold);
    font-weight: 500;
}

.diagram-subtitle {
    color: var(--light-gray);
    font-size: 0.9rem;
}

.diagram-placeholder {
    padding: 3rem;
    text-align: center;
    color: var(--light-gray);
}

.diagram-placeholder i {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

/* Tools Section */
.tools-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.tool-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.tool-item i {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

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

.tool-item p {
    color: var(--light-gray);
    font-size: 0.9rem;
}

.tools-preview {
    background: var(--deep-black);
    border-radius: 12px;
    border: 1px solid rgba(220, 38, 38, 0.2);
    overflow: hidden;
}

.tools-header {
    padding: 1rem 1.5rem;
    background: var(--dark-gray);
    border-bottom: 1px solid rgba(220, 38, 38, 0.2);
}

.tools-title {
    color: var(--primary-gold);
    font-weight: 500;
}

.tools-subtitle {
    color: var(--light-gray);
    font-size: 0.9rem;
}

.tools-placeholder {
    padding: 3rem;
    text-align: center;
    color: var(--light-gray);
}

.tools-placeholder i {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

/* Development Timeline */
.development-timeline {
    padding: 80px 0;
    background: var(--deep-black);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-red), var(--primary-gold));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
    margin-right: 3rem;
    margin-left: 0;
}

.timeline-marker {
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, var(--primary-red), var(--primary-gold));
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
}

.timeline-content {
    flex: 1;
    background: linear-gradient(145deg, var(--charcoal), var(--dark-gray));
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(220, 38, 38, 0.2);
    margin-left: 3rem;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-red);
}

.timeline-content h3 {
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.timeline-date {
    color: var(--primary-red);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    display: block;
}

.timeline-content p {
    color: var(--light-gray);
    line-height: 1.6;
    margin: 0;
}

/* Technology Stack Section */
.tech-stack-section {
    padding: 80px 0;
    background: var(--charcoal);
}

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

.tech-category {
    background: linear-gradient(145deg, var(--charcoal), var(--dark-gray));
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(220, 38, 38, 0.2);
    transition: all 0.3s ease;
}

.tech-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-red);
}

.tech-category h3 {
    color: var(--primary-gold);
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-align: center;
}

.tech-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(220, 38, 38, 0.2);
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: rgba(220, 38, 38, 0.2);
    transform: translateX(5px);
}

.tech-item.primary {
    background: linear-gradient(45deg, rgba(220, 38, 38, 0.2), rgba(153, 27, 27, 0.2));
    border-color: var(--primary-red);
}

.tech-item.secondary {
    background: rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.3);
}

.tech-item i {
    font-size: 1.5rem;
    color: var(--primary-gold);
    min-width: 30px;
}

.tech-item span {
    color: var(--white);
    font-weight: 500;
}

/* Next Steps Section */
.project-next-steps {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--deep-black) 0%, var(--charcoal) 30%, #1a0a0a 70%, var(--dark-red) 100%);
    text-align: center;
    position: relative;
}

.project-next-steps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(220, 38, 38, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(251, 191, 36, 0.1) 0%, transparent 50%);
}

.next-steps-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.next-steps-content h2 {
    font-size: 2.5rem;
    background: linear-gradient(45deg, var(--primary-red), var(--primary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.next-steps-content p {
    font-size: 1.2rem;
    color: var(--light-gray);
    line-height: 1.7;
    margin-bottom: 3rem;
}

.next-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   13. ENEMY ARCHETYPE COMPONENTS
   ======================================== */

.enemy-archetypes-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 80px 0;
}

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

.archetype-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.archetype-card:hover {
    border-color: #dc2626;
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.2);
    transform: translateY(-5px);
}

.archetype-card.berserker:hover { 
    border-color: #dc2626; 
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.2); 
}

.archetype-card.warrior:hover { 
    border-color: #dc2626; 
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.2); 
}

.archetype-card.cleric:hover { 
    border-color: #dc2626; 
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.2); 
}

.archetype-header {
    text-align: center;
    margin-bottom: 25px;
}

.archetype-header h3 {
    font-size: 1.8em;
    margin-bottom: 8px;
    color: #fff;
}

.archetype-role {
    display: inline-block;
    background: rgba(220, 38, 38, 0.2);
    color: #dc2626;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 500;
}

.berserker .archetype-role { 
    background: rgba(220, 38, 38, 0.2); 
    color: #dc2626; 
}

.warrior .archetype-role { 
    background: rgba(220, 38, 38, 0.2); 
    color: #dc2626; 
}

.cleric .archetype-role { 
    background: rgba(220, 38, 38, 0.2); 
    color: #dc2626; 
}

.archetype-description h4 {
    color: #dc2626;
    margin: 20px 0 10px 0;
    font-size: 1.1em;
}

.archetype-description ul {
    list-style: none;
    padding: 0;
}

.archetype-description li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-gray);
}

.archetype-description li:last-child {
    border-bottom: none;
}

.archetype-description li strong {
    color: var(--primary-gold);
}

.behavior-highlight {
    background: rgba(220, 38, 38, 0.1);
    border-left: 4px solid #dc2626;
    padding: 15px 20px;
    margin-top: 20px;
    border-radius: 0 8px 8px 0;
}

.behavior-highlight i {
    color: #dc2626;
    margin-right: 10px;
    font-size: 1.2em;
}

.behavior-highlight p {
    margin: 0;
    font-style: italic;
    color: var(--light-gray);
}

.berserker .behavior-highlight { 
    background: rgba(220, 38, 38, 0.1); 
    border-color: #dc2626; 
}

.berserker .behavior-highlight i { 
    color: #dc2626; 
}

.warrior .behavior-highlight { 
    background: rgba(220, 38, 38, 0.1); 
    border-color: #dc2626; 
}

.warrior .behavior-highlight i { 
    color: #dc2626; 
}

.cleric .behavior-highlight { 
    background: rgba(220, 38, 38, 0.1); 
    border-color: #dc2626; 
}

.cleric .behavior-highlight i { 
    color: #dc2626; 
}

/* ========================================
   14. TECHNICAL IMPLEMENTATION SECTIONS
   ======================================== */

.behavior-tree-showcase img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.behavior-tree-showcase h4 {
    color: var(--primary-gold);
    text-align: center;
    margin-bottom: 15px;
}

.tree-thumbnails {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
}

.tree-thumbnails img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.tree-thumbnails p {
    text-align: center;
    margin-top: 5px;
    font-size: 0.9em;
    color: var(--light-gray);
}

.architecture-showcase img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.architecture-showcase h4 {
    color: var(--primary-gold);
    text-align: center;
    margin-bottom: 15px;
}

.polish-showcase h4 {
    color: var(--primary-gold);
    text-align: center;
    margin-bottom: 15px;
}

.polish-showcase img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.polish-showcase p {
    text-align: center;
    margin-top: 10px;
    color: var(--light-gray);
    font-size: 0.9rem;
}

.implementation-highlight {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    padding: 20px;
    border-radius: 12px;
    margin-top: 25px;
}

.implementation-highlight h4 {
    color: #dc2626;
    margin: 0 0 10px 0;
    font-size: 1.1em;
}

.implementation-highlight p {
    margin: 5px 0;
    color: #ddd;
    line-height: 1.5;
}

/* ========================================
   15. DEVELOPMENT JOURNEY COMPONENTS
   ======================================== */

.feeling-intro {
    font-size: 1.2em;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 40px;
}

.feeling-aspects {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.aspect-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.aspect-card:hover {
    transform: translateY(-5px);
    border-color: #dc2626;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
}

.aspect-card i {
    font-size: 2.5em;
    color: #dc2626;
    margin-bottom: 15px;
}

.aspect-card h3 {
    color: #fff;
    margin: 15px 0 10px 0;
    font-size: 1.1em;
}

.aspect-card p {
    color: #ccc;
    font-size: 0.9em;
    line-height: 1.5;
    margin: 0;
}

.combat-showcase {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.combat-showcase img {
    width: 100%;
    height: auto;
    display: block;
}
.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 30px;
    color: white;
}

.showcase-overlay h3 {
    margin: 0 0 10px 0;
    font-size: 1.3em;
    color: var(--primary-gold);
}

.showcase-overlay p {
    margin: 0;
    opacity: 0.9;
    color: var(--light-gray);
}

/* ========================================
   16. GAME FEEL & INSIGHTS SECTIONS
   ======================================== */

.game-feeling-section {
    background: linear-gradient(45deg, #0f0f0f 0%, #1a1a1a 50%, #0f0f0f 100%);
    padding: 80px 0;
}

.feeling-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.development-insights {
    background: #1a1a1a;
    padding: 80px 0;
}

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

.insight-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.insight-card:hover {
    transform: translateY(-5px);
    border-color: #dc2626;
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

.insight-number {
    font-size: 3em;
    font-weight: bold;
    color: rgba(220, 38, 38, 0.3);
    position: absolute;
    top: 15px;
    right: 20px;
    line-height: 1;
}

.insight-card h3 {
    color: #fff;
    margin: 0 0 15px 0;
    font-size: 1.2em;
    position: relative;
    z-index: 2;
}

.insight-card p {
    color: #ccc;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* ========================================
   17. UTILITY CLASSES
   ======================================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.see-all-projects {
    text-align: center;
    margin-top: 3rem;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: var(--deep-black);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-intro {
    font-size: 1.2rem;
    color: var(--light-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.highlight {
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.highlight i {
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-top: 0.3rem;
}

.highlight h3 {
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.highlight p {
    color: var(--light-gray);
    line-height: 1.6;
}

.about-cta {
    background: linear-gradient(145deg, var(--charcoal), var(--dark-gray));
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(220, 38, 38, 0.2);
    text-align: center;
}

.about-cta p {
    color: var(--light-gray);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.about-placeholder {
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.about-placeholder i {
    font-size: 6rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.about-role {
    background: linear-gradient(45deg, var(--primary-red), var(--primary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    font-size: 1.1rem;
}

/* ========================================
   18. ANIMATIONS & TRANSITIONS
   ======================================== */

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

@keyframes shimmer-green {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

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

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

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

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

/* Loading animation for video modal */
.video-modal-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid rgba(251, 191, 36, 0.2);
    border-top: 3px solid var(--primary-gold);
    border-radius: 50%;
    animation: video-loading-spin 1s linear infinite;
    opacity: 0;
    z-index: 10000;
    pointer-events: none;
}

.video-modal.loading .video-modal-content::before {
    opacity: 1;
}

/* Pulse animation for play buttons */
.video-play-btn .fas {
    animation: subtle-pulse 2s ease-in-out infinite;
}

/* Hover stop pulse */
.video-play-btn:hover .fas {
    animation: none;
    transform: scale(1.1);
}

/* Smooth hover transitions for all interactive elements */
.project-actions .btn,
.video-play-btn,
.project-grid-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Additional video modal states */
.video-modal.closing {
    opacity: 0;
}

.video-modal.closing .video-modal-content {
    transform: scale(0.8);
}

/* Video Loading States */
.project-video-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top: 3px solid var(--primary-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.project-video-wrapper:hover::before {
    opacity: 0;
}

/* ========================================
   19. MOBILE NAVIGATION
   ======================================== */

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--primary-gold);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

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

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

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

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    color: var(--primary-gold);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    color: var(--primary-red);
    transform: scale(1.1);
}

.mobile-menu-btn.active i::before {
    content: '\f00d'; /* Font Awesome X icon */
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(145deg, var(--deep-black), var(--charcoal));
    z-index: 1000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    padding-top: 80px;
    box-sizing: border-box;
    border-top: 2px solid var(--primary-red);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-link {
    display: block;
    color: var(--white);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    padding: 1.5rem 0;
    transition: color 0.3s ease;
    text-align: center;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--primary-gold);
}

/* Body scroll lock when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* ========================================
   20. RESPONSIVE DESIGN
   ======================================== */

/* Large Desktop */
@media (max-width: 1024px) {
    .hero-container {
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .project-card {
        padding: 2rem;
        gap: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .tab-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feeling-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .project-hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Tablet */
@media (max-width: 768px) {
    /* Show hamburger menu and hide desktop nav */
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none !important;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .navbar {
        padding: 0.8rem 0;
    }

    /* Hero adjustments */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .project-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 250px;
        max-width: 100%;
    }

    /* Project adjustments */
    .project-card {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .project-grid-item {
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .project-info {
        padding: 1.5rem;
    }
    
    .project-actions {
        padding: 0 1.5rem 1.5rem;
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .project-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .project-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .project-hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    /* Skills adjustments */
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-categories {
        grid-template-columns: 1fr;
    }
    
    .specialty-grid {
        grid-template-columns: 1fr;
    }

    /* Contact adjustments */
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-method {
        padding: 1.2rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-details {
        text-align: center;
    }
    
    .contact .section-title {
        font-size: 2.5rem;
    }
    
    .contact-intro {
        font-size: 1.2rem;
    }
    
    .contact-value {
        font-size: 1.1rem;
    }
    
    .reasons-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    /* Projects page specific */
    .projects-hero-title {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Enemy archetypes */
    .archetypes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feeling-aspects {
        grid-template-columns: 1fr;
    }
    
    .insights-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Technical sections */
    .tab-navigation {
        flex-direction: column;
        max-width: 100%;
    }
    
    .tech-tab-btn {
        padding: 0.8rem 1rem;
    }
    
    .tech-metrics {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .benchmark-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .architecture-highlights {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tools-showcase {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Timeline */
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 60px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content {
        text-align: left;
        margin-right: 0;
        margin-left: 0;
    }
    
    .timeline-marker {
        left: 20px;
        transform: translateX(-50%);
    }
    
    .timeline-content {
        margin-left: 0 !important;
    }

    /* Tech stack */
    .tech-stack-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Video modal adjustments */
    .video-modal-content {
        width: 95%;
        margin: 0 2.5%;
    }
    
    .video-close-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .project-grid-item[data-project-url]:not(.coming-soon) {
        cursor: pointer;
    }
    
    .project-grid-item[data-project-url]:not(.coming-soon) .thumbnail-overlay {
        opacity: 0.8;
        background: rgba(0, 0, 0, 0.6);
    }
    
    .video-play-btn {
        font-size: 2.5rem !important;
    }
    
    .project-video-container {
        height: 200px;
    }
    
    .thumbnail-overlay {
        opacity: 1;
        background: rgba(0, 0, 0, 0.4);
    }
    
    .play-button {
        font-size: 2rem;
    }
    
    /* Disable video hover on mobile for performance */
    .project-video-wrapper {
        display: none;
    }
    
    .project-thumbnail-image {
        opacity: 1 !important;
    }

    /* General mobile adjustments */
    .container {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .btn {
        width: 200px;
    }
    
    .btn-large {
        width: 100%;
        max-width: 300px;
    }

    /* Footer adjustments */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* About section adjustments */
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-buttons {
        flex-direction: column;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero {
        padding: 100px 0 30px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .project-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .contact .section-title {
        font-size: 2rem;
    }
    
    .contact-intro {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }
    
    .project-card {
        padding: 1rem;
    }
    
    .skill-category {
        padding: 1.5rem;
    }
    
    .contact-method {
        padding: 1.2rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-details {
        text-align: center;
    }
    
    .archetype-card {
        padding: 20px;
    }
    
    .project-hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .next-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    /* Projects page mobile small */
    .projects-hero {
        padding: 100px 0 60px;
    }
    
    .projects-hero-title {
        font-size: 2rem;
    }
    
    .project-header h2 {
        font-size: 1.8rem;
    }
    
    .projects-cta h2 {
        font-size: 2rem;
    }
    
    .projects-grid {
        padding: 0 1rem;
    }
    
    .project-info {
        padding: 1rem;
    }
    
    .project-actions {
        padding: 0 1rem 1rem;
    }
    
    .project-stats {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    /* Video modal mobile small */
    .video-modal-content {
        width: 98%;
        margin: 0 1%;
    }
    
    .video-close-btn {
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .project-preview-content h4 {
        font-size: 1.1rem;
    }
    
    .project-preview-content p {
        font-size: 0.9rem;
    }

    /* Limitless Runner mobile fixes */
    .limitless-project .project-metrics {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .limitless-project .project-metrics .metric {
        flex: none;
        width: 100%;
    }
    
    .showcase-overlay {
        padding: 20px;
    }
}

/* ========================================
   21. ACCESSIBILITY & SPECIAL MODES
   ======================================== */

/* Focus visible for better keyboard navigation */
.project-grid-item[data-project-url]:focus-visible {
    outline: 3px solid var(--primary-gold);
    outline-offset: 2px;
}

.limitless-theme[data-project-url]:focus-visible {
    outline-color: var(--limitless-green) !important;
}

.tech-tab-btn:focus-visible {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

.thumbnail:focus-visible {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .video-modal {
        background: rgba(0, 0, 0, 0.95);
    }
    
    .video-close-btn {
        background: var(--primary-red);
        border: 2px solid var(--primary-gold);
    }
    
    .thumbnail-overlay {
        background: rgba(0, 0, 0, 0.9);
    }
    
    .play-button {
        filter: contrast(1.5);
    }
    
    .archetype-card {
        border-width: 2px;
    }
    
    .behavior-highlight {
        border-left-width: 6px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .video-modal,
    .video-modal-content,
    .project-grid-item,
    .video-play-btn,
    .video-close-btn,
    .archetype-card,
    .aspect-card,
    .insight-card,
    .tech-tab-btn,
    .thumbnail {
        transition: none;
    }
    
    .video-play-btn .fas {
        animation: none;
    }
    
    .project-grid-item[data-project-url]:not(.coming-soon):hover {
        transform: none;
    }
    
    .video-play-btn:hover {
        transform: none;
    }
    
    .project-video-wrapper,
    .project-thumbnail-image,
    .thumbnail-overlay {
        transition: none;
    }
    
    .play-button {
        animation: none;
    }
    
    .archetype-card:hover,
    .aspect-card:hover,
    .insight-card:hover {
        transform: none;
    }
    
    .timeline::before {
        animation: none;
    }
    
    .status-indicator.available {
        animation: none;
    }
}

/* Dark mode support (if needed) */
@media (prefers-color-scheme: dark) {
    .video-modal-content {
        background: var(--deep-black);
        border: 1px solid var(--primary-red);
    }
}

/* Print styles */
@media print {
    .navbar,
    .footer,
    .video-modal,
    .video-play-btn,
    .thumbnail-overlay,
    .project-hero-actions,
    .next-actions {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero {
        background: white;
        color: black;
    }
    
    .project-grid-item {
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    .archetype-card,
    .insight-card,
    .timeline-item {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* ========================================
   22. LIMITLESS RUNNER THEME 
   ======================================== */

/* Limitless Runner specific overrides */
.limitless-theme {
    border: 2px solid rgba(34, 197, 94, 0.3) !important;
}

.limitless-theme:hover {
    border-color: rgba(34, 197, 94, 0.6) !important;
    box-shadow: 0 20px 40px rgba(34, 197, 94, 0.2) !important;
}

.limitless-theme .project-info h3 {
    background: linear-gradient(45deg, var(--limitless-green), var(--limitless-light-green)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.limitless-theme .play-button {
    color: var(--limitless-green) !important;
}

.limitless-theme .project-preview-content h4 {
    color: var(--limitless-green) !important;
}

.limitless-theme .video-play-btn:hover {
    color: var(--limitless-light-green) !important;
}

.limitless-theme .video-play-btn:focus {
    outline-color: var(--limitless-green);
}

.limitless-theme[data-project-url]:not(.coming-soon)::after {
    background: var(--limitless-green);
}

.limitless-theme[data-project-url]:not(.coming-soon):hover {
    box-shadow: 0 25px 50px rgba(34, 197, 94, 0.2) !important;
}

.limitless-theme.featured .project-video-container::after {
    background: linear-gradient(45deg, var(--limitless-green), var(--limitless-dark-green)) !important;
    color: var(--limitless-black) !important;
}

.limitless-theme:focus-within {
    outline-color: var(--limitless-green) !important;
}

.limitless-tag {
    background: var(--dark-gray) !important;
    color: var(--limitless-green) !important;
    border: 1px solid rgba(34, 197, 94, 0.3) !important;
}

.limitless-tag:hover {
    background: rgba(34, 197, 94, 0.1) !important;
    border-color: var(--limitless-green) !important;
}

.limitless-metric {
    background: linear-gradient(45deg, #22c55e, #16a34a) !important;
    color: #000000 !important;
    border: 1px solid #4ade80 !important;
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(34, 197, 94, 0.3);
}

.limitless-tech {
    background: var(--dark-gray) !important;
    color: #22c55e !important;
    border: 1px solid rgba(34, 197, 94, 0.3) !important;
}

./* Enhanced Footer */
.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding: 2rem 0;
}

.footer-section h3 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.footer-section a {
    display: block;
    color: var(--light-gray);
    text-decoration: none;
    padding: 0.3rem 0;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-red);
}

.footer-bottom {
    border-top: 1px solid rgba(220, 38, 38, 0.2);
    padding-top: 2rem;
    margin-top: 2rem;
    text-align: center;
}

/* ========================================
   23. LIMITLESS RUNNER TECHNICAL PAGE STYLES
   ======================================== */

/* Hero Stats Bubbles*/
.limitless-hero-stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(34, 197, 94, 0.3);
}


/* Development Philosophy Section */
.development-philosophy {
    padding: 80px 0;
    background: var(--deep-black);
}

.philosophy-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-intro {
    font-size: 1.3rem;
    color: var(--light-gray);
    line-height: 1.8;
    margin-bottom: 4rem;
}

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

.principle-card {
    background: linear-gradient(145deg, var(--charcoal), var(--dark-gray));
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(34, 197, 94, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.principle-card:hover {
    transform: translateY(-5px);
    border-color: var(--limitless-green);
    box-shadow: 0 15px 30px rgba(34, 197, 94, 0.2);
}

.principle-card i {
    font-size: 2.5rem;
    color: var(--limitless-green);
    margin-bottom: 1.5rem;
}

.principle-card h3 {
    color: var(--limitless-green);
    margin-bottom: 1rem;
}

.principle-card p {
    color: var(--light-gray);
    line-height: 1.6;
}

/* Video Showcase Grid */
.video-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.video-showcase-item {
    background: linear-gradient(145deg, var(--charcoal), var(--dark-gray));
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(34, 197, 94, 0.2);
    transition: all 0.3s ease;
}

.video-showcase-item:hover {
    transform: translateY(-5px);
    border-color: var(--limitless-green);
    box-shadow: 0 15px 30px rgba(34, 197, 94, 0.2);
}

.video-showcase-item .video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-showcase-item iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 2rem;
}

.video-info h3 {
    color: var(--limitless-green);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.video-info p {
    color: var(--light-gray);
    line-height: 1.6;
}

/* Process Steps */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(34, 197, 94, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--limitless-green);
}

.step-number {
    background: linear-gradient(45deg, var(--limitless-green), var(--limitless-dark-green));
    color: var(--limitless-black);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-content h5 {
    color: var(--limitless-green);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.step-content p {
    color: var(--light-gray);
    line-height: 1.6;
    margin: 0;
}

/* Algorithm Metrics */
.algorithm-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.metric-card {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.9rem;
    color: var(--light-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Platform Types Grid */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.platform-type {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.platform-icon {
    width: 40px;
    height: 40px;
    background: var(--limitless-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.platform-icon i {
    color: var(--limitless-black);
    font-size: 1.2rem;
}

.platform-type span {
    color: var(--light-gray);
    font-size: 0.9rem;
    text-align: center;
}

/* Spawning Categories */
.spawning-categories {
    margin-top: 2rem;
}

.spawn-category {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: rgba(34, 197, 94, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.spawn-category h5 {
    color: var(--limitless-green);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.spawn-category ul {
    list-style: none;
    padding: 0;
}

.spawn-category li {
    padding: 0.5rem 0;
    color: var(--light-gray);
    line-height: 1.6;
    border-bottom: 1px solid rgba(34, 197, 94, 0.1);
}

.spawn-category li:last-child {
    border-bottom: none;
}

.spawn-category li strong {
    color: var(--limitless-green);
}

/* Object Examples */
.object-examples {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.object-example {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(34, 197, 94, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.object-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--limitless-black);
}

.berry-icon {
    background: var(--limitless-green);
}

.obstacle-icon {
    background: #ff6b6b;
}

.powerup-icon {
    background: #ffd93d;
}

.object-info h5 {
    color: var(--limitless-green);
    margin-bottom: 0.3rem;
}

.object-info p {
    color: var(--light-gray);
    font-size: 0.9rem;
    margin: 0;
}

/* UI Categories */
.ui-components {
    margin-top: 2rem;
}

.ui-category {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: rgba(34, 197, 94, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.ui-category h5 {
    color: var(--limitless-green);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ui-principles {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(34, 197, 94, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.ui-principles h4 {
    color: var(--limitless-green);
    margin-bottom: 1.5rem;
}

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

.principle-item {
    padding: 1rem;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 8px;
    color: var(--light-gray);
    line-height: 1.5;
}

.principle-item strong {
    color: var(--limitless-green);
}

/* UI Gallery */
.ui-gallery {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ui-image-container {
    width: 100%;
}

.ui-thumbnails {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.ui-thumb {
    cursor: pointer;
    transition: all 0.3s ease;
}

.ui-thumb:hover {
    transform: scale(1.05);
}

.ui-features {
    margin-top: 2rem;
}

.ui-features h4 {
    color: var(--limitless-green);
    margin-bottom: 1.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.ui-feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(34, 197, 94, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.ui-feature i {
    font-size: 1.3rem;
}

.ui-feature span {
    color: var(--light-gray);
    font-weight: 500;
}

/* Animation Systems */
.animation-systems {
    margin-top: 2rem;
}

.animation-category {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: rgba(34, 197, 94, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.animation-category h5 {
    color: var(--limitless-green);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blueprint-architecture {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(34, 197, 94, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.blueprint-architecture h4 {
    color: var(--limitless-green);
    margin-bottom: 1rem;
}

.state-flow {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.state-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.state-name {
    background: rgba(34, 197, 94, 0.2);
    color: var(--limitless-green);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid var(--limitless-green);
}

.state-flow i {
    color: var(--limitless-green);
}

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

.state-card {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.state-card:hover {
    transform: translateY(-3px);
    border-color: var(--limitless-green);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.15);
}

.state-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.state-card h5 {
    color: var(--limitless-green);
    margin-bottom: 0.5rem;
}

.state-card p {
    color: var(--light-gray);
    font-size: 0.9rem;
    margin: 0;
}

/* Development Insights */
.development-insights {
    padding: 80px 0;
    background: var(--charcoal);
}

.limitless-insight {
    background: rgba(34, 197, 94, 0.05);
    border: 1px solid rgba(34, 197, 94, 0.2);
    transition: all 0.3s ease;
}

.limitless-insight:hover {
    border-color: var(--limitless-green);
    box-shadow: 0 15px 30px rgba(34, 197, 94, 0.2);
}

.insight-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.insight-icon i {
    font-size: 2.5rem;
    color: var(--limitless-green);
}

.limitless-insight h3 {
    color: var(--limitless-green);
    margin-bottom: 1rem;
}

.limitless-insight p {
    color: var(--light-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.insight-detail {
    background: rgba(34, 197, 94, 0.1);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--limitless-green);
}

.insight-detail strong {
    color: var(--limitless-green);
}

/* Technical Achievements */
.technical-achievements {
    padding: 80px 0;
    background: var(--deep-black);
}

.achievements-content {
    max-width: 1200px;
    margin: 0 auto;
}

.achievement-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.achievement-visual {
    display: flex;
    justify-content: center;
}

.accomplishment-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.accomplishment-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(34, 197, 94, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.accomplishment-item i {
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.accomplishment-text strong {
    color: var(--limitless-green);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.accomplishment-text p {
    color: var(--light-gray);
    line-height: 1.6;
    margin: 0;
}

/* Limitless Runner Button Styles */
.limitless-btn {
    background: linear-gradient(45deg, var(--limitless-green), var(--limitless-dark-green)) !important;
    color: var(--limitless-black) !important;
    border: 1px solid var(--limitless-green) !important;
    transition: all 0.3s ease;
}

.limitless-btn:hover {
    background: linear-gradient(45deg, var(--limitless-dark-green), var(--limitless-green)) !important;
    box-shadow: 0 6px 25px rgba(34, 197, 94, 0.4) !important;
    transform: translateY(-2px);
}

.limitless-btn-outline {
    background: transparent !important;
    color: var(--limitless-green) !important;
    border: 2px solid var(--limitless-green) !important;
    transition: all 0.3s ease;
}

.limitless-btn-outline:hover {
    background: var(--limitless-green) !important;
    color: var(--limitless-black) !important;
    transform: translateY(-2px);
}

/* Placeholder Notes */
.placeholder-note {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(34, 197, 94, 0.8);
    color: var(--limitless-black);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Enhanced Limitless Placeholders */
.limitless-placeholder {
    background: linear-gradient(45deg, var(--charcoal), var(--dark-gray));
    border: 2px dashed rgba(34, 197, 94, 0.5);
    color: var(--light-gray);
    position: relative;
}

.limitless-placeholder:hover {
    border-color: var(--limitless-green);
    color: var(--limitless-green);
}

.limitless-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.2), transparent);
    animation: shimmer-green 2s infinite;
}

@keyframes shimmer-green {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Responsive Design for New Components */
@media (max-width: 1024px) {
    .video-showcase-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .achievement-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .algorithm-metrics {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .platform-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .core-principles {
        grid-template-columns: 1fr;
    }
    
    .video-showcase-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .process-steps {
        gap: 1.5rem;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .object-examples {
        gap: 0.8rem;
    }
    
    .object-example {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .ui-thumbnails {
        grid-template-columns: 1fr;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .states-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .state-flow {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .state-flow i {
        transform: rotate(90deg);
    }
    
    .accomplishment-list {
        gap: 1rem;
    }
    
    .accomplishment-item {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
}

@media (max-width: 480px) {
    .philosophy-intro {
        font-size: 1.1rem;
    }
    
    .principle-card {
        padding: 1.5rem;
    }
    
    .video-info {
        padding: 1.5rem;
    }
    
    .step-item {
        padding: 1rem;
    }
    
    .metric-card {
        padding: 1.5rem;
    }
    
    .metric-value {
        font-size: 2rem;
    }
    
    .platform-grid {
        grid-template-columns: 1fr;
    }
    
    .spawn-category,
    .ui-category,
    .animation-category {
        padding: 1.5rem;
    }
    
    .states-grid {
        grid-template-columns: 1fr;
    }
    
    .state-card {
        padding: 1rem;
    }
    
    .insight-card {
        padding: 1.5rem;
    }
    
    .accomplishment-item {
        padding: 1rem;
    }
}
/* Character Development Section */
.character-development {
    padding: 80px 0;
    background: var(--charcoal);
}

.character-showcase {
    max-width: 1200px;
    margin: 0 auto;
}

.character-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.character-visual {
    display: flex;
    justify-content: center;
}

.character-design {
    height: 400px;
}

.character-details h3 {
    color: var(--limitless-green);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.character-details p {
    color: var(--light-gray);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.design-considerations h4 {
    color: var(--limitless-green);
    margin-bottom: 1.5rem;
}

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

.consideration-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(34, 197, 94, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.consideration-item i {
    font-size: 1.3rem;
    margin-top: 0.2rem;
}

.consideration-content strong {
    color: var(--limitless-green);
    display: block;
    margin-bottom: 0.3rem;
}

.consideration-content {
    color: var(--light-gray);
    line-height: 1.5;
}

/* Asset Tooltip Styles */
.asset-tooltip {
    background: linear-gradient(145deg, var(--charcoal), var(--dark-gray));
    border: 1px solid var(--limitless-green);
    border-radius: 8px;
    padding: 1rem;
    max-width: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    animation: tooltipFadeIn 0.3s ease;
}

.asset-tooltip h4 {
    color: var(--limitless-green);
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
}

.asset-tooltip p {
    color: var(--light-gray);
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.asset-path {
    color: var(--primary-gold);
    font-size: 0.8rem;
    font-family: monospace;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

.ui-thumb.selected {
    border-color: var(--limitless-green) !important;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.3);
}

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

/* Responsive Design for Character Section */
@media (max-width: 768px) {
    .character-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .consideration-item {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
}
/* Limitless Runner Tab Override - Make Active Tab Green Instead of Red */
.limitless-tab.active {
    background: linear-gradient(45deg, var(--limitless-green), var(--limitless-dark-green)) !important;
    color: var(--limitless-black) !important;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3) !important;
}

.limitless-tab:hover {
    background: rgba(34, 197, 94, 0.1) !important;
    color: var(--limitless-green) !important;
}

/* Ensure the tab navigation container uses green theme */
.limitless-hero .tech-tabs-container .tab-navigation {
    background: var(--dark-gray);
}

.limitless-hero .tech-tabs-container .tech-tab-btn {
    color: var(--light-gray);
}

.limitless-hero .tech-tabs-container .tech-tab-btn:hover {
    background: rgba(34, 197, 94, 0.1);
    color: var(--limitless-green);
}

.limitless-hero .tech-tabs-container .tech-tab-btn.active {
    background: linear-gradient(45deg, var(--limitless-green), var(--limitless-dark-green));
    color: var(--limitless-black);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}
/* Real Image Styling for Limitless Runner */
.limitless-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(34, 197, 94, 0.2);
    transition: all 0.3s ease;
}

.limitless-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(34, 197, 94, 0.3);
    border-color: var(--limitless-green);
}

.image-container {
    overflow: hidden;
    border-radius: 12px;
    background: var(--charcoal);
}

/* UI Gallery Specific Styling */
.ui-main-image {
    max-height: 400px;
    object-fit: cover;
}

.ui-thumb-image {
    height: 100px;
    object-fit: cover;
}

.ui-thumb {
    cursor: pointer;
    transition: all 0.3s ease;
}

.ui-thumb:hover {
    transform: scale(1.05);
}

.ui-thumb.selected {
    border: 2px solid var(--limitless-green);
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.4);
}

/* Character Design Image */
.character-design {
    max-height: 500px;
    object-fit: cover;
}

/* Blueprint Images */
.blueprint-visual .image-container,
.additional-blueprint .image-container {
    margin-bottom: 1.5rem;
}

/* Achievement Image */
.achievement-visual .image-container {
    max-width: 500px;
}

// ========================================
// 24. ASSET TOOLTIP STYLES
// ========================================
/*
Add this CSS to your styles.css file:

.asset-tooltip {
    background: linear-gradient(145deg, var(--charcoal), var(--dark-gray));
    border: 1px solid var(--limitless-green);
    border-radius: 8px;
    padding: 1rem;
    max-width: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    animation: tooltipFadeIn 0.3s ease;
}

.asset-tooltip h4 {
    color: var(--limitless-green);
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
}

.asset-tooltip p {
    color: var(--light-gray);
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.asset-path {
    color: var(--primary-gold);
    font-size: 0.8rem;
    font-family: monospace;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

.ui-thumb.selected {
    border-color: var(--limitless-green) !important;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.3);
}

@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
*/


