/* Global Styles */
:root {
    --primary-color: #FFD700;
    --secondary-color: #000000;
    --accent-color: #FF6B6B;
    --text-color: #333333;
    --light-bg: #FFFFFF;
    --dark-bg: #1A1A1A;
    --neon-glow: 0 0 10px rgba(255, 215, 0, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid var(--primary-color);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand .brand-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: var(--neon-glow);
}

.nav-link {
    font-weight: 500;
    color: var(--text-color);
    margin: 0 1rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: var(--light-bg);
    min-height: 100vh;
    overflow: hidden;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    text-shadow: var(--neon-glow);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn-neon {
    padding: 1rem 2rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-neon:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    box-shadow: var(--neon-glow);
}

/* Hero Image Styles */
.hero-image {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    opacity: 0.7;
    filter: brightness(0.7);
}

.game-hero-animation {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.2));
}

.background-elements .bg-circle {
    animation: pulse 4s infinite;
}

.background-elements .bg-circle:nth-child(2) {
    animation-delay: 2s;
}

.console {
    animation: float 6s ease-in-out infinite;
}

.console-screen {
    animation: screenGlow 3s infinite;
}

.power-light {
    animation: blink 2s infinite;
}

.floating-elements .controller {
    animation: float 5s ease-in-out infinite;
    animation-delay: 1s;
}

.floating-elements .cartridge {
    animation: float 7s ease-in-out infinite;
    animation-delay: 2s;
}

.controller-button {
    animation: buttonPress 2s infinite;
}

.controller-button:nth-child(3) {
    animation-delay: 1s;
}

.particle {
    animation: particleFloat 4s infinite;
}

.particle:nth-child(2) { animation-delay: 0.5s; }
.particle:nth-child(3) { animation-delay: 1s; }
.particle:nth-child(4) { animation-delay: 1.5s; }
.particle:nth-child(5) { animation-delay: 2s; }
.particle:nth-child(6) { animation-delay: 2.5s; }

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
    100% { transform: scale(1); opacity: 0.5; }
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

@keyframes screenGlow {
    0% { fill: #000; }
    50% { fill: #111; }
    100% { fill: #000; }
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

@keyframes buttonPress {
    0% { transform: scale(1); }
    50% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

@keyframes particleFloat {
    0% { transform: translate(0, 0); opacity: 0; }
    50% { transform: translate(20px, -20px); opacity: 1; }
    100% { transform: translate(0, 0); opacity: 0; }
}

@media (max-width: 991px) {
    .hero-image {
        height: 400px;
    }
}

@media (max-width: 767px) {
    .hero-image {
        height: 300px;
    }
}

/* About Section Styles */
.about-section {
    padding: 120px 0;
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.section-subtitle {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.section-description {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.about-content {
    position: relative;
    z-index: 1;
}

.about-text h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* About Features Styles */
.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-box {
    background: rgba(255, 215, 0, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), transparent);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-box:hover::before {
    opacity: 0.1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.feature-box:hover .feature-icon {
    transform: rotateY(180deg);
}

.feature-icon i {
    font-size: 1.8rem;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.feature-box:hover .feature-icon i {
    transform: rotateY(180deg);
}

.feature-content {
    position: relative;
    z-index: 2;
}

.feature-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.feature-content p {
    font-size: 0.95rem;
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
    opacity: 0.8;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-color);
}

.about-image-wrapper {
    position: relative;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--primary-color);
    padding: 1.5rem;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.experience-badge .years {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
    color: var(--secondary-color);
    text-align: center;
}

/* Games Section */
.games-section {
    padding: 100px 0;
    background: var(--dark-bg);
    color: var(--light-bg);
}

.game-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: translateY(-10px);
}

.game-image {
    position: relative;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-content {
    padding: 1.5rem;
    text-align: center;
}

/* Services Section Styles */
.services-section {
    /* padding: 120px 0; */
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.service-card {
    background: var(--light-bg);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), transparent);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    transform: rotateY(180deg);
}

.service-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
    color: var(--secondary-color);
    transform: rotateY(180deg);
}

.service-content {
    position: relative;
    z-index: 2;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.service-content p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.service-features li i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: var(--secondary-color);
}

.service-link:hover i {
    transform: translateX(5px);
}

@media (max-width: 991px) {
    .service-card {
        padding: 2rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
    }
    
    .service-icon i {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .service-card {
        padding: 1.5rem;
    }
    
    .service-content h3 {
        font-size: 1.3rem;
    }
}

/* Contact Section Styles */
.contact-section {
    padding: 120px 0;
    background: var(--dark-bg);
    color: var(--light-bg);
    position: relative;
}

.contact-info-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-item .icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-item .icon i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.contact-info-item .content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-info-item .content p {
    color: var(--light-bg);
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-bg);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-5px);
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--light-bg);
    transition: all 0.3s ease;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.1);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.form-control:focus ~ .focus-border {
    width: 100%;
}

.btn-neon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-neon:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.btn-neon i {
    transition: transform 0.3s ease;
}

.btn-neon:hover i {
    transform: translateX(5px);
}

@media (max-width: 991px) {
    .about-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-box {
        padding: 1.25rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-info-wrapper {
        margin-bottom: 3rem;
    }
}

@media (max-width: 767px) {
    .feature-box {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .feature-icon {
        margin: 0 auto 1rem;
    }
    
    .feature-content h4 {
        font-size: 1.1rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--light-bg);
    padding: 50px 0 20px;
}

.footer-brand h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.social-links a {
    color: var(--light-bg);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 2rem;
    }
}

/* Game Development Animation Styles */
.game-dev-animation {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 20px;
    overflow: hidden;
}

.game-icon {
    width: 200px;
    height: 200px;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
}

.controller-base {
    animation: pulse 2s infinite;
}

.d-pad rect {
    animation: buttonPress 1.5s infinite;
}

.d-pad rect:nth-child(2) {
    animation-delay: 0.5s;
}

.d-pad rect:nth-child(3) {
    animation-delay: 1s;
}

.d-pad rect:nth-child(4) {
    animation-delay: 1.5s;
}

.action-buttons circle {
    animation: buttonGlow 2s infinite;
}

.action-buttons circle:nth-child(2) {
    animation-delay: 0.5s;
}

.action-buttons circle:nth-child(3) {
    animation-delay: 1s;
}

.action-buttons circle:nth-child(4) {
    animation-delay: 1.5s;
}

.screen {
    animation: screenGlow 2s infinite;
}

.particle {
    animation: particleFloat 3s infinite;
}

.particle:nth-child(2) {
    animation-delay: 0.5s;
}

.particle:nth-child(3) {
    animation-delay: 1s;
}

.particle:nth-child(4) {
    animation-delay: 1.5s;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes buttonPress {
    0% { transform: scale(1); }
    50% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

@keyframes buttonGlow {
    0% { fill: #000; }
    50% { fill: #333; }
    100% { fill: #000; }
}

@keyframes screenGlow {
    0% { fill: #000; }
    50% { fill: #222; }
    100% { fill: #000; }
}

@keyframes particleFloat {
    0% { transform: translate(0, 0); opacity: 0; }
    50% { transform: translate(10px, -10px); opacity: 1; }
    100% { transform: translate(0, 0); opacity: 0; }
}

@media (max-width: 991px) {
    .game-dev-animation {
        height: 300px;
    }
    
    .game-icon {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 767px) {
    .game-dev-animation {
        height: 250px;
    }
    
    .game-icon {
        width: 120px;
        height: 120px;
    }
}

/* Contact Form Styles */
.contact-form .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: #fff;
    padding: 15px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: #FFD700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.contact-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.contact-form .form-control:hover {
    border-color: rgba(255, 215, 0, 0.4);
}

/* Update input field colors for better visibility */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    background-color: rgba(33, 33, 33, 0.8);
    color: #fff;
}

.contact-form input[type="text"]::placeholder,
.contact-form input[type="email"]::placeholder,
.contact-form input[type="tel"]::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus {
    background-color: rgba(44, 44, 44, 0.9);
    color: #fff;
} 