:root {
    --bg-color: #050505;
    --secondary-bg: #0c0c0c;
    --text-color: #e0e0e0;
    --text-muted: #a0a0a0;
    --accent-color: #00d2ff;
    --accent-gradient: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    --card-bg: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.1);
    --header-height: 80px;
    --container-width: 1200px;
    --font-main: 'Geist Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-heading: 'Geist Sans', sans-serif;
    --font-mono: 'Geist Mono', monospace;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
    /* Hide default cursor */
}

.pointer-glow {
    width: 20px;
    height: 20px;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out;
}

.pointer-glow::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-color), 0 0 20px var(--accent-color);
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 100px 0;
}

.secondary-bg {
    background-color: var(--secondary-bg);
    background-image: radial-gradient(circle at 10% 10%, rgba(255, 157, 0, 0.02) 0%, transparent 40%);
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.text-center {
    text-align: center;
}

/* Header & Nav */
header {
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: 0.4s;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

header.scrolled {
    height: 70px;
    background: rgba(5, 5, 5, 0.95);
}

nav {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(0, 210, 255, 0.3));
    transition: 0.3s;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.6;
    position: relative;
    padding: 5px 0;
    transition: 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 0 10px var(--accent-color);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 1;
    color: var(--accent-color);
}


.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-family: var(--font-mono);
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}


.lang-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: 0.3s;
    padding: 2px 5px;
}

.lang-btn:hover {
    color: var(--text-color);
}

.lang-btn.active {
    color: var(--accent-color);
}

.lang-divider {
    color: var(--border-color);
    font-size: 0.7rem;
}

.menu-toggle {
    display: none;
    font-size: 1.2rem;
    color: var(--text-color);
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
}


/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(0, 210, 255, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(58, 123, 213, 0.12) 0%, transparent 50%);
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    opacity: 0.3;
    animation: pan 100s linear infinite;
}

@keyframes pan {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(-5%, -5%);
    }
}

.hero-content {
    max-width: 1100px;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 5.5rem);
    line-height: 1;
    margin-bottom: 2rem;
    letter-spacing: -2px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 800px;
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.hero-btns.justify-content-center {
    justify-content: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 2.8rem;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    gap: 0.8rem;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 40px rgba(0, 210, 255, 0.5);
}

.btn-primary:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: white;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.15);
}

.btn-primary.btn-outline {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-primary.btn-outline:hover {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 25px;
    height: 45px;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 8px;
    background: var(--accent-color);
    left: 50%;
    transform: translateX(-50%);
    top: 8px;
    border-radius: 2px;
    animation: mouse-scroll 2s infinite;
}

@keyframes mouse-scroll {
    0% {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
}

/* Stats Section */
.stats {
    padding: 40px 0;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.02), transparent);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.grid-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* About Section */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.about-text p {
    margin-bottom: 2rem;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

.btn-link {
    color: var(--accent-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid transparent;
}

.btn-link:hover {
    border-bottom-color: var(--accent-color);
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: 0.5s;
}

.glass-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 210, 255, 0.1), transparent);
}

/* Services */
.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 3rem 2rem;
    border-radius: 20px;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0;
    z-index: -1;
    transition: 0.4s;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 157, 0, 0.3);
}

.service-card:hover i {
    color: white;
}

.service-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    transition: 0.4s;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Marketplace */
.header-with-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16/10;
    cursor: pointer;
    background: #000;
    border: 1px solid var(--border-color);
    transition: 0.3s;
}

.portfolio-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, transparent, var(--accent-color), transparent);
    animation: rotate 6s linear infinite;
    opacity: 0;
    transition: 0.3s;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.portfolio-item:hover::after {
    opacity: 0.5;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
    position: relative;
    z-index: 1;
}

.marketplace-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    transform: translateY(10px);
    opacity: 0;
    transition: 0.4s;
    pointer-events: none;
}

.portfolio-item:hover img {
    transform: scale(1.08);
}

.portfolio-item:active {
    transform: scale(0.98);
}

.portfolio-item:active img {
    transform: scale(1.15);
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: white;
}

.portfolio-info span {
    font-size: 0.8rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Slider Nav Controls */
.slider-nav {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-bottom: 2rem;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10;
}

.slider-arrow:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 157, 0, 0.3);
}

.slider-arrow:active {
    transform: scale(0.9);
}

/* Contact */
.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 1.2rem;
    width: 45px;
    height: 45px;
    background: rgba(0, 210, 255, 0.1);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.info-item h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.info-item p {
    color: var(--text-muted);
}

/* Form */
.form-group {
    margin-bottom: 1.2rem;
}

input,
textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: white;
    font-family: inherit;
    outline: none;
    transition: 0.3s;
}

input:focus,
textarea:focus {
    border-color: var(--accent-color);
    background: rgba(0, 210, 255, 0.05);
}

.btn-block {
    width: 100%;
}

/* Featured Game Showcase */
.featured-game-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
    background: var(--bg-color);
    padding: 0;
    border-radius: 40px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
}

.featured-game-container::after {
    content: 'TOP PROJECT';
    position: absolute;
    top: 40px;
    right: -40px;
    background: var(--accent-gradient);
    padding: 5px 50px;
    transform: rotate(45deg);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    z-index: 10;
}

.featured-game-image {
    width: 100%;
    height: 60vh;
}

.featured-game-image .image-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.featured-game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-game-content {
    padding: 4rem;
    text-align: center;
    max-width: 900px;
}


.featured-game-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.featured-game-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.game-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.project-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent-color);
    letter-spacing: 3px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.justify-content-center {
    justify-content: center;
}

@media (max-width: 992px) {
    .featured-game-container {
        gap: 3rem;
        padding: 2rem;
    }
}

.mt-100 {
    margin-top: 100px;
}

@media (min-width: 993px) {
    .featured-reverse .featured-game-image {
        order: 2;
    }

    .featured-reverse .featured-game-content {
        order: 1;
    }
}

/* Footer */
footer {
    padding: 50px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    justify-content: center;
}

.footer-logo img {
    height: 40px;
    width: auto;
    opacity: 0.8;
    transition: 0.3s;
}

.footer-logo:hover img {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    font-size: 1.2rem;
    opacity: 0.6;
}

.social-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

/* Responsive */
@media (max-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        order: -1;
    }

    .grid-stats {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(10px);
        padding: 2rem;
        transition: 0.6s cubic-bezier(0.85, 0, 0.15, 1);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .header-with-btn {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 85%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(0, 210, 255, 0.3);
    animation: zoom 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes zoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #f1f1f1;
    font-size: 60px;
    font-weight: 200;
    transition: 0.3s;
    cursor: pointer;
    line-height: 1;
}

.close-lightbox:hover {
    color: var(--accent-color);
    transform: rotate(90deg);
}

@media only screen and (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
        margin-top: 20%;
    }

    .close-lightbox {
        top: 20px;
        right: 20px;
        font-size: 40px;
    }
}

/* Lightbox Navigation Icons */
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 24px;
    padding: 20px 25px;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.3s;
    z-index: 10001;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 20px var(--accent-color);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

@media only screen and (max-width: 768px) {

    .lightbox-prev,
    .lightbox-next {
        padding: 15px 23px;
        top: auto;
        bottom: 40px;
        transform: none;
    }

    .lightbox-prev {
        left: 20%;
    }

    .lightbox-next {
        right: 20%;
    }
}