/* Import moderního fontu Poppins z Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;900&display=swap');

/* Základní reset a globální styly */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Nastavení barev a fontů */
:root {
    --primary-color: #3ebddd;
    --secondary-color: #f1c40f;
    --dark-bg: #111111;
    --darker-bg: #0a0a0a;
    --text-color: #ecf0f1;
    --font-family: 'Poppins', sans-serif;
    --illustration-color: #0b80a5;
    --slider-gradient-start: var(--primary-color);
    --slider-gradient-end: #0b80a5;
    --slider-text-color-dark: #0d0925;
    --slider-text-color-light: #4e4a67;
}

body {
    font-family: var(--font-family);
    background-color: var(--darker-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s, opacity 0.3s;
}
a:hover {
    color: white;
    opacity: 0.8;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Tlačítka s moderním vzhledem */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    transition: transform 0.3s, background-color 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
}
.btn-primary {
    background-color: var(--primary-color);
    color: var(--darker-bg);
    box-shadow: 0 0 15px rgba(62, 189, 221, 0.5);
}
.btn-primary:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(62, 189, 221, 0.8);
}
.btn-hero {
    padding: 18px 50px;
    font-size: 1.3em;
    background-color: var(--primary-color);
    color: var(--darker-bg);
}
.btn-hero:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(62, 189, 221, 1);
}
.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}
.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--darker-bg);
    transform: translateY(-3px);
}

/* ==================================== */
/* 1. HEADER A NAVIGACE (UPRAVENO)      */
/* ==================================== */

/* --- FIXNÍ OBAL NAVIGACE A OZNÁMENÍ --- */
/* Tento wrapper drží lištu i menu přilepené k hornímu okraji */
.fixed-nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

/* Oznamovací lišta */
.dev-notification {
    background-color: #f39c12; /* Oranžová barva */
    color: white;
    text-align: center;
    padding: 10px 0;
    font-weight: bold;
    font-family: var(--font-family);
    z-index: 10001;
}

/* Hlavička (Navbar) - Už NENÍ fixed, protože je uvnitř wrapperu */
.header {
    background-color: rgba(10, 10, 10, 0.95);
    position: relative; /* ZMĚNA: z fixed na relative */
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.7); /* Stín přesunut sem */
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 2em;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(62, 189, 221, 0.6);
}

.logo-img {
    height: 45px;
    width: auto;
    vertical-align: middle;
    transition: transform 0.3s;
}

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

.logo {
    display: inline-block;
    padding: 0;
}

.nav a {
    margin-left: 35px;
    font-weight: 600;
    font-size: 1em;
    color: white;
}

/* 2. HERO SEKCE S YOUTUBE VIDEEM */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}
#heroVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -2;
}
@media (min-aspect-ratio: 16/9) {
    #heroVideo { height: 56.25vw; }
}
@media (max-aspect-ratio: 16/9) {
    #heroVideo { width: 177.78vh; }
}
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: -1;
}
.hero-content {
    z-index: 10;
    color: white;
    max-width: 900px;
}
.hero-content h1 {
    font-size: 5em;
    margin-bottom: 10px;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(0, 0, 0, 1);
}
.hero-content p {
    font-size: 1.8em;
    margin-bottom: 40px;
    font-weight: 300;
    color: #bdc3c7;
}

/* 3. SEKCE HER */
.game-section {
    padding: 100px 0;
    text-align: center;
    background-color: var(--darker-bg);
}
h2 {
    font-size: 3.5em;
    margin-bottom: 70px;
    font-weight: 900;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
}
h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}
.game-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}
.game-card {
    background-color: var(--dark-bg);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    text-align: center;
    border: 2px solid rgba(62, 189, 221, 0.1);
    transition: transform 0.4s, box-shadow 0.4s;
}
.game-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(62, 189, 221, 0.2);
}
.game-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 5px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(62, 189, 221, 0.5);
}
.game-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.8em;
    font-weight: 700;
    text-transform: uppercase;
}
.game-card p {
    color: #bdc3c7;
}

/* ==================================== */
/* SLIDER */
/* ==================================== */
.about-section {
    background-color: var(--dark-bg);
    padding: 100px 0;
    text-align: center;
}

.blog-slider {
    width: 95%;
    max-width: 1200px;
    margin: 80px auto;
    background: var(--darker-bg);
    padding: 50px 90px 50px 50px;
    border-radius: 25px;
    height: 520px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 14px 80px rgba(0,0,0,0.7);
    position: relative;
    overflow: hidden;
}

.blog-slider__item {
    display: flex !important;
    align-items: center;
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .6s ease;
}
.blog-slider__item.swiper-slide-active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.blog-slider__img {
    width: 380px;
    height: 380px;
    flex-shrink: 0;
    margin-right: 80px;
    background: linear-gradient(147deg, var(--primary-color) 0%, var(--slider-gradient-end) 74%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 4px 13px 30px 1px rgba(62,189,221,.3);
    position: relative;
}
.blog-slider__img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(147deg, var(--primary-color) 0%, var(--slider-gradient-end) 74%);
    opacity: 0.6;
    border-radius: 20px;
}
.blog-slider__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .6s .3s;
}
.swiper-slide-active .blog-slider__img img { opacity: 1; }

.blog-slider__content {
    flex: 1;
    padding-left: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    height: 100%;
}
.blog-slider__title {
    font-size: 34px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 20px;
}
.blog-slider__text {
    font-size: 1.15em;
    line-height: 1.7;
    max-width: 620px;
}

.blog-slider .swiper-pagination {
    position: absolute !important;
    top: 50% !important;
    right: 40px !important;
    left: auto !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px;
    z-index: 999 !important;
    width: auto !important;
}
.blog-slider .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    background: #777;
    opacity: 0.7;
    border-radius: 50%;
    transition: all .3s ease;
    margin: 0 !important;
}
.blog-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
    height: 40px;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(62,189,221,.9);
}

@media (max-width: 768px) {
    .blog-slider {
        height: auto;
        min-height: 620px;
        padding: 20px;
        margin: 180px auto 100px;
    }
    .blog-slider__item {
        flex-direction: column;
        text-align: center;
    }
    .blog-slider__img {
        width: 90%;
        height: 300px;
        margin: 0 auto 40px;
        transform: translateY(-60px);
    }
    .blog-slider__content {
        padding-left: 0;
        text-align: center;
        justify-content: flex-start;
        padding-top: 20px;
    }
    .blog-slider__title { font-size: 28px; }

    .blog-slider .swiper-pagination {
        flex-direction: row !important;
        bottom: 25px !important;
        top: auto !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        gap: 10px;
    }
    .blog-slider .swiper-pagination-bullet-active {
        width: 30px !important;
        height: 12px !important;
        border-radius: 10px;
    }
}

/* 5. FOOTER */
.footer {
    background-color: var(--darker-bg);
    padding: 50px 0;
    text-align: center;
    font-size: 1em;
    color: #95a5a6;
    border-top: 8px solid var(--primary-color);
}

/* --- ANIMACE A NOTIFIKACE --- */
[data-animate] {
    opacity: 0;
    transition: opacity 1.0s ease-out, transform 1.0s ease-out;
}
[data-animate="fade-up"] {
    transform: translateY(30px);
}
.animate-active {
    opacity: 1;
    transform: translate(0, 0);
}
.copy-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--darker-bg);
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 700;
    z-index: 2000;
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.5s, transform 0.5s;
    box-shadow: 0 5px 20px rgba(62, 189, 221, 0.8);
}
.copy-notification.show {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONZIVNÍ ÚPRAVY --- */
@media screen and (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }
    .nav a {
        margin: 0 8px;
        display: inline-block;
        font-size: 0.9em;
    }
    .btn-hero {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .hero-content h1 {
        font-size: 3em;
    }
    h2 {
        font-size: 2.8em;
    }
    .container {
        padding: 0 15px;
    }
}

/* ==================================== */
/* 4. STORE SEKCE */
/* ==================================== */
.store-section {
    padding: 100px 0;
    background-color: var(--darker-bg);
    text-align: center;
}

.store-section h2 {
    font-size: 3em;
    font-weight: 900;
    margin-bottom: 60px;
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(62, 189, 221, 0.5);
    text-transform: uppercase;
}

.category-title {
    font-size: 2.2em;
    font-weight: 700;
    margin: 60px 0 40px;
    color: var(--text-color);
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 10px;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.store-card {
    background-color: var(--dark-bg);
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.6);
    text-align: center;
    border: 3px solid transparent;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.store-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
}

.store-card h4 {
    font-size: 2.5em;
    font-weight: 900;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.store-card .price {
    font-size: 2.2em;
    font-weight: 900;
    color: var(--secondary-color);
    background-color: #2c3e50;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 30px;
    display: block;
}

.store-card .features {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 20px;
}
.store-card .features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #bdc3c7;
    position: relative;
    padding-left: 25px;
}

.store-card .features li::before {
    content: "✔️";
    position: absolute;
    left: 0;
    color: #2ecc71; 
    font-weight: bold;
}

.store-card .btn {
    margin-top: 20px;
    width: 100%;
    padding: 18px 30px;
    font-size: 1.1em;
    text-transform: uppercase;
    font-weight: 700;
}

/* BAREVNÉ SCHÉMA RANKŮ */
.skeleton-card { border-color: #95a5a6; }
.skeleton-card h4 { color: #ecf0f1; }
.skeleton-card:hover { box-shadow: 0 0 25px rgba(149, 165, 166, 0.5); }

.zombie-card { border-color: #2ecc71; }
.zombie-card h4 { color: #2ecc71; }
.zombie-card:hover { box-shadow: 0 0 25px rgba(46, 204, 113, 0.6); }

.allay-card { border-color: var(--primary-color); background-color: #1a1a1a; } 
.allay-card h4 { color: var(--primary-color); }
.allay-card:hover { 
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(62, 189, 221, 1); 
}

.warden-card {
    border-color: #e74c3c;
    background-color: #2c3e50;
}
.warden-card h4 { color: #e74c3c; }
.warden-card .price { color: #f1c40f; }
.warden-card:hover { box-shadow: 0 0 35px rgba(231, 76, 60, 0.8); }

.limited-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #e74c3c;
    color: white;
    padding: 8px 18px;
    border-radius: 5px;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
    font-size: 0.9em;
    transform: rotate(2deg);
}

.section-divider {
    border: 0;
    height: 2px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), var(--primary-color), rgba(0, 0, 0, 0));
    margin: 80px 0;
}

.secondary-store-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: left;
}

.secondary-card {
    background-color: var(--dark-bg);
    border-radius: 15px;
    padding: 30px;
    border-left: 5px solid var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transition: border-color 0.3s;
}

.secondary-card:hover {
    border-left: 5px solid #f39c12;
}

.secondary-card .category-title {
    font-size: 1.6em;
    margin: 0 0 15px 0;
    color: var(--secondary-color);
    border-bottom: none;
    padding-bottom: 0;
}
.secondary-card p {
    color: #bdc3c7;
    margin-bottom: 25px;
}

.secondary-card .btn {
    margin-top: 20px;
}

.small-features {
    list-style: disc;
    margin-left: 20px;
    color: #ecf0f1;
}
.small-features li {
    padding: 5px 0;
}

.store-section-hero {
    height: 50vh; 
    display: flex; 
    align-items: center;
    background: var(--dark-bg);
    border-bottom: 5px solid var(--primary-color);
}

.store-section-hero h1 {
    font-size: 4.5em;
    font-weight: 900;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(62, 189, 221, 0.7);
}

@media screen and (max-width: 768px) {
    .store-section {
        padding: 60px 0;
    }
    .store-section h2 {
        font-size: 2.5em;
    }
    .category-title {
        font-size: 1.8em;
    }
    .store-grid {
        grid-template-columns: 1fr;
    }
    .secondary-store-sections {
        grid-template-columns: 1fr;
    }
    .store-section-hero {
        height: 35vh;
        padding-top: 100px;
    }
    .store-section-hero h1 {
        font-size: 3em;
    }
}

/* ==================================== */
/* COINY A BALÍČKY */
/* ==================================== */
.coin-packages .package-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.package-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background-color: #1a1a1a;
    border-radius: 8px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, border-color 0.3s;
}

.package-item:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.package-item .coin-price {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--secondary-color);
    flex-shrink: 0;
    margin-right: 15px;
}

.package-item .coin-amount {
    font-size: 1.2em;
    font-weight: 400;
    color: var(--text-color);
    flex-grow: 1;
}

.package-item .badge {
    position: absolute;
    top: -10px;
    left: -5px;
    background-color: #2ecc71;
    color: var(--darker-bg);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8em;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    z-index: 5;
}

.package-item.best-value {
    background-color: #2c3e50;
    border-color: var(--primary-color);
}
.package-item.best-value:hover {
    transform: translateY(-3px);
    border-color: #1abc9c;
}

.package-item .best-badge {
    background-color: var(--primary-color);
    color: var(--darker-bg);
    top: -15px;
    font-size: 1em;
    padding: 7px 15px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(62, 189, 221, 0.5);
}

.package-item .btn-buy-coin {
    background-color: var(--primary-color);
    color: var(--darker-bg);
    padding: 10px 20px;
    font-size: 0.9em;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px; 
    box-shadow: 0 0 15px rgba(62, 189, 221, 0.5); 
    transition: all 0.2s ease-in-out;
}

.package-item .btn-buy-coin:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(62, 189, 221, 0.8);
}

@media screen and (max-width: 500px) {
    .package-item {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    .package-item .coin-amount {
        flex-basis: 100%;
        margin-bottom: 5px;
    }
    .package-item .coin-price {
        margin-right: 10px;
    }
    .package-item .btn-buy-coin {
        flex-grow: 1;
        width: 100%;
        margin-top: 10px;
    }
}