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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #0D0D0D;
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 102, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-name {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #FF6600;
    letter-spacing: 3px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #FF6600;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #FF6600, #FFB84D);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Logo Styles */
.flame-logo-small {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 10px rgba(255, 102, 0, 0.3));
    transition: filter 0.3s ease, transform 0.3s ease;
    object-fit: contain;
}

.flame-logo-small:hover {
    filter: drop-shadow(0 0 20px rgba(255, 102, 0, 0.8));
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(ellipse at center, #1A1A1A 0%, #0D0D0D 70%);
}

.ember-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.ember {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #FF6600;
    border-radius: 50%;
    opacity: 0;
    animation: float 8s infinite linear;
}

.ember:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}

.ember:nth-child(2) {
    left: 20%;
    animation-delay: 1s;
}

.ember:nth-child(3) {
    left: 30%;
    animation-delay: 2s;
}

.ember:nth-child(4) {
    left: 40%;
    animation-delay: 3s;
}

.ember:nth-child(5) {
    left: 60%;
    animation-delay: 4s;
}

.ember:nth-child(6) {
    left: 70%;
    animation-delay: 5s;
}

.ember:nth-child(7) {
    left: 80%;
    animation-delay: 6s;
}

.ember:nth-child(8) {
    left: 90%;
    animation-delay: 7s;
}

.hero-content {
    text-align: center;
    z-index: 2;
}

.flame-logo {
    width: 250px;
    height: 250px;
    margin: 0 auto 30px;
    cursor: pointer;
    filter: drop-shadow(0 0 30px rgba(255, 102, 0, 0.4));
    animation: logoFloat 4s ease-in-out infinite;
    transition: transform 0.3s ease, filter 0.3s ease;
    object-fit: contain;
}

.flame-logo:hover {
    transform: scale(1.15);
    filter: drop-shadow(0 0 60px rgba(255, 102, 0, 1));
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 20px;
    letter-spacing: 8px;
    text-shadow: 0 0 20px rgba(255, 102, 0, 0.3);
}

.hero-tagline {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: #FFB84D;
    font-style: italic;
    letter-spacing: 2px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #FF6600, #FFB84D);
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, #0D0D0D 0%, #1A1A1A 100%);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #CCCCCC;
}

/* Games Section - Steam Style */
.games {
    padding: 100px 0;
    background: #0D0D0D;
}

/* Featured Game - Large Card */
.featured-game {
    margin-bottom: 50px;
}

.game-card-large {
    background: #1A1A1A;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    min-height: 280px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 102, 0, 0.2);
}

.game-card-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 102, 0, 0.3);
    border-color: #FF6600;
}

.game-image-large {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-width: 400px;
}

.game-info-large {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.game-info-large h3 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: #FFFFFF;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.game-info-large p {
    color: #CCCCCC;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1rem;
}

/* Game Status Badges */
.game-status-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 3;
}

.game-status-badge.in-development {
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.game-status-badge.upcoming {
    background: linear-gradient(135deg, #FF9800, #FFB84D);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
}

/* Game Tags */
.game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #FFFFFF;
}

.tag.action {
    background: linear-gradient(135deg, #E91E63, #F06292);
}

.tag.adventure {
    background: linear-gradient(135deg, #9C27B0, #BA68C8);
}

.tag.multiplayer {
    background: linear-gradient(135deg, #2196F3, #64B5F6);
}

.tag.indie {
    background: linear-gradient(135deg, #FF5722, #FF8A65);
}

.tag.rpg {
    background: linear-gradient(135deg, #673AB7, #9575CD);
}

.tag.strategy {
    background: linear-gradient(135deg, #607D8B, #90A4AE);
}

.tag.fantasy {
    background: linear-gradient(135deg, #8BC34A, #AED581);
}

.tag.simulation {
    background: linear-gradient(135deg, #00BCD4, #4DD0E1);
}

.tag.space {
    background: linear-gradient(135deg, #3F51B5, #7986CB);
}

/* Steam Style Grid */
.games-grid-steam {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.game-card-steam {
    background: #1A1A1A;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.game-card-steam:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 102, 0, 0.5);
}

.game-image-steam {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.game-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2A2A2A 0%, #3A3A3A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-icon {
    font-size: 3rem;
    opacity: 0.4;
}

.game-info-steam {
    padding: 20px;
}

.game-info-steam h4 {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: #FFFFFF;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.game-info-steam p {
    color: #CCCCCC;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.game-tags-small {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-small {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    color: #FFFFFF;
}

.tag-small.rpg {
    background: linear-gradient(135deg, #673AB7, #9575CD);
}

.tag-small.strategy {
    background: linear-gradient(135deg, #607D8B, #90A4AE);
}

.tag-small.fantasy {
    background: linear-gradient(135deg, #8BC34A, #AED581);
}

.tag-small.simulation {
    background: linear-gradient(135deg, #00BCD4, #4DD0E1);
}

.tag-small.space {
    background: linear-gradient(135deg, #3F51B5, #7986CB);
}

/* Legacy styles for backward compatibility */
.game-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.game-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.6) 50%,
            rgba(13, 13, 13, 0.9) 100%);
    z-index: 1;
}

/* Game Links Styling */
.game-links {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.game-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    background: rgba(255, 102, 0, 0.1);
    border: 1px solid rgba(255, 102, 0, 0.3);
    border-radius: 20px;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.game-link:hover {
    background: rgba(255, 102, 0, 0.2);
    border-color: #FF6600;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
}

.link-icon {
    font-size: 1rem;
    filter: grayscale(0.3);
    transition: filter 0.3s ease;
}

.game-link:hover .link-icon {
    filter: grayscale(0);
}

.steam-link:hover {
    background: rgba(23, 26, 33, 0.9);
    border-color: #1b2838;
    box-shadow: 0 5px 15px rgba(23, 26, 33, 0.4);
}

.twitter-link:hover {
    background: rgba(29, 161, 242, 0.2);
    border-color: #1da1f2;
    box-shadow: 0 5px 15px rgba(29, 161, 242, 0.3);
}

.discord-link:hover {
    background: rgba(114, 137, 218, 0.2);
    border-color: #7289da;
    box-shadow: 0 5px 15px rgba(114, 137, 218, 0.3);
}



/* Contact Section */
.contact {
    padding: 100px 0;
    background: #0D0D0D;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: #1A1A1A;
    border: 2px solid transparent;
    border-radius: 10px;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF6600;
    box-shadow: 0 0 20px rgba(255, 102, 0, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888888;
}

.submit-btn {
    padding: 15px 40px;
    background: linear-gradient(90deg, #FF6600, #FFB84D);
    border: none;
    border-radius: 50px;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-self: center;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 102, 0, 0.4);
}

/* Footer */
.footer {
    background: #1A1A1A;
    padding: 50px 0 20px;
    border-top: 1px solid rgba(255, 102, 0, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-nav {
    display: flex;
    gap: 25px;
}

.footer-nav a {
    color: #CCCCCC;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #FF6600;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #0D0D0D;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(45deg, #FF6600, #FFB84D);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333333;
    color: #888888;
}

/* Animations */
@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0px) scale(1);
        filter: drop-shadow(0 0 30px rgba(255, 102, 0, 0.4));
    }

    50% {
        transform: translateY(-10px) scale(1.02);
        filter: drop-shadow(0 0 40px rgba(255, 102, 0, 0.6));
    }
}

@keyframes float {
    0% {
        transform: translateY(100vh);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }

    .hero-tagline {
        font-size: 1.2rem;
    }

    .flame-logo {
        width: 100px;
        height: 100px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    /* Steam Style Mobile Responsive */
    .game-card-large {
        flex-direction: column;
        min-height: auto;
    }

    .game-image-large {
        min-width: auto;
        height: 200px;
    }

    .game-info-large {
        padding: 20px;
    }

    .game-info-large h3 {
        font-size: 1.5rem;
    }

    .games-grid-steam {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .game-tags {
        gap: 6px;
    }

    .tag {
        font-size: 0.7rem;
        padding: 4px 8px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav {
        justify-content: center;
    }
}