/* Base styles */
@font-face {
    font-family: 'Homevideo';
    src: url('fonts/Homevideo.ttf') format('truetype');
}

:root {
    --color-primary: #6d28d9;
    --color-primary-dark: #5b21b6;
    --color-background: #000000;
    --color-text: #ffffff;
    --color-text-secondary: #9ca3af;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Homevideo', sans-serif;
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.5;
}

h1, h2, h3 {
    font-family: 'Homevideo', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}


.subtitle-gradient {
    margin-top: -2rem;
    
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.game-logo {
    max-width: 150px;
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;

}

.hero p {
    font-size: 1.5rem;
    max-width: 600px;
    margin-bottom: 2rem;
    color: white;
}

/* Buttons */
.button-group {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-family: 'Homevideo', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background-color: white;
    color: black;
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    color: white;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background-color: white;
    color: black;
}

.btn-steam {
    background-color: #171a21;
    color: white;
}

.btn-steam:hover {
    background-color: #2a475e;
}

.steam-icon {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 0.5rem;
}

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

section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(90deg, #f97316, #fb923c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Contributors */
.contributors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.contributor {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
}

.contributor:hover {
    transform: scale(1.05);
}

.contributor img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.contributor:hover img {
    filter: grayscale(0%);
}

/* Gameplay Features */
.gameplay-features {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.feature.reverse {
    direction: rtl;
}

.feature-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 0.5rem;
}

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

.feature:hover .feature-image img {
    transform: scale(1.05);
}

.feature-content {
    direction: ltr;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Feature title gradients */
.feature-terraforming h3 {
    background: linear-gradient(90deg, #adff2f, #ffff00);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.feature-industry h3 {
    background: linear-gradient(90deg, #ff4d4d, #ff8080);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.feature-logistics h3 {
    background: linear-gradient(90deg, #ff69b4, #ffb6c1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.feature-agriculture h3 {
    background: linear-gradient(90deg, #00fa9a, #00ffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.feature-housing h3 {
    background: linear-gradient(90deg, #1e90ff, #87ceeb);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.feature-energy h3 {
    background: linear-gradient(90deg, #ffd700, #ffff00);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.feature-tourism h3 {
    background: linear-gradient(90deg, #9932cc, #ba55d3);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 0.5rem;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
}

.faq-item h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.25rem;
    }

    .feature {
        grid-template-columns: 1fr;
    }

    .feature.reverse {
        direction: ltr;
    }

    .feature-content {
        padding: 1rem 0;
    }

    section {
        padding: 4rem 0;
    }

    .game-logo {
        max-width: 100px;
    }
}

/* Animations */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fade-in 1s ease-out forwards;
}

@keyframes glitch {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
    100% {
        transform: translate(0);
    }
}

.hover\:animate-glitch:hover {
    animation: glitch 0.3s ease-in-out infinite;
}

/* Footer */
.footer {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 3rem 0;
    margin-top: 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
}

.company-logo {
    margin-bottom: 1rem;
}

.company-logo img {
    max-width: 200px;
    height: auto;
}

.footer-links, .social-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link, .social-link {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    position: relative;
}

.footer-link::after, .social-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.footer-link:hover, .social-link:hover {
    color: var(--color-primary);
}

.footer-link:hover::after, .social-link:hover::after {
    width: 100%;
}

.copyright {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    text-align: center;
}

@media (max-width: 768px) {
    .footer-links, .social-links {
        gap: 1rem;
    }

    .footer-link, .social-link {
        font-size: 0.8rem;
    }

    .company-logo img {
        max-width: 150px;
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.modal-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 0.5rem;
    animation: zoom 0.3s ease-out;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 2rem;
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--color-primary);
}

#modalCaption {
    color: white;
    text-align: center;
    padding: 1rem;
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    font-family: 'Homevideo', sans-serif;
    font-size: 1.2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

@keyframes zoom {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Homevideo', sans-serif;
    z-index: 1001;
}

.modal-nav:hover {
    background: var(--color-primary);
    transform: translateY(-50%) scale(1.1);
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

@media (max-width: 768px) {
    .modal-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .modal-prev {
        left: 10px;
    }

    .modal-next {
        right: 10px;
    }
}

/* Overview Section */
.overview {
    padding: 4rem 0 2rem 0;
    background-color: rgba(255, 255, 255, 0.02);
}

.overview-content {
    max-width: 1000px;
    margin: 0 auto;
}

.overview-text > p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    text-align: center;
}

.overview-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.overview-feature {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
}

.overview-feature:hover {
    transform: translateY(-5px);
}

.overview-feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #6d28d9, #d946ef);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.overview-feature p {
    line-height: 1.6;
    color: var(--color-text-secondary);
}

@media (max-width: 768px) {
    .overview-text > p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .overview-features {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
} 