:root {
    --primary: #ff0055;
    --bg-dark: #020202; 
    --bg-light: #ffffff;
    --text-light: #f3f4f6;
    --text-dark: #111827;
    --text-muted: #888888;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --font-head: 'Rajdhani', sans-serif;
    --font-script: 'Yellowtail', cursive;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #020202;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
    border: 2px solid #020202;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
    filter: brightness(1.2);
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    scrollbar-width: thin;
    scrollbar-color: var(--primary) #020202;
}

body {
    font-family: var(--font-head);
    color: var(--text-light);
    font-size: 1.1rem; 
    line-height: 1.6;
    overflow-x: hidden;
    background-color: transparent;
    position: relative;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.unselectable {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.cut-edges {
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
}

body > .carbon-bg {
    position: fixed;
    top: 0; 
    left: 0;
    width: 100vw; 
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: -10;
    background-image: 
        linear-gradient(350deg, rgba(0, 0, 0, 0.5) 0%, transparent 100%),
        repeating-linear-gradient(45deg, rgba(255,255,255,0.007) 0, rgba(255,255,255,0.007) 2px, transparent 2px, transparent 6px),
        repeating-linear-gradient(-45deg, rgba(255,255,255,0.007) 0, rgba(255,255,255,0.007) 2px, transparent 2px, transparent 6px);
}

.glow-spot {
    position: fixed;
    pointer-events: none;
    z-index: -5;
    filter: blur(140px);
    border-radius: 50%;
    transform: none !important;
}

.glow-1 {
    top: -15vh;
    left: -10vw;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(255, 0, 85, 0.10) 0%, transparent 70%);
}

.glow-2 {
    top: 35vh;
    right: -15vw;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(255, 0, 85, 0.07) 0%, transparent 75%);
}

.glow-3 {
    bottom: -20vh;
    left: 15vw;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, rgba(255, 0, 85, 0.08) 0%, transparent 70%);
}

body.loading {
    overflow: hidden;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.rpm-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    user-select: none;
}

#rpm-text {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 800;
    font-style: italic;
    color: #fff;
    letter-spacing: -0.05em;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 20px rgba(255,255,255,0.1);
    line-height: 1;
}

.rpm-unit {
    font-size: 0.4em;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.1em;
}

.rpm-bar {
    width: 80vw;
    max-width: 500px;
    height: 12px;
    background: #1a1a1a;
    position: relative;
    overflow: hidden;
    transform: skewX(-20deg);
    margin-top: 1.5rem;
}

.rpm-fill {
    position: absolute;
    top: 0; 
    left: 0; 
    height: 100%;
    background: #fff;
    width: 0%;
    transition: width 0.05s linear;
}

#loader.redline .rpm-fill {
    background: var(--primary);
    width: 100% !important;
    box-shadow: 0 0 20px var(--primary);
}

#loader.redline .rpm-container {
    animation: cam-shake 0.1s infinite;
}

@keyframes cam-shake {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-4px, 3px); }
    50% { transform: translate(4px, -3px); }
    75% { transform: translate(-4px, -3px); }
}

#loader-logo {
    display: none;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 50vw;
    max-width: 400px;
}

#loader-logo svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
}

#loader-logo svg path,
#loader-logo svg rect {
    fill: var(--primary);
}

#loader-logo.active {
    opacity: 1;
    transform: scale(1);
    filter: drop-shadow(0 0 80px rgba(255, 0, 85, 0.2)); 
}

#loader.zoom-out {
    opacity: 0;
    visibility: hidden;
    transition: background-color 0.8s ease, opacity 0.8s ease, visibility 0.8s ease;
}

#loader.zoom-out #loader-logo {
    transform: scale(25);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.8, 0, 0.2, 1), opacity 0.4s ease 0.1s;
}

.handwriting {
    position: relative;
    display: block;
    width: fit-content;
    color: rgba(255, 0, 85, 0.15) !important; 
}

.handwriting::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    white-space: nowrap;
    clip-path: inset(-50px 100% -50px -50px); 
    border-right: 2px solid transparent;
}

.reveal.active.handwriting::after {
    animation: 
        handwriting-type 1.5s cubic-bezier(0.2, 0.6, 0.2, 1) forwards,
        handwriting-pulse 5s 1.5s infinite forwards;
}

@keyframes handwriting-type {
    0% { clip-path: inset(-50px 100% -50px -50px); border-right-color: var(--primary); }
    80% { border-right-color: var(--primary); }
    100% { clip-path: inset(-50px -50px -50px -50px); border-right-color: transparent; }
}

@keyframes handwriting-pulse {
    0%, 85% { text-shadow: none; transform: scale(1) rotate(0deg); }
    88% { text-shadow: 0 0 15px rgba(255, 0, 85, 0.6); transform: scale(1.02) rotate(-1deg); }
    92% { text-shadow: none; transform: scale(1) rotate(0.5deg); }
    96% { text-shadow: 0 0 25px rgba(255, 0, 85, 0.9); transform: scale(1.04) rotate(-1.5deg); }
    100% { text-shadow: none; transform: scale(1) rotate(0deg); }
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.tight-tracking { letter-spacing: -0.02em; }
.d-block { display: block; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-lg { max-width: 800px; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.accent { color: var(--primary); }
.text-primary { color: var(--primary) !important; }
.text-muted { color: var(--text-muted); }
.dark-text { color: var(--text-dark); }

h1, h2, h3, h4, h5, h6 {
    font-weight: 800; 
    line-height: 1.1;
}

.massive-heading { 
    font-size: clamp(3.2rem, 8.5vw, 6.5rem); 
    font-weight: 800; 
} 

.section-title { 
    font-size: clamp(2.8rem, 5.5vw, 4.5rem); 
    font-weight: 800; 
} 

.mega-heading { 
    font-size: clamp(4.3rem, 11.5vw, 9rem); 
    font-weight: 800; 
    color: var(--primary); 
    text-shadow: none; 
    line-height: 0.9; 
    margin-top: 0.5rem; 
    font-style: italic; 
    text-transform: uppercase;
    letter-spacing: -0.04em;
}

.script-font { 
    font-family: var(--font-script); 
    text-transform: none; 
}

.script-accent { 
    font-family: var(--font-script); 
    font-size: clamp(2.5rem, 5vw, 4rem); 
    color: var(--primary); 
    text-transform: none; 
    line-height: 1; 
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5vw;
    position: relative;
    z-index: 2;
}

.section { 
    padding: 6vw 0; 
    position: relative; 
}

.section-dark { 
    background-color: transparent; 
}

.section-light { 
    background-color: var(--bg-light); 
    color: var(--text-dark); 
    z-index: 3; 
    clip-path: polygon(0 0, 100% 3.5vw, 100% calc(100% - 3.5vw), 0 100%);
    padding-top: calc(6vw + 3.5vw);
    padding-bottom: calc(6vw + 3.5vw);
    margin-top: 3vw;
    margin-bottom: -3.5vw;
}

.section-skewed {
    clip-path: polygon(0 3.5vw, 100% 0, 100% 100%, 0 100%);
    padding-top: calc(6vw + 3.5vw);
    padding-bottom: calc(6vw + 3.5vw);
    margin-top: -3.5vw;
}

#pravidla.section-skewed { 
    padding-bottom: calc(4vw + 1rem); 
}

.btn-solid {
    display: inline-block;
    color: #fff;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 15px 35px;
    background: var(--primary);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-large { 
    padding: 20px 50px; 
    font-size: 1.1rem; 
}

.btn-racing {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 50px;
    color: #fff;
    font-weight: 800;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: transparent;
    border: 2px solid rgba(255, 0, 85, 0.6); 
    overflow: hidden;
    text-decoration: none;
    z-index: 1;
    transition: color 0.4s ease, border-color 0.4s ease;
}

.btn-racing .btn-text {
    font-style: normal; 
    position: relative;
    z-index: 2;
}

.btn-racing::before {
    content: '';
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    background: var(--primary);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.btn-racing:hover {
    border-color: var(--primary);
}

.btn-racing:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-racing-glare {
    position: absolute;
    top: 0; 
    left: -150%;
    width: 100%; 
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transform: skewX(-25deg);
    z-index: 1;
}

.btn-racing:hover .btn-racing-glare {
    animation: btn-glare 0.6s ease-in-out forwards;
}

.btn-racing-reverse {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 50px;
    color: #fff;
    font-weight: 800;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: var(--primary);
    border: 2px solid var(--primary);
    overflow: hidden;
    text-decoration: none;
    z-index: 1;
    transition: all 0.4s ease;
}

.btn-racing-reverse::before {
    content: '';
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    background: var(--bg-dark);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.btn-racing-reverse:hover {
    background: transparent !important;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-racing-reverse:hover::before {
    display: none;
}

.btn-racing-reverse:hover .btn-racing-glare {
    animation: btn-glare 0.6s ease-in-out forwards;
}

@keyframes btn-glare {
    100% { left: 150%; }
}

.btn-footer {
    padding: 15px 30px;
    font-size: 1rem;
}

nav {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%;
    z-index: 1000;
    padding: 2rem 0;
    background: transparent;
    transition: padding 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

nav::before {
    content: '';
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background-color: #0a0a0c;
    background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.01) 0px, rgba(255,255,255,0.01) 1px, transparent 1px, transparent 4px);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), 50% 100%, 0 calc(100% - 15px));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

nav::after {
    content: '';
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: calc(100% + 2px);
    background-color: var(--primary);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), 50% 100%, 0 calc(100% - 15px));
    z-index: -2;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
    padding: 1rem 0 1.5rem 0;
    filter: drop-shadow(0 5px 20px rgba(0, 0, 0, 0.9));
}

nav.scrolled::before, 
nav.scrolled::after {
    opacity: 1;
}

.nav-container {
    width: 100%;
    padding: 0 5vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 10px 0; 
    transition: transform 0.3s ease;
}

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

.nav-logo svg {
    height: 55px; 
    width: auto;
    display: block;
    overflow: visible !important;
}

.logo-fill { 
    fill: #fff; 
    transition: fill 0.3s ease;
}

.nav-logo:hover .logo-fill {
    fill: var(--primary);
}

.nav-links { 
    display: flex; 
    gap: 2.5vw; 
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    position: relative;
    display: inline-block;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

nav:not(.scrolled) .nav-links a {
    font-style: italic; 
    padding: 10px 30px;
    background: rgba(10, 10, 12, 0.65); 
    border: 1px solid rgba(255, 255, 255, 0.08);
    clip-path: polygon(15px 0, 100% 0, calc(100% - 15px) 100%, 0 100%); 
    backdrop-filter: blur(8px); 
}

nav:not(.scrolled) .nav-links a:hover {
    color: #fff;
    background: rgba(10, 10, 12, 0.95);
    border-color: var(--primary);
    transform: translateX(5px) skewX(-3deg);
    box-shadow: inset 0 0 10px rgba(255,0,85,0.2);
}

nav.scrolled .nav-links a {
    padding: 10px 0; 
    font-style: normal;
}

nav.scrolled .nav-links a:hover {
    color: var(--primary);
}

nav.scrolled .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled .nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}


.parallax-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.parallax-layer {
    position: absolute;
    top: -5%; 
    left: -5%;
    width: 110%; 
    height: 110%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    will-change: transform;
}

.hero-section {
    height: auto !important;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative; 
    width: 100%;
    padding-bottom: 120px;
    margin-top: 0 !important;
    padding-top: 0 !important;
    background: transparent;
    overflow: hidden; 
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
}

.layer-bg { 
    z-index: 1; 
    transform: scale(1.06);
    -webkit-mask-image: linear-gradient(to bottom, black 55%, rgba(0, 0, 0, 0.75) 75%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 55%, rgba(0, 0, 0, 0.75) 75%, transparent 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-bottom-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40vh; 
    /* ZMĚNĚNO: Úhel 176.5deg kopíruje sklon bílé sekce, barvy jsou zjemněné */
    background: linear-gradient(
        176.5deg,
        transparent 0%,
        rgba(2, 2, 2, 0.2) 25%,
        rgba(2, 2, 2, 0.6) 60%,
        rgba(2, 2, 2, 0.9) 85%,
        var(--bg-dark) 100%
    );
    z-index: 15;
    pointer-events: none;
}

.layer-cutout {
    z-index: 4; 
    transform: scale(1.06);
    -webkit-mask-image: linear-gradient(to bottom, black 55%, rgba(0, 0, 0, 0.75) 75%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 55%, rgba(0, 0, 0, 0.75) 75%, transparent 100%);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 5vw;
    transform: translateY(-50%);
    width: 100%;
    max-width: 900px;
}

.text-behind { 
    z-index: 3; 
}

.text-front { 
    z-index: 20; 
}

.title-shifted { 
    transform: translateY(-18vh); 
}

.hero-title {
    font-size: clamp(4rem, 10vw, 8rem);
    line-height: 0.85;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 0.5rem;
}

.pickme-hero {
    font-family: var(--font-script); 
    color: var(--primary); 
    font-size: clamp(3.5rem, 7vw, 6rem); 
    margin: -40px 0 0 -25px; 
    top: 18vh;
    line-height: 1;
    transform-origin: left bottom;
    position: relative;
    z-index: 20; 
    animation: rev-limiter 3s infinite;
}

.hero-subtitle-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 35vh;
}

.hero-divider {
    width: 4px;
    height: 40px;
    background: var(--primary);
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.hero-action {
    margin-top: 2.5rem;
    margin-left: 0; 
    position: relative;
    z-index: 20;
}


.grid-editorial {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6vw;
    align-items: center;
}

.image-static-wrapper {
    width: 100%;
    height: 600px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.static-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center; 
    z-index: 1;
    transform: translate(-15px, -15px);
    opacity: 0.85;
}

.static-cutout {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center; 
    z-index: 2;
}

.editorial-line {
    width: 50px;
    height: 4px;
    background: var(--primary);
    margin: 2rem 0;
}

.manifesto-quote {
    font-size: 1.1rem; 
    font-weight: 600;
    font-style: italic;
    color: var(--text-muted);
    padding: 1rem 0 1rem 2rem; 
    margin: 3rem 0 0 0 !important; 
    background: transparent; 
    border-left: 4px solid var(--primary); 
    max-width: 90%; 
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px; 
    align-items: stretch; 
    margin-top: 4rem;
}

.bento-card {
    background: transparent;
    padding: 3rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1); 
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.bento-card.cut-edges {
    clip-path: polygon(35px 0, 100% 0, 100% calc(100% - 35px), calc(100% - 35px) 100%, 0 100%, 0 35px);
}

.bento-card:not(.highlight-card) { 
    margin-top: 2rem; 
}

.bento-card:hover {
    border-color: rgba(255, 255, 255, 0.4); 
    background: rgba(255, 255, 255, 0.02); 
    transform: translateY(-5px);
}

.highlight-card {
    background: transparent; 
    border: 1px solid var(--primary) !important; 
    z-index: 2;
}

.highlight-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.02);
}

.bento-card:nth-child(1) { transform: rotate(-2deg); }
.bento-card:nth-child(2) { transform: rotate(1.5deg); }
.bento-card:nth-child(3) { transform: translateY(-20px) rotate(-1deg); } 
.bento-card:nth-child(4) { transform: rotate(1.2deg); }

.bento-card:nth-child(1):hover { transform: translateY(-5px) rotate(-2deg); }
.bento-card:nth-child(2):hover { transform: translateY(-5px) rotate(1.5deg); }
.bento-card:nth-child(3):hover { transform: translateY(-25px) rotate(-1deg); } 
.bento-card:nth-child(4):hover { transform: translateY(-5px) rotate(1.2deg); }

.card-idx { 
    font-size: 1.8rem; 
    font-weight: 800; 
    color: rgba(255, 255, 255, 0.1); 
    margin-bottom: 1.5rem; 
}

.highlight-card .card-idx { 
    color: var(--primary); 
    text-shadow: 0 0 15px rgba(255, 0, 85, 0.3); 
}

.card-title { 
    font-size: 1.5rem; 
    margin-bottom: 1.5rem; 
    color: #fff; 
}

.bento-card .body-text, 
.bento-card .data-list li { 
    color: #888888; 
}

.data-list { 
    list-style: none; 
}

.data-list li {
    font-size: 0.95rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.data-list li:last-child { 
    border-bottom: none; 
}

.data-list strong { 
    color: #fff; 
}

.legal-box {
    font-size: 0.8rem;
    color: var(--text-muted);
    border-left: 3px solid var(--primary);
    padding: 1.5rem 2rem;
    margin-top: 1rem !important; 
    background: transparent; 
}

.footer {
    padding: 5vw 0 2vw; 
    border-top: 1px solid var(--border-subtle);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5vw;
}

.footer-col { 
    display: flex; 
    flex-direction: column; 
}

.footer-heading {
    font-size: 1.6rem; 
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    padding-bottom: 10px;
    position: relative;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0; 
    left: 0;
    width: 30px; 
    height: 2px;
    background: var(--primary);
}

.footer-text { 
    font-size: 1.15rem; 
    color: var(--text-muted); 
    margin-bottom: 0.5rem; 
}

.footer-phone, 
.footer-email {
    font-family: var(--font-head);
    font-size: 1.6rem; 
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 0.5rem;
    cursor: pointer;
    display: inline-block; 
    transition: transform 0.3s ease;
    transform-origin: left center;
}

.footer-phone:hover, 
.footer-email:hover {
    transform: scale(1.05);
}

.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #0d0d0f;
    border-left: 4px solid var(--primary);
    color: #fff;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    transform: translateX(150%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-icon {
    color: var(--primary);
    font-weight: 800;
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.9rem;
    width: 100%;
}

.partneri-heading {
    position: relative;
    display: inline-block; 
    padding-bottom: 1.5rem; 
    margin-bottom: 0;
}

.partneri-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%; 
    transform: translateX(-50%); 
    width: 60px;
    height: 4px;
    background: var(--primary);
}

#partneri {
    margin-top: -5.5%;
    margin-bottom: 1rem;
}

.partners-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.partner-box {
    background: #ffffff; 
    width: 260px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.partner-box img {
    max-width: 100%;
    max-height: 80px; 
    object-fit: contain;
    transition: transform 0.3s ease;
    pointer-events: none; /* POJISTKA PRO DOTYKOVÉ ZAŘÍZENÍ */
}

.partner-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 0, 85, 0.2);
}

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

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85); 
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    align-items: center; 
    justify-content: center; 
}

.modal-content {
    background-color: var(--bg-dark); 
    background-image:
        linear-gradient(350deg, rgba(0, 0, 0, 0.5) 0%, transparent 100%),
        repeating-linear-gradient(45deg, rgba(255,255,255,0.01) 0, rgba(255,255,255,0.01) 2px, transparent 2px, transparent 6px),
        repeating-linear-gradient(-45deg, rgba(255,255,255,0.01) 0, rgba(255,255,255,0.01) 2px, transparent 2px, transparent 6px);
    padding: 40px; 
    text-align: center;
    color: var(--text-light); 
    max-width: 450px;
    width: 90%;
    border: 1px solid rgba(255, 0, 85, 0.3); 
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.8);
}

.modal-content p {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 30px;
    letter-spacing: 0.05em;
    line-height: 1.5; 
}

#partner-name {
    color: var(--primary) !important; 
    font-weight: 800;
    text-transform: uppercase;
}

.modal-btn {
    padding: 15px 30px; 
    margin: 10px;
    cursor: pointer;
    font-family: var(--font-head); 
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    transition: all 0.3s ease;
    border: none; 
}

#confirm-btn {
    background: var(--primary);
    border: 1px solid var(--primary); 
}

#confirm-btn:hover {
    background: rgba(255, 0, 85, 0.1);
    color: var(--primary);
}

#close-btn {
    background: rgba(255, 255, 255, 0.05) !important; 
    border: 1px solid rgba(255, 255, 255, 0.1) !important; 
    color: var(--text-muted); 
}

#close-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: #fff;
}

@media (max-width: 1024px) {
    ::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    html {
        scrollbar-width: none; 
        -ms-overflow-style: none;
    }

    .section { 
        padding: 10vw 0; 
    }

    .section-light { 
        padding-top: calc(10vw + 3.5vw); 
        padding-bottom: calc(10vw + 3.5vw); 
        margin-top: 1vw; 
        margin-bottom: -3.5vw; 
    }

    .section-skewed { 
        padding-top: calc(10vw + 3.5vw); 
        padding-bottom: calc(10vw + 3.5vw); 
        margin-top: -3.5vw; 
    }

    #pravidla.section-skewed { 
        padding-bottom: calc(5vw + 1rem); 
    }

    .legal-box { 
        margin-top: 2rem !important; 
    }

    .footer { 
        padding: 8vw 0 4vw; 
    }

    .handwriting { 
        margin: 0 auto 2rem auto !important; 
    }

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

    .bento-grid { 
        grid-template-columns: 1fr; 
        gap: 50px; 
        align-items: stretch; 
        margin-top: 3rem; 
    }

    .bento-card { 
        padding: 4rem 2.5rem; 
    }

    .bento-card:not(.highlight-card) { 
        margin-top: 0; 
    }

    .bento-card:nth-child(1), 
    .bento-card:nth-child(3) { 
        transform: rotate(-0.5deg); 
    }

    .bento-card:nth-child(2) { 
        transform: rotate(0.5deg); 
    }

    .bento-card:nth-child(4) { 
        transform: rotate(0.8deg); 
    }

    .bento-card:nth-child(1):hover, 
    .bento-card:nth-child(3):hover { 
        transform: translateY(-5px) rotate(-0.5deg); 
    }

    .bento-card:nth-child(2):hover { 
        transform: translateY(-5px) rotate(0.5deg); 
    }

    .bento-card:nth-child(4):hover { 
        transform: translateY(-5px) rotate(0.8deg); 
    }

    .footer { 
        text-align: center; 
    }

    .footer-grid { 
        grid-template-columns: 1fr; 
        gap: 3rem; 
    }

    .footer-col { 
        align-items: center; 
        text-align: center; 
    }

    .footer-heading::after { 
        left: 50%; 
        transform: translateX(-50%); 
    }

    .hero-content {
        padding-left: 0;
        text-align: center;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 100%;
    }

    .title-shifted { 
        transform: translateY(0) !important; 
    }

    .pickme-hero { 
        display: none !important; 
    }

    .hero-subtitle-wrapper {
        justify-content: center;
        flex-direction: column;
        text-align: center;
        gap: 8px;
        margin-top: 45vh;
    }

    .hero-action {
        margin-top: 17rem;
        margin-left: 0;
        display: flex;
        justify-content: center;
    }

    .hero-divider {
        margin: 0 auto;
        width: 45px;
        height: 4px;
    }

    .image-static-wrapper { 
        height: 400px; 
    } 

    .static-bg { 
        transform: translate(-10px, -10px); 
    }

    .info-box-racing { 
        margin: 2.5rem 0 0 0; 
        padding: 0 0 0 1.5rem; 
        transform: none; 
    }

    .manifesto-quote { 
        max-width: 95%; 
        text-align: center; 
        margin: 2rem auto !important; 
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 78vh;
        min-height: 78vh;
        margin-bottom: 12vh;
    }

    .parallax-layer {
        object-fit: cover;
        object-position: 30% center; 
        width: 100%;
        height: 40vh; 
        top: 0; 
        left: 0;
    }

    .hero-content {
        top: 35vh;
        transform: translateY(-70%);
    }

    .text-behind {
        z-index: 5; 
    }

    .text-front .hero-title {
        display: block !important;
        visibility: hidden !important;
    }

    .hero-title { 
        font-size: clamp(3rem, 12vw, 4.5rem); 
    }

    .title-shifted { 
        transform: translateY(0) !important; 
    } 

    .pickme-hero { 
        display: none !important; 
    }

    .mega-heading { 
        font-size: 3.5rem; 
    }

    .massive-heading { 
        font-size: 2.5rem; 
    }

    .image-static-wrapper { 
        height: 300px; 
    }

    .static-bg { 
        transform: translate(-6px, -6px); 
    }

    .bento-card { 
        padding: 3.5rem 1.5rem; 
    }

    .hud-value { 
        font-size: 2.2rem; 
    }

    .telemetry-important .hud-value { 
        font-size: 2.8rem; 
    }

    .hero-subtitle-wrapper { 
        position: absolute;
        top: 78%;
        left: 0;
        width: 100%;
        margin-top: 2rem !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px; 
    }    

    .hero-subtitle {
        font-size: 0.85rem; 
        text-align: center;
    }

    .hero-action {
        margin-top: 40rem !important; 
    }

    .btn-racing, 
    .btn-racing-reverse {
        padding: 12px 25px;
        font-size: 1rem;
        text-align: center;
    }

    .btn-footer {
        padding: 14px 25px;
        font-size: 0.95rem;
    }

.toast-notification {
        width: 90%;
        max-width: 350px;
        padding: 15px 20px;
        font-size: 0.9rem;
        bottom: 110px; /* Posunutí bezpečně NAD spodní Apple menu */
        right: 5%; /* Vystředění na displeji (5% okraj zleva/zprava) */
        z-index: 100000; /* Pojistka, aby to bylo i vrstvou nad menu */
    }

    .glow-1 {
        width: 95vw;
        height: 95vw;
        top: -5vh;
        left: -25vw;
    }

    .glow-2 {
        width: 110vw;
        height: 110vw;
        top: 35vh;
        right: -35vw;
    }

    .glow-3 {
        width: 90vw;
        height: 90vw;
        bottom: -10vh;
        left: -15vw;
    }

    .akce-content .body-lead {
        margin-bottom: 2.5rem !important; 
    }

    .akce-content .body-text {
        margin-bottom: 3rem !important;
    }

    .akce-content .data-list li {
        padding: 1.2rem 0; 
    }
}

@media (min-width: 769px) {
    .nav-links a span {
        display: none;
    }
}

@media (max-width: 768px) {

    body {
        padding-bottom: 82px;
    }

    nav,
    nav.scrolled {
        position: fixed;
        top: auto !important;
        bottom: 0 !important;
        left: 0;
        width: 100%;
        padding: 0 !important;
        z-index: 9999;

        background: rgba(10, 10, 12, 0.82);
        backdrop-filter: blur(22px);
        -webkit-backdrop-filter: blur(22px);

        border-top: 1px solid rgba(255, 255, 255, 0.14);
        box-shadow: 0 -12px 35px rgba(0, 0, 0, 0.45);
        filter: none !important;
    }

    nav::before,
    nav::after {
        display: none !important;
    }

    .nav-container {
        width: 100%;
        padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
        display: block;
    }

    .nav-logo,
    .mobile-menu-btn,
    .mobile-menu-overlay {
        display: none !important;
    }

    .nav-links,
    .nav-links.active {
        position: static !important;
        top: auto !important;
        right: auto !important;

        width: 100% !important;
        max-width: none !important;
        height: auto !important;

        display: grid !important;
        grid-template-columns: repeat(4, 1fr);
        justify-items: center;
        align-items: center;

        gap: 0 !important;
        margin: 0 !important;
        padding: 0 !important;

        background: transparent !important;
        border: none !important;

        transform: none !important;
        transition: none !important;
        z-index: auto !important;
    }

    nav:not(.scrolled) .nav-links a,
    nav.scrolled .nav-links a,
    .nav-links a {
        width: 100%;
        min-height: 64px;

        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 3px;
        padding: 10px 4px !important;

        background: transparent !important;
        color: #ffffff !important;

        text-align: center;
        text-decoration: none;

        border: none !important;
        border-right: 1px solid rgba(255, 255, 255, 0.10) !important;

        clip-path: none !important;
        font-style: normal !important;
        box-shadow: none !important;
        transform: none !important;

        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .nav-links a:last-child {
        border-right: none !important;
    }

    .nav-links a strong {
        display: block;
        width: 100%;

        font-size: 11px;
        line-height: 1;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        text-align: center;

        color: #ffffff;
    }

    .nav-links a span {
        display: block;
        width: 100%;

        font-size: 9px;
        line-height: 1;
        font-weight: 600;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        text-align: center;

        color: rgba(255, 255, 255, 0.52);
    }

    .nav-links a:hover,
    .nav-links a:active {
        background: rgba(255, 255, 255, 0.07) !important;
        color: #ffffff !important;
        transform: none !important;
    }

    .nav-links a:hover strong,
    .nav-links a:active strong {
        color: var(--primary);
    }

    .nav-links a:hover span,
    .nav-links a:active span {
        color: rgba(255, 255, 255, 0.72);
    }

    nav.scrolled .nav-links a::after {
        display: none !important;
    }
}

@keyframes rev-limiter {
    0%, 60% { 
        transform: rotate(-5deg) scale(1);
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8), 0 0 5px rgba(255,0,85,0.2);
    }

    67% {
        transform: rotate(-6.5deg) scale(1.03);
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255,0,85,0.8), 0 0 40px rgba(255,0,85,0.5);
    }

    74% {
        transform: rotate(-3.5deg) scale(1.01);
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8), 0 0 10px rgba(255,0,85,0.5);
    }

    82% {
        transform: rotate(-6deg) scale(1.05);
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255,0,85,1), 0 0 50px rgba(255,0,85,0.8), 0 0 10px #ffffff;
    }

    88% {
        transform: rotate(-4.5deg) scale(1.02);
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255,0,85,0.7);
    }

    100% {
        transform: rotate(-5deg) scale(1);
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8), 0 0 5px rgba(255,0,85,0.2);
    }
}
/* ==========================================================================
   REGISTRACE / OBJEDNÁVKA ČLENSTVÍ  (Laravel integrace)
   ========================================================================== */

#registrace {
    position: relative;
    z-index: 2;
    scroll-margin-top: 100px;
}

.signup-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 2.5rem;
    align-items: stretch;
    margin-top: 3rem;
}

/* Levý info panel – cena & benefity */
.signup-aside {
    background: linear-gradient(160deg, rgba(255,0,85,0.10), rgba(255,255,255,0.02));
    border: 1px solid var(--border-subtle);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.signup-price {
    font-family: var(--font-head);
    font-weight: 800;
    line-height: 1;
    font-size: clamp(3rem, 6vw, 4.5rem);
    color: #fff;
}

.signup-price small {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-left: 6px;
}

.signup-price-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.signup-benefits {
    list-style: none;
    margin: 2rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.9rem;
}

.signup-benefits li {
    position: relative;
    padding-left: 1.9rem;
    color: var(--text-light);
    font-weight: 500;
    line-height: 1.4;
}

.signup-benefits li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 9px;
    height: 9px;
    background: var(--primary);
    transform: rotate(45deg);
    box-shadow: 0 0 10px rgba(255,0,85,0.7);
}

.signup-aside-note {
    margin-top: auto;
    padding-top: 1.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Pravý formulář */
.signup-form-wrap {
    background: rgba(255,255,255,0.025);
    border: 1px solid var(--border-subtle);
    padding: 2.5rem;
}

.signup-form-title {
    font-family: var(--font-head);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.6rem;
    color: #fff;
}

.signup-form-sub {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 0.35rem;
    margin-bottom: 1.75rem;
}

.signup-form {
    display: grid;
    gap: 1.1rem;
}

.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-row-city { display: grid; grid-template-columns: 2fr 1fr; gap: 1.1rem; }

.field { display: flex; flex-direction: column; }

.field label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.55);
    margin-bottom: 0.4rem;
}

.field label .req { color: var(--primary); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"] {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.16);
    color: var(--text-light);
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 500;
    padding: 0.8rem 1rem;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.field input::placeholder { color: rgba(255,255,255,0.28); }

.field input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255,0,85,0.06);
}

.field input.is-error { border-color: #ff2d2d; }

.field-error {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #ff6b6b;
}

.signup-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.signup-consent input {
    margin-top: 0.2rem;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: var(--primary);
}

.signup-consent a { color: var(--primary); text-decoration: underline; }

.signup-alert {
    border: 1px solid rgba(255,45,45,0.4);
    background: rgba(255,45,45,0.08);
    color: #ffb3b3;
    padding: 0.9rem 1.1rem;
    font-size: 0.88rem;
}
.signup-alert ul { margin: 0; padding-left: 1.2rem; }

.signup-alert.is-success {
    border-color: rgba(16,185,129,0.4);
    background: rgba(16,185,129,0.08);
    color: #86efac;
}

/* Submit – plnošířkové racing tlačítko */
.btn-racing.btn-submit {
    width: 100%;
    padding: 18px 30px;
    font-size: 1.1rem;
    cursor: pointer;
    border-width: 2px;
}
.btn-racing.btn-submit[disabled] { opacity: 0.6; cursor: not-allowed; }

.signup-secondary {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.signup-secondary a { color: var(--primary); text-decoration: none; font-weight: 700; }
.signup-secondary a:hover { text-decoration: underline; }

@media (max-width: 900px) {
    .signup-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .signup-aside, .signup-form-wrap { padding: 1.75rem; }
}

@media (max-width: 560px) {
    .form-row-2, .form-row-city { grid-template-columns: 1fr; }
}

/* Nav CTA položka + hero sekundární odkaz */
.nav-links a.nav-cta strong { color: var(--primary); }
.nav-links a.nav-cta:hover strong { color: #fff; }

.hero-action { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.hero-action-secondary {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: color 0.25s ease;
}
.hero-action-secondary strong { color: var(--text-light); }
.hero-action-secondary:hover { color: var(--primary); }
.hero-action-secondary:hover strong { color: var(--primary); }

/* Desktop má hero-action vlevo (flex-start výše); na mobilu vycentrovat jako v originále.
   Musí být až zde (za .hero-action výše), jinak by base pravidlo přebilo media query pořadím. */
@media (max-width: 1024px) {
    .hero-action { align-items: center; }
}
