/* ============================================
   RESET & BASE STYLES
   ============================================ */
* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

:root {
    --primary-color: #7400b8;
    --secondary-color: #5390d9;
    --accent-cyan: #48bfe3;
    --accent-turquoise: #64dfdf;
    --accent-mint: #80ffdb;
    --purple-medium: #6930c3;
    --purple-light: #5e60ce;
    --light-blue: #4ea8de;
    --text-color: #ffffff;
    --text-dark: #3a3a3a;
    --bg-dark: #0a0a0a;
    --bg-dark-alt: #1a1a1a;
    --bg-overlay: rgba(116, 0, 184, 0.3);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--accent-cyan));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--secondary-color), var(--accent-turquoise));
}

/* ============================================
   PARTICLES BACKGROUND
   ============================================ */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    /*background: linear-gradient(135deg, #7400b8 0%, #5390d9 50%, #48bfe3 100%);*/
}

#background-video {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0;
    filter: blur(0.05rem);
    transition: opacity 1.5s ease-in;
}

#background-video.loaded {
    opacity: 0.3;
}

/* Hide video controls and play button */
#background-video::-webkit-media-controls {
    display: none !important;
}

#background-video::-webkit-media-controls-enclosure {
    display: none !important;
}

#background-video::-webkit-media-controls-panel {
    display: none !important;
}

#background-video::-webkit-media-controls-play-button {
    display: none !important;
}

.video-overlay {
  position: fixed; 
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    /*background: radial-gradient(ellipse at center, transparent 0%, rgba(116, 0, 184, 0.6) 100%);*/
    z-index: -1;
  pointer-events: none; 
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
    position: absolute;
    top: auto;
    bottom: 25%;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    z-index: 1000;
    background: transparent;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.header.fading-out {
    opacity: 0;
    pointer-events: none;
}

/* For pages without hero section - start sticky immediately */
.header.no-hero {
    position: sticky;
    top: 0;
    left: 0;
    transform: translate(0, 0);
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(72, 191, 227, 0.4);
}

.header.sticky {
    position: fixed;
    top: 0;
    bottom: auto;
    left: 0;
    transform: translate(0, 0);
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(72, 191, 227, 0.4);
    opacity: 0;
    animation: fadeInDown 0.4s ease forwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate(0, -20px);
    }
    to {
        opacity: 1;
        transform: translate(0, 0);
    }
}

.container-header {
    display: flex;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    align-items: center;
    gap: 40px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.sticky .container-header,
.header.no-hero .container-header {
    justify-content: space-between;
}

/* Logo/Name in Navigation */
.nav-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-mint));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    display: none;
    transition: opacity 0.3s ease;
}

.header.sticky .nav-logo,
.header.no-hero .nav-logo {
    display: block;
}

.nav-logo:hover {
    filter: brightness(1.2);
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 15px;
    align-items: center;
}

/* Hide Home button when in hero (not sticky) */
.header:not(.sticky):not(.no-hero) .nav-home-item {
    display: none;
}

/* Show Home button only when sticky or on other pages */
.header.sticky .nav-home-item,
.header.no-hero .nav-home-item {
    display: block;
}

.nav-link {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-turquoise));
    transition: left 0.3s ease;
    z-index: -1;
}

.nav-link:hover::before {
    left: 0;
}

/* Active state for current page (filled background) */
.nav-link.active::before {
    left: 0;
}

.nav-link:hover,
.nav-link.active {
    border-color: var(--accent-cyan);
    color: #0a0a0a;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(72, 191, 227, 0.6);
}

/* Alternative: Just highlight border for section links */
.nav-link.section-active {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(72, 191, 227, 0.4);
    border-width: 2px;
}

.header.sticky .nav-link {
    padding: 10px 22px;
    font-size: 0.85rem;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
    padding: 10px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    animation: fadeInUp 1s ease;
    margin-bottom: 180px;
    position: relative;
}

.hero-title {
    font-size: 10rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    background: linear-gradient(135deg,var(--primary-color), var(--secondary-color), var(--accent-cyan),
     var(--accent-mint), var(--text-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 4rem;
    font-weight: 900;
    color: #54cce1;
    margin-bottom: 0;
}

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

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    padding: 100px 0;
    background: rgb(15, 15, 15);
}
.about-link{
    color: var(--accent-turquoise);
    text-decoration: underline;
}

.section-badge {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(72, 191, 227, 0.15);
    border: 2px solid var(--accent-cyan);
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 30px;
    color: var(--accent-mint);
    font-weight: 600;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 30px;
    line-height: 1.2;
}

.section-title-center {
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 50px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-turquoise), var(--accent-mint));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-grid {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.about-image {
    flex: 0 0 350px;
    padding-left: 40px;
}

.about-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(72, 191, 227, 0.3);
}

.about-content {
    flex: 1;
    margin-top: 30px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #ccc;
}

.about-text strong {
    color: var(--accent-cyan);
}

.cta-text {
    font-size: 1.2rem;
    margin: 30px 0 20px;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-cyan));
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    margin-top: 20px;
}

.btn-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(72, 191, 227, 0.6);
}

/* Skills Cards */
.skills-cards-container {
    display: flex;
    gap: 30px;
    margin: 50px 0;
    justify-content: space-evenly;
}

.skill-card {
    background: linear-gradient(135deg, rgba(72, 191, 227, 0.08), rgba(100, 223, 223, 0.05));
    border: 3px solid rgba(72, 191, 227, 0.4);
    border-radius: 25px;
    padding: 30px;
    position: relative;
    width: fit-content;
    max-width: 650px;
    pointer-events: none;
}

.skill-card-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 15px;
    text-transform: capitalize;
}

.skill-card-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: #ccc;
    margin-bottom: 20px;
}

.skill-card-tools {
    background: rgba(10, 10, 10, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
}

.skill-card-tools h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-turquoise);
    margin-bottom: 15px;
    text-transform: capitalize;
}

.skill-card-tools ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-card-tools li {
    padding: 8px 0;
    padding-left: 25px;
    color: #bbb;
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
}

.skill-card-tools li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-size: 1.2rem;
    font-weight: bold;
}

/* ============================================
   EXPERIENCE SECTION
   ============================================ */
.experience-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.experience-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/placeholder1.png') center/cover;
    opacity: 0.15;
    z-index: 0;
}

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

.divider {
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-cyan), var(--accent-turquoise), var(--accent-mint));
    margin: 20px auto 50px;
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(72, 191, 227, 0.6);
}

/* Timeline Styles */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 60px auto;
    padding: 40px 0;
}

/* Vertical Timeline Line */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 25%, var(--accent-cyan) 50%, var(--accent-turquoise) 75%, var(--accent-mint) 100%);
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(72, 191, 227, 0.5);
}

.timeline-item {
    position: relative;
    margin-bottom: 80px;
    opacity: 1;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Timeline Dot - Different colors for variety */
.timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    width: 24px;
    height: 24px;
    background: var(--accent-cyan);
    border: 4px solid var(--bg-dark);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 6px rgba(72, 191, 227, 0.3), 0 0 20px rgba(72, 191, 227, 0.5);
    transition: var(--transition);
}

.timeline-item:nth-child(2) .timeline-dot {
    background: var(--secondary-color);
    box-shadow: 0 0 0 6px rgba(83, 144, 217, 0.3), 0 0 20px rgba(83, 144, 217, 0.5);
}

.timeline-item:nth-child(3) .timeline-dot {
    background: var(--accent-turquoise);
    box-shadow: 0 0 0 6px rgba(100, 223, 223, 0.3), 0 0 20px rgba(100, 223, 223, 0.5);
}

.timeline-item:nth-child(4) .timeline-dot {
    background: var(--accent-mint);
    box-shadow: 0 0 0 6px rgba(128, 255, 219, 0.3), 0 0 20px rgba(128, 255, 219, 0.5);
}

.timeline-item:hover .timeline-dot {
    transform: translateX(-50%) scale(1.3);
    box-shadow: 0 0 0 8px rgba(72, 191, 227, 0.4), 0 0 30px rgba(72, 191, 227, 0.7);
}

/* Timeline Content */
.timeline-content {
    width: 45%;
    padding: 25px 30px;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95), rgba(26, 26, 26, 0.9));
    border: 2px solid rgba(72, 191, 227, 0.4);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    position: relative;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(116, 0, 184, 0.3);
}

.timeline-content:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(72, 191, 227, 0.5);
}

/* Alternate sides - Zigzag pattern */
.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
    text-align: left;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
    text-align: right;
}

/* Connecting arrows for alternating items */
.timeline-content::before {
    content: '';
    position: absolute;
    top: 15px;
    width: 0;
    height: 0;
    border-style: solid;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -15px;
    border-width: 10px 15px 10px 0;
    border-color: transparent rgba(72, 191, 227, 0.4) transparent transparent;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -15px;
    border-width: 10px 0 10px 15px;
    border-color: transparent transparent transparent rgba(72, 191, 227, 0.4);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 700;
}

.timeline-company {
    font-size: 1rem;
    color: var(--accent-cyan);
    margin-bottom: 15px;
    font-weight: 500;
}

.timeline-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 10px;
}

.timeline-desc strong {
    color: var(--accent-cyan);
}

.btn-view-details {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(72, 191, 227, 0.1);
    border: 2px solid var(--accent-cyan);
    border-radius: 30px;
    color: var(--text-color);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 15px;
}

.btn-view-details:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-cyan), var(--accent-turquoise));
    color: #0a0a0a;
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(72, 191, 227, 0.6);
}

/* ============================================
   DEMO REEL SECTION
   ============================================ */
.demo-reel-section {
    padding: 100px 0;
}

.demo-reel-container {
    max-width: 900px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 20px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

.demo-reel-text {
    text-align: center;
    font-size: 1.1rem;
    color: #ccc;
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio-section {
    padding: 100px 0;
    background: rgb(15, 15, 15);
}

.portfolio-header {
    text-align: center;
    margin-bottom: 60px;
}

.portfolio-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 25px;
    color: var(--text-color);
}

.portfolio-title .highlight {
    color: var(--accent-cyan);
}

.portfolio-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #ccc;
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-portfolio-view {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 35px;
    background: rgba(72, 191, 227, 0.1);
    border: 2px solid var(--accent-cyan);
    border-radius: 50px;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    text-decoration: none;
}

.btn-portfolio-view:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-cyan));
    color: #0a0a0a;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(72, 191, 227, 0.6);
}

.portfolio-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.project-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.project-card:hover,
.project-card:focus {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(72, 191, 227, 0.5);
    outline: none;
}

.project-card:focus {
    box-shadow: 0 15px 40px rgba(72, 191, 227, 0.5), 0 0 0 3px rgba(72, 191, 227, 0.3);
}

.project-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #1a1a1a;
}

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

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

.project-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
}

.project-card-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-color);
    transition: var(--transition);
}

.project-card:hover .project-card-info h3 {
    color: var(--accent-cyan);
}

.project-card-info p {
    font-size: 0.9rem;
    color: #aaa;
}

/* Portfolio card overlay hover effect */
.project-card:hover .game-card-overlay {
    opacity: 1;
}


/* "... and more!" card */
.project-card-more {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 250px;
    background: rgba(72, 191, 227, 0.08);
    border: 2px dashed var(--accent-turquoise);
    border-radius: 12px;
    transition: var(--transition);
}

.project-card-more:hover {
    border-color: var(--accent-cyan);
    background: rgba(72, 191, 227, 0.15);
}

.project-card-more p {
    font-size: 1.5rem;
    color: var(--accent-mint);
    font-weight: 600;
}

/* ============================================
   TECHNICAL SKILLS SECTION
   ============================================ */
.technical-skills-section {
    padding: 0;
}

.skills-split-layout {
    display: flex;
    min-height: 600px;
}

.skills-split-layout.reverse {
    flex-direction: row-reverse;
}

.skills-image-side {
    flex: 1;
    background-size: cover;
    background-position: center;
    background-color: #ccc;
    position: relative;
}

.skills-image-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.skills-content-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95), rgba(26, 26, 26, 0.95));
}

.skills-content-card {
    max-width: 600px;
    width: 100%;
}

.skills-content-card h2 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent-cyan);
    margin-bottom: 30px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.skills-columns {
    display: flex;
    gap: 40px;
}

.skills-column {
    flex: 1;
}

.skills-column h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-turquoise);
    margin-bottom: 15px;
}

.skills-column ul {
    list-style: none;
    padding: 0;
}

.skills-column li {
    padding: 8px 0;
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    padding-left: 20px;
}

.skills-column li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-weight: bold;
}

.skills-column li.sub-item {
    padding-left: 35px;
    font-style: italic;
    color: #aaa;
}

.skills-column li.sub-item::before {
    left: 15px;
    content: '◦';
    color: var(--accent-turquoise);
}

/* ============================================
   DESIGN SKILLS SECTION
   ============================================ */
.design-skills-section {
    padding: 0;
}

/* ============================================
   I HAVE WORKED IN SECTION
   ============================================ */
.worked-in-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(116, 0, 184, 0.08), rgba(72, 191, 227, 0.05));
}

.worked-in-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.company-logo {
    text-align: center;
    padding: 30px;
    background: rgba(10, 10, 10, 0.6);
    border-radius: 15px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.company-logo:hover {
    background: rgba(72, 191, 227, 0.15);
    transform: translateY(-5px);
    border: 1px solid rgba(72, 191, 227, 0.4);
}

.company-logo img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin: 0 auto 15px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.company-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.company-logo p {
    font-size: 1rem;
    color: #ccc;
    font-weight: 500;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: 100px 0;
    background: rgb(56 19 75);  
}

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

.contact-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #ccc;
}

.contact-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: rgba(72, 191, 227, 0.1);
    border: 2px solid var(--accent-cyan);
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.contact-btn:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-cyan), var(--accent-turquoise));
    color: #0a0a0a;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(72, 191, 227, 0.6);
}

/* ============================================
   FIXED SOCIAL LINKS
   ============================================ */
.fixed-social-links {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    gap: 15px;
    z-index: 999;
    animation: fadeInUp 1s ease 1s backwards;
}

.social-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 10, 0.9);
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    color: var(--accent-mint);
    font-size: 1.2rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.social-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-cyan));
    color: #ffffff;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(72, 191, 227, 0.7);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 40px 0;
    background: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer p {
    color: #888;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-cyan);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

/* ============================================
   MODAL POPUPS
   ============================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.98), rgba(26, 26, 26, 0.95));
    border: 2px solid var(--accent-cyan);
    border-radius: 15px;
    padding: 40px;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideInUp 0.3s ease;
    box-shadow: 0 10px 50px rgba(116, 0, 184, 0.5);
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    color: var(--accent-cyan);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--accent-mint);
    transform: rotate(90deg);
}

.modal-content h2 {
    color: var(--accent-cyan);
    margin-bottom: 10px;
}

.modal-company {
    color: #aaa;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.modal-body {
    color: #ccc;
}

.modal-body h3 {
    color: var(--accent-turquoise);
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 15px;
}

.modal-link{
    color: var(--accent-turquoise);
    text-decoration: underline;
}

.modal-body ul {
    list-style: none;
    padding-left: 0;
}

.modal-body li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.modal-body li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-size: 1.2rem;
}

.modal-body p {
    line-height: 1.8;
    margin-top: 10px;
}

/* Custom scrollbar for modal */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--secondary-color), var(--accent-cyan));
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-color), var(--accent-turquoise));
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    /* Hide background video on mobile devices */
    .video-overlay {
        display: none !important;
    }
    
    /* Mobile: Always sticky at top, no animations */
    .header {
        position: fixed !important;
        top: 0 !important;
        bottom: auto !important;
        left: 0 !important;
        width: 100% !important;
        transform: none !important;
        background: rgba(10, 10, 10, 0.95) !important;
        backdrop-filter: blur(10px);
        padding: 15px 0;
        box-shadow: 0 2px 20px rgba(72, 191, 227, 0.4);
        opacity: 1 !important;
        animation: none !important;
        transition: none !important;
    }

    .header.fading-out {
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .container-header {
        justify-content: space-between;
        padding: 0 20px;
    }

    .nav-logo {
        display: block !important;
        font-size: 1rem;
    }

    .hero-content {
        margin-bottom: 50px;
        margin-top: 80px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(10px);
        transition: left 0.3s ease;
        padding: 40px 20px;
        border-top: 2px solid rgba(72, 191, 227, 0.4);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 20px;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 15px 30px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    /* Fixed social links on mobile */
    .fixed-social-links {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }

    .social-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-title-center {
        font-size: 2rem;
    }

    /* About Section Mobile */
    .about-grid {
        flex-direction: column;
        gap: 40px;
    }

    .about-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
        padding-left: 0;
    }

    /* Skills Cards Mobile */
    .skills-cards-container {
        flex-direction: column;
        gap: 25px;
        margin: 40px 0;
    }

    .skill-card {
        padding: 25px;
        max-width: 100%;
        width: 100%;
    }

    .skill-card-title {
        font-size: 1.4rem;
    }

    .skill-card-tools {
        padding: 15px;
    }

    .portfolio-header {
        margin-bottom: 40px;
    }

    .portfolio-title {
        font-size: 2.5rem;
    }

    .portfolio-subtitle {
        font-size: 1rem;
    }

    .portfolio-cards-grid {
        grid-template-columns: 1fr;
    }

    .worked-in-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Timeline Mobile */
    .timeline::before {
        left: 30px;
    }

    .timeline-dot {
        left: 30px;
    }

    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
        text-align: left !important;
    }

    .contact-links {
        flex-direction: column;
    }

    .footer .container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .modal-content {
        padding: 30px 20px;
    }

    .skills-split-layout {
        flex-direction: column !important;
        min-height: auto;
    }

    .skills-image-side {
        min-height: 300px;
    }

    .skills-content-side {
        padding: 40px 20px;
    }

    .skills-columns {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-content {
        margin-top: 70px;
        margin-bottom: 40px;
    }

    .nav-logo {
        font-size: 0.9rem;
    }

    .section-title-center {
        font-size: 1.8rem;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .games-list-section {
        padding: 90px 0 60px;
    }

    .worked-in-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 25px 15px;
    }

    .modal-close {
        top: 10px;
        right: 15px;
        font-size: 1.5rem;
    }

    .skills-content-card h2 {
        font-size: 1.5rem;
    }

    .skills-content-side {
        padding: 30px 15px;
    }

    .timeline-content {
        width: calc(100% - 70px);
        margin-left: 70px !important;
        padding: 15px 20px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-dot {
        left: 20px;
        width: 16px;
        height: 16px;
    }

    /* Games page responsive */
    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
        padding: 0 20px;
    }

    .games-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .game-card-content h3 {
        font-size: 1.3rem;
    }
}

/* ============================================
   GAMES LIST PAGE
   ============================================ */
.games-list-section {
    min-height: 100vh;
    padding: 120px 0 100px;
}

@media (max-width: 768px) {
    .games-list-section {
        padding: 100px 0 80px;
    }
}

.page-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease;
}

.page-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-turquoise), var(--accent-mint));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.portfolio-subheader {
    text-align: left;
    margin-bottom: 30px;
    margin-top: 60px;
}

.portfolio-subheader-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: left;
    margin-bottom: 50px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-turquoise), var(--accent-mint));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.separator-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 40px 0;
    border: none;
}

/* ============================================
   GAME DETAIL PAGE STYLES
   ============================================ */

.game-detail-section {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.back-button-container {
    margin-bottom: 40px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(116, 0, 184, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.btn-back:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.game-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    align-items: center;
}

.game-hero-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.hero-video-container {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    border: 1px solid rgba(116, 0, 184, 0.3);
}

.hero-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.hero-play-overlay:hover {
    background: rgba(0, 0, 0, 0.7);
}

.play-button {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--purple-medium));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(116, 0, 184, 0.4);
}

.play-button i {
    font-size: 28px;
    color: white;
    margin-left: 4px; /* Slight offset to center the play icon */
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(116, 0, 184, 0.6);
}

.play-text {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-video-subtitle {
    margin-top: 1rem;
    text-align: center;
    color: var(--text-color);
    font-size: 0.95rem;
    font-style: italic;
    opacity: 0.8;
}

/* Mobile responsiveness for hero video */
@media (max-width: 768px) {
    .hero-video {
        max-height: 300px;
        object-fit: cover;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button i {
        font-size: 20px;
    }
    
    .play-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .play-button {
        width: 50px;
        height: 50px;
    }
    
    .play-button i {
        font-size: 18px;
    }
    
    .play-text {
        font-size: 0.9rem;
    }
}

.game-hero-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.game-title {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-turquoise), var(--accent-mint));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.game-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.game-company {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-cyan);
}

.game-role {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--accent-turquoise);
}

.game-year {
    font-size: 1rem;
    color: var(--text-color);
    opacity: 0.8;
}

.game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.game-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.game-section {
    background: rgba(26, 26, 26, 0.5);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(116, 0, 184, 0.2);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-turquoise));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.game-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    opacity: 0.9;
}

.game-screenshots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.screenshot {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    transition: var(--transition);
    cursor: pointer;
}

.screenshot:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(116, 0, 184, 0.3);
}

.my-role ul {
    list-style: none;
    padding: 0;
}

.my-role li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(116, 0, 184, 0.1);
    position: relative;
    padding-left: 30px;
}

.my-role li::marker {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 0.8rem;
}

/* Key Features Expandable Styles */
.key-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    background: rgba(116, 0, 184, 0.05);
    border: 1px solid rgba(116, 0, 184, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.feature-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(116, 0, 184, 0.1);
}

.feature-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    background: rgba(116, 0, 184, 0.1);
    transition: var(--transition);
    min-height: 60px; /* Ensure touch-friendly size */
}

.feature-header:hover {
    background: rgba(116, 0, 184, 0.15);
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    flex: 1;
}

.feature-chevron {
    font-size: 1rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    margin-left: 1rem;
}

.feature-content {
    display: none;
    padding: 2rem 0 3rem 3rem;
    background: rgba(0, 0, 0, 0.2);
}

/* Content Block Styles */
.feature-text {
    margin-bottom: 1.5rem;
}

.feature-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.feature-text-heading {
    color: var(--accent-cyan);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    font-weight: 600;
}

.feature-image {
    margin-bottom: 1.5rem;
}

.feature-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    border: 1px solid rgba(116, 0, 184, 0.3);
    display: block;
}

.feature-images {
    margin-bottom: 1.5rem;
}

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

.images-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid rgba(116, 0, 184, 0.3);
    object-fit: cover;
    aspect-ratio: 16/9;
}

.feature-caption {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    margin-top: 0.5rem;
    text-align: center;
}

.feature-video {
    margin-bottom: 3rem;
}

.feature-video video {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    border: 1px solid rgba(116, 0, 184, 0.3);
    display: block;
    margin: 0 auto;
}

.feature-code {
    margin-bottom: 1.5rem;
}

.feature-code pre {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(116, 0, 184, 0.3);
    border-radius: 8px;
    padding: 1rem;
    overflow-x: auto;
    margin: 0;
}

.feature-code code {
    color: var(--accent-mint);
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Custom Classes for Feature Content Customization */
/* You can use these classes or create your own */

/* Large/Hero Images */
.hero-image img,
.large-image img {
    max-width: 100% !important;
    width: 100%;
}

/* Small Images */
.small-image img {
    max-width: 300px !important;
}

/* Centered Images */
.centered-image img {
    margin: 0 auto !important;
    display: block;
}

/* Full Width Video */
.fullwidth-video video {
    max-width: 100% !important;
    width: 100%;
}

/* Small Video */
.small-video video {
    max-width: 400px !important;
}

/* Portrait/Tall Images (good for mobile screenshots) */
.portrait-images .images-grid img,
.tall-images .images-grid img {
    aspect-ratio: 9/16;
}

/* Square Images */
.square-images .images-grid img {
    aspect-ratio: 1/1;
}

/* Compact Code Block */
.compact-code pre {
    padding: 0.5rem !important;
    font-size: 0.75rem !important;
}

/* Large Gap between Images */
.large-gap .images-grid {
    gap: 2rem !important;
}

/* Small Gap between Images */
.small-gap .images-grid {
    gap: 0.5rem !important;
}

/* Side-by-Side Layout (2 columns) */
.two-columns .images-grid {
    grid-template-columns: repeat(2, 1fr) !important;
}

/* Three Columns Layout */
.three-columns .images-grid {
    grid-template-columns: repeat(3, 1fr) !important;
}

/* Highlighted Text Block */
.highlighted-text {
    background: rgba(116, 0, 184, 0.1) !important;
    padding: 1rem !important;
    border-left: 3px solid var(--primary-color) !important;
    border-radius: 4px !important;
}

/* Mobile Responsiveness for Key Features */
@media (max-width: 768px) {
    .feature-header {
        padding: 1rem;
        min-height: 50px;
    }
    
    .feature-title {
        font-size: 1.1rem;
    }
    
    .feature-chevron {
        font-size: 0.9rem;
    }
    
    .feature-content {
        padding: 0 1rem 1rem;
    }
    
    .feature-text p {
        font-size: 0.95rem;
    }
    
    .images-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 0.75rem;
    }
    
    .feature-image img,
    .feature-video video {
        max-width: 100%;
    }
    
    .feature-code pre {
        padding: 0.75rem;
    }
    
    .feature-code code {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .feature-header {
        padding: 0.75rem;
        min-height: 44px; /* Minimum touch target size */
    }
    
    .feature-title {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .feature-chevron {
        font-size: 0.8rem;
        margin-left: 0.5rem;
    }
    
    .feature-content {
        padding: 0 0.75rem 0.75rem;
    }
    
    .feature-text {
        margin-bottom: 1rem;
    }
    
    .feature-text p {
        font-size: 0.9rem;
    }
    
    .feature-text-heading {
        font-size: 0.95rem;
    }
    
    .images-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .feature-image,
    .feature-images,
    .feature-video {
        margin-bottom: 1rem;
    }
    
    .feature-caption {
        font-size: 0.85rem;
    }
    
    .feature-code {
        margin-bottom: 1rem;
    }
    
    .feature-code pre {
        padding: 0.5rem;
    }
    
    .feature-code code {
        font-size: 0.7rem;
    }
    
    /* Store Links Mobile */
    .store-links {
        gap: 8px;
        margin-top: 1rem;
    }
    
    .store-link {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .store-link i {
        font-size: 1rem;
    }
}

.technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.tech-tag {
    padding: 8px 16px;
    background: rgba(116, 0, 184, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    color: var(--accent-cyan);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .game-hero {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .game-title {
        font-size: 2.5rem;
    }
    
    .game-section {
        padding: 30px 20px;
    }
    
    .game-screenshots {
        grid-template-columns: 1fr;
    }
    
    .screenshot {
        height: 250px;
    }
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

@media (max-width: 400px) {
    .games-grid {
        grid-template-columns: 1fr;
    }
}

.game-card {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95), rgba(26, 26, 26, 0.9));
    border: 2px solid rgba(72, 191, 227, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease backwards;
}

.game-card:nth-child(1) { animation-delay: 0.1s; }
.game-card:nth-child(2) { animation-delay: 0.2s; }
.game-card:nth-child(3) { animation-delay: 0.3s; }
.game-card:nth-child(4) { animation-delay: 0.4s; }

.game-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-cyan);
    box-shadow: 0 15px 40px rgba(72, 191, 227, 0.4);
}

.game-card-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #1a1a1a;
}

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

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

.game-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.btn-view-game {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-cyan));
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-view-game:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(72, 191, 227, 0.6);
}

.game-card-content {
    padding: 25px;
}

.game-card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--text-color);
}

.game-company {
    color: var(--accent-cyan);
    font-weight: 600;
    margin-bottom: 5px;
}

.game-role {
    color: #aaa;
    font-size: 0.95rem;
    margin-bottom: 3px;
}

.game-year {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.game-tags .tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(72, 191, 227, 0.15);
    border: 1px solid rgba(72, 191, 227, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--accent-mint);
}
.game-tags .tag .gamejam{
    background: rgba(124, 0, 255, .4);
}

/* Store Links Styles */
.store-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 1.5rem;
}

.store-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--purple-medium));
    color: var(--text-color);
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(116, 0, 184, 0.2);
}

.store-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(116, 0, 184, 0.4);
    border-color: var(--accent-cyan);
    color: var(--text-color);
}

.store-link i {
    font-size: 1.1rem;
}

/* Store-specific styling */
.store-link[href*="play.google.com"] {
    background: linear-gradient(135deg, #01875f, #00a86b);
}

.store-link[href*="apps.apple.com"] {
    background: linear-gradient(135deg, #007aff, #0051d5);
}

.store-link[href*="itch.io"] {
    background: linear-gradient(135deg, #fa5c5c, #e74c3c);
}

.store-link[href*="store.steampowered.com"] {
    background: linear-gradient(135deg, #1b2838, #2a475e);
}

.store-link[href*="epicgames.com"] {
    background: linear-gradient(135deg, #313131, #000000);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    animation: fadeIn 0.6s ease;
}

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

