 .project-card {
    background: linear-gradient(145deg, 
        rgba(30, 30, 30, 0.95), 
        rgba(40, 10, 10, 0.9));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 
        0 25px 50px rgba(255, 0, 0, 0.3),
        0 0 100px rgba(255, 0, 0, 0.1);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 0, 0, 0.1), 
        transparent);
    transition: left 0.7s ease;
}

.project-card:hover::before {
    left: 100%;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 0, 0, 0.2);
}

.project-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary), #ff6666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-id {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Problem & Solution Sections */
.project-problem,
.project-solution,
.project-tech {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border-left: 4px solid transparent;
    display: flex;
    gap: 15px;
    transition: all 0.3s ease;
}

.project-problem:hover {
    background: rgba(255, 0, 0, 0.05);
    border-left-color: #ff3333;
}

.project-solution:hover {
    background: rgba(0, 255, 0, 0.05);
    border-left-color: #00cc00;
}

.project-tech:hover {
    background: rgba(0, 150, 255, 0.05);
    border-left-color: #0066cc;
}

.section-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-problem .section-icon {
    color: #ff3333;
    background: rgba(255, 0, 0, 0.1);
    border-color: rgba(255, 0, 0, 0.3);
}

.project-solution .section-icon {
    color: #00cc00;
    background: rgba(0, 255, 0, 0.1);
    border-color: rgba(0, 255, 0, 0.3);
}

.project-tech .section-icon {
    color: #0066cc;
    background: rgba(0, 150, 255, 0.1);
    border-color: rgba(0, 150, 255, 0.3);
}

.section-content {
    flex: 1;
}

.section-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-light);
}

.project-problem h4 {
    color: #ff3333;
}

.project-solution h4 {
    color: #00cc00;
}

.project-tech h4 {
    color: #0066cc;
}

.section-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-gray);
    margin: 0;
}

/* Tech Tags */
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.tech-tag {
    background: rgba(0, 150, 255, 0.1);
    color: #0066cc;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(0, 150, 255, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tech-tag:hover {
    background: rgba(0, 150, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 150, 255, 0.2);
}

/* Project Tags */
.project-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 20px 0 25px;
}

.tag {
    background: rgba(255, 0, 0, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary);
    border: 1px solid rgba(255, 0, 0, 0.3);
    font-weight: 600;
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(255, 0, 0, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.2);
}

/* Project Actions */
.project-actions {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.btn-small {
    padding: 12px 25px;
    font-size: 0.95rem;
    border-radius: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    position: relative;
    overflow: hidden;
}

.btn-small::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.6s ease;
}

.btn-small:hover::before {
    left: 100%;
}

.btn-view {
    background: linear-gradient(135deg, var(--primary), #ff3333);
    color: var(--secondary);
    box-shadow: 0 5px 20px rgba(255, 0, 0, 0.3);
}

.btn-view:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--secondary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: rgba(255, 0, 0, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.3);
}

.btn-icon {
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .project-id {
        align-self: flex-start;
    }
    
    .project-problem,
    .project-solution,
    .project-tech {
        flex-direction: column;
        text-align: center;
    }
    
    .section-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto;
    }
    
    .project-actions {
        flex-direction: column;
    }
    
    .btn-small {
        width: 100%;
    }
}

/* Animation for project cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
.project-card:nth-child(4) { animation-delay: 0.4s; }
.project-card:nth-child(5) { animation-delay: 0.5s; }
.project-card:nth-child(6) { animation-delay: 0.6s; }
.project-card:nth-child(7) { animation-delay: 0.7s; }
.project-card:nth-child(8) { animation-delay: 0.8s; }

/* Status Indicators */
.project-status {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-live {
    background: rgba(0, 255, 0, 0.1);
    color: #00cc00;
    border: 1px solid rgba(0, 255, 0, 0.3);
}

.status-beta {
    background: rgba(255, 165, 0, 0.1);
    color: #ff9900;
    border: 1px solid rgba(255, 165, 0, 0.3);
}

/* Project Difficulty Indicator */
.project-difficulty {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}

.difficulty-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.difficulty-dot.active {
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

/* ========== UPDATED PROJECT CARD STYLES ========== */
.project-title-container {
    flex: 1;
}

.project-category {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

.category-icon {
    font-size: 1rem;
}

.category-name {
    color: var(--primary);
    background: rgba(255, 0, 0, 0.1);
    padding: 3px 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75rem;
}

/* Compact Tags */
.project-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 15px 0;
}

.tag {
    background: rgba(255, 255, 255, 0.08);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--text-gray);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 500;
}

.tag-more {
    background: rgba(255, 0, 0, 0.1);
    color: var(--primary);
    border-color: rgba(255, 0, 0, 0.3);
}

/* Compact Stats */
.project-stats {
    display: flex;
    gap: 15px;
    margin: 15px 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-value {
    font-size: 1rem;
    font-weight: 900;
    color: var(--primary);
    font-family: 'Courier New', monospace;
}

.stat-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Compact Actions */
.project-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-icon {
    font-size: 1rem;
}

/* Remove Problem Statement, Solution, Tech Stack sections */
.project-problem,
.project-solution,
.project-tech {
    display: none !important;
}

/* Adjust header spacing */
.project-header {
    margin-bottom: 15px;
}

/* Make description compact */
.project-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
    color: var(--text-gray);
}
/* ========== CENTERED HERO SECTION ========== */
.centered-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.centered-hero .hero-text {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.centered-hero .hero-profession {
    justify-content: center;
}

.centered-hero .hero-description {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    border-left: none;
    border-radius: 10px;
}

.centered-hero .hero-buttons {
    justify-content: center;
}

/* ========== NEW FLOATING ELEMENTS SECTION ========== */
.floating-elements-section {
    padding: 80px 20px;
    
    position: relative;
    overflow: hidden;
    min-height: 80vh;
}

.floating-elements-section .section-title {
    text-align: center;
    margin-bottom: 60px;
}

.floating-elements-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.floating-elements-section .floating-element {
    position: relative;
    width: 100%;
    height: 200px;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.1);
    transition: all 0.5s ease;
    opacity: 0.9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.floating-elements-section .floating-element:hover {
    opacity: 1;
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 0, 0, 0.2);
    background: rgba(255, 0, 0, 0.15);
}

.floating-elements-section .element-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
}

.floating-elements-section .element-icon {
    font-size: 3rem;
    margin-bottom: 5px;
    color: var(--primary);
}

.floating-elements-section .element-text {
    font-size: 1.3rem;
    color: var(--text-light);
    font-weight: 700;
}

.floating-elements-section .element-subtext {
    font-size: 0.9rem;
    color: var(--text-gray);
    opacity: 0.8;
    line-height: 1.4;
    max-width: 150px;
}

/* Animation for floating elements */
.floating-elements-section .element-1 {
    animation: floatElement 6s ease-in-out infinite;
}
.floating-elements-section .element-2 {
    animation: floatElement 5s ease-in-out infinite 0.5s;
}
.floating-elements-section .element-3 {
    animation: floatElement 7s ease-in-out infinite 1s;
}
.floating-elements-section .element-4 {
    animation: floatElement 6.5s ease-in-out infinite 1.5s;
}
.floating-elements-section .element-5 {
    animation: floatElement 5.5s ease-in-out infinite 2s;
}
.floating-elements-section .element-6 {
    animation: floatElement 7.5s ease-in-out infinite 2.5s;
}
.floating-elements-section .element-7 {
    animation: floatElement 6s ease-in-out infinite 3s;
}
.floating-elements-section .element-8 {
    animation: floatElement 5.8s ease-in-out infinite 3.5s;
}

@keyframes floatElement {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-15px) rotate(2deg); 
    }
}

/* Background pattern for floating elements section */
.floating-elements-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 0, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 0, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 0, 0, 0.03) 0%, transparent 50%);
    animation: backgroundPulse 20s ease-in-out infinite;
    z-index: 1;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

/* ========== UPDATE SIDE NAV DOTS ========== */
/* Add floating-elements section to navigation */
.nav .nav-dot[data-section="floatingElements"] {
    display: block;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
    .floating-elements-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .floating-elements-container {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .floating-elements-section .floating-element {
        height: 180px;
        padding: 20px;
    }
    
    .floating-elements-section .element-icon {
        font-size: 2.5rem;
    }
    
    .floating-elements-section .element-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .floating-elements-section {
        padding: 60px 15px;
    }
    
    .floating-elements-section .floating-element {
        height: 160px;
        padding: 15px;
    }
    
    .floating-elements-section .element-icon {
        font-size: 2rem;
    }
    
    .floating-elements-section .element-text {
        font-size: 1.1rem;
    }
}

/* ========== FIX HERO SECTION CENTERING ========== */
.hero-content.centered-hero {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.centered-hero .hero-main-title {
    text-align: center;
    display: block;
    margin: 0 auto;
}

.centered-hero .hero-main-title::after {
    left: 50%;
    transform: translateX(-50%);
    margin-top: 15px;
}

.centered-hero .hero-name {
    justify-content: center;
    text-align: center;
    flex-wrap: nowrap;
    gap: 10px;
    margin: 20px auto;
}

.centered-hero .hero-profession {
    justify-content: center;
    margin: 15px auto;
    width: 100%;
    max-width: 600px;
}

.centered-hero .hero-profession .profession-text {
    text-align: center;
    white-space: normal;
}

.centered-hero .hero-description {
    margin: 25px auto;
    text-align: center;
    border-left: none;
    padding: 20px;
    border-radius: 15px;
    max-width: 700px;
    background: rgba(255, 0, 0, 0.05);
}

.centered-hero .hero-buttons {
    justify-content: center;
    margin-top: 30px;
}

/* Fix name underlines */
.centered-hero .name-first,
.centered-hero .name-last {
    display: inline-block;
    text-align: center;
}

.centered-hero .name-last::after {
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
}

/* Fix profession divider */
.centered-hero .profession-icon {
    opacity: 0.7;
}

/* Make hero responsive */
@media (max-width: 768px) {
    .centered-hero .hero-name {
        flex-direction: column;
        gap: 5px;
    }
    
    .centered-hero .hero-profession {
        flex-direction: column;
        gap: 10px;
    }
    
    .centered-hero .hero-profession .profession-text {
        font-size: 1.3rem;
    }
    
    .centered-hero .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .centered-hero .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ========== FIX FLOATING ELEMENTS SECTION ========== */
.floating-elements-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.floating-elements-section .floating-element {
    width: 100%;
    height: 140px; /* Reduced height */
    background: rgba(255, 0, 0, 0.08);
    border: 1px solid rgba(255, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    border-radius: 15px;
    padding: 15px;
    transition: all 0.4s ease;
    opacity: 0.9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.floating-elements-section .floating-element::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.floating-elements-section .floating-element:hover::before {
    opacity: 1;
}

.floating-elements-section .floating-element:hover {
    opacity: 1;
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.15);
    background: rgba(255, 0, 0, 0.12);
}

.floating-elements-section .element-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 100%;
}

.floating-elements-section .element-icon {
    font-size: 2rem; /* Smaller icon */
    margin-bottom: 0;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.floating-elements-section .floating-element:hover .element-icon {
    transform: scale(1.1);
}

.floating-elements-section .element-text {
    font-size: 1rem; /* Smaller text */
    color: var(--text-light);
    font-weight: 700;
    margin: 0;
}

.floating-elements-section .element-subtext {
    font-size: 0.8rem; /* Smaller subtext */
    color: var(--text-gray);
    opacity: 0.8;
    line-height: 1.3;
    max-width: 120px;
    margin: 0;
}

/* Grid pattern for better alignment */
.floating-elements-section .element-1 { grid-area: 1 / 1 / 2 / 2; }
.floating-elements-section .element-2 { grid-area: 1 / 2 / 2 / 3; }
.floating-elements-section .element-3 { grid-area: 1 / 3 / 2 / 4; }
.floating-elements-section .element-4 { grid-area: 1 / 4 / 2 / 5; }
.floating-elements-section .element-5 { grid-area: 2 / 1 / 3 / 2; }
.floating-elements-section .element-6 { grid-area: 2 / 2 / 3 / 3; }
.floating-elements-section .element-7 { grid-area: 2 / 3 / 3 / 4; }
.floating-elements-section .element-8 { grid-area: 2 / 4 / 3 / 5; }

/* New staggered animation */
@keyframes staggeredFloat {
    0%, 100% { 
        transform: translateY(0) scale(1); 
    }
    50% { 
        transform: translateY(-10px) scale(1.02); 
    }
}

/* Apply different animation delays for staggered effect */
.floating-elements-section .element-1 { animation: staggeredFloat 5s ease-in-out infinite; }
.floating-elements-section .element-2 { animation: staggeredFloat 5s ease-in-out infinite 0.3s; }
.floating-elements-section .element-3 { animation: staggeredFloat 5s ease-in-out infinite 0.6s; }
.floating-elements-section .element-4 { animation: staggeredFloat 5s ease-in-out infinite 0.9s; }
.floating-elements-section .element-5 { animation: staggeredFloat 5s ease-in-out infinite 1.2s; }
.floating-elements-section .element-6 { animation: staggeredFloat 5s ease-in-out infinite 1.5s; }
.floating-elements-section .element-7 { animation: staggeredFloat 5s ease-in-out infinite 1.8s; }
.floating-elements-section .element-8 { animation: staggeredFloat 5s ease-in-out infinite 2.1s; }

/* Responsive grid */
@media (max-width: 1024px) {
    .floating-elements-container {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on tablets */
        gap: 18px;
        max-width: 900px;
    }
    
    .floating-elements-section .floating-element {
        height: 130px;
    }
}

@media (max-width: 768px) {
    .floating-elements-container {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
        gap: 15px;
        max-width: 600px;
    }
    
    .floating-elements-section .floating-element {
        height: 120px;
        padding: 12px;
    }
    
    .floating-elements-section .element-icon {
        font-size: 1.8rem;
    }
    
    .floating-elements-section .element-text {
        font-size: 0.95rem;
    }
    
    .floating-elements-section .element-subtext {
        font-size: 0.75rem;
        max-width: 100px;
    }
}

@media (max-width: 480px) {
    .floating-elements-container {
        grid-template-columns: 1fr; /* 1 column on small mobile */
        max-width: 300px;
        gap: 12px;
    }
    
    .floating-elements-section .floating-element {
        height: 110px;
    }
    
    .floating-elements-section .element-icon {
        font-size: 1.6rem;
    }
    
    .floating-elements-section .element-text {
        font-size: 0.9rem;
    }
    
    .floating-elements-section .element-subtext {
        font-size: 0.7rem;
    }
}

/* Add some extra styling for the section */
.floating-elements-section {
    padding: 60px 20px;
    position: relative;
    min-height: auto;
}

.floating-elements-section .section-title {
    margin-bottom: 40px;
}

/* Optional: Add connecting lines between elements (like a network) */
.floating-elements-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    height: 90%;
    transform: translate(-50%, -50%);
    background: 
        linear-gradient(90deg, transparent 49%, rgba(255, 0, 0, 0.05) 50%, transparent 51%),
        linear-gradient(0deg, transparent 49%, rgba(255, 0, 0, 0.05) 50%, transparent 51%);
    background-size: calc(100% / 4) calc(100% / 2);
    z-index: 0;
    opacity: 0.3;
    pointer-events: none;
}

/* ========== DISABLED BUTTON STYLES ========== */
.btn-small.btn-disabled,
.btn-small.btn-secondary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.5);
    transform: none;
    box-shadow: none;
    position: relative;
    overflow: visible;
}

.btn-small.btn-disabled:hover,
.btn-small.btn-secondary:disabled:hover {
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 0, 0, 0.2);
}

.btn-small.btn-disabled .btn-badge,
.btn-small.btn-secondary:disabled .btn-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: rgba(255, 0, 0, 0.2);
    color: #ff9999;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid rgba(255, 0, 0, 0.3);
    font-weight: 600;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
}

/* Light theme support */
.light-theme .btn-small.btn-disabled,
.light-theme .btn-small.btn-secondary:disabled {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.4);
}

.light-theme .btn-small.btn-disabled .btn-badge,
.light-theme .btn-small.btn-secondary:disabled .btn-badge {
    background: rgba(255, 0, 0, 0.1);
    color: #cc0000;
    border-color: rgba(255, 0, 0, 0.3);
}
/* ========== RIPPLE EFFECT ========== */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    animation: ripple 1s ease-out forwards;
}

@keyframes ripple {
    from {
        transform: scale(0);
        opacity: 1;
    }
    to {
        transform: scale(3);
        opacity: 0;
    }
}

/* ========== ANIMATED GRID BACKGROUND ========== */
.animated-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes gridMove {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 50px 50px;
    }
}

/* ========== GRADIENT OVERLAY ========== */
.gradient-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at 20% 50%,
        rgba(255, 0, 0, 0.05) 0%,
        transparent 50%
    ),
    radial-gradient(
        circle at 80% 20%,
        rgba(255, 0, 0, 0.03) 0%,
        transparent 50%
    );
    pointer-events: none;
    z-index: 0;
    animation: gradientShift 10s ease-in-out infinite alternate;
}

@keyframes gradientShift {
    from {
        transform: translate(0, 0);
    }
    to {
        transform: translate(50px, 50px);
    }
}

/* ========== TYPEWRITER CURSOR ========== */
.typewriter::after {
    content: '|';
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ========== NEON GLOW ========== */
.neon-glow {
    text-shadow: 
        0 0 5px var(--primary),
        0 0 10px var(--primary),
        0 0 20px var(--primary),
        0 0 40px var(--primary);
    animation: neonPulse 2s ease-in-out infinite;
}

@keyframes neonPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}
