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

:root {
    --black: #0a0a0a;
    --purple: #8b5cf6;
    --cyan: #06b6d4;
    --white: #ffffff;
    --gray: #737373;
    --dark-gray: #1a1a1a;
}

html {
    scroll-behavior: smooth;
}

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

/* Particle Background */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 0.05em;
}

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

/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 2rem;
}

.hero-content {
    z-index: 2;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 6rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    background: linear-gradient(135deg, var(--purple), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-shadow: 0 0 80px rgba(139, 92, 246, 0.5);
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.5));
    }
    to {
        filter: drop-shadow(0 0 40px rgba(6, 182, 212, 0.7));
    }
}

.tagline {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto 3rem;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--purple), var(--cyan));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.5);
}

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

.btn-secondary:hover {
    background: var(--purple);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}

.btn-invest {
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    color: var(--white);
    font-size: 1.25rem;
    padding: 1.25rem 3rem;
}

.btn-invest:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(6, 182, 212, 0.6);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.arrow {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, transparent, var(--cyan));
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* Sections */
.section {
    padding: 8rem 0;
    position: relative;
}

.section.dark {
    background: var(--dark-gray);
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--white), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 4rem;
}

/* Vision Grid */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.vision-card {
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

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

.vision-card .icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.vision-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--cyan);
}

.vision-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* Technology Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-item {
    background: rgba(10, 10, 10, 0.6);
    border-left: 3px solid var(--cyan);
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: rgba(10, 10, 10, 0.9);
    border-left-color: var(--purple);
    transform: translateX(10px);
}

.tech-item h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.tech-item p {
    color: var(--gray);
    line-height: 1.8;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.game-card {
    background: var(--dark-gray);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

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

.game-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--purple), var(--cyan));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-family: 'Orbitron', sans-serif;
    color: var(--white);
}

.game-image.nexus {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.game-image.synthwave {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.game-image.echo {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.game-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.3);
}

.game-info {
    padding: 2rem;
}

.game-info h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.game-genre {
    color: var(--cyan);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.game-info p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.coming-soon {
    display: inline-block;
    background: rgba(139, 92, 246, 0.2);
    color: var(--purple);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid var(--purple);
}

/* Investment Section */
.invest-section {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
}

.invest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.invest-card {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.invest-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--cyan);
}

.invest-card p {
    color: var(--gray);
    line-height: 1.8;
}

.invest-cta {
    text-align: center;
    margin-top: 4rem;
}

.invest-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--gray);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
}

.contact-item {
    text-align: center;
}

.contact-item h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--purple);
}

.contact-link {
    color: var(--cyan);
    text-decoration: none;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--white);
    text-shadow: 0 0 20px var(--cyan);
}

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

.social-link {
    color: var(--gray);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
}

.social-link:hover {
    color: var(--white);
    border-color: var(--purple);
    background: rgba(139, 92, 246, 0.1);
}

/* Footer */
footer {
    background: var(--dark-gray);
    padding: 2rem 0;
    text-align: center;
    color: var(--gray);
    font-size: 0.875rem;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--dark-gray);
    border: 1px solid var(--purple);
    border-radius: 16px;
    padding: 3rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 80px rgba(139, 92, 246, 0.5);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--gray);
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.modal-content h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--cyan);
}

.modal-subtitle {
    color: var(--gray);
    margin-bottom: 2rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--white);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--purple);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .logo {
        font-size: 3.5rem;
    }
    
    .tagline {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .portfolio-grid,
    .vision-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 2rem 1.5rem;
    }
}

/* Smooth Animations */
.vision-card,
.tech-item,
.game-card,
.invest-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

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

/* Stagger animation delays */
.vision-card:nth-child(1),
.tech-item:nth-child(1),
.game-card:nth-child(1),
.invest-card:nth-child(1) {
    animation-delay: 0.1s;
}

.vision-card:nth-child(2),
.tech-item:nth-child(2),
.game-card:nth-child(2),
.invest-card:nth-child(2) {
    animation-delay: 0.2s;
}

.vision-card:nth-child(3),
.tech-item:nth-child(3),
.game-card:nth-child(3),
.invest-card:nth-child(3) {
    animation-delay: 0.3s;
}

.tech-item:nth-child(4),
.invest-card:nth-child(4) {
    animation-delay: 0.4s;
}
