* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, system-ui, sans-serif;
    background: #070c0f;
    /* Tmavé břidlicové pozadí dle specifikace */
    color: #ece9e3;
    /* Tlumená krémově bílá */
}

.container {
    width: min(1400px, 94%);
    margin: 0 auto;
}

/* Hlavičková sekce */
.topbar-section {
    background: rgba(7, 16, 23, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background 0.3s, border-color 0.3s;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 12px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
}

.brand-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}

.brand:hover .brand-logo {
    transform: scale(1.08) rotate(-3deg);
    filter: drop-shadow(0 0 8px rgba(212, 154, 49, 0.4));
}

.brand-text {
    display: grid;
    font-weight: 800;
    line-height: 1;
}

.brand-text span:last-child {
    color: #d49a31;
}

.menu {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 4px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.menu a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.menu a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
}

.menu a.active {
    color: #e5a93b;
    background: rgba(212, 154, 49, 0.12);
    border-color: rgba(212, 154, 49, 0.25);
    text-shadow: 0 0 8px rgba(212, 154, 49, 0.2);
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.link-login {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.link-login:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.btn-add-beer {
    background: #d49a31;
    border: 1px solid #d49a31;
    border-radius: 10px;
    padding: 10px 16px;
    font-weight: 700;
    color: #16120d;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.btn-add-beer:hover {
    background: #e5a93b;
}

.profile {
    border-left: 1px solid rgba(255, 255, 255, .25);
    padding-left: 12px;
    font-size: 14px;
    color: #fff;
    cursor: pointer;
}

/* Dropdown pro profil */
.profile-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background: #11161a;
    min-width: 160px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.35);
    z-index: 50;
    margin-top: 8px;
}

.dropdown-content a {
    color: rgba(255, 255, 255, 0.85);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: background 0.2s;
}

.dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.dropdown-content a.admin-link {
    color: #d49a31;
    font-weight: bold;
}

.dropdown-content a.logout-link {
    color: #f87171;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.profile-dropdown:hover .dropdown-content {
    display: block;
}

/* Mobilní hamburger */
.hamburger-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .25);
    background: transparent;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* Mobilní menu dropdown */
.mobile-menu-dropdown {
    display: none;
    flex-direction: column;
    gap: 8px;
    background: #0f181c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
    margin-top: 10px;
    margin-bottom: 16px;
}

.mobile-menu-dropdown.open {
    display: flex;
}

.mobile-menu-dropdown a {
    color: rgba(255, 255, 255, .85);
    text-decoration: none;
    font-size: 16px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu-dropdown a:last-child {
    border-bottom: none;
}

.mobile-menu-dropdown a.active {
    color: #d49a31;
    font-weight: bold;
}

.mobile-add-beer {
    color: #d49a31 !important;
    font-weight: bold;
}

.mobile-admin-link {
    color: #e5a93b !important;
    font-weight: bold;
}

.mobile-logout-link {
    color: #f87171 !important;
}

/* Hero sekce */
.hero {
    background:
        radial-gradient(900px 400px at 58% 18%, rgba(212, 154, 49, 0.12), transparent 70%),
        linear-gradient(180deg, #070c0f 0%, #0b1216 100%);
    color: #fff;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    padding: 40px 0 60px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 430px 1fr;
    gap: 36px;
    align-items: center;
}

.hero-copy h1 {
    margin: 0;
    font-size: 76px;
    line-height: .95;
    font-weight: 800;
}

.hero-copy h1 span {
    color: #d49a31;
}

.hero-copy p {
    color: rgba(255, 255, 255, .9);
    line-height: 1.55;
    margin: 26px 0;
    max-width: 350px;
    font-size: 20px;
    /* Upraveno z 29px na čitelnější velikost */
}

.hero-buttons {
    display: flex;
    gap: 14px;
}

.btn {
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .35);
    padding: 12px 18px;
    font-weight: 700;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: #d49a31;
    border-color: #d49a31;
    color: #16120d;
}

.btn-primary:hover {
    background: #e5a93b;
    border-color: #e5a93b;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
}

.map-wrap {
    position: relative;
    min-height: 430px;
}

.map-shape {
    position: absolute;
    inset: 35px 90px 40px 20px;
    background:
        radial-gradient(700px 300px at 50% 20%, rgba(212, 154, 49, 0.08), transparent 80%),
        radial-gradient(500px 220px at 50% 60%, rgba(28, 40, 48, 0.6), rgba(15, 23, 28, 0.95));
    border-radius: 41% 49% 46% 42% / 52% 45% 55% 48%;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05), 0 0 55px rgba(0, 0, 0, .35);
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px 20px;
    padding: 56px 44px;
    align-content: center;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #dcd9d0;
    justify-self: center;
}

.dot.gold {
    background: #d49a31;
}

.dot.hollow {
    border: 2px solid #e6e1d7;
    background: transparent;
}

.zoom-panel {
    position: absolute;
    right: 18px;
    top: 88px;
    width: 46px;
    background: rgba(15, 23, 27, .92);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
    padding: 10px 8px;
    display: grid;
    gap: 10px;
}

.zoom-panel button {
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, .9);
    font-size: 20px;
    cursor: pointer;
}

.legend {
    position: absolute;
    right: 10px;
    bottom: 26px;
    width: 218px;
    background: rgba(19, 28, 33, .92);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 14px;
    padding: 16px;
    font-size: 16px;
    display: grid;
    gap: 10px;
}

.legend>div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    font-size: 10px;
}

.legend-dot.gold {
    background: #d49a31;
}

.legend-dot.hollow {
    border: 2px solid #e5ddd0;
}

.legend-dot.star,
.legend-dot.beer {
    border-radius: 0;
    width: auto;
    height: auto;
}

/* Statistiky */
.stats-strip {
    margin-top: -8px;
    position: relative;
    z-index: 2;
}

.stats-grid {
    background: #11161a;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 14px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.stats-grid article {
    padding: 0 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-grid article:last-child {
    border-right: none;
}

.stats-grid strong {
    display: block;
    font-size: 44px;
    line-height: 1;
    color: #fff;
}

.stats-grid span {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

/* Obsahová část */
.content {
    margin-top: 16px;
    display: grid;
    gap: 14px;
}

.cards-row {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 14px;
}

.card {
    background: #11161a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 18px;
}

.card header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card h2 {
    margin: 0;
    font-size: 24px;
    color: #fff;
}

.card a {
    color: #d49a31;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.2s;
}

.card a:hover {
    color: #e5a93b;
}

.place-item {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 92px 1fr auto;
    gap: 12px;
    align-items: center;
}

.place-item img {
    width: 92px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
}

.place-item h3 {
    margin: 0 0 4px;
    font-size: 24px;
    color: #fff;
}

.place-item p,
.place-item small,
.place-item time {
    color: rgba(255, 255, 255, 0.7);
}

.timeline {
    background:
        radial-gradient(600px 180px at 55% 50%, rgba(212, 154, 49, 0.1), transparent 70%),
        linear-gradient(180deg, #11161a, #0b0f12);
    color: #fff;
}

.timeline a,
.timeline h2 {
    color: #fff;
}

.timeline .line {
    margin-top: 52px;
    border-top: 2px dashed rgba(255, 255, 255, .55);
}

.steps {
    margin-top: -26px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.step {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .75);
    display: grid;
    place-items: center;
    background: #1e262c;
    margin-bottom: 12px;
}

.step.active {
    background: #d49a31;
    border-color: #d49a31;
    color: #1d1b16;
}

.steps small {
    color: rgba(255, 255, 255, .95);
    font-size: 18px;
    line-height: 1.35;
}

.community-grid {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.community-grid div {
    display: grid;
    gap: 4px;
}

.community-grid span,
.community-grid small {
    color: rgba(255, 255, 255, 0.6);
}

/* Newsletter */
.newsletter {
    margin-top: 16px;
    background:
        radial-gradient(700px 220px at 30% 40%, rgba(212, 154, 49, 0.1), transparent 75%),
        linear-gradient(180deg, #11161a, #0b0f12);
    color: #fff;
    padding: 24px 0;
}

.newsletter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.newsletter h3,
.newsletter p {
    margin: 0;
}

.newsletter p {
    margin-top: 6px;
    color: rgba(255, 255, 255, .84);
}

.newsletter form {
    display: flex;
    gap: 12px;
}

.newsletter input {
    width: 340px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 8px;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    padding: 14px 14px;
}

.newsletter button {
    border: none;
    border-radius: 8px;
    background: #d49a31;
    color: #1f1a12;
    font-weight: 700;
    padding: 0 26px;
    cursor: pointer;
    transition: background 0.2s;
}

.newsletter button:hover {
    background: #e5a93b;
}

/* Patička */
.footer {
    background: linear-gradient(180deg, #0b0f12, #070a0c);
    color: #ece9e3;
    padding: 56px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: flex-start;
}

.footer-brand-column {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-tagline {
    margin: 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.25s ease;
}

.footer-socials a:hover {
    color: #d49a31;
    border-color: #d49a31;
    background: rgba(212, 154, 49, 0.08);
    transform: translateY(-2px);
}

.footer-links {
    flex: 2.5;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.footer-links h4 {
    margin: 0 0 16px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #d49a31;
}

.footer-mountains {
    flex: 1.3;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    min-width: 220px;
    height: 120px;
    opacity: 0.8;
}

.footer-mountains-svg {
    width: 100%;
    max-width: 260px;
    height: auto;
}

.footer-bottom {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: #d49a31;
}

/* Responzivní design */
@media (max-width: 1200px) {
    .menu {
        display: none;
    }

    .hamburger-toggle {
        display: flex;
    }

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

    .cards-row {
        grid-template-columns: 1fr;
    }

    .community-grid,
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-main {
        flex-direction: column;
        gap: 36px;
    }

    .footer-mountains {
        align-self: center;
        justify-content: center;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 760px) {
    .map-wrap {
        display: none;
    }

    .topbar {
        flex-wrap: wrap;
    }

    .hero-copy h1 {
        font-size: 54px;
    }

    .hero-copy p {
        font-size: 18px;
    }

    .hero-buttons,
    .newsletter-row,
    .newsletter form {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .hero-buttons a,
    .newsletter form input,
    .newsletter form button {
        width: 100% !important;
    }

    .community-grid,
    .stats-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .footer-bottom a {
        margin-left: 0;
        margin-right: 20px;
    }

    .stats-grid article {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding-bottom: 12px;
        padding-left: 0;
        padding-right: 0;
    }

    .stats-grid article:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* Leaflet Mapa ČR a Dark Mode Filtr */
#mapa-cr {
    width: 100%;
    height: 430px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05), 0 0 35px rgba(0, 0, 0, .4);
    z-index: 10;
}

.map-wrap {
    position: relative;
    width: 100%;
    max-width: 820px;
    /* Zvětšeno z 780px na 820px */
    aspect-ratio: 800 / 456;
    /* Přesný poměr stran pro nový viewBox 800x456 */
    margin: 0 auto;
    overflow: visible;
}

.map-wrap svg {
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.7));
}

/* Úprava barev a ohraničení obrysu krajů ČR */
.map-wrap svg>path {
    fill: #131a1e;
    /* Tmavá břidlicově šedá */
    stroke: #232f35;
    /* Hranice krajů z mockupu */
    stroke-width: 1.5px;
    /* Hranice krajů upravené pro nový viewBox 800x456 */
    stroke-linejoin: round;
    transition: fill 0.25s, stroke 0.25s;
}

/* Zvýraznění kraje na hover */
.map-wrap svg path:hover,
.map-wrap svg path.hover-highlight,
.map-wrap svg use {
    fill: #1c2830 !important;
    stroke: #d49a31 !important;
    /* Hranice na hover jantarová */
    stroke-width: 2px !important;
    stroke-linejoin: round;
}

/* Stylizované pivní piny na mapě */
.map-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 20;
    user-select: none;
    cursor: pointer;
    transition: transform 0.2s, filter 0.2s;
}

.map-pin.beer-pin {
    font-size: 26px;
    /* Velikost pivního emoji */
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.6));
    animation: markerBounce 0.3s ease-out;
}

.map-pin.beer-pin:hover {
    transform: translate(-50%, -50%) scale(1.3);
    filter: brightness(1.2) drop-shadow(0 0 10px rgba(212, 154, 49, 0.8));
}

.leaflet-container {
    background: #0b0f12 !important;
    font-family: inherit !important;
}

.leaflet-tile-container {
    filter: invert(100%) hue-rotate(180deg) brightness(85%) contrast(95%);
}

.leaflet-bar {
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: none !important;
    border-radius: 8px !important;
    overflow: hidden;
}

.leaflet-bar a {
    background-color: #11161a !important;
    color: #fff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: background 0.2s;
}

.leaflet-bar a:hover {
    background-color: #1c2329 !important;
}

.leaflet-popup-content-wrapper {
    background: #11161a !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
}

.leaflet-popup-tip {
    background: #11161a !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Custom ikony pro špendlíky na mapě */
.marker-beer-mug {
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
    animation: markerBounce 0.3s ease-out;
}

.marker-tourist-green {
    font-size: 16px;
    color: #82be6c;
    text-shadow: 0 0 3px #000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: markerBounce 0.3s ease-out;
}

@keyframes markerBounce {
    0% {
        transform: translateY(-10px) scale(0.8);
        opacity: 0;
    }

    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Auth sekce (Registrace / Přihlášení) */
.auth-section {
    min-height: calc(100vh - 250px);
    display: grid;
    place-items: center;
    padding: 60px 0;
    background: radial-gradient(800px 400px at 50% 50%, rgba(212, 154, 49, 0.05), transparent 85%);
}

.auth-container {
    width: min(1000px, 94%);
}

.auth-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 56px;
    align-items: center;
}

.auth-visual {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-visual-content {
    max-width: 480px;
}

.auth-visual-logo {
    height: 72px;
    width: auto;
    object-fit: contain;
    margin-bottom: 24px;
    filter: drop-shadow(0 0 12px rgba(212, 154, 49, 0.25));
}

.auth-visual h1 {
    font-size: 44px;
    font-weight: 800;
    margin: 0 0 12px;
    line-height: 1.1;
    color: #fff;
    letter-spacing: -0.5px;
}

.auth-visual h1 span {
    color: #d49a31;
}

.auth-visual-tagline {
    font-size: 18px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 36px;
}

.auth-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.auth-features li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 24px;
    background: rgba(212, 154, 49, 0.1);
    border: 1px solid rgba(212, 154, 49, 0.2);
    border-radius: 12px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.auth-features li strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.auth-features li p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

@media (max-width: 960px) {
    .auth-container {
        width: min(450px, 92%);
    }

    .auth-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .auth-visual {
        display: none;
    }
}

.auth-card {
    background: rgba(17, 22, 26, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auth-card:hover {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 154, 49, 0.05);
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo-wrap {
    margin-bottom: 16px;
}

.auth-logo {
    height: 64px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(212, 154, 49, 0.25));
}

.auth-header h2 {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
}

.auth-header p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.4;
}

.auth-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: grid;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 16px;
    pointer-events: none;
    user-select: none;
}

.input-wrapper input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 12px 14px 12px 42px;
    font-size: 15px;
    color: #fff;
    font-family: inherit;
    transition: all 0.25s ease;
}

.input-wrapper input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.07);
    border-color: #d49a31;
    box-shadow: 0 0 10px rgba(212, 154, 49, 0.15);
}

.input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.form-group-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-group-checkbox input[type="checkbox"] {
    accent-color: #d49a31;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
}

.form-group-checkbox label {
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    user-select: none;
}

.form-group-checkbox label a {
    color: #d49a31;
    text-decoration: none;
    font-weight: 600;
}

.form-group-checkbox label a:hover {
    text-decoration: underline;
}

.btn-auth {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 700;
    margin-top: 10px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(212, 154, 49, 0.2);
}

.btn-auth:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(212, 154, 49, 0.35);
}

.auth-card-footer {
    margin-top: 28px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 20px;
}

.auth-card-footer p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
}

.auth-card-footer p a {
    color: #d49a31;
    text-decoration: none;
    font-weight: 600;
}

.auth-card-footer p a:hover {
    text-decoration: underline;
}

/* Auth chybové hlášky */
.auth-errors {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 24px;
}

.auth-errors ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 6px;
}

.auth-errors li {
    font-size: 13px;
    font-weight: 500;
    color: #fca5a5;
    line-height: 1.4;
}

/* Profilový dropdown v záhlaví (topbar) */
.profile-dropdown {
    position: relative;
    display: inline-block;
}

.profile-dropdown .profile {
    color: #cbd5e1;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 6px;
    background-color: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(51, 65, 85, 0.4);
    transition: all 0.2s ease;
    user-select: none;
}

.profile-dropdown .profile:hover {
    color: #d49a31;
    border-color: #d49a31;
    background-color: rgba(30, 41, 59, 0.8);
}

.profile-dropdown .dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 8px;
    background-color: #11161a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    min-width: 170px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow: hidden;
}

.profile-dropdown .dropdown-content a {
    color: rgba(255, 255, 255, 0.75);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.profile-dropdown .dropdown-content a:last-child {
    border-bottom: none;
}

.profile-dropdown .dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #d49a31;
}

.profile-dropdown:hover .dropdown-content {
    display: block;
}

/* Bridge the 8px hover gap to keep the dropdown open when moving cursor down */
.profile-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 12px;
    background: transparent;
    display: none;
    z-index: 999;
}

.profile-dropdown:hover::after {
    display: block;
}

/* Styly pro detail místa (samostatná stránka a modal na mapě) */
.detail-page-container {
    padding: 50px 0;
    background: radial-gradient(800px 400px at 50% 0%, rgba(212, 154, 49, 0.08), transparent 85%), #0d1013;
    min-height: calc(100vh - 80px);
}

.detail-card {
    background: rgba(23, 27, 31, 0.7);
    border: 1px solid rgba(212, 154, 49, 0.15); /* Svítící jantarový okraj */
    border-radius: 28px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 45px rgba(212, 154, 49, 0.05);
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
}

.detail-photo-side {
    background: rgba(0, 0, 0, 0.35);
    border-right: 1px solid rgba(212, 154, 49, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    min-height: 450px;
    position: relative;
    overflow: hidden;
}

.detail-photo-side::before {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(212, 154, 49, 0.15) 0%, transparent 70%);
    z-index: 0;
}

.detail-photo-side img {
    max-width: 100%;
    max-height: 480px;
    border-radius: 18px;
    object-fit: contain;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 1;
}

.detail-info-side {
    padding: 50px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.detail-info-side h1 {
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 6px 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.beer-divider {
    height: 3px;
    width: 70px;
    background: linear-gradient(90deg, #d49a31, transparent);
    border-radius: 2px;
    margin-bottom: 26px;
}

.detail-info-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.beer-badge-card {
    background: linear-gradient(135deg, rgba(212, 154, 49, 0.12) 0%, rgba(212, 154, 49, 0.02) 100%);
    border-left: 4px solid #d49a31;
    border-radius: 14px;
    padding: 18px 22px;
    margin-bottom: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.detail-label {
    font-size: 10px;
    font-weight: 800;
    color: rgba(212, 154, 49, 0.8);
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.detail-value-beer {
    font-size: 21px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.detail-description-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    position: relative;
    margin-top: 4px;
}

.detail-description-box::before {
    content: '“';
    position: absolute;
    top: -12px;
    left: 12px;
    font-size: 64px;
    color: rgba(212, 154, 49, 0.18);
    font-family: serif;
    line-height: 1;
}

.detail-description-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    white-space: pre-wrap;
    font-style: italic;
    padding-left: 8px;
}

.detail-value {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

.detail-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
    margin-top: 10px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.beer-mug-placeholder {
    width: 100px;
    height: 130px;
    border: 8px solid rgba(255, 255, 255, 0.12);
    border-top: none;
    border-radius: 0 0 22px 22px;
    position: relative;
    background: linear-gradient(to top, #d49a31 78%, transparent 78%);
    margin-right: 18px;
    box-shadow: inset 10px 0 0 rgba(0, 0, 0, 0.12);
}

.beer-mug-placeholder::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 75px;
    border: 8px solid rgba(255, 255, 255, 0.12);
    border-left: none;
    border-radius: 0 20px 20px 0;
    right: -38px;
    top: 18px;
}

.beer-mug-foam {
    position: absolute;
    width: 116px;
    height: 28px;
    background: #fff;
    border-radius: 16px;
    top: 18px;
    left: -16px;
    box-shadow: 0 -5px 0 rgba(255, 255, 255, 0.05),
                8px -4px 0 #fff,
                25px -7px 0 #fff,
                50px -4px 0 #fff,
                70px -7px 0 #fff,
                90px -4px 0 #fff,
                105px -5px 0 #fff;
    animation: foam-bubbling 2.5s infinite ease-in-out;
}

@media (max-width: 992px) {
    .detail-card {
        grid-template-columns: 1fr;
    }
    .detail-photo-side {
        border-right: none;
        border-bottom: 1px solid rgba(212, 154, 49, 0.08);
        padding: 30px;
        min-height: 300px;
    }
    .detail-info-side {
        padding: 35px 30px;
    }
    .detail-info-side h1 {
        font-size: 28px;
        margin-bottom: 4px;
    }
    .beer-divider {
        margin-bottom: 22px;
    }
    .detail-info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@keyframes spin-beer {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}