/* Chronoromancer Website Styles */

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

/* Global image sizing to prevent huge images */
img {
    max-width: 100%;
    height: auto;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
}

/* Navigation */
.page-nav {
    background: rgba(0, 0, 0, 0.9);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

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

.nav-logo-img {
    max-height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: #f25c78;
}

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

/* Hero Section */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.game-logo {
    max-width: 700px;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
}

.tagline {
    font-size: 1.5rem;
    color: #e8e8e8;
    margin-bottom: 20px;
    font-weight: 300;
}

.subtitle {
    font-size: 1.1rem;
    color: #b8b8b8;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn.primary {
    background: linear-gradient(135deg, #e94560 0%, #f25c78 100%);
    color: white;
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(233, 69, 96, 0.3);
}

.btn.secondary {
    border: 2px solid #e8e8e8;
    color: #e8e8e8;
    background: transparent;
}

.btn.secondary:hover {
    background: #e8e8e8;
    color: #1a1a2e;
}

.hero-characters {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.character-overlay {
    position: absolute;
    opacity: 0.15;
    transition: opacity 0.3s ease;
}

.char1 {
    top: 15%;
    left: 3%;
    max-height: 350px;
}

.char2 {
    bottom: 15%;
    right: 3%;
    max-height: 300px;
}

.char3 {
    top: 25%;
    right: 18%;
    max-height: 280px;
}

.char4 {
    top: 5%;
    left: 20%;
    max-height: 250px;
}

.char5 {
    bottom: 5%;
    left: 15%;
    max-height: 220px;
}

.char6 {
    top: 45%;
    left: 8%;
    max-height: 200px;
}

.char7 {
    bottom: 35%;
    right: 25%;
    max-height: 180px;
}

.char8 {
    top: 60%;
    left: 25%;
    max-height: 160px;
}

.char9 {
    top: 8%;
    right: 8%;
    max-height: 200px;
}

.char10 {
    bottom: 50%;
    left: 2%;
    max-height: 140px;
}

.char11 {
    top: 35%;
    right: 35%;
    max-height: 120px;
}

.char12 {
    bottom: 20%;
    right: 15%;
    max-height: 190px;
}

/* Main Sections */
section {
    padding: 80px 0;
    position: relative;
}

section:nth-child(even) {
    background: rgba(255, 255, 255, 0.05);
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #e8e8e8;
    margin-bottom: 50px;
    font-weight: 300;
}

/* Features Main */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.feature {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature h3 {
    color: #f25c78;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.feature p {
    color: #b8b8b8;
    line-height: 1.6;
}

/* Main Navigation Links */
.main-navigation {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.02);
}

.nav-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.nav-link-item {
    display: block;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.nav-link-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(242, 92, 120, 0.3);
}

.nav-link-item h3 {
    color: #f25c78;
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.nav-link-item p {
    color: #b8b8b8;
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
}

/* Era Showcase */
.era-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.era-column {
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.era-image {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
}

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

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

.era-column h3 {
    color: #f25c78;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.era-column p {
    color: #b8b8b8;
    line-height: 1.6;
}

/* Screenshots Gallery */
.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.screenshot-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

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

.screenshot-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.screenshot-item h4 {
    padding: 15px 20px 5px;
    color: #e8e8e8;
    font-size: 1.1rem;
}

.screenshot-item p {
    padding: 0 20px 20px;
    color: #b8b8b8;
    font-size: 0.9rem;
}

/* Features List */
.features-icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    color: #f25c78;
    margin-bottom: 10px;
}

.feature-item h4 {
    color: #e8e8e8;
    font-size: 1rem;
    line-height: 1.4;
}

/* Community Section */
.community {
    background: rgba(0, 0, 0, 0.3);
}

.community-text {
    text-align: center;
    color: #b8b8b8;
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-decoration: none;
    color: #e8e8e8;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.15);
}

.social-link img {
    width: 32px;
    height: 32px;
}

.social-link span {
    font-weight: 500;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 40px 0;
    text-align: center;
    color: #888;
}

.development-note {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
    }
    
    .game-logo {
        max-width: 400px;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        gap: 20px;
        font-size: 0.9rem;
    }
    
    .era-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshot-grid {
        grid-template-columns: 1fr;
    }
    
    .features-icons {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .social-link {
        width: 200px;
        justify-content: center;
    }
    
    .character-overlay {
        opacity: 0.08;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
    }
}