@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;900&display=swap');
/* CSS Document */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--primary-dark: #0a0a0a;
	--secondary-dark: #1a1a1a;
	--accent-color: #f39c12;
	--text-light: #ffffff;
	--text-gray: #a0a0a0;
	--card-dark: #151515;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	background: #0a0a0a;
	color: var(--text-light);
	overflow-x: hidden;
	line-height: 1.6;
	min-height: 100vh;
   display: flex;
   flex-direction: column;
}

html, body {
    margin: 0;
    padding: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	background: var(--secondary-dark);
}

::-webkit-scrollbar-thumb {
	background: var(--accent-color);
	border-radius: 4px;
}

/* Header Navigation */
header {
position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: #0a0a0a;
	backdrop-filter: none; 
	z-index: 1000;
	padding: 0;
	transition: all 0.3s ease;
}

header.scrolled {
	padding: 15px 0;
	background: rgba(10, 10, 10, 0.98);
}

nav {
	max-width: 100%;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #0a0a0a;
	border-bottom: 1px solid rgba(243, 156, 18, 0.3);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
	gap:15px;
}

.nav-left {
    flex: 0 0 auto;
	
}

.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
	padding: 0 5px;
}


.nav-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-end;
  margin-left: auto;
}



.search-box {
  position: relative;
  flex: 1;
  max-width: 520px;
  min-width: 200px;
}

.search-box input {
  width: 100%;
  padding: 8px 40px 8px 15px;

  background: #0f0f0f;
  border: 1px solid rgba(255, 152, 0, 0.4);
  border-radius: 25px;

  color: #fff;
  font-size: 14px;

  outline: none;
  transition: 0.3s ease;
}

/* placeholder */
.search-box input::placeholder {
  color: #888;
}

/* Search Suggestions */

.search-suggestions{
  position:absolute;
  top:110%;
  left:0;
  width:100%;

  background:#111;
  border:1px solid rgba(255,152,0,0.3);
  border-radius:12px;

  overflow:hidden;
  display:none;

  z-index:9999;

  box-shadow:
    0 10px 25px rgba(0,0,0,0.6),
    0 0 15px rgba(255,152,0,0.15);
}

.suggestion-item{
  padding:12px 16px;
  color:#fff;
  cursor:pointer;
  transition:0.25s ease;
  border-bottom:1px solid rgba(255,255,255,0.05);
}

.suggestion-item:last-child{
  border-bottom:none;
}

.suggestion-item:hover,
.suggestion-item.active{
  background:rgba(255,152,0,0.15);
  color:#ff9800;
}


/* focus glow effect */
.search-box input:focus {
  border-color: #ff9800;
  box-shadow: 0 0 10px rgba(255, 152, 0, 0.7);
}

/* search button */
.search-box button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);

  background: linear-gradient(45deg, #ff9800, #ff5722);
  border: none;
  border-radius: 50%;

  width: 28px;
  height: 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  color: #000;
  font-size: 14px;

  transition: 0.3s;
}

/* hover effect */
.search-box button:hover {
  box-shadow: 0 0 10px #ff9800;
  transform: translateY(-50%) scale(1.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: 0;
  padding-left: 0px;	
}

.logo img {
  height: 95px;
  width: auto;
  filter:
    drop-shadow(0 0 4px rgba(255, 215, 0, 0.6))
    drop-shadow(0 0 10px rgba(255, 140, 0, 0.35));

  transition:
    transform 0.4s ease,
    filter 0.4s ease;
}

.logo span {
  color: gold;
  font-weight: 600;
}

.logo:hover {
	color: rgba(255, 255, 255, 0.9);
}

.logo img:hover {
  transform: scale(1.04);

  filter:
    drop-shadow(0 0 6px rgba(255, 215, 0, 0.8))
    drop-shadow(0 0 14px rgba(255, 140, 0, 0.5));
}

.logo svg {
	width: 32px;
	height: 32px;
	fill: var(--accent-color);
	opacity: 0.9;
	transition: all 0.3s ease;
}

.logo:hover svg {
	opacity: 1;
	transform: rotate(-5deg) scale(1.05);
}

/* mobile-optimization */

@media (max-width: 768px) {

    /* Navbar */
    
	nav{
		flex-wrap: nowrap;
        padding: 0 10px;
        gap: 8px;
    }

	.portfolio-section {
    padding: 60px 0 40px;
    min-height: auto;
  }

  .coverflow-wrapper {
    padding: 20px 0 60px;
  }

  .hero-content {
    padding: 0 20px;
    width: 100%;
    z-index: 10;
  }

  .hero-title {
    font-size: 1.8rem;
    letter-spacing: -1px;
  }
	
	  .coverflow-container {
    width: 100%;
    height: clamp(280px, 50vw, 350px);
    perspective: 800px; /* chhota perspective mobile pe */
  }

  .coverflow-item {
    width: 130px;
    height: 190px;
    margin-left: -65px;  /* width/2 */
    margin-top: -95px;   /* height/2 */
  }

    .logo img{
        height: 50px;
    }

    .nav-center{
        flex: 1;
    }
  
	.nav-right {
    display: flex;
    flex: 1;
    gap: 8px;
  }

    .search-box{
        width: 100%;
		flex: 1;
        min-width: 0;
        max-width: none;
    }

    .search-box input{
        font-size: 13px;
    }

	.typing-title,
  .typing-subtitle {
    white-space: normal;
    width: 100% !important;
    overflow: visible;
    border-right: none;
    animation: none;
    opacity: 1;
  }

}

    /* Mobile Menu */
    .nav-menu{
        position: fixed;
        left: -100%;
		display: flex;
        top: 80px;
        flex-direction: column;
        background: rgba(10,10,10,0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 30px 0;
        gap: 10px;
        backdrop-filter: blur(10px);
    }

    .nav-menu.active{
        left: 0;
    }

    .nav-menu a{
        display: block;
        padding: 12px 20px;
        font-size: 16px;
    }

    .menu-toggle{
        display: flex;
    }

    .menu-toggle.active span:nth-child(1){
        transform: rotate(45deg) translate(5px,5px);
    }

    .menu-toggle.active span:nth-child(2){
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3){
        transform: rotate(-45deg) translate(5px,-5px);
    }

    /* Hero */
    .hero-content{
        width: 100%;
        overflow: hidden;
        padding: 0 15px;
    }

    .hero-title{
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .typing-title,
    .typing-subtitle{
        white-space: normal;
        width: 100% !important;
        max-width: 100%;
        overflow: visible;
        border-right: none;
        animation: none;
    }

    /* Coverflow */
    .coverflow-container{
        height: clamp(280px,40vh,350px);
    }

     .coverflow-item{
             width: 130px;
              height: 190px;
             }
   
    /* About */
    .about-container{
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stats{
        grid-template-columns: repeat(3,1fr);
        gap: 20px;
    }

    .stat-number{
        font-size: 1.8rem;
    }

    /* Footer */
    .footer-container{
        padding: 0 20px;
    }

    /* Game Detail */
    .game-container{
        grid-template-columns: 1fr;
    }

    .game-info{
        position: static;
        top: auto;
    }

    .main-image{
        height: auto;
    }

    .thumbs{
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    /* Loader */
    .loader-box::before,
    .loader-box::after{
        display: none;
    }
}

.nav-menu{
    display:flex;
    align-items:center;
    gap:30px;
    list-style:none;
    margin:0;
    padding:0;
}

.nav-menu li{
    list-style:none;
}

.nav-menu a{
    position: relative;
    display: inline-block;
    padding: 12px 22px;
    border-radius: 8px;

    text-decoration: none;
    color: #d0d0d0; 
    font-size: 14px;
    font-weight: 700;

    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active{

    color: #ffffff;

    background: rgba(243,156,18,0.08);

    border: 1px solid rgba(243,156,18,0.35);

    box-shadow:
        0 0 18px rgba(243,156,18,0.25),
        inset 0 0 12px rgba(243,156,18,0.08);

    transform: translateY(-1px);
}


/* Mobile Menu Toggle */
.menu-toggle {
	display: none;
	flex-direction: column;
	cursor: pointer;
	gap: 4px;
}

.menu-toggle span {
	width: 25px;
	height: 2px;
	background: var(--text-light);
	transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
  min-height: 100svh; /* mobile pe sahi height */
  height: 100svh;
  overflow: hidden; /* black area fix */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;	
  background: #000;	
 }

.hero-slider {
  position: absolute;
  overflow: hidden;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-slider,
.slide{
    width:100%;
    height:100%;
    background-size:cover;
    background-position:center center;
}

.slide {
  position: absolute;
  inset: 0;	
  width: 100%;
  height: 100%;
  z-index: 0;
  background-size: cover;
  backface-visibility:hidden;	
  background-position: center center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none; /* 🔥 important */
}

.slide.active {
  opacity: 1;
  z-index: 2;	
}

.hero-slider .prev,
.hero-slider .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;

  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 24px;
  padding: 10px 15px;
  cursor: pointer;
	display: none;
}

.hero-slider .prev {
  left: 10px;
}

.hero-slider .next {
  right: 10px;
}

.hero-content {
	text-align: center;
	position: relative;
	z-index: 10;
	padding: 0 20px;
	opacity:0;
    transition:opacity 0.6s ease;
}

.hero-content.loaded{
   opacity:1;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 900;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: -2px;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;

  width: 100%;
  max-width: 100%;

  text-align: center;
  word-break: break-word;

  background: linear-gradient(90deg, #ff8c00, #ff3d00, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow: 0 0 15px rgba(255, 140, 0, 0.4);
  transition: 0.3s ease;
}
.hero-title,
.hero-subtitle{
   max-width:100%;
}
.typing-title{
  display:block;

  overflow:hidden;
  white-space:nowrap;

  width:0;
  margin:0 auto;

  border-right:3px solid #ff9800;

animation:
  typingTitle 2.5s steps(20,end) forwards,
  blinkCursor .7s step-end 5,
  hideCursor 0s forwards 3.5s;
}


@keyframes typingTitle{
  from{
    width:0;
  }

  to{
    width:20ch;
  }
}



.hero-subtitle {
	font-size: clamp(1rem, 2vw, 1.3rem);
	color: #e0e0e0;
	margin-bottom: 55px;
	font-weight: 300;
	letter-spacing: 2px;
	min-height:40px;
}


.typing-subtitle{
  display:block;

  overflow:hidden;
  white-space:nowrap;

  width:0;

  margin:0 auto;

  border-right:2px solid #ff9800;

  opacity:0;

animation:
  showSub 0s forwards 2.5s,
  typingSub 2s steps(24,end) 2.5s forwards,
  blinkCursor .7s step-end 4 2.5s,
  hideCursor 0s forwards 5.5s;
}
@keyframes showSub {
  to { opacity: 1; }
}


@keyframes typingSub{
  from{
    width:0;
  }

  to{
    width:27ch;
  }
}

@keyframes hideCursor{
  to{
    border-right-color:transparent;
  }
}

@keyframes blinkCursor{

  0%,50%{
    border-color:#ff9800;
  }

  51%,100%{
    border-color:transparent;
  }

}

.cta-button {
	display: inline-block;
	padding: 15px 40px;
	background: #f39c12;
	color: #000;
	box-shadow: 0 0 20px rgba(243,156,18,0.4);
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 1px;
	text-transform: uppercase;
	border-radius: 30px;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	z-index: 10;
}

.fade-btn {
  opacity: 0;
  transform: translateY(20px);

  animation: showBtn 0.8s ease forwards;
  animation-delay: 5.2s; /* title + subtitle ke baad */
}

@keyframes showBtn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.cta-button:hover {
	transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 152, 0, 0.6);
}

/* Portfolio Section with Coverflow */
.portfolio-section {
	padding: 100px 0;
	position: relative;
	background: #0a0a0a;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.section-header {
	text-align: center;
	margin-bottom: 60px;
	padding: 0 20px;
}

.section-title {
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 800;
	letter-spacing: -1px;
	margin-bottom: 15px;
}

.section-subtitle {
	color: var(--text-gray);
	font-size: 16px;
	max-width: 600px;
	margin: 0 auto;
}

/* Coverflow Container */
.coverflow-wrapper {
	width: 100%;
	position: relative;
	padding: 40px 0 80px;
}

.coverflow-container {
	width: 900px;
	max-width: 90vw;
	/* Dynamic height based on viewport: min 350px, preferred 45vh, max 500px */
	height: clamp(350px, 45vh, 500px);
	position: relative;
	transform-style: preserve-3d;
	margin: 0 auto;
	perspective: 1200px;
}

.coverflow-item {
	position: absolute;
	/* Dynamic width based on viewport: min 210px, preferred 27vh, max 300px */
	margin-left: calc(-1 * clamp(210px, 27vh, 300px) / 2);
	/* Dynamic height based on viewport: min 290px, preferred 38vh, max 420px */
	margin-top: calc(-1 * clamp(290px, 38vh, 420px) / 2);
	left: 50%;
	top: 50%;
	transform-origin: center center;
	cursor: pointer;
	transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
}

/* Adjust for large screens (27" and above) */
@media (min-height: 900px) {
	.coverflow-container {
		height: clamp(450px, 50vh, 550px);
	}

	.coverflow-item {
		width: clamp(280px, 30vh, 340px);
		height: clamp(390px, 42vh, 480px);
	}
}

/* Adjust for small laptops */
@media (max-height: 768px) {
	.coverflow-container {
		height: clamp(300px, 42vh, 380px);
	}

	.coverflow-item {
		width: clamp(180px, 24vh, 240px);
		height: clamp(250px, 34vh, 320px);
	}
}

/* Reflection Effect */
.coverflow-item::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	height: 100%;
	background: inherit;
	transform: scaleY(-1) translateY(1px);
	opacity: 0.15;
	filter: blur(2px);
	mask: linear-gradient(to bottom,
			rgba(0, 0, 0, 0.4) 0%,
			rgba(0, 0, 0, 0.2) 20%,
			rgba(0, 0, 0, 0.1) 40%,
			transparent 60%);
	-webkit-mask: linear-gradient(to bottom,
			rgba(0, 0, 0, 0.4) 0%,
			rgba(0, 0, 0, 0.2) 20%,
			rgba(0, 0, 0, 0.1) 40%,
			transparent 60%);
	pointer-events: none;
}

.portfolio-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.coverflow-item:hover .portfolio-image {
	transform: scale(1.05);
}

.portfolio-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to top,
			rgba(0, 0, 0, 0.95) 0%,
			rgba(0, 0, 0, 0.7) 40%,
			rgba(0, 0, 0, 0.3) 70%,
			transparent 100%);
	padding: 30px;
	transform: translateY(100px);
	transition: transform 0.4s ease;
}

.coverflow-item:hover .portfolio-overlay {
	transform: translateY(0);
}

.portfolio-category {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--accent-color);
	margin-bottom: 8px;
	font-weight: 600;
}

.portfolio-title {
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 8px;
	color: var(--text-light);
}

.portfolio-description {
	font-size: 13px;
	color: var(--text-gray);
	line-height: 1.5;
}

/* Navigation Controls */
.coverflow-controls {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 15px;
	z-index: 10;
}

.control-btn {
	width: 45px;
	height: 45px;
	border: 2px solid rgba(255, 255, 255, 0.2);
	background: rgba(26, 26, 26, 0.8);
	backdrop-filter: blur(10px);
	color: var(--text-light);
	cursor: pointer;
	font-size: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: all 0.3s ease;
	position: relative;
}

.control-btn:hover {
	background: var(--accent-color);
	border-color: var(--accent-color);
	color: var(--primary-dark);
	transform: scale(1.1);
}

/* Adjust play button icon positioning */
#playPauseBtn {
	padding-left: 2px;
}

#playPauseBtn.playing {
	padding-left: 0;
}

/* Indicators */
.indicators {
	position: absolute;
	bottom: -40px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
	z-index: 10;
}

.indicator {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	cursor: pointer;
	transition: all 0.3s ease;
}

.indicator.active {
	width: 30px;
	border-radius: 4px;
	background: var(--accent-color);
}

/* About Section */
.about-section {
	padding: 100px 30px;
	background: #111;
}

.about-container {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: center;
}

.about-image {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
}

.about-image img {
	width: 100%;
	height: auto;
	display: block;
	filter: grayscale(100%);
	transition: filter 0.5s ease;
}

.about-image:hover img {
	filter: grayscale(0%);
}

.about-content h2 {
	font-size: clamp(2rem, 4vw, 2.5rem);
	margin-bottom: 20px;
	font-weight: 800;
	letter-spacing: -1px;
}

.about-content p {
	color: var(--text-gray);
	line-height: 1.8;
	margin-bottom: 20px;
	font-size: 16px;
}

.stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-top: 40px;
}

.stat-item {
	text-align: center;
}

.stat-number {
	font-size: 2.5rem;
	font-weight: 800;
	color: var(--accent-color);
	margin-bottom: 5px;
}

.stat-label {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--text-gray);
}

/* Features Section */
.services-section {
	padding: 100px 30px;
	background: var(--primary-dark);
}

.services-container {
	max-width: 1200px;
	margin: 0 auto;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 40px;
	margin-top: 60px;
}

.service-card {
	background: linear-gradient(135deg, #1a1a1a, #0f0f0f);
	padding: 40px 30px;
	border-radius: 12px;
	text-align: center;
	transition: all 0.4s ease;
	border: 1px solid rgba(255,255,255,0.05);
	position: relative;
	overflow: hidden;
}

.service-card::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
	opacity: 0;
	transition: opacity 0.4s ease;
	pointer-events: none;
}

.service-card:hover::before {
	opacity: 0.05;
}

.service-card:hover {
	transform: translateY(-10px);
	border-color: rgba(243, 156, 18, 0.3);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
	background: linear-gradient(135deg, rgba(30, 30, 30, 0.9), rgba(20, 20, 20, 1));
}

.service-icon {
	width: 60px;
	height: 60px;
	margin: 0 auto 25px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, rgba(243, 156, 18, 0.1), rgba(243, 156, 18, 0.05));
	border-radius: 50%;
	transition: all 0.4s ease;
}

.service-card:hover .service-icon {
	transform: scale(1.1);
	background: linear-gradient(135deg, rgba(243, 156, 18, 0.15), rgba(243, 156, 18, 0.1));
}

.service-icon svg {
	width: 30px;
	height: 30px;
	fill: var(--accent-color);
}

.service-title {
	font-size: 1.5rem;
	margin-bottom: 18px;
	font-weight: 700;
	color: var(--text-light);
	letter-spacing: -0.5px;
}

.service-description {
	color: var(--text-gray);
	line-height: 1.8;
	font-size: 15px;
	margin-bottom: 25px;
}

.service-price {
	font-size: 13px;
	color: var(--accent-color);
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: 600;
}

.footer {
    background: linear-gradient(180deg, #0a0a0a, #111827);
    border-top: 1px solid rgba(243, 156, 18, 0.3);
	padding: 40px 30px 20px;	
	margin-top: auto;

}

.footer-container {
    display: grid;
   grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    max-width: 1600px;
    margin: 0 auto;
	padding: 0 60px;
}

.footer-col h3,
.footer-col h4 {
    color: #f39c12;
    margin-bottom: 15px;
}

.footer-col a,
.footer-col p {
    display: block;
    color: #aaa;
    font-size: 14px;
    margin-bottom: 8px;
    text-decoration: none;
}

.footer-col a:hover {
    color: #f39c12;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: #111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons i {
    color: white;
    font-size: 18px;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid #222;
    padding-top: 20px;
    color: #777;
}


@media (max-width: 480px) {
	.hero-title {
		font-size: 1.8rem;
		line-height: 1.2;
	}

	.coverflow-container {
		height: clamp(250px, 38vh, 320px);
	}

          .coverflow-item{
                 width: 120px;
		          padding: 20px;
	                }

	.portfolio-title {
		font-size: 18px;
	}

	.services-grid {
		grid-template-columns: 1fr;
	}
}

/* =========================
   CYBERPUNK LOADER
========================= */

.cyber-loader{

    position: fixed;

    top: 90px;

    left: 0;
    right: 0;

    bottom: 220px;

    background: rgba(0,0,0,0.92);

    backdrop-filter: blur(8px);

    z-index: 9999;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;

    transition: 0.8s ease;
	animation: loaderFlicker 0.25s infinite alternate;
}


@keyframes loaderFlicker{

   from{
      opacity:0.97;
   }

   to{
      opacity:1;
   }
}

.cyber-loader::before{

    content:"";

    position:absolute;

    inset:0;

    background:
    repeating-linear-gradient(
       to bottom,
       rgba(255,255,255,0.02),
       rgba(255,255,255,0.02) 1px,
       transparent 1px,
       transparent 3px
    );

    opacity:0.08;

    pointer-events:none;
}

/* CENTER BOX */

.loader-box{
    width: 700px;
    text-align: center;
    position: relative;
}

/* LOADING TEXT */

.loader-text{

    color:#fff;

    font-size:38px;

    font-family:'Orbitron',sans-serif;

    font-weight:700;

    letter-spacing:7px;

    margin-bottom:22px;

    text-transform:uppercase;

    text-shadow:
    0 0 6px rgba(255,255,255,0.9),
    0 0 16px rgba(255,255,255,0.6);

    animation:flickerText 1.2s infinite alternate;
}

/* MAIN BAR */

.loading-line{

    width:100%;

    height:10px;

    border:1px solid rgba(255,255,255,0.7);

    position:relative;

    overflow:hidden;

    background:rgba(255,255,255,0.02);

    box-shadow:
    0 0 8px rgba(255,255,255,0.15),
    inset 0 0 8px rgba(255,255,255,0.08);
}

/* PROGRESS */

.loading-fill{

    position:absolute;

    left:0;
    top:0;

    width:0%;
    height:100%;

    background:
    linear-gradient(
       90deg,
       rgba(255,255,255,0.2),
       rgba(255,255,255,0.85),
       rgba(255,255,255,0.2)
    );

    background-size:200% 100%;

    box-shadow:
    0 0 10px rgba(255,255,255,0.8),
    0 0 14px rgba(255,255,255,0.35);

    animation:
    loadingBar 4s linear forwards,
    energyFlow 1.2s linear infinite;
}

@keyframes energyFlow{

   from{
      background-position:0% 0;
   }

   to{
      background-position:200% 0;
   }
}
.loading-fill::after{

    content:"";

    position:absolute;

    top:0;
    right:-25px;

    width:30px;
    height:100%;

    background:#fff;

    filter:blur(12px);

    opacity:0.9;

    animation:scanPulse 0.8s infinite alternate;
	box-shadow:0 0 20px #fff;
}

/* DIGITAL TEXT */

.loading-code{

    margin-top:14px;

    color:rgba(255,255,255,0.45);

    font-size:9px;

    font-family:'Orbitron',sans-serif;

    letter-spacing:4px;

    text-transform:uppercase;

    animation:flicker 0.15s infinite alternate;
}

/* SIDE LINES */

.loader-box::before,
.loader-box::after{

    content:"";

    position:absolute;

    width:55px;
    height:3px;

    background:#fff;

    top:72px;

    box-shadow:
    0 0 8px rgba(255,255,255,0.9);

    animation:pulseBars 0.8s infinite alternate;
}

.loader-box::before{
    left:-75px;
}

.loader-box::after{
    right:-75px;
}


/* ANIMATIONS */

@keyframes pulseBars{

    from{
       opacity:0.5;
    }

    to{
       opacity:1;
    }
}

@keyframes scanPulse{

    from{
       opacity:0.4;
    }

    to{
       opacity:1;
    }
}

@keyframes flickerText{

    0%{
       opacity:0.9;
    }

    100%{
       opacity:1;
    }
}
@keyframes loadingBar{

    from{
        width: 0%;
    }

    to{
        width: 100%;
    }
}

@keyframes glowText{

    from{
        opacity: 0.7;
    }

    to{
        opacity: 1;
    }
}

@keyframes flicker{

    0%{
        opacity: 0.5;
    }

    100%{
        opacity: 1;
    }
}


/* =========================
   LOADER MOBILE OPTIMIZATION
========================= */

.loader-box{
    width:min(620px,85vw);
}

.loader-text{
   font-size: clamp(26px,5vw,42px);
   letter-spacing: 6px;
}

@media(max-width:768px){

   .loader-box::before,
   .loader-box::after{
      display:none;
   }

.nav-right{
      display:none;
   }

   .nav-right.active{
      display:flex;
   }

	nav{
      flex-wrap:wrap;
   }

   .coverflow-container{
      width:100%;
      max-width:100%;
   }

   .portfolio-section{
      min-height:auto;
      padding:60px 0;
   }

   .slide{
      background-size:cover;
      background-position:center center;
   }

	
}

/* Smooth Reveal Animations */
.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.8s ease;
}

.reveal.active {
	opacity: 1;
	transform: translateY(0);
}

/* ============================= */
/* SPA TRANSITION (ADD BELOW) */
/* ============================= */

.section-hidden {
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
  transition: all 0.4s ease;
}

.section-show {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.4s ease;
}

/* Game detail styling */
#game-detail {
  flex: 1;
  min-height: 100vh;
  background: #0a0a0a;
  padding: 120px 20px 60px;
  display: none;
}

/* Smooth image animation */
#gameImage {
  max-width: 100%;
  border-radius: 10px;
  transition: transform 0.4s ease;
}

#gameImage:hover {
  transform: scale(1.05);
}

/* Back button styling */

.back-btn {
  background: #f39c12;
  border: none;
  padding: 10px 20px;
  color: #000;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  margin-bottom: 20px;
}

.back-btn:hover {
  background: #ffb84d;
}

.modal-open {
  overflow-x: hidden;
}

.game-container {
  display: grid;
  grid-template-columns: 2fr 1fr;;
  gap: 30px;
  max-width: 1300px;
  margin: auto;
  align-items: start;
}

.game-media .main-image {
  width: 100%;
  border-radius: 10px;
  	
}

.main-image{
    width:100%;
    height:500px;
    object-fit:cover;
    border-radius:16px;
}

@media (max-width: 900px) {
  .game-container {
    grid-template-columns: 1fr;
  }
}

.game-media img {
  width: 100%;
  max-height: 450px;  
  object-fit: cover; 	
  height: auto;
  border-radius: 10px;
  border-radius: 10px;	
}

.game-media {
  background: #111;
  padding: 15px;
  flex:2;	
  border-radius: 12px;
  width: 100%;
  max-width: 900px;
  margin: 0;
  grid-column: 1;
  grid-row: 1;	 
  height:100%;	
}

.thumbs {
  display: flex;
  gap: 10px;
  margin-top: 10px;

  overflow-x: auto;
  overflow-y: hidden;

  white-space: nowrap;
  scroll-behavior: smooth;

  padding-bottom: 6px;
}


.thumbs img {
   width: 90px;
  height: 60px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 6px;
  transition: 0.3s;
	opacity: 0.7;
	flex-shrink: 0;
	
}

.thumbs::-webkit-scrollbar {
  height: 6px;
}


.thumbs::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 10px;
}

.thumbs img:hover {
  transform: scale(1.05);
  opacity: 1;
  border: 2px solid #f39c12;
}

.game-info {
  background: linear-gradient(145deg, #111, #0a0a0a);
  padding: 25px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  position: sticky;
  top: 100px;
  flex:1;
  display:flex;
  flex-direction:column;
   min-height:100%;	
}

.game-info h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

.game-info p {
  color: #aaa;
  font-size: 14px;
}

.game-description {
  grid-column: 1 / -1;  /* 🔥 FULL WIDTH */
  margin-top: 30px;
  padding: 10px 0;
  line-height: 1.6;
}

#gameAbout{
    color:#e6e6e6;
    font-size:18px;
    line-height:1.9;
    font-weight:400;
    max-height:220px;
    overflow:hidden;
    position:relative;
    transition:max-height 0.4s ease;
	}

#gameAbout.expanded{
    max-height:5000px;
}

.see-more-btn:hover{
    color:#ffffff;
}

.see-more-btn{
    margin-top:18px;
    background:none;
    border:none;
    color:#ff9800;
    font-size:16px;
    font-weight:700;
    cursor:pointer;
    transition:0.3s ease;
}

#gameAbout b{
    display:block;
    margin-top:35px;
    margin-bottom:18px;
    font-size:28px;
    font-weight:700;
    color:#ffffff;
}

#gameAbout p{
    margin-bottom:22px;
}

#gameAbout br{
    content:"";
    display:block;
    margin-top:12px;
}

#gameAbout::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:100%;
    height:80px;
    background:linear-gradient(to bottom, transparent, #000);
}

#gameAbout.expanded::after{
    display:none;
}

.thumbs img.active{
   border:2px solid #ff9800;
   transform:scale(1.05);
}

.tags span {
  background: #222;
  padding: 5px 10px;
  border-radius: 5px;
  margin-right: 5px;
  font-size: 12px;
}

.download-btn {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  background: linear-gradient(45deg, #f39c12, #ff5722);
  border-radius: 8px;
  margin-top: 20px;
}
