/* Reset a základní styly */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    background: #000;
}

/* Video pozadí */
.video-background {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -100;
    object-fit: cover;
}

/* Navigace */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 35px;
    flex-wrap: wrap;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    display: inline-block;
}

.nav-link:hover {
    background: rgba(0, 212, 255, 0.25);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.4);
}

.nav-link.active {
    background: rgba(0, 212, 255, 0.3);
    border-bottom: 3px solid #00d4ff;
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

/* Social ikona */
.social-icon {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.social-icon a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 2px solid transparent;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.1);
}

.social-icon a:hover {
    border-color: #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    transform: scale(1.1);
}

/* Hlavní kontejner */
.gallery-container {
    max-width: 1400px;
    margin: 100px auto 40px;
    padding: 0 20px;
    width: 100%;
}

.text-container {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.text-container h1 {
    color: #fff;
    font-size: 42px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

.text-container p {
    color: #e0f7ff;
    font-size: 20px;
}

/* Grid galerie */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
}

.gallery-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.image-frame {
    background: rgba(0, 0, 0, 0.75);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.image-frame:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateY(-5px);
}

.gallery-image {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    object-fit: contain;
    background-color: rgba(0, 20, 40, 0.3);
    transition: all 0.3s ease;
}

.image-frame:hover .gallery-image {
    transform: scale(1.03);
    background-color: rgba(0, 40, 80, 0.5);
}

.image-caption {
    color: #fff;
    font-size: 16px;
    text-align: center;
    margin-top: 15px;
    padding: 12px;
    background: rgba(0, 20, 40, 0.6);
    border-radius: 6px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

/* =========================
   VISIT COUNTER - PERFEKTNÍ STŘED
   ========================= */
.visit-counter {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.heart-container {
    position: relative;
    width: 100px;  /* Větší prostor pro manipulaci */
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.heart-shape {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 212, 255, 0.9);
    position: absolute;
    transform: rotate(-45deg);
    animation: heartbeat 2s infinite;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
}

.heart-shape::before,
.heart-shape::after {
    content: "";
    width: 50px;
    height: 50px;
    background-color: rgba(0, 212, 255, 0.9);
    border-radius: 50%;
    position: absolute;
}

.heart-shape::before { top: -25px; left: 0; }
.heart-shape::after { left: 25px; top: 0; }

.counter-number {
    position: relative; /* Teď se orientuje podle heart-containeru */
    z-index: 10;
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-shadow: 1px 1px 4px rgba(0,0,0,1);
    pointer-events: none;
    margin-top: -10px; /* Jemné doladění aby to nebylo moc dole v špičce */
}

@keyframes heartbeat {
    0%   { transform: rotate(-45deg) scale(1); }
    25%  { transform: rotate(-45deg) scale(1.1); }
    50%  { transform: rotate(-45deg) scale(1); }
    75%  { transform: rotate(-45deg) scale(1.1); }
    100% { transform: rotate(-45deg) scale(1); }
}

/* Scrollbar styling */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.2); }
::-webkit-scrollbar-thumb {
    background: rgba(0, 212, 255, 0.6);
    border-radius: 5px;
}

/* Media Queries */
@media (max-width: 992px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .gallery-grid { grid-template-columns: 1fr; }
}

/* STATISTICKÁ LIŠTA DOLE */
.footer-stats-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 26, 77, 0.9); /* Naše tmavě modrá */
    backdrop-filter: blur(10px);
    border-top: 1px solid #00d4ff; /* Blankytná linka */
    padding: 8px 0;
    z-index: 2000;
    color: #fff;
    font-family: 'Arial', sans-serif;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
}

.stats-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    letter-spacing: 1px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-label {
    color: #c0c0c0; /* Stříbrná */
    font-weight: bold;
}

.stat-value {
    color: #fff;
    font-weight: 900;
}

.stat-value-online {
    color: #00d4ff; /* Blankytná */
    font-weight: 900;
}

.stat-divider {
    color: rgba(255,255,255,0.2);
}

/* Blikající tečka pro ONLINE */
.online-dot {
    width: 8px;
    height: 8px;
    background-color: #00d4ff;
    border-radius: 50%;
    display: inline-block;
    margin-left: 5px;
    box-shadow: 0 0 10px #00d4ff;
    animation: pulse-online 1.5s infinite;
}

@keyframes pulse-online {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

/* Upravíme padding galerie, aby nám lišta nezavazela v obsahu */
.gallery-container {
    padding-bottom: 60px;
}
/* BREAKING NEWS LIŠTA - DOKONČENÍ */
.breaking-news {
    background: #cc0000; /* Agresivní reportérská červená */
    color: white;
    height: 35px;
    display: flex;
    align-items: center;
    font-family: 'Arial Black', sans-serif;
    font-size: 14px;
    position: fixed;
    top: 70px; /* Musí sedět přesně pod tvou navigací */
    width: 100%;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.breaking-label {
    background: #fff;
    color: #cc0000;
    padding: 0 15px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 900;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

/* Tenhle efekt udělá šikmý střih za nápisem */
.breaking-label::after {
    content: "";
    position: absolute;
    right: -15px;
    top: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 35px 15px 0 0;
    border-color: #ffffff transparent transparent transparent;
}

.breaking-content {
    flex-grow: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-left: 20px;
}

/* Pokud bys chtěl u videí blikající LIVE nápis */
.live-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(204, 0, 0, 0.85);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 12px;
    z-index: 5;
    animation: pulse-live 1s infinite;
}

@keyframes pulse-live {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}
.vip-access-bar {
    background: linear-gradient(90deg, #000 0%, #1a1a1a 100%);
    color: #fff;
    height: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    font-family: 'Arial', sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    border-bottom: 1px solid #00d4ff; /* Tvoje blankytná modř jako tenká linka */
}

.vip-status {
    font-weight: bold;
    color: #00d4ff;
    display: flex;
    align-items: center;
}

.vip-status .dot {
    height: 8px;
    width: 8px;
    background-color: #00d4ff;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    box-shadow: 0 0 10px #00d4ff;
    animation: blink 1.5s infinite;
}

.vip-link a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 900;
    transition: 0.3s;
}

.vip-link a:hover {
    color: #00d4ff;
    text-shadow: 0 0 8px #00d4ff;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}