/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0088ff;
    --primary-dark: #0077ee;
    --text: #fff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --background: #111;
    --surface: #1a1a1a;
    --surface-hover: #222;
    --border: #2a2a2a;
}

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

/* Navigation */
.navbar {
    background: transparent;
    padding: 1.5rem 0;
    width: 100%;
    z-index: 1000;
    position: absolute;
    top: 0;
}

.navbar.scrolled {
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(8px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--text);
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    font-family: 'Inter', sans-serif;
    padding-left: 15px;
    position: relative;
}

.logo::before {
    content: '';
    display: inline-block;
    width: 2px;
    height: 24px;
    background-color: var(--primary);
    position: absolute;
    left: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    background-image: url('assets/images/god_of_war.png');
    background-size: cover;
    background-position: center;
    color: var(--text);
    padding: 12rem 0 14rem;
    text-align: center;
    overflow: hidden;
    margin-bottom: -1px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.07) 1.5px, transparent 1.5px);
    background-size: 32px 32px;
    opacity: 1;
    pointer-events: none;
    z-index: 2;
    mask-image: linear-gradient(to bottom, 
        transparent 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.3) 70%,
        rgba(0, 0, 0, 1) 100%);
    -webkit-mask-image: linear-gradient(to bottom, 
        transparent 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.3) 70%,
        rgba(0, 0, 0, 1) 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        rgba(17, 17, 17, 0.95) 0%, 
        rgba(17, 17, 17, 0.8) 60%,
        var(--background) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 136, 255, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 136, 255, 0.2);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
    position: relative;
    z-index: 3;
}

/* Section Header */
.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 6rem 0;
}

.showcase .section-header:first-child {
    margin-top: 0;
}

.section-header.right {
    flex-direction: row-reverse;
}

.section-header h2 {
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.section-header-line {
    height: 1px;
    flex: 1;
    background: linear-gradient(to right, 
        transparent,
        var(--primary),
        transparent);
}

/* Showcase Section */
.showcase {
    padding: 8rem 0;
    background-color: var(--background);
    position: relative;
    overflow: hidden;
}

.showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at center, rgba(255, 255, 255, 0.07) 1.5px, transparent 1.5px);
    background-size: 32px 32px;
    opacity: 1;
    pointer-events: none;
    z-index: 1;
}

.showcase .container {
    position: relative;
    z-index: 2;
}

.showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    margin-bottom: 6rem;
    position: relative;
}

.showcase-item:last-child {
    margin-bottom: 0;
}

.showcase-item.reverse {
    direction: ltr;
}

.showcase-item.reverse .showcase-content {
    direction: ltr;
    padding-right: 0;
    padding-left: 2rem;
}

.showcase-content {
    padding-left: 2rem;
    position: relative;
    z-index: 2;
}

.showcase-label {
    display: inline-block;
    font-size: 13px;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.showcase-content h3 {
    color: var(--text);
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.showcase-content p {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.feature-list li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    margin-right: 12px;
}

.showcase-image-wrapper {
    position: relative;
    z-index: 2;
}

.showcase-image-container {
    position: relative;
    overflow: hidden;
    background: var(--surface);
    padding: 1px;
}

.showcase-image-container.glow::after {
    display: none;
}

.showcase-image {
    width: 100%;
    height: auto;
    display: block;
}

.showcase-item:hover .showcase-image {
    transform: none;
}

.showcase-item:hover ~ .showcase::before {
    animation: none;
}

.showcase-item:hover::after {
    display: none;
}

/* Features Section */
.features {
    padding: 0 0 8rem;
    background-color: var(--background);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at center, rgba(255, 255, 255, 0.07) 1.5px, transparent 1.5px);
    background-size: 32px 32px;
    opacity: 1;
    pointer-events: none;
    z-index: 1;
}

.features .container {
    position: relative;
    z-index: 2;
}

.features .section-header h2 {
    color: var(--text);
}

.features .section-header-line {
    background: linear-gradient(to right, 
        transparent,
        var(--primary),
        transparent);
}

.features .section-header {
    margin-top: 2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    background: transparent;
    padding: 0;
}

.feature-card {
    background: linear-gradient(145deg, var(--surface) 0%, var(--surface-hover) 100%);
    border: 1px solid var(--border);
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.2),
        0 0 0 1px var(--primary),
        0 0 30px rgba(0, 136, 255, 0.15);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 136, 255, 0.03));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 136, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 0.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    transform: scale(1.1);
}

.feature-card:hover .feature-icon svg {
    stroke: white;
}

.feature-card h3 {
    color: var(--text);
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    position: relative;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.feature-highlights {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-highlights li {
    color: var(--text-secondary);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-highlights li::before {
    content: '→';
    color: var(--primary);
    margin-right: 8px;
}

/* Community Section */
.community {
    position: relative;
    background-image: url('assets/images/uncharted_4.png');
    background-size: cover;
    background-position: center;
    color: var(--text);
    padding: 5rem 0;
    text-align: center;
    overflow: hidden;
}

.community-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(17, 17, 17, 0.9), rgba(17, 17, 17, 0.95));
    z-index: 1;
}

.community-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.community-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.community-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.community-content p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 17px;
    line-height: 1.7;
}

.community-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.version-tag {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Footer */
footer {
    background: var(--background);
    padding: 2rem 0;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, 
        transparent,
        var(--primary),
        transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    padding: 0;
}

.copyright {
    color: #888;
    font-size: 13px;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--primary);
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease;
}

.cta-button:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.cta-button.secondary {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text);
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.cta-button.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--background);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 18px;
    }

    .hero {
        padding: 8rem 0 10rem;
    }

    .hero h1 {
        font-size: 2.5rem;
        white-space: normal;
    }

    .hero p {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        padding: 0 20px;
    }

    .hero-buttons .cta-button {
        width: 100%;
        text-align: center;
    }

    .showcase-item {
        display: flex;
        flex-direction: column;
        gap: 3rem;
        padding: 2rem 0;
    }

    .showcase-image-wrapper {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        order: -1;
        padding: 0 20px;
    }

    .showcase-image-container {
        margin: 0;
        border-radius: 8px;
        overflow: hidden;
    }

    .showcase-image {
        width: 100%;
        height: auto;
        display: block;
    }

    .showcase-content {
        width: 100%;
        padding: 0;
        text-align: center;
    }

    .feature-list li {
        justify-content: center;
    }

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

    .feature-card {
        padding: 1.5rem;
    }

    .community-content h2 {
        font-size: 2rem;
    }

    .community-content p {
        font-size: 1rem;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 14px;
    }

    .showcase-content h3 {
        font-size: 1.5rem;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }

    .feature-highlights li {
        font-size: 0.9rem;
    }
}

/* Touch-friendly improvements */
@media (hover: none) {
    .nav-links a,
    .cta-button,
    .feature-card {
        -webkit-tap-highlight-color: transparent;
    }

    .feature-card:hover {
        transform: none;
    }

    .showcase-item:hover .showcase-image {
        transform: none;
    }
}

/* Project Overview Section */
.project-overview {
    padding: 8rem 0;
    background-color: var(--background);
    position: relative;
    overflow: hidden;
}

.project-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.07) 1.5px, transparent 1.5px);
    background-size: 32px 32px;
    opacity: 1;
    pointer-events: none;
    z-index: 1;
}

.overview-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.overview-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text);
    font-weight: 600;
}

.overview-content h4 {
    font-size: 1.25rem;
    margin: 2rem 0 1rem;
    color: var(--primary);
    font-weight: 600;
}

.overview-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.key-features ul,
.contact-info ul {
    list-style: none;
    margin: 1rem 0;
}

.key-features li,
.contact-info li {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    padding-left: 1.5rem;
    position: relative;
}

.key-features li::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.contact-info a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--primary-dark);
}

@media (max-width: 768px) {
    .overview-content {
        padding: 0 20px;
    }
    
    .overview-content h3 {
        font-size: 1.75rem;
    }
    
    .overview-content h4 {
        font-size: 1.1rem;
    }
    
    .overview-content p,
    .key-features li,
    .contact-info li {
        font-size: 1rem;
    }
}

.about-content {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-top: 1.5rem;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid var(--primary);
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-image {
        width: 120px;
        height: 120px;
    }
}
