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

:root {
    /* Your Brand Color System */
    --primary-bg: #002630;        /* Dark teal background */
    --secondary-bg: #1a3a42;      /* Slightly lighter teal */
    --accent-bg: #2a4a52;         /* Medium teal for cards */
    --surface-bg: rgba(253, 251, 237, 0.05);  /* Cream with transparency */
    --glass-bg: rgba(253, 251, 237, 0.1);     /* Cream glass effect */
    --border-color: rgba(253, 251, 237, 0.2); /* Cream borders */
    --border-hover: rgba(253, 251, 237, 0.4); /* Cream borders on hover */
    --text-primary: #FDFBED;       /* Cream text */
    --text-secondary: #B8C5C8;     /* Light teal text */
    --text-muted: #7A8B8F;         /* Muted teal text */
    
    /* Your Accent Colors */
    --accent-primary: #4A556D;     /* Slate blue accent */
    --accent-secondary: #2D3748;   /* Darker slate */
    --accent-tertiary: #FDFBED;    /* Cream accent */
    --accent-success: #48BB78;     /* Green for success */
    --accent-warning: #ED8936;     /* Orange for warning */
    --accent-error: #F56565;       /* Red for error */
    
    /* Brand Gradients */
    --gradient-primary: linear-gradient(135deg, #4A556D 0%, #2D3748 100%);
    --gradient-secondary: linear-gradient(135deg, #FDFBED 0%, #E2E8F0 100%);
    --gradient-surface: linear-gradient(135deg, rgba(253, 251, 237, 0.1) 0%, rgba(253, 251, 237, 0.05) 100%);
    --gradient-brand: linear-gradient(135deg, #002630 0%, #4A556D 50%, #FDFBED 100%);
    
    /* Shadows with your colors */
    --shadow-sm: 0 1px 2px rgba(0, 38, 48, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 38, 48, 0.15);
    --shadow-lg: 0 10px 15px rgba(0, 38, 48, 0.2);
    --shadow-xl: 0 20px 25px rgba(0, 38, 48, 0.25);
    --shadow-glow: 0 0 20px rgba(74, 85, 109, 0.3);
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: 
        radial-gradient(1200px 800px at 80% -20%, rgba(74, 85, 109, 0.15) 0%, transparent 60%),
        radial-gradient(900px 700px at -10% 0%, rgba(253, 251, 237, 0.08) 0%, transparent 55%),
        var(--primary-bg);
    color: var(--text-primary);
    overflow: hidden;
    font-size: 14px;
    line-height: 1.6;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.showcase-container {
    display: grid;
    grid-template-areas: 
        "header header"
        "viewport sidebar";
    grid-template-rows: 70px 1fr;
    grid-template-columns: 1fr 360px;
    height: 100vh;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.showcase-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(74, 85, 109, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(253, 251, 237, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.showcase-container.sidebar-hidden {
    grid-template-columns: 1fr 0;
}

.showcase-container.fullscreen {
    grid-template-areas: "viewport";
    grid-template-rows: 1fr;
    grid-template-columns: 1fr;
}

.showcase-header {
    grid-area: header;
    background: linear-gradient(135deg, 
        rgba(253, 251, 237, 0.08) 0%, 
        rgba(253, 251, 237, 0.03) 50%, 
        rgba(74, 85, 109, 0.05) 100%);
    backdrop-filter: blur(25px) saturate(1.3);
    border-bottom: 1px solid rgba(253, 251, 237, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-xl);
    box-shadow: 
        0 8px 32px rgba(0, 38, 48, 0.12),
        inset 0 1px 0 rgba(253, 251, 237, 0.1);
    position: relative;
    z-index: 10;
    transition: all 0.3s ease;
}

.showcase-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(74, 85, 109, 0.1) 0%, 
        transparent 50%, 
        rgba(253, 251, 237, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
    pointer-events: none;
}

.showcase-header:hover::before {
    opacity: 1;
}

.project-info {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    position: relative;
    z-index: 2;
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, 
        rgba(74, 85, 109, 0.8) 0%, 
        rgba(45, 55, 72, 0.9) 100%);
    border: 1px solid rgba(253, 251, 237, 0.2);
    box-shadow: 0 4px 15px rgba(74, 85, 109, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.brand-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 85, 109, 0.3);
}

.logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: brightness(1.1);
    transition: all 0.3s ease;
}

.brand-logo:hover .logo-img {
    transform: scale(1.05);
}

.logo-placeholder {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-secondary);
    color: var(--primary-bg);
    font-weight: 700;
    font-size: 16px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    min-width: 0;
}


.project-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.025em;
    transition: all 0.3s ease;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project-title:hover {
    color: var(--accent-tertiary);
}

.project-tech {
    font-size: 10px;
    background: rgba(74, 85, 109, 0.8);
    color: var(--accent-tertiary);
    padding: 6px 12px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(253, 251, 237, 0.15);
    transition: all 0.2s ease;
    align-self: flex-start;
    position: relative;
    overflow: hidden;
}

.project-tech::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.5s ease;
    z-index: 1;
    border-radius: inherit;
}

.project-tech:hover::before {
    left: 100%;
}

.project-tech:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.showcase-controls {
    display: flex;
    gap: var(--space-sm);
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
    align-items: center;
}

.control-btn {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 16px;
    position: relative;
    overflow: hidden;
    font-weight: 500;
}

.control-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.control-btn:hover {
    background: var(--surface-bg);
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.control-btn:hover::before {
    opacity: 0.1;
}

.control-btn:active {
    transform: translateY(0);
}

.control-btn svg {
    position: relative;
    z-index: 1;
}

.project-viewport {
    grid-area: viewport;
    position: relative;
    background: linear-gradient(135deg, 
        rgba(26, 58, 66, 0.4) 0%, 
        rgba(42, 74, 82, 0.2) 100%);
    backdrop-filter: blur(20px) saturate(1.2);
    border: 1px solid rgba(253, 251, 237, 0.15);
    overflow: hidden;
    margin: var(--space-lg);
    border-radius: var(--radius-2xl);
    box-shadow: 
        0 20px 40px rgba(0, 38, 48, 0.15),
        inset 0 1px 0 rgba(253, 251, 237, 0.1);
    z-index: 1;
    transition: all 0.3s ease;
}

.project-viewport::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, 
        rgba(74, 85, 109, 0.2) 0%, 
        rgba(253, 251, 237, 0.1) 50%, 
        rgba(74, 85, 109, 0.2) 100%);
    border-radius: var(--radius-2xl);
    z-index: -1;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.project-viewport:hover::before {
    opacity: 0.7;
}

.project-viewport:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 25px 50px rgba(0, 38, 48, 0.2),
        inset 0 1px 0 rgba(253, 251, 237, 0.15);
}

#projectFrame {
    width: 100%;
    height: 100%;
    border: none;
    background: #fff;
    transition: all 0.3s ease;
    border-radius: var(--radius-2xl);
    overflow: hidden;
}

.loading-spinner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--gradient-surface);
    backdrop-filter: blur(10px);
    z-index: 10;
    border-radius: var(--radius-2xl);
    gap: var(--space-lg);
}

.loading-logo {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9eff4;
    backdrop-filter: blur(10px);
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    animation: logoSpin 2s linear infinite;
}

.logo-spinner {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo-placeholder {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--accent-tertiary);
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
}

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

.spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: var(--space-lg);
    position: relative;
}

.spinner::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 3px solid transparent;
    border-top: 3px solid var(--accent-secondary);
    border-radius: 50%;
    animation: spin 1.5s linear infinite reverse;
}

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

.loading-spinner p {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.project-overlay.active {
    opacity: 1;
    visibility: visible;
}

.overlay-content {
    text-align: center;
    max-width: 600px;
    padding: 48px;
    background: var(--secondary-bg);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px var(--shadow-dark);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-overlay.active .overlay-content {
    transform: translateY(0);
}

.overlay-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-xl);
    border-bottom: 1px solid rgba(253, 251, 237, 0.1);
    background: rgba(26, 58, 66, 0.1);
    margin: -48px -48px 0 -48px;
}

.overlay-logo {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9eff4;
    backdrop-filter: blur(10px);
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.overlay-logo-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.overlay-logo-placeholder {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--accent-tertiary);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
}

.overlay-body {
    padding-top: var(--space-xl);
}

.overlay-body h2 {
    margin: 0 0 var(--space-lg) 0;
    color: var(--text-primary);
    font-size: 24px;
    font-weight: 700;
}

.overlay-body p {
    margin: 0 0 var(--space-xl) 0;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 16px;
}

.project-tech-stack {
    margin-bottom: var(--space-xl);
}

.project-tech-stack h3 {
    margin: 0 0 var(--space-md) 0;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.tech-tag {
    background: var(--gradient-primary);
    color: var(--accent-tertiary);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(253, 251, 237, 0.2);
}

.close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.close-btn:hover {
    color: var(--text-primary);
    background: var(--accent-bg);
}

.overlay-content h2 {
    margin-bottom: 24px;
    color: var(--accent-color);
    font-size: 28px;
    font-weight: 700;
}

.overlay-content p {
    margin-bottom: 32px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 16px;
}

.project-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.link-btn {
    background: var(--gradient-primary);
    color: var(--accent-tertiary);
    padding: 14px 24px;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(74, 85, 109, 0.3);
    border: 1px solid rgba(253, 251, 237, 0.2);
}

.link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 85, 109, 0.4);
    background: linear-gradient(135deg, #4A556D, #002630);
}

.github-btn {
    background: #e9eff4;
    color: var(--accent-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 38, 48, 0.2);
}

.github-btn:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background: #d4e0e8;
    transform: translateY(-2px);
}

.showcase-sidebar {
    grid-area: sidebar;
    background: linear-gradient(135deg, 
        rgba(253, 251, 237, 0.06) 0%, 
        rgba(26, 58, 66, 0.3) 100%);
    backdrop-filter: blur(25px) saturate(1.2);
    border: 1px solid rgba(253, 251, 237, 0.12);
    overflow-y: auto;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: var(--space-lg) var(--space-lg) var(--space-lg) 0;
    border-radius: var(--radius-2xl);
    box-shadow: 
        0 20px 40px rgba(0, 38, 48, 0.12),
        inset 0 1px 0 rgba(253, 251, 237, 0.08);
    position: relative;
    z-index: 1;
}

.showcase-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        rgba(99, 102, 241, 0.05) 0%, 
        transparent 50%, 
        rgba(139, 92, 246, 0.05) 100%);
    border-radius: var(--radius-2xl);
    pointer-events: none;
}

.showcase-sidebar::-webkit-scrollbar {
    width: 4px;
}

.showcase-sidebar::-webkit-scrollbar-track {
    background: rgba(26, 58, 66, 0.2);
}

.showcase-sidebar::-webkit-scrollbar-thumb {
    background: rgba(74, 85, 109, 0.5);
    border-radius: 2px;
}

.showcase-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(74, 85, 109, 0.7);
}

.sidebar-content {
    padding: var(--space-xl);
    position: relative;
    z-index: 1;
}

.sidebar-content h3 {
    margin-bottom: var(--space-xl);
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.sidebar-content h4 {
    margin: var(--space-xl) 0 var(--space-md) 0;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
}

.tech-list {
    list-style: none;
    margin-bottom: var(--space-2xl);
}

.tech-list li {
    background: rgba(26, 58, 66, 0.3);
    margin: var(--space-sm) 0;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(253, 251, 237, 0.1);
    border-left: 3px solid var(--accent-primary);
    transition: all 0.2s ease;
}

.tech-list li:hover {
    background: rgba(26, 58, 66, 0.5);
    border-color: rgba(253, 251, 237, 0.2);
    transform: translateX(4px);
}

.project-stats {
    border-top: 1px solid rgba(253, 251, 237, 0.15);
    padding-top: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.stat {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-md);
    align-items: center;
}

.stat:last-child {
    margin-bottom: 0;
}

.stat-label {
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    opacity: 0.8;
}

.stat-value {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 13px;
    opacity: 0.9;
}

.stat-value.outdated {
    color: var(--accent-warning);
    position: relative;
}

.stat-value.outdated::after {
    content: '⚠️';
    margin-left: 4px;
    font-size: 10px;
}

.project-actions {
    margin-top: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.action-btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-lg);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    text-align: left;
    white-space: nowrap;
}

.action-btn.primary {
    background: var(--gradient-primary);
    color: var(--accent-tertiary);
    border: 1px solid rgba(253, 251, 237, 0.2);
}

.action-btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(74, 85, 109, 0.3);
}

.action-btn.secondary {
    background: rgba(26, 58, 66, 0.3);
    color: var(--text-primary);
    border: 1px solid rgba(253, 251, 237, 0.15);
}

.action-btn.secondary:hover {
    background: rgba(26, 58, 66, 0.5);
    border-color: rgba(253, 251, 237, 0.25);
    transform: translateY(-1px);
}

.keyboard-shortcuts {
    border-top: 1px solid rgba(253, 251, 237, 0.15);
    padding-top: var(--space-xl);
}

.shortcut {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
}

.shortcut:last-child {
    margin-bottom: 0;
}

kbd {
    background: rgba(74, 85, 109, 0.6);
    border: 1px solid rgba(253, 251, 237, 0.2);
    border-radius: var(--radius-sm);
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-tertiary);
    min-width: 24px;
    text-align: center;
}

.shortcut span {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
}

/* Showcase Credit Section */
.showcase-credit {
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(253, 251, 237, 0.15);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.showcase-credit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    opacity: 0.6;
}

.credit-text {
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    opacity: 0.9;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.credit-text:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.credit-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
}

.credit-text:hover::after {
    width: 100%;
}

.credit-subtext {
    margin-top: var(--space-xs);
}

.credit-subtext a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    opacity: 0.7;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.credit-subtext a:hover {
    color: var(--accent-primary);
    opacity: 1;
    transform: translateY(-1px);
}

.credit-subtext a::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
}

.credit-subtext a:hover::before {
    width: 100%;
}

/* Animation for text rotation */
.credit-text.rotating {
    animation: textFade 0.5s ease-in-out;
}

@keyframes textFade {
    0% { opacity: 0.7; transform: translateY(5px); }
    50% { opacity: 0.3; transform: translateY(0); }
    100% { opacity: 0.9; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .showcase-container {
        grid-template-columns: 1fr 280px;
    }
    
    .sidebar-content {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .showcase-container {
        grid-template-areas: 
            "header"
            "viewport";
        grid-template-columns: 1fr;
        grid-template-rows: 60px 1fr;
    }
    
    .showcase-sidebar {
        display: none;
    }
    
    .showcase-header {
        padding: 0 16px;
    }
    
    .project-title {
        font-size: 16px;
    }
    
    .showcase-controls {
        gap: 6px;
    }
    
    .control-btn {
        width: 36px;
        height: 36px;
    }
    
    .overlay-content {
        margin: 20px;
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .project-links {
        flex-direction: column;
    }
    
    .link-btn {
        justify-content: center;
    }
}

/* Animation utilities */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.5s ease-out;
}

/* Focus styles for accessibility */
.control-btn:focus,
.link-btn:focus,
.close-btn:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .showcase-header,
    .showcase-sidebar,
    .project-overlay {
        display: none;
    }
    
    .showcase-container {
        grid-template-areas: "viewport";
        grid-template-rows: 1fr;
        grid-template-columns: 1fr;
    }
}
