/* CSS Variables */
:root {
    --primary: #8b5cf6;
    --primary-dark: #7c3aed;
    --primary-light: #a855f7;
    --secondary: #c084fc;
    --accent: #ddd6fe;
    --background: #0a0a0a;
    --surface: #111111;
    --text: #ffffff;
    --text-secondary: #a1a1aa;
    --border: #27272a;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary);
}

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

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(168, 85, 247, 0.1));
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(139, 92, 246, 0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    z-index: 1;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: coolPurple 3s ease-in-out infinite;
    position: relative;
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

.hero-subtitle {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
    color: var(--text);
    border: 2px solid var(--primary);
}

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

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--primary-light), var(--primary));
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--text);
}

/* Section Titles */
.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary);
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--surface);
}

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

.about-image {
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid var(--primary);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.2);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    object-fit: cover;
    min-height: 300px;
}

/* Removed problematic CSS that was hiding the image */

.about-image:hover img {
    transform: scale(1.05);
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.experience {
    background: rgba(139, 92, 246, 0.1);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--primary);
}

.experience h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Skills Section */
.skills {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(168, 85, 247, 0.05));
}

/* Working On Section */
.working-on {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05), rgba(192, 132, 252, 0.05));
}

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

.working-on-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--secondary);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.working-on-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(168, 85, 247, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.working-on-card:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.working-on-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.3);
    border-color: var(--accent);
}

.working-on-card h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-align: center;
}

/* Glow effect for primary focus areas */
.working-on-card:first-child h3,
.working-on-card:nth-child(4) h3 {
    animation: neonPulse 2s ease-in-out infinite;
    text-shadow: 
        0 0 10px var(--primary),
        0 0 20px var(--primary),
        0 0 30px var(--primary);
}

.working-on-card:first-child,
.working-on-card:nth-child(4) {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    animation: borderGlow 3s ease-in-out infinite;
}

.working-on-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: center;
}

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

.skill-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--primary);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.skill-card:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
    border-color: var(--secondary);
}

.skill-card h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-align: center;
}

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

.skill-card li {
    margin-bottom: 0.8rem;
    padding: 0.8rem 1rem;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.skill-card li:hover {
    background: rgba(139, 92, 246, 0.2);
    transform: translateX(10px);
    border-left-color: var(--secondary);
}

/* UI Section */
.ui {
    padding: 5rem 0;
    background: var(--surface);
}

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

.ui-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--primary);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.ui-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
    border-color: var(--secondary);
}

.ui-image {
    height: 200px;
    overflow: hidden;
}

.ui-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.ui-content {
    padding: 1.5rem;
    background: rgba(10, 10, 10, 0.8);
}

.ui-card:not(:has(.ui-image)) .ui-content {
    background: transparent;
    padding: 2rem;
}

.ui-content h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-align: center;
}

/* Style for UI cards without images */
.ui-card:not(:has(.ui-image)) {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.ui-card:not(:has(.ui-image)) .ui-content {
    text-align: center;
    width: 100%;
}

.ui-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Portfolio Section */
.portfolio {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(192, 132, 252, 0.05), rgba(139, 92, 246, 0.05));
}

.work-category {
    margin-bottom: 5rem;
}

.category-title {
    font-family: 'Orbitron', sans-serif;
    color: var(--secondary);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
    position: relative;
    padding-bottom: 1rem;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    border-radius: 2px;
}

.category-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
    font-style: italic;
    opacity: 0.8;
}

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

.work-item {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--primary);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(15px);
    position: relative;
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.1);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.work-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(168, 85, 247, 0.1));
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
}

.work-item:hover::before {
    opacity: 1;
}

.work-item:hover {
    transform: translateY(-15px) scale(1.03) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 25px 50px rgba(139, 92, 246, 0.4);
    border-color: var(--secondary);
}

.work-image {
    height: 250px;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border-bottom: 2px solid var(--primary);
    border: 2px solid var(--primary);
    border-radius: 8px;
}

.work-image::before {
    content: 'Image Loading...';
    position: absolute;
    color: var(--text-secondary);
    font-size: 0.9rem;
    z-index: 1;
    opacity: 0.7;
}

.work-image img {
    position: relative;
    z-index: 2;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.4s ease;
    filter: brightness(0.9) contrast(1.1);
    opacity: 0;
    animation: imageFadeIn 0.5s ease-in-out 1.5s forwards;
}

@keyframes imageFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.work-item:hover .work-image img {
    transform: scale(1.1);
    filter: brightness(1.1) contrast(1.2);
}

.work-content {
    padding: 2rem;
    background: rgba(10, 10, 10, 0.95);
    position: relative;
    z-index: 2;
    text-align: center;
}

.work-content h4 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.work-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

/* Amazing Team Showcase Styles */
.team-section {
    margin-top: 3rem;
    margin-left: -2rem;
    margin-right: -2rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(168, 85, 247, 0.1));
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid var(--primary);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.team-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    animation: shimmer 8s ease-in-out infinite;
    z-index: 0;
}

.team-section h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.team-info {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.team-logo {
    flex-shrink: 0;
}

.team-logo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    object-fit: cover;
    transition: all 0.3s ease;
}

.team-logo img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

/* Abyss Icon Spinning Animation */
.abyss-icon {
    animation: abyssSpin 2s linear infinite !important;
    border: 3px solid var(--primary) !important;
    box-shadow: 
        0 0 20px rgba(139, 92, 246, 0.6),
        inset 0 0 20px rgba(139, 92, 246, 0.2) !important;
    transform-origin: center !important;
    will-change: transform !important;
    width: 120px !important;
    height: 120px !important;
}

.team-logo .abyss-icon {
    animation: abyssSpin 2s linear infinite !important;
    border: 3px solid var(--primary) !important;
    box-shadow: 
        0 0 20px rgba(139, 92, 246, 0.6),
        inset 0 0 20px rgba(139, 92, 246, 0.2) !important;
    transform-origin: center !important;
    will-change: transform !important;
}

.team-logo .abyss-icon:hover {
    animation-duration: 1.5s !important;
    box-shadow: 
        0 0 30px rgba(139, 92, 246, 0.8),
        inset 0 0 30px rgba(139, 92, 246, 0.4) !important;
}

@keyframes abyssSpin {
    0% { 
        transform: rotate(0deg) !important; 
    }
    100% { 
        transform: rotate(360deg) !important; 
    }
}

/* Simple test - make the entire team section pulse */
.team-section {
    animation: testPulse 2s ease-in-out infinite;
}

@keyframes testPulse {
    0%, 100% { 
        transform: scale(1); 
    }
    50% { 
        transform: scale(1.02); 
    }
}

/* Force the abyss icon to spin with inline styles */

@keyframes simpleSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes titleFloat {
    0%, 100% { 
        transform: translateY(0px);
    }
    50% { 
        transform: translateY(-8px);
    }
}

@keyframes gradientShift {
    0%, 100% { 
        background-position: 0% 50%; 
    }
    50% { 
        background-position: 100% 50%; 
    }
}

@keyframes coolPurple {
    0%, 100% { 
        background-position: 0% 50%;
        transform: scale(1);
        filter: brightness(1);
    }
    25% { 
        background-position: 50% 0%;
        transform: scale(1.02);
        filter: brightness(1.1);
    }
    50% { 
        background-position: 100% 50%;
        transform: scale(1);
        filter: brightness(1.2);
    }
    75% { 
        background-position: 50% 100%;
        transform: scale(1.02);
        filter: brightness(1.1);
    }
}


.team-title {
    margin-bottom: 1rem;
}

.abyss-title {
    font-family: 'Orbitron', sans-serif !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent), var(--primary)) !important;
    background-size: 300% 300% !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    animation: 
        abyssGlow 3s ease-in-out infinite,
        abyssWrap 6s ease-in-out infinite !important;
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.8) !important;
    letter-spacing: 3px !important;
    text-align: center !important;
    margin: 0 !important;
    transform-origin: center !important;
    will-change: transform, opacity !important;
    position: relative !important;
}

@keyframes abyssGlow {
    0%, 100% {
        background-position: 0% 50%;
        text-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
    }
    50% {
        background-position: 100% 50%;
        text-shadow: 0 0 40px rgba(139, 92, 246, 1);
    }
}

@keyframes abyssDevour {
    0%, 70% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    75% {
        transform: scale(0.8) rotate(180deg);
        opacity: 0.8;
    }
    80% {
        transform: scale(0.3) rotate(360deg);
        opacity: 0.3;
    }
    85% {
        transform: scale(0.1) rotate(540deg);
        opacity: 0.1;
    }
    90% {
        transform: scale(0.05) rotate(720deg);
        opacity: 0.05;
    }
    95% {
        transform: scale(0.1) rotate(900deg);
        opacity: 0.1;
    }
    100% {
        transform: scale(1) rotate(1080deg);
        opacity: 1;
    }
}

@keyframes abyssWrap {
    0%, 60% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    65% {
        transform: scale(0.9) rotate(90deg);
        opacity: 0.9;
    }
    70% {
        transform: scale(0.7) rotate(180deg);
        opacity: 0.7;
    }
    75% {
        transform: scale(0.5) rotate(270deg);
        opacity: 0.5;
    }
    80% {
        transform: scale(0.3) rotate(360deg);
        opacity: 0.3;
    }
    85% {
        transform: scale(0.1) rotate(450deg);
        opacity: 0.1;
    }
    90% {
        transform: scale(0.05) rotate(540deg);
        opacity: 0.05;
    }
    95% {
        transform: scale(0.1) rotate(630deg);
        opacity: 0.1;
    }
    100% {
        transform: scale(1) rotate(720deg);
        opacity: 1;
    }
}

.team-details {
    flex: 1;
}

.team-details p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.team-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--primary);
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--primary);
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(139, 92, 246, 0.1);
}

.team-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
    border-color: var(--secondary);
    background: rgba(139, 92, 246, 0.2);
}

.team-link i {
    font-size: 1.2rem;
}

/* New Team Showcase Components */
.team-showcase {
    position: relative;
    z-index: 1;
}

.team-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(10, 10, 10, 0.8);
    border-radius: 15px;
    border: 1px solid var(--primary);
}

.team-title-section {
    flex: 1;
}

.team-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 0;
    font-style: italic;
}

/* Tab System */
.team-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    background: rgba(10, 10, 10, 0.6);
    padding: 0.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.tab-button {
    flex: 1;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 10;
    pointer-events: auto;
}

.tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.2), transparent);
    transition: left 0.5s ease;
}

.tab-button:hover::before {
    left: 100%;
}

.tab-button:hover {
    color: var(--primary);
    background: rgba(139, 92, 246, 0.1);
}

.tab-button.active {
    color: var(--text);
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

/* Tab Content */
.tab-content {
    position: relative;
    min-height: 300px;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* About Tab */
.team-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--primary);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
    border-color: var(--secondary);
}

.info-card h5 {
    color: var(--primary);
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Games Tab */
.team-game-card {
    display: flex;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--primary);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.game-preview {
    flex-shrink: 0;
    width: 200px;
    height: 150px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--primary);
}

.game-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-info {
    flex: 1;
}

.game-info h5 {
    color: var(--primary);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.game-info p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.team-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
    color: var(--text);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
}

.team-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
}

.coming-soon {
    text-align: center;
    padding: 2rem;
    background: rgba(139, 92, 246, 0.1);
    border: 2px dashed var(--primary);
    border-radius: 15px;
}

.coming-soon h5 {
    color: var(--primary);
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 1rem;
}

.coming-soon p {
    color: var(--text-secondary);
    margin: 0;
}

/* Models Tab */
.team-models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.model-showcase {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--primary);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.model-showcase:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
    border-color: var(--secondary);
}

.model-showcase img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.model-showcase h6 {
    color: var(--primary);
    font-family: 'Orbitron', sans-serif;
    margin: 0;
    font-size: 0.9rem;
}

/* Connect Tab */
.connect-section h5 {
    color: var(--primary);
    font-family: 'Orbitron', sans-serif;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.3rem;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--primary);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
    border-color: var(--secondary);
    color: var(--primary);
}

.social-card i, .social-card img {
    font-size: 2rem;
    width: 2rem;
    height: 2rem;
}

.social-card span {
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
}

.social-card small {
    font-size: 0.8rem;
    opacity: 0.8;
}

.discord-card {
    cursor: default;
}

.commission-info {
    text-align: center;
    padding: 1.5rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--primary);
    border-radius: 12px;
}

.commission-info h6 {
    color: var(--primary);
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 1rem;
}

.commission-info p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* Games Section */
.games {
    padding: 5rem 0;
    background: var(--surface);
}

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

.game-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--primary);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(168, 85, 247, 0.1));
    opacity: 0;
    transition: all 0.3s ease;
}

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

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
    border-color: var(--secondary);
}

.game-image {
    height: 200px;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 2px solid var(--primary);
    border-radius: 8px;
    transition: all 0.3s ease;
    max-height: 200px;
}

.game-card:hover .game-image img {
    border-color: var(--secondary);
    transform: scale(1.05);
}

.game-content {
    padding: 2rem;
    background: rgba(10, 10, 10, 0.9);
    position: relative;
    z-index: 1;
    text-align: center;
}

.game-content h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.game-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(192, 132, 252, 0.05));
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--primary);
    text-decoration: none;
    font-size: 1.2rem;
    padding: 1rem 2rem;
    border: 2px solid var(--primary);
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.3);
    border-color: var(--secondary);
    background: rgba(139, 92, 246, 0.1);
}

.social-link img {
    width: 25px;
    height: 25px;
}

.social-link i {
    font-size: 1.5rem;
}

/* Footer */
.footer {
    padding: 3rem 0 2rem;
    background: var(--surface);
    border-top: 1px solid var(--primary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-align: center;
}

.footer-section ul {
    list-style: none;
    text-align: center;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.footer-social-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(139, 92, 246, 0.05);
}

.footer-social-link:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.1);
    transform: translateY(-2px);
}

.footer-social-link img {
    width: 20px;
    height: 20px;
}

.footer-social-link i {
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-bottom p:first-child {
    color: var(--primary);
    font-weight: 500;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.lightbox.is-visible { display: flex; }

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(4px);
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    border: 2px solid var(--primary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(139, 92, 246, 0.4);
    background: #000;
    z-index: 1;
}

.lightbox-image {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-caption {
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-align: center;
    background: rgba(10,10,10,0.85);
    border-top: 1px solid var(--border);
}

.lightbox-close {
    position: absolute;
    top: 8px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    color: var(--text);
    background: rgba(139, 92, 246, 0.2);
    cursor: pointer;
    font-size: 22px;
    line-height: 30px;
    text-align: center;
}

.lightbox-close:hover {
    background: rgba(139, 92, 246, 0.35);
}

@media (max-width: 480px) {
    .lightbox-content { max-width: 95vw; }
    .lightbox-image { max-height: 80vh; }
}

/* Enhanced Animations */
@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
    }
    50% {
        text-shadow: 0 0 30px rgba(139, 92, 246, 0.8);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(0.5deg);
    }
    50% {
        transform: translateY(-15px) rotate(0deg);
    }
    75% {
        transform: translateY(-8px) rotate(-0.5deg);
    }
}

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

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes borderGlow {
    0%, 100% {
        border-color: var(--primary);
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    }
    50% {
        border-color: var(--secondary);
        box-shadow: 0 0 30px rgba(168, 85, 247, 0.5);
    }
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.7;
    }
    25% {
        transform: translateY(-20px) translateX(10px);
        opacity: 1;
    }
    50% {
        transform: translateY(-40px) translateX(0px);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-20px) translateX(-10px);
        opacity: 1;
    }
}

/* Enhanced Floating Cards */
.skill-card,
.working-on-card,
.ui-card,
.work-item,
.game-card {
    animation: float 8s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.skill-card::before,
.working-on-card::before,
.ui-card::before,
.work-item::before,
.game-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(139, 92, 246, 0.1),
        transparent,
        rgba(168, 85, 247, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: shimmer 3s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-card:hover::before,
.working-on-card:hover::before,
.ui-card:hover::before,
.work-item:hover::before,
.game-card:hover::before {
    opacity: 1;
}

/* Staggered Animation Delays */
.skill-card:nth-child(1),
.working-on-card:nth-child(1),
.ui-card:nth-child(1),
.work-item:nth-child(1),
.game-card:nth-child(1) {
    animation-delay: 0s;
}

.skill-card:nth-child(2),
.working-on-card:nth-child(2),
.ui-card:nth-child(2),
.work-item:nth-child(2),
.game-card:nth-child(2) {
    animation-delay: 1.5s;
}

.skill-card:nth-child(3),
.working-on-card:nth-child(3),
.ui-card:nth-child(3),
.work-item:nth-child(3),
.game-card:nth-child(3) {
    animation-delay: 3s;
}

.skill-card:nth-child(4),
.working-on-card:nth-child(4),
.ui-card:nth-child(4),
.work-item:nth-child(4),
.game-card:nth-child(4) {
    animation-delay: 4.5s;
}

/* Particle Effects */
.skill-card::after,
.working-on-card::after,
.ui-card::after,
.work-item::after,
.game-card::after {
    content: '✦';
    position: absolute;
    top: 10px;
    right: 15px;
    color: var(--primary);
    font-size: 1.2rem;
    animation: particleFloat 4s ease-in-out infinite;
    opacity: 0.6;
}

/* Enhanced Image Borders and Effects */
.work-image,
.ui-image,
.game-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 3px solid var(--primary);
    background: linear-gradient(135deg, var(--surface), rgba(139, 92, 246, 0.1));
    transition: all 0.3s ease;
}

.work-image::before,
.ui-image::before,
.game-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(139, 92, 246, 0.2) 50%, 
        transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: 1;
}

.work-item:hover .work-image::before,
.ui-card:hover .ui-image::before,
.game-card:hover .game-image::before {
    transform: translateX(100%);
}

.work-image img,
.ui-image img,
.game-image img {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    filter: brightness(0.9) contrast(1.1);
}

.work-item:hover .work-image img,
.ui-card:hover .ui-image img,
.game-card:hover .game-image img {
    filter: brightness(1.1) contrast(1.2);
    transform: scale(1.05);
}

/* Enhanced Border Glow */
.skill-card:hover,
.ui-card:hover,
.work-item:hover,
.game-card:hover {
    animation: borderGlow 2s ease-in-out infinite;
}

/* Background Particle System - Removed bright effects */

/* Enhanced Section Titles */
.section-title {
    position: relative;
    overflow: hidden;
}

.section-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transform: translateY(-50%);
    animation: shimmer 3s ease-in-out infinite;
}

/* Enhanced Navigation */
.nav-links a {
    position: relative;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-links a:hover::before {
    left: 100%;
}

/* Enhanced Buttons */
.btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
    background-size: 200% 200%;
    animation: shimmer 3s ease-in-out infinite;
}

.btn:hover {
    background-position: right center;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.4);
}

/* Enhanced Social Links */
.social-link {
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), transparent);
    transition: left 0.6s ease;
}

.social-link:hover::before {
    left: 100%;
}

.discord-info {
    cursor: default;
    background: linear-gradient(45deg, var(--surface), rgba(139, 92, 246, 0.1));
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 15px 20px;
    transition: all 0.3s ease;
}

.discord-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
    border-color: var(--secondary);
}

.discord-info::after {
    content: '✦';
    position: absolute;
    top: 5px;
    right: 10px;
    color: var(--primary);
    font-size: 0.8rem;
    animation: particleFloat 3s ease-in-out infinite;
    opacity: 0.8;
}

/* Scroll-triggered animations - 3D Card Flip Effect */
.skill-card,
.working-on-card,
.ui-card,
.work-item,
.game-card {
    opacity: 0;
    transform: translateY(50px) rotateY(0deg) scale(0.8);
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.skill-card.visible,
.working-on-card.visible,
.ui-card.visible,
.work-item.visible,
.game-card.visible {
    opacity: 1;
    transform: translateY(0) rotateX(0deg) rotateY(0deg) scale(1);
    animation: cardLanding 1.5s ease-in-out forwards;
}

@keyframes cardLanding {
    0% {
        transform: translateY(50px) rotateY(0deg) scale(0.8);
        opacity: 0;
    }
    100% {
        transform: translateY(0) rotateY(360deg) scale(1);
        opacity: 1;
    }
}

/* Ensure all sections and their content are always visible */
.about,
.about *,
.skills,
.skills *,
.working-on,
.working-on *,
.models,
.models *,
.games,
.games * {
    opacity: 1 !important;
    transform: none !important;
}

/* Enhanced Hero Background */
.hero-background {
    background: var(--background);
    animation: float 20s ease-in-out infinite;
}

/* Additional Creative Effects */
@keyframes neonPulse {
    0%, 100% {
        text-shadow: 
            0 0 5px var(--primary),
            0 0 10px var(--primary),
            0 0 15px var(--primary),
            0 0 20px var(--primary);
    }
    50% {
        text-shadow: 
            0 0 10px var(--primary),
            0 0 20px var(--primary),
            0 0 30px var(--primary),
            0 0 40px var(--primary);
    }
}

.hero-title {
    animation: neonPulse 3s ease-in-out infinite;
}

/* Hover effects for section titles */
.section-title:hover {
    animation: neonPulse 1s ease-in-out infinite;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

/* Enhanced card hover effects */
.skill-card:hover,
.working-on-card:hover,
.ui-card:hover,
.work-item:hover,
.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(139, 92, 246, 0.3),
        0 0 0 1px rgba(139, 92, 246, 0.2);
}

/* Glitch text effect styles */
.section-title,
.skill-card h3,
.working-on-card h3,
.ui-card h3,
.model-card h4,
.game-card h4 {
    transition: all 0.1s ease;
}

.section-title:hover,
.skill-card h3:hover,
.working-on-card h3:hover,
.ui-card h3:hover,
.work-item h4:hover,
.game-card h4:hover {
    animation: neonPulse 0.5s ease-in-out;
}

/* Enhanced navigation hover */
.nav-links a:hover {
    animation: neonPulse 1s ease-in-out infinite;
    transform: translateY(-2px);
}

/* Floating particles in background */
@keyframes floatParticle {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) translateX(10px) rotate(90deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-40px) translateX(0px) rotate(180deg);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-20px) translateX(-10px) rotate(270deg);
        opacity: 0.7;
    }
}

/* Add subtle background particles - Removed bright effects */

/* Responsive Design */
@media (max-width: 1200px) {
    .work-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
    
    .team-info {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .skills-grid,
    .ui-grid,
    .work-grid,
    .games-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .work-item {
        margin: 0 1rem;
    }
    
    .work-image {
        height: 200px;
    }
    
    .category-title {
        font-size: 2rem;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .team-section {
        margin-top: 2rem;
        padding: 1.5rem;
    }
    
    .team-info {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .team-logo img {
        width: 60px;
        height: 60px;
    }
    
    .abyss-title {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
    
    .team-section {
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        padding: 1.5rem;
    }
    
    .team-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .team-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .tab-button {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .category-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .work-item {
        margin: 0 0.5rem;
    }
    
    .work-image {
        height: 180px;
    }
    
    .work-content {
        padding: 1.5rem;
    }
    
    .work-content h4 {
        font-size: 1.2rem;
    }
    
    .work-content p {
        font-size: 0.9rem;
    }
    
    .team-section {
        padding: 1rem;
    }
    
    .team-link {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .abyss-title {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    
    .team-section {
        margin-left: -1rem;
        margin-right: -1rem;
        padding: 1rem;
    }
    
    .team-header {
        padding: 1rem;
    }
    
    .abyss-icon {
        width: 80px;
        height: 80px;
    }
    
    .team-game-card {
        flex-direction: column;
        text-align: center;
    }
    
    .game-preview {
        width: 100%;
        height: 120px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-social {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-social-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

/* Tablet specific styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .work-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 2rem;
    }
    
    .work-image {
        height: 220px;
    }
}

/* Large desktop styles */
@media (min-width: 1400px) {
    .work-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 3rem;
    }
    
    .work-image {
        height: 280px;
    }
    
    .container {
        max-width: 1400px;
    }
} 