/* Components */

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid transparent;
}

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

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

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

.btn-primary:hover {
    background: var(--contrast-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(175, 105, 11, 0.4);
}

.btn-contact {
    background: transparent !important;
    color: var(--contrast) !important;
    border: 2px solid var(--contrast) !important;
    animation: scale-pulse 1s infinite ease-in-out;
    border-radius: 32px;
}

.btn-contact:hover {
    background: var(--contrast-dim) !important;
    box-shadow: 0 0 15px var(--contrast);
    color: var(--contrast) !important;
}

.btn-outline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-medium);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--text-primary);
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-md);
    /* Removed fixed min-height to revert to standard flowing card */
    transform-style: preserve-3d;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
    z-index: 0;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--border-strong);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.card > * {
    position: relative;
    z-index: 1;
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px; /* Reduced from 280px to make cards smaller */
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background-color: var(--bg-light); 
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 0;
    transition: transform 0.3s ease;
    transform-style: preserve-3d;
}

.card-image-wrapper.perfect-fit {
    height: 0;
    padding-bottom: 46.74%; /* 215/460 = 0.4674 - maintains exact aspect ratio */
    position: relative;
}

.card-image-wrapper.perfect-fit img {
    position: absolute;
    top: 0;
    left: 0;
}

.card-image-wrapper img {
    width: 100%;       
    height: 100%;      
    object-fit: cover; /* Cover ensures the area is filled */
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.card-image-wrapper.perfect-fit img {
    object-fit: contain;
}

.card-image-wrapper.with-blur-bg {
    height: 0;
    padding-bottom: 46.74%; /* Same aspect ratio as perfect-fit cards */
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
}

.card-image-wrapper.with-blur-bg img {
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.card:hover .card-image-wrapper img {
    transform: scale(1.1);
}

.card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: var(--space-lg);
    z-index: 2;
    background: var(--bg-card); /* Ensure background is solid so text is readable */
    transition: transform 0.3s ease;
    transform-style: preserve-3d;
}

.card:hover .card-content {
    transform: none;
}

.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.card-status {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.card-status.active { 
    color: var(--accent-secondary);
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
}

.card-status.past { 
    color: var(--text-muted); 
}

.card-status.jam {
    color: var(--accent-tertiary);
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.card .card-role {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-weight: 500;
    flex-grow: 0;
    line-height: 1.2;
}

.card h3 {
    margin-bottom: 24px;
    font-size: 1.35rem;
    margin-top: 0;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: var(--space-lg);
    flex-grow: 1;
    line-height: 1.7;
}

.card-platforms {
    display: flex;
    gap: var(--space-xs);
    align-items: center;
    margin-bottom: var(--space-sm);
}

.card-platforms img {
    width: 18px;
    height: 18px;
    opacity: 0.7;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.card-platforms img.platform-windows {
    filter: brightness(0) saturate(100%) invert(100%);
}

.card:hover .card-platforms img {
    opacity: 1;
    transform: scale(1.1);
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.card-tags span {
    font-size: 0.75rem;
    padding: 4px 10px; /* Smaller padding */
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    color: var(--text-muted);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-fast);
}

.card:hover .card-tags span {
    background: rgba(232, 26, 26, 0.1);
    border-color: var(--border-strong);
    color: var(--text-secondary);
}

.card-year {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.card-link {
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--contrast);
    transition: gap var(--transition-base);
}

.card-link:hover {
    gap: 12px;
}

.card-link .arrow {
    transition: transform var(--transition-base);
}

.card-link:hover .arrow {
    transform: translateX(4px);
}

.section-header {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
    position: relative;
    margin-left: 64px;
}

.section-header h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    white-space: nowrap;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--contrast);
    border-radius: 2px;
}

.section-header .line {
    flex: 1;
    height: 3px;
    background: linear-gradient(
        90deg, 
        var(--border-medium) 0%, 
        transparent 100%
    );
}

.social-links-hero {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-base);
    color: var(--text-muted);
    backdrop-filter: blur(10px);
}

.icon-link:hover {
    background: var(--contrast);
    border-color: var(--contrast);
    color: var(--text-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.social-icon {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-fast);
}

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

.social-icon-sm {
    width: 24px;
    height: 24px;
}

a[href*="linkedin"] .social-icon,
a[href*="linkedin"] .social-icon-sm {
    filter: brightness(0) saturate(100%) invert(33%) sepia(97%) saturate(1582%) hue-rotate(188deg) brightness(95%) contrast(101%);
}

a[href*="linkedin"]:hover .social-icon,
a[href*="linkedin"]:hover .social-icon-sm {
    filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%);
}

@keyframes float-arrow {
    0%, 100% { transform: translateY(3px); }
    50% { transform: translateY(-3px); }
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(35, 35, 35, 0.6); /* Semi-transparent */
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--contrast);
    border-color: var(--contrast);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(232, 26, 26, 0.5);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
    animation: float-arrow 2s ease-in-out infinite;
}

.scroll-to-top:hover svg {
    animation: none;
    transform: translateY(-4px);
}

/* Language Selector */
.language-selector {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-left: 15px;
    padding-left: 15px;
    border-left: 2px solid var(--border-medium);
}

.lang-separator {
    display: none; /* Handled by border-left above */
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 18px; /* Flag aspect ratio */
    overflow: visible;
    position: relative;
    transition: all 0.2s ease;
    opacity: 0.5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.1);
}

.lang-btn:hover, .lang-btn.active {
    opacity: 1;
    transform: scale(1.15);
}

.lang-btn.active img {
    box-shadow: 0 0 0 2px #ffffff;
}

.lang-tooltip {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--bg-card);
    color: var(--text-primary);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    pointer-events: none;
    border: 1px solid var(--border-medium);
    margin-top: 8px;
    z-index: 1005;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.lang-tooltip::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    background-color: var(--bg-card);
    border-left: 1px solid var(--border-medium);
    border-top: 1px solid var(--border-medium);
}

.lang-btn:hover .lang-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Gamification Stats (Hero Profile) */
.gamification-stats {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 4px 0 8px 0;
    font-family: var(--font-mono);
    background: rgba(20, 20, 20, 0.6);
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid var(--border-medium);
    width: fit-content;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    position: relative;
    backdrop-filter: blur(4px);
    border-left: 3px solid var(--contrast);
    animation: slideInStats 1s ease-out forwards;
    opacity: 0;
    transform: translateX(-20px);
}

@keyframes slideInStats {
    to { opacity: 1; transform: translateX(0); }
}

.stat-level {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    padding-right: 12px;
    border-right: 1px solid var(--border-medium);
}

.stat-level .label {
    font-size: 0.6rem;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 2px;
}

.stat-level .value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--contrast);
    text-shadow: 0 0 10px rgba(232, 26, 26, 0.4);
}

.stat-bars {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 140px;
    padding: 2px 0;
}

.bar-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.bar-fill {
    height: 100%;
    border-radius: 3px;
    width: 0%;
    position: relative;
    transition: width 1s ease-out;
}

.prog-bar .bar-fill {
    background: linear-gradient(90deg, #c0392b, #e74c3c);
    animation: fillProg 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.5s;
}

.design-bar .bar-fill {
    background: linear-gradient(90deg, #f39c12, #f1c40f);
    animation: fillDesign 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.7s;
}

.ui-bar .bar-fill {
    background: linear-gradient(90deg, #00ced1, #48d1cc); /* DarkTurquoise to MediumTurquoise */
    animation: fillUI 2s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.9s;
    box-shadow: 0 0 8px rgba(0, 206, 209, 0.4);
}

.class-badge {
    position: absolute;
    right: -8px;
    top: -8px;
    background: var(--contrast);
    color: white;
    font-size: 0.55rem;
    padding: 2px 6px;
    border-radius: 2px;
    font-weight: bold;
    letter-spacing: 0.5px;
    transform: rotate(10deg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    z-index: 2;
}

@keyframes fillProg { from { width: 0%; } to { width: 91%; } }
@keyframes fillDesign { from { width: 0%; } to { width: 74%; } }
@keyframes fillUI { from { width: 0%; } to { width: 60%; } }

/* Profile Avatar Glitch Hover Effect */
.profile-avatar-wrapper {
    position: relative;
}

.profile-avatar-wrapper::after {
    content: 'GAME DEV';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: black;
    color: var(--contrast);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 2px 8px;
    border: 1px solid var(--contrast);
    border-radius: 4px;
    opacity: 0;
    transition: all 0.3s ease;
}

.profile-avatar-wrapper:hover::after {
    opacity: 1;
    bottom: -15px;
}


@media (max-width: 768px) {
    .gamification-stats {
        margin: 4px auto 8px auto;
    }
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-md);
    max-width: 1400px;
    margin: 0 auto;
    justify-content: center;
}

.team-card {
    background: transparent;
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: none;
    position: relative;
    max-width: 320px;
    margin: 0 auto;
    width: 100%;
}

.team-card::before {
    display: none;
}

.team-card:hover {
    transform: none;
}

.team-member-image {
    width: 100%;
    height: 320px;
    position: relative;
    overflow: hidden;
    background: transparent;
    border-radius: var(--radius-lg);
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none;
}

.team-card:hover .team-member-image img {
    transform: none;
}

.team-member-content {
    padding: var(--space-lg);
    position: relative;
    z-index: 1;
}

.team-member-content h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.team-role {
    color: var(--contrast);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-bio {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    font-size: 0.95rem;
}

.team-social {
    display: flex;
    gap: var(--space-sm);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-subtle);
}

.team-social .icon-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Services Section */
.services-carousel-container {
    width: 100%;
    position: relative;
    padding: var(--space-md) 0;
    margin: 0 auto;
    max-width: 1400px;
    display: flex;
    align-items: center;
    overflow: visible;
}

.services-carousel-viewport {
    overflow: hidden;
    width: 100%;
    position: relative;
    /* Hide scrollbar */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.services-carousel-viewport::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

/* Fade only the cards (not the arrows) */
.services-carousel-viewport {
    -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
    mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.services-carousel-track {
    display: flex;
    gap: var(--space-lg);
    width: max-content;
    transition: transform 0.5s ease-in-out;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    width: 320px;
    flex-shrink: 0;
    /* Optional: snap behavior if we use CSS scroll snap */
    scroll-snap-align: center;
}

/* Carousel Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.carousel-btn:hover {
    background: var(--contrast);
    color: var(--bg-dark);
    border-color: var(--contrast);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

@media (max-width: 1500px) {
    .carousel-btn.prev { left: 5px; }
    .carousel-btn.next { right: 5px; }
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
    z-index: 0;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-strong);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-md);
    color: var(--contrast);
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 10px var(--contrast));
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-member-image {
        height: 280px;
    }
    
    .service-card {
        padding: var(--space-md);
        width: 260px;
    }
    
    .services-carousel-viewport {
        -webkit-mask-image: none;
        mask-image: none;
    }
    
    .carousel-btn {
        display: none; /* Hide buttons on mobile, let them swipe */
    }
    
    .services-carousel-viewport {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }
}

/* ============================================
   NEW SECTION STYLES - About, Games, CTA
   ============================================ */

/* Section Subtitle */
.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-top: calc(var(--space-md) * -1);
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Ethereal Section Design - Alternating backgrounds */
.content-section {
    position: relative;
    border-radius: var(--radius-xl);
    margin: var(--space-xl) auto;
    max-width: calc(100% - var(--space-xl) * 2);
    backdrop-filter: blur(10px);
    box-shadow: 
        0 20px 60px -20px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(175, 105, 11, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* Section with background (for alternating pattern) */
.content-section.section-light {
    background: 
        radial-gradient(ellipse at top right, rgba(91, 57, 234, 0.08), transparent 60%),
        radial-gradient(ellipse at bottom left, rgba(175, 105, 11, 0.08), transparent 60%),
        url("data:image/svg+xml,%3Csvg width='150' height='150' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='1' fill='rgba(255,255,255,0.15)'/%3E%3Ccircle cx='80' cy='50' r='1.5' fill='rgba(255,255,255,0.2)'/%3E%3Ccircle cx='120' cy='110' r='1' fill='rgba(255,255,255,0.1)'/%3E%3Ccircle cx='40' cy='130' r='1.5' fill='rgba(255,255,255,0.15)'/%3E%3Ccircle cx='140' cy='30' r='1' fill='rgba(255,255,255,0.1)'/%3E%3C/svg%3E"),
        linear-gradient(180deg,
            rgba(25, 22, 18, 0.98) 0%,
            rgba(30, 26, 22, 0.99) 50%,
            rgba(25, 22, 18, 0.98) 100%
        );
}

/* Section with no background (transparent) */
.content-section.section-transparent {
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
}

.content-section .section-chain {
    display: none;
}

/* Work with us Section - Update background to match alternating pattern */
.work-with-us-section {
    background: 
        radial-gradient(ellipse at top right, rgba(91, 57, 234, 0.08), transparent 60%),
        radial-gradient(ellipse at bottom left, rgba(175, 105, 11, 0.08), transparent 60%),
        url("data:image/svg+xml,%3Csvg width='150' height='150' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='1' fill='rgba(255,255,255,0.15)'/%3E%3Ccircle cx='80' cy='50' r='1.5' fill='rgba(255,255,255,0.2)'/%3E%3Ccircle cx='120' cy='110' r='1' fill='rgba(255,255,255,0.1)'/%3E%3Ccircle cx='40' cy='130' r='1.5' fill='rgba(255,255,255,0.15)'/%3E%3Ccircle cx='140' cy='30' r='1' fill='rgba(255,255,255,0.1)'/%3E%3C/svg%3E"),
        linear-gradient(180deg,
            rgba(25, 22, 18, 0.98) 0%,
            rgba(30, 26, 22, 0.99) 50%,
            rgba(25, 22, 18, 0.98) 100%
        );
    border: 1px solid rgba(175, 105, 11, 0.12);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 8px 32px -8px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.02),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all var(--transition-base);
}

.ethereal-card:hover {
    border-color: rgba(175, 105, 11, 0.3);
    box-shadow: 
        0 12px 40px -10px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(175, 105, 11, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* About Section - Ethereal Redesign */
.about-section {
    background: transparent;
    border: none;
    box-shadow: none;
}

.about-ethereal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-2xl);
}

.about-content-ethereal h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: var(--space-lg);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-content-ethereal p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.about-stats-ethereal {
    display: flex;
    gap: var(--space-2xl);
    flex-wrap: wrap;
}

.about-stats-ethereal .stat-item {
    padding: var(--space-md) var(--space-lg);
    background: linear-gradient(145deg, rgba(175, 105, 11, 0.1), rgba(175, 105, 11, 0.05));
    border: 1px solid rgba(175, 105, 11, 0.2);
    border-radius: var(--radius-lg);
    text-align: center;
    min-width: 120px;
}

.about-stats-ethereal .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--contrast);
    display: block;
}

.about-stats-ethereal .stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-visual-ethereal {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-visual-ethereal::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(175, 105, 11, 0.15), transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 4s ease-in-out infinite;
}

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

.about-visual-ethereal img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 30px rgba(175, 105, 11, 0.3));
}

@media (max-width: 968px) {
    .about-ethereal {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-stats-ethereal {
        justify-content: center;
    }
}

/* Legacy About Container - make ethereal */
.about-container {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.03) 0%, 
        rgba(255, 255, 255, 0.01) 100%
    );
    border: 1px solid rgba(175, 105, 11, 0.15);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 20px 60px -20px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.02);
}

.about-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--contrast);
    margin-bottom: var(--space-sm);
}

.about-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: var(--space-lg);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto var(--space-2xl);
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-3xl);
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    background: var(--gradient-star);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

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

/* Games Section - Featured vs Other */
.featured-games {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    margin-bottom: var(--space-xl);
}

.featured-games .project-card {
    border: 1px solid var(--border-strong);
}

.featured-games .project-card:hover {
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.client-games {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    margin-bottom: var(--space-lg);
}

.client-games .project-card {
    border: 1px solid var(--border-medium);
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(17, 14, 12, 0.8) 100%);
}

.client-games .project-card:hover {
    box-shadow: var(--shadow-lg), 0 0 30px rgba(150, 157, 201, 0.15);
    border-color: var(--chain-light);
}

.other-games-header {
    text-align: center;
    margin: var(--space-lg) 0 var(--space-xl);
}

.other-games-header h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.other-games {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Card Status Variants */
.card-status.released {
    color: #22c55e;
    text-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
}

.card-status.prototype {
    color: var(--chain-dark);
    text-shadow: 0 0 10px rgba(150, 157, 201, 0.4);
}

/* Services Section - Client Work */
.services-section {
    background: linear-gradient(180deg, 
        rgba(25, 22, 18, 0.98) 0%, 
        rgba(30, 26, 22, 0.99) 50%,
        rgba(25, 22, 18, 0.98) 100%
    );
    border: 1px solid rgba(175, 105, 11, 0.12);
}

.services-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-2xl);
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.service-card.highlight {
    border: 1px solid var(--border-medium);
}

.service-card.highlight:hover {
    border-color: var(--border-strong);
}

.service-icon.purple {
    color: var(--purple-krishna);
    filter: drop-shadow(0 0 10px rgba(91, 57, 234, 0.4));
}

.service-icon.blue {
    color: var(--chain-dark);
    filter: drop-shadow(0 0 10px rgba(150, 157, 201, 0.4));
}

.service-icon.orange {
    color: var(--contrast);
    filter: drop-shadow(0 0 10px rgba(175, 105, 11, 0.4));
}

.services-cta {
    text-align: center;
    margin-top: var(--space-2xl);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 50% 30% at 50% 100%, rgba(175, 105, 11, 0.1), transparent),
        radial-gradient(ellipse 30% 20% at 80% 20%, rgba(91, 57, 234, 0.08), transparent);
    pointer-events: none;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-container h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: var(--space-lg);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-container p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.cta-buttons {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 14px 32px;
    font-size: 1rem;
    border-radius: 50px;
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-medium) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(91, 57, 234, 0.08), transparent 70%);
    pointer-events: none;
}

.testimonials-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 50%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(175, 105, 11, 0.06), transparent 70%);
    pointer-events: none;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    position: relative;
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: var(--space-lg);
    left: var(--space-lg);
    font-size: 4rem;
    font-family: Georgia, serif;
    color: var(--contrast);
    opacity: 0.3;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-medium);
    box-shadow: 
        0 20px 40px -10px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(175, 105, 11, 0.15);
}

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

.testimonial-quote {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    font-style: italic;
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: var(--space-md);
}

.testimonial-rating svg {
    width: 20px;
    height: 20px;
    fill: var(--chain-accent);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-medium);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.testimonial-author-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.testimonial-author-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.testimonial-project {
    margin-top: var(--space-sm);
    padding: 4px 12px;
    background: rgba(175, 105, 11, 0.15);
    border-radius: 100px;
    display: inline-block;
    font-size: 0.75rem;
    color: var(--contrast);
    font-family: var(--font-mono);
}

/* Stats/Trust Indicators */
.trust-indicators {
    display: flex;
    justify-content: center;
    gap: var(--space-3xl);
    margin-top: var(--space-3xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Language Dropdown */
.language-dropdown {
    position: relative;
    margin-left: 1rem;
}

.lang-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    position: relative;
    z-index: 1002;
}

.lang-dropdown-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.lang-dropdown-btn img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
    pointer-events: none;
}

.dropdown-arrow {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    transition: transform var(--transition-base);
    pointer-events: none;
}

.language-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(17, 14, 12, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px;
    min-width: 140px;
    display: none;
    z-index: 1001;
    backdrop-filter: blur(10px);
}

.language-dropdown.open .lang-dropdown-menu {
    display: block;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 12px;
    background: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.lang-option img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

/* Team Cards - Ultra Subtle */
.team-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.team-card::before {
    display: none;
}

.team-card:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: none;
}

.team-member-image {
    width: 100%;
    height: 240px;
    position: relative;
    overflow: hidden;
    background: var(--bg-light);
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none;
}

.team-card:hover .team-member-image img {
    transform: none;
}

.team-member-content {
    padding: var(--space-lg);
    position: relative;
    z-index: 1;
}

.team-member-content h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.team-role {
    color: var(--contrast);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-bio {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    font-size: 0.9rem;
}

.team-social {
    display: flex;
    gap: var(--space-sm);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-subtle);
}

.team-social .icon-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .language-dropdown {
        margin-left: 0;
    }
}


.trust-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-star);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trust-stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: var(--space-xs);
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: var(--space-xl);
    }
}



