@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;900&display=swap');

:root {
    --primary-red: #ff3333;
    --dark-bg: #050505;
    --text-color: #ffffff;
    --nav-height: 100px;
}

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

body {
    background-color: #120808;
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; 
    background: url('/public/sklep/templates/flaming/background-header.png') no-repeat center top;
    background-size: cover;
    z-index: -1;
}

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

header {
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.brand-logo {
    height: 50px; 
}

.online-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85em;
    color: #ccc;
    font-weight: 600;
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: #2ecc71;
    border-radius: 50%;
    box-shadow: 0 0 5px #2ecc71;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: rgba(255, 255, 255, 1);
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:hover, .nav-menu a.active {
    color: rgba(255, 255, 255, 1);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -12px; 
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background-color: rgba(240, 0, 0, 1);
    box-shadow: 0 0 8px rgba(240, 0, 0, 0.6);
}

.btn-cta {
    background-color: var(--primary-red);
    color: #fff;
    padding: 10px 30px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 51, 51, 0.4);
}

.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 0 100px 0;
    
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 500px;
    z-index: 2;
}

.welcome-text {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 1);
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    line-height: normal;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.title-white { color: #fff; }
.title-red { color: var(--primary-red); }

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 35px;
    border-radius: 24px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s;
}

.btn-hero.primary {
    background-color: var(--primary-red);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 51, 51, 0.25);
}

.btn-hero.outline {
    background: transparent;
    color: #fff;
}

.btn-hero:hover {
    transform: translateY(-2px);
}

.scroll-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.scroll-indicator svg {
    stroke: #666;
    width: 20px;
}

.hero-dragon-container {
    flex: 1.2;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    pointer-events: none; 
}

.dragon-img {
    max-width: 145%; 
    margin-right: -150px; 
    margin-top: -50px;
    filter: drop-shadow(0 0 50px rgba(255, 80, 0, 0.2));
    animation: dragonFloat 4s ease-in-out infinite alternate;
}

@keyframes dragonFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-20px); }
}

.modes-section {
    text-align: center;
    padding: 50px 0 100px 0;
    position: relative;
    z-index: 1;
    background-color: #120808; 
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 5px;
    color: white;
}

.section-subtitle {
    color: var(--primary-red);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modes-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.mode-card {
    width: 280px;
    height: 380px; 
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    border: 3px solid transparent;
    transition: 0.3s;
    background: #111;
}

.mode-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.mode-card.active-border {
    border-color: var(--primary-red);
}

.mode-card:hover {
    border-color: var(--primary-red);
    box-shadow: 0 0 30px rgba(255, 51, 51, 0.3);
    transform: translateY(-10px);
}
.mode-card:hover img {
    transform: scale(1.1);
}

@media (max-width: 1000px) {
    header {
        padding: 20px;
    }
    .hero-section {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 20px;
    }
    .hero-content {
        max-width: 100%;
        margin-top: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .dragon-img {
        max-width: 90%;
        margin-right: 0;
        margin-top: 0;
    }
    .nav-menu {
        display: none; 
    }
    .logo-section {
        width: 100%;
        justify-content: space-between;
    }
}
