/* ====== ZÁKLADNÍ NASTAVENÍ ====== */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px; /* Upraveno pro nižší hlavičku */
    background-color: #0a0a0a !important;
    min-height: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto Mono', monospace;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(230, 0, 0, 0.15) 50%, rgba(0,0,0,0.7) 100%),
                url('logo-bg.png') center/cover no-repeat fixed; /* Pozadí je fixní přes celý web */
    color: #fff;
    overflow-x: hidden;
    margin-top: 0;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    background-color: #0a0a0a !important;
    min-height: 100%;
}

/* Barvy */
:root {
    --red: #e60000;
    --yellow: #ffd700;
    --dark: #0a0a0a;
    --gray: #1a1a1a;
}

/* Odkazy */
a {
    color: var(--red);
    text-decoration: none;
    transition: 0.15s;
}

/* ====== HLAVIČKA ====== */
.header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 8px 40px; /* Zmenšeno z 16px – ubere prostor nahoře i dole */
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--red);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    width: 100%;
}

.nav-punky ul li a {
    font-weight: 900;
    font-size: 17px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #fff;
    position: relative;
    display: block;
    padding: 2px 0; /* Zmenšeno z 6px pro štíhlejší profil */
    transition: all 0.2s;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Logo nalevo: Obrázek loga a podtitul */
.logo-big {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo-img {
    height: 110px;
    width: 110px;
    object-fit: cover;
    display: block;
    /* Ořízne obrázek do kruhu – 44% odřízne falešnou šachovnici po okrajích */
    clip-path: circle(44% at 50% 50%);
    transition: transform 0.2s ease;
}

.logo-img-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    filter: drop-shadow(0 0 6px rgba(230, 0, 0, 0.7)); /* Červená záře přesně kopírující ořez */
}

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

.logo-subtitle {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #bbb;
    margin-top: 4px;
    font-weight: 700;
    text-align: center;
}

/* Navigace vycentrovaná přesně na střed celého záhlaví */
.nav-punky {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-punky ul {
    list-style: none;
    display: flex;
    gap: 45px; /* Větší rozestupy mezi položkami */
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-punky ul li a {
    font-weight: 900;
    font-size: 17px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #fff;
    position: relative;
    display: block;
    padding: 6px 0;
    transition: all 0.2s;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.nav-punky ul li a:hover {
    color: var(--red);
    text-shadow: 0 0 12px var(--red), 0 0 20px var(--red);
    transform: skewX(-10deg);
}

/* ====== HERO SEKCE ====== */
.hero {
    height: 100vh;
    background: transparent; /* Původní pozadí je teď na body */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 110px;
}

.hero-noise {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(255, 255, 255, 0.03) 0px,
        rgba(255, 255, 255, 0.03) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: heroSlide 0.8s ease-out;
}

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

.punk-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 72px;
    margin: 0;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 4px;
    line-height: 1.1;
    text-shadow: 3px 3px 0 #000, 6px 6px 15px rgba(230, 0, 0, 0.6);
    animation: punkTextSlide 1s ease-out;
}

@keyframes punkTextSlide {
    from {
        transform: skewX(10deg) scaleX(0.9);
        opacity: 0;
    }
    to {
        transform: skewX(0) scaleX(1);
        opacity: 1;
    }
}

.punk-title span {
    display: block;
}

.punk-title .subtitle {
    font-size: 42px;
    margin-top: 10px;
    color: var(--yellow);
    text-shadow: 2px 2px 0 var(--red), 4px 4px 10px rgba(255, 215, 0, 0.4);
}

.punk-tagline {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 3px;
    margin: 20px 0 40px;
    color: #ccc;
    text-transform: uppercase;
    word-spacing: 8px;
}

/* ====== TLAČÍTKA ====== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--red);
    color: #000;
    font-weight: 700;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 2px solid #000;
    transition: all 0.2s;
    cursor: pointer;
    margin: 10px;
    position: relative;
}

.btn:hover {
    background: var(--yellow);
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 #000, 0 0 20px var(--red);
    color: #000;
}

.btn-skew {
    transform: skewX(-10deg);
}

.btn-skew:hover {
    transform: skewX(-10deg) translate(-2px, -2px);
}

/* Tlačítko Historie kapely */
.history-button-container {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(230, 0, 0, 0.3);
}

.btn-history {
    font-size: 18px;
    padding: 16px 40px;
    letter-spacing: 3px;
}

/* ====== SEKCE (PŮVODNĚ ZCELA ČERNÉ) ====== */
.section {
    padding: 80px 40px;
    background: rgba(0, 0, 0, 0.95); /* Krytí zvýšeno, propustnost snížena na polovinu */
    border-top: 3px solid var(--red);
    position: relative;
}

/* Liché sekce (O kapele, Koncerty, Kontakt) – méně propustné */
.section-dark {
    background: rgba(10, 10, 10, 0.72); /* Krytí zvýšeno, propustnost snížena na polovinu */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    margin: 0 0 30px 0;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 8px rgba(230, 0, 0, 0.5);
    transform: skewX(-5deg);
    text-align: center;
}

/* Centrované sekce s kontejnerem */
#kapela, #hudba, #merch, #kontakt {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#kapela .section-title,
#hudba .section-title,
#merch .section-title,
#kontakt .section-title {
    width: 100%;
}

.about-box {
    background: linear-gradient(135deg, rgba(230, 0, 0, 0.05) 0%, transparent 100%);
    border-left: 4px solid var(--red);
    border-bottom: 2px solid var(--red);
    padding: 25px 30px;
    margin-bottom: 40px;
    transform: skewX(-3deg);
    font-size: 18px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ====== O KAPELE ====== */
.members {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 sloupců pro 5 členů */
    gap: 15px;                             /* Mírně zmenšená mezera */
    margin-top: 40px;
    max-width: 1350px;                     /* Zvětšeno, aby se karty nemusely mačkat */
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.member {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d0000 100%);
    padding: 20px 15px;                    /* Kompaktnější vnitřní odsazení */
    border-left: 4px solid var(--red);
    border-top: 2px solid var(--yellow);
    border-radius: 2px;
    position: relative;
    transform: rotate(-1deg);
    transition: all 0.3s;
}

.member:nth-child(2n) {
    transform: rotate(1deg);
}

.member:hover {
    transform: rotate(0) translateY(-5px);
    box-shadow: 0 10px 25px rgba(230, 0, 0, 0.3);
}

.member-label {
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 8px;
    font-weight: 700;
}

.member h3 {
    font-size: 18px;
    margin: 0 0 10px 0;
    color: var(--red);
    text-transform: uppercase;
}

/* ====== HUDBA (VYROVNANÉ DVOU-SLOUPOVÉ ROZLOŽENÍ) ====== */
.music-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;            /* Výrazný odstup obou bloků od středu */
    max-width: 1400px;     /* Využije šířku stránky */
    width: 90%;
    margin: 50px auto 0;
    align-items: stretch;  /* Zaručí naprosto stejnou výšku obou boxů */
}

/* Sjednocený styl obou boxů (stejné ohraničení, zkosení i pozadí) */
.tracklist-box,
.online-box {
    background: rgba(10, 10, 10, 0.65);
    border-left: 4px solid var(--red);
    border-bottom: 2px solid var(--yellow);
    padding: 30px;
    transform: skewX(-2deg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
}

/* Sjednocené nadpisy */
.tracklist-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    color: var(--yellow);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 25px 0;
    text-align: center;
}

/* Pravý sloupec s časem skladby */
.songs-table td:last-child {
    width: 65px;
    text-align: right;
    color: var(--yellow);
    font-size: 12px;
    letter-spacing: 1px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.songs-table td {
    padding: 6px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: #eee;
}

.songs-table tr:last-child td {
    border-bottom: none;
}

.songs-table tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.04);
}

.songs-table tr:hover {
    background: rgba(230, 0, 0, 0.25);
    color: #fff;
}

.songs-table td:first-child {
    width: 45px;
    font-weight: 700;
    color: var(--red);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

/* Odkazy online (pravá strana) – rovnoměrné roztažení */
.online-box .tracks {
    display: flex;
    flex-direction: column;
    justify-content: space-around; /* Rozmístí 3 tlačítka rovnoměrně na výšku */
    flex: 1;                       /* Vyplní celý prostor boxu */
    gap: 20px;
    width: 100%;
    margin: 0;
}

.track-link {
    background: linear-gradient(90deg, rgba(230, 0, 0, 0.15) 0%, transparent 100%);
    padding: 24px 28px;
    border-left: 5px solid var(--red);
    border-right: 2px solid var(--yellow);
    display: flex;
    align-items: center;
    gap: 20px;
    transform: skewX(-1deg);
    transition: all 0.25s ease;
    cursor: pointer;
    text-decoration: none;
}

.track-link:hover {
    background: linear-gradient(90deg, rgba(230, 0, 0, 0.35) 0%, rgba(255, 215, 0, 0.15) 100%);
    transform: skewX(-1deg) translateX(10px);
    border-left-color: var(--yellow);
    box-shadow: 0 8px 25px rgba(230, 0, 0, 0.3);
}

.track-name {
    font-weight: 900;
    font-size: 22px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.track-meta {
    color: var(--yellow);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-left: auto;
}

.platform-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.platform-icon svg {
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.track-link:hover .platform-icon {
    transform: scale(1.15);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
}

/* Sem přidej styl pro obrázkovou ikonu */
.platform-img {
    width: 34px;
    height: 34px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* ====== KONCERTY ====== */
.concert-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.concert-list li {
    background: linear-gradient(90deg, rgba(230, 0, 0, 0.15) 0%, transparent 100%);
    padding: 30px;
    margin-bottom: 15px;
    border-left: 6px solid var(--red);
    border-bottom: 2px solid var(--yellow);
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 40px;
    transform: skewX(-2deg);
    transition: all 0.3s;
}

.concert-list li:hover {
    transform: skewX(-2deg) translateX(8px);
    box-shadow: 0 8px 20px rgba(230, 0, 0, 0.2);
}

.date {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    color: var(--red);
    font-weight: 900;
    text-transform: uppercase;
}

.venue {
    font-size: 18px;
    font-weight: 700;
    color: var(--yellow);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.city {
    color: #aaa;
    font-size: 14px;
    letter-spacing: 1px;
}

/* ====== MERCH ====== */
.merch-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.item {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d0000 100%);
    padding: 30px;
    border-left: 4px solid var(--red);
    border-top: 2px solid var(--yellow);
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    transform: rotate(-1deg);
}

.item:nth-child(2n) {
    transform: rotate(1deg);
}

.item:hover {
    transform: rotate(0) scale(1.05);
    box-shadow: 0 10px 25px rgba(230, 0, 0, 0.4);
    background: linear-gradient(135deg, #2d2d2d 0%, #4d0000 100%);
}

.item-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
}

/* ====== KONTAKT ====== */
.contact-box {
    background: linear-gradient(135deg, rgba(230, 0, 0, 0.1) 0%, transparent 100%);
    border-left: 4px solid var(--red);
    border-bottom: 2px solid var(--yellow);
    padding: 40px;
    transform: skewX(-3deg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-question {
    font-size: 20px;
    font-weight: 700;
    color: var(--yellow);
    margin-bottom: 30px;
    text-transform: uppercase;
    text-align: center;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #aaa;
    margin-bottom: 8px;
}

.value {
    font-size: 18px;
    font-weight: 700;
    color: var(--red);
    font-family: 'Roboto Mono', monospace;
}

.socials {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
}

.social-link {
    display: inline-block;
    padding: 10px 18px;
    background: var(--red);
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    transition: all 0.2s;
}

.social-link:hover {
    background: var(--yellow);
    transform: scale(1.1) rotate(-5deg);
}

.footer {
    text-align: center;
    padding: 30px 40px;
    background: #000;
    border-top: 3px solid var(--red);
    color: #666;
    font-size: 12px;
    letter-spacing: 1px;
}

/* ====== SPOLEČNÉ HERO PRO PODSTRÁNKY (STEJNÉ JAKO INDEX) ====== */
.gallery-hero,
.history-hero {
    height: 60vh;
    min-height: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 110px;
    padding-bottom: 0;
    background: transparent !important;
    border-bottom: 2px solid var(--red);
}

.gallery-hero .hero-noise,
.history-hero .hero-noise {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(255, 255, 255, 0.03) 0px,
        rgba(255, 255, 255, 0.03) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 1;
}

.gallery-hero .hero-content,
.history-hero .hero-content {
    position: relative;
    z-index: 2;
    animation: heroSlide 0.8s ease-out;
}

/* ====== SROVNÁNÍ VELIKOSTÍ A FONTŮ ====== */
.gallery-hero-title,
.history-hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 72px;
    margin: 0;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 4px;
    line-height: 1.1;
    text-shadow: 3px 3px 0 #000, 6px 6px 15px rgba(230, 0, 0, 0.6);
    animation: punkTextSlide 1s ease-out;
}

.gallery-hero-title span,
.history-hero-title span {
    display: block;
}

.gallery-hero-title .subtitle,
.history-hero-title .subtitle {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 42px;
    margin-top: 10px;
    color: var(--yellow);
    text-shadow: 2px 2px 0 var(--red), 4px 4px 10px rgba(255, 215, 0, 0.4);
}

/* Video kontejner */
.video-container {
    max-width: 1000px;
    margin: 0 auto 40px;
    background: linear-gradient(135deg, rgba(230, 0, 0, 0.1) 0%, transparent 100%);
    border-left: 4px solid var(--red);
    border-bottom: 2px solid var(--yellow);
    padding: 30px;
    transform: skewX(-2deg);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border: 3px solid var(--red);
    background: #000;
    box-shadow: 0 0 20px rgba(230, 0, 0, 0.4);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-description {
    text-align: center;
    color: #aaa;
    font-size: 14px;
    margin-top: 15px;
    font-style: italic;
}

/* Fotogalerie grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1300px;
    margin: 0 auto 50px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 5 / 4;
    cursor: pointer;
    border: 3px solid var(--red);
    box-shadow: 0 0 15px rgba(230, 0, 0, 0.3);
    transition: all 0.3s ease;
    transform: rotate(-2deg);
}

.gallery-item:nth-child(2n) {
    transform: rotate(2deg);
}

.gallery-item:hover {
    transform: rotate(0) scale(1.08);
    box-shadow: 0 0 30px rgba(230, 0, 0, 0.7), 0 0 50px rgba(255, 215, 0, 0.3);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.15);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(230, 0, 0, 0.95), rgba(255, 215, 0, 0.85));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    gap: 10px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay p {
    color: #000;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    font-weight: 900;
}

.gallery-date {
    color: #000;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Info text */
.gallery-info {
    text-align: center;
    max-width: 800px;
    margin: 40px auto;
    padding: 25px;
    background: linear-gradient(135deg, rgba(230, 0, 0, 0.1) 0%, transparent 100%);
    border-left: 4px solid var(--red);
    border-bottom: 2px solid var(--yellow);
    font-size: 16px;
    line-height: 1.8;
    color: #ccc;
}

.gallery-info strong {
    color: var(--red);
}
/* ====== RESPONZIVITA (TABLETY, IPADY, MOBILY) ====== */

/* 1. Tablety a iPady (šířka do 1024px) */
@media (max-width: 1024px) {
    html {
        scroll-padding-top: 0;
    }

    /* Hlavička přirozeně odroluje a prvky se seřadí pod sebe, aby se nepřekrývaly */
    .header {
        position: absolute !important;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 14px 15px !important;
        gap: 12px !important;
        box-sizing: border-box;
    }

    .logo-big {
        flex: 0 0 auto !important;
        margin: 0 !important;
    }

    .logo-img {
        height: 60px !important;
        width: 60px !important;
    }

    /* Úplné zrušení absolutního centrování – konec jakéhokoliv překrývání s logem */
    .nav-punky {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }

    .nav-punky ul {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 10px 18px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .nav-punky ul li a {
        font-size: 14px !important;
        letter-spacing: 1.5px !important;
        padding: 2px 4px !important;
    }

    /* Bezpečné odsazení hero sekcí od hlavičky */
    .hero,
    .gallery-hero,
    .history-hero {
        padding-top: 170px !important;
        min-height: auto !important;
        height: auto !important;
        padding-bottom: 60px !important;
    }

    .music-two-cols {
        grid-template-columns: 1fr;
        gap: 40px;
        width: 100%;
    }
}

/* 2. Mobilní telefony (iPhone na výšku i na šířku – do 768px) */
@media (max-width: 768px) {
    .section {
        padding: 45px 15px;
    }

    .section-title {
        font-size: 36px;
    }

    .header {
        padding: 10px !important;
        gap: 8px !important;
    }

    .logo-img {
        height: 48px !important;
        width: 48px !important;
    }

    .nav-punky ul {
        gap: 6px 12px !important;
    }

    .nav-punky ul li a {
        font-size: 12px !important;
        letter-spacing: 1px !important;
    }

    .hero,
    .gallery-hero,
    .history-hero {
        padding-top: 140px !important;
    }

    /* Typografie a tlačítka */
    .punk-title,
    .gallery-hero-title,
    .history-hero-title {
        font-size: 42px;
        letter-spacing: 2px;
    }

    .punk-title .subtitle,
    .gallery-hero-title .subtitle,
    .history-hero-title .subtitle {
        font-size: 24px;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .btn {
        width: 85%;
        max-width: 320px;
        margin: 6px auto;
        text-align: center;
    }

    /* Karty členů a formuláře */
    .members {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .member {
        transform: none !important;
    }

    .tracklist-box,
    .online-box {
        padding: 20px 15px;
        transform: none;
    }

    .songs-table td {
        padding: 6px 8px;
        font-size: 12px;
    }

    .track-link {
        padding: 14px 16px;
        gap: 12px;
        transform: none;
    }

    .concert-list li {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 18px;
        transform: none;
    }

    .merch-items,
    .contact-info,
    .history-lineup-grid {
        grid-template-columns: 1fr;
    }

    .contact-box,
    .history-period,
    .video-container {
        padding: 20px 15px;
        transform: none;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .gallery-item {
        transform: none !important;
    }

    .gig-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .gig-place {
        text-align: left;
    }
}

/* 3. Nejmenší displeje (do 480px) */
@media (max-width: 480px) {
    .nav-punky ul {
        gap: 4px 10px !important;
    }

    .nav-punky ul li a {
        font-size: 11px !important;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .punk-title,
    .gallery-hero-title,
    .history-hero-title {
        font-size: 32px;
    }
}