/* Reset a základné štýly */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #1a1a2e;
    background-attachment: fixed;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/poz_01.png');
    background-repeat: repeat;
    background-size: 128px 128px;
    opacity: 0.2;
    pointer-events: none;
    z-index: -1;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

/* Kontajner */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Navigácia */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 46, 0.95);
    border-bottom: 2px solid #ffd700;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 2rem;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.logo-img {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 0 5px #ffd700);
    transform: translateY(-15px);
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 26, 0.98);
    border: 1px solid #ffd700;
    border-top: none;
    padding: 1rem 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    z-index: 15;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover {
    color: #ffd700;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.language-dropdown {
    position: relative;
}

.dropdown-btn {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid #ffd700;
    color: #ffd700;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-btn img {
    width: 30px;
    height: auto;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.dropdown-btn:hover {
    background: rgba(255, 215, 0, 0.2);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(26, 26, 46, 0.95);
    border: 1px solid #ffd700;
    border-radius: 5px;
    min-width: 50px;
    z-index: 1001;
}

.dropdown-content a {
    display: block;
    padding: 5px 10px;
    color: #ffffff;
    text-decoration: none;
    transition: background 0.3s ease;
    text-align: center;
}

.dropdown-content a img {
    width: 30px;
    height: auto;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.dropdown-content a:hover {
    background: rgba(255, 215, 0, 0.1);
}

.language-dropdown:hover .dropdown-content {
    display: block;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffd700;
    transition: all 0.3s ease;
}

/* Hero sekcia */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-content,
.hero-visual {
    flex: 1;
    position: relative;
}

.hero-content {
    padding: 120px 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-character {
    width: 120px;
    height: auto;
    transform: scaleX(-1);
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
    white-space: nowrap;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin: 0;
    font-weight: 300;
    line-height: 1.6;
    max-width: 800px;
    text-indent: 2em;
}

.hero-summary {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 50px;
}

.hero-stats {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 30px;
    background: rgba(26, 26, 46, 0.3);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stats-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(255, 215, 0, 0.05);
}

.group-title {
    font-size: 0.9rem;
    color: #ffd700;
    margin: 0;
    text-align: center;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.2);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.stat-label {
    font-size: 0.7rem;
    color: #cccccc;
    font-weight: 500;
}

.cta-btn {
    display: inline-block;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #1a1a2e;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    align-self: flex-start;
}

.cta-btn:hover {
    transform: translateY(-2px);
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Hlavičky sekcií */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

/* About sekcia */
.about {
    max-width: 1000px;
    margin: 50px auto;
    padding: 50px;
    background: rgba(26, 26, 46, 0.3);
    border: 2px solid #ffd700;
    border-radius: 15px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e0e0e0;
}

.about-text p {
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.feature-card {
    background: rgba(26, 26, 46, 0.4);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.5);
}

.feature-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon img {
    width: 64px;
    height: 64px;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.feature-card h3 {
    color: #ffd700;
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-align: center;
}

.feature-card ul {
    list-style: none;
    padding: 0;
}

.feature-card ul li {
    padding: 5px 0;
    color: #cccccc;
}

.feature-card p {
    color: #cccccc;
    text-align: center;
}

.game-mode-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    gap: 15px;
}

.game-mode-item:last-child {
    border-bottom: none;
}

.mode-type {
    color: #e0e0e0;
    font-size: 0.9rem;
    flex: 1;
}

.mode-count {
    color: #ffd700;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: right;
}

.game-modes-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.mode-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.mode-item span:first-child {
    color: #e0e0e0;
    font-size: 1rem;
}

.mode-item span:last-child {
    color: #ffd700;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Galéria sekcia */
.gallery {
    max-width: 1000px;
    margin: 50px auto;
    padding: 50px 0;
    background: rgba(26, 26, 46, 0.3);
    border: 2px solid #ffd700;
    border-radius: 15px;
}

.gallery-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 0 50px;
}

#gallery-counter {
    text-align: center;
    margin-top: 10px;
    color: #cccccc;
    font-size: 0.9rem;
}

.gallery-track {
    display: flex;
    width: 100%;
    gap: 10px;
    margin: 40px 0;
    justify-content: space-around;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 1/1;
    background: rgba(26, 26, 46, 0.4);
    border: 1px solid rgba(255, 215, 0, 0.3);
    cursor: pointer;
    display: block;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26, 26, 46, 0.8);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background: rgba(255, 215, 0, 0.2);
    color: #fff;
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}



.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(26, 26, 46, 0.9));
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .item-overlay {
    transform: translateY(0);
}

.item-overlay h4 {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.item-overlay p {
    color: #cccccc;
    font-size: 0.9rem;
}

/* Download sekcia */
.download {
    max-width: 1000px;
    margin: 50px auto;
    padding: 50px;
    background: rgba(26, 26, 46, 0.3);
    border: 2px solid #ffd700;
    border-radius: 15px;
}

.download-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.coming-soon {
    text-align: center;
}

.coming-soon h3 {
    font-size: 2rem;
    color: #ffd700;
    margin-bottom: 20px;
}

.coming-soon p {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 30px;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ff00, #32cd32);
    border-radius: 10px;
    transition: width 1s ease;
}

.progress-text {
    color: #cccccc;
    font-size: 0.9rem;
}

.download-visual {
    display: flex;
    justify-content: center;
}

.download-character {
    width: 150px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.5));
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Autori sekcia */
.authors {
    max-width: 1000px;
    margin: 50px auto;
    padding: 50px;
    background: rgba(26, 26, 46, 0.3);
    border: 2px solid #ffd700;
    border-radius: 15px;
}

.authors-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.authors-content p {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 40px;
}

.authors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.author-card {
    background: rgba(26, 26, 46, 0.4);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.author-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.5);
}

.author-avatar {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.5));
}

.author-card h4 {
    color: #ffd700;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.author-card p {
    color: #cccccc;
}

.author-card p a {
    color: #ffd700;
    text-decoration: none;
}

.author-card p a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    padding: 40px 0;
    background: rgba(26, 26, 46, 0.9);
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: #ffd700;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.footer-logo {
    width: 150px;
    height: auto;
    margin-top: 10px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
    image-rendering: auto;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 0.8;
}

.footer-section p {
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icon {
    color: #ffd700;
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    color: #ffed4e;
    transform: scale(1.1);
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffd700;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    padding-top: 20px;
}

.footer-bottom p {
    color: #cccccc;
    font-size: 0.9rem;
    margin: 0;
}

.gdpr-link {
    color: #ffd700;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.gdpr-link:hover {
    color: #ffed4e;
}

/* Responzívny dizajn */
@media (max-width: 1080px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
        position: absolute;
        right: 100px;
        z-index: 10;
    }

    .language-dropdown {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        display: block;
        z-index: 5;
    }

    .logo {
        font-size: 1.8rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }

    .hero-character {
        width: 60px;
        height: auto;
        transform: scale(1) scaleX(-1);
    }
}

@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat {
        text-align: center;
    }

    .about-section {
        flex-direction: column;
        text-align: center;
    }

    .feature-card {
        margin-top: 20px;
    }

    .gallery {
        padding: 50px 20px;
    }

    .gallery-slider {
        padding: 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
    }

    .logo-img {
        width: 60px;
        height: 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .gallery {
        padding: 30px 10px;
    }

    .gallery-slider {
        padding: 0 10px;
    }

    .container {
        padding: 0 15px;
    }
}

/* Animácie pri skrolovaní */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Vlastný scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(26, 26, 46, 0.5);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 0.7);
}

/* About sekcie s kartami funkcií */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.about-section {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    position: relative;
}

.about-section:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(0, 255, 0, 0.5);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.8);
}

.section-text {
    flex: 1;
}

.section-text h3 {
    color: #ffd700;
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.section-header-with-icon {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.section-header-with-icon .feature-icon {
    margin-bottom: 0;
    flex-shrink: 0;
}

.section-text p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 0;
}

.about-section .feature-card {
    flex-shrink: 0;
    width: 350px;
    height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 800px;
    max-height: 600px;
}

.lightbox-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.lightbox-btn:hover {
    background: rgba(255, 215, 0, 0.5);
}

.lightbox-btn.prev {
    left: 20px;
}

.lightbox-btn.next {
    right: 20px;
}