

/* =========================================================
   PRAVIDLA - SPECIFICKÉ ŠTÝLY
   ========================================================= */

/* Hero sekcia pre pravidlá (kompaktnejšia) */
.page-hero--compact {
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding: 8rem 1.5rem 4rem;
    background: 
        linear-gradient(to bottom, rgba(10,10,10,0.2), var(--bg-dark)),
        radial-gradient(circle at 80% 20%, rgba(255, 75, 11, 0.15), transparent 50%),
        #0a0a0a;
}

.page-hero__inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.page-kicker {
    font-family: var(--font-heading, 'Teko', sans-serif);
    color: var(--col-primary, #ff4b0b);
    letter-spacing: 2px;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.page-title {
    font-family: var(--font-heading, 'Teko', sans-serif);
    font-size: clamp(4rem, 8vw, 7rem);
    line-height: 0.9;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

/* Upozornenia / Tlačidlá pod nadpisom */
.hero-actions-row {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--col-primary, #ff4b0b);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 2rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: #e03e00;
    transform: translateY(-2px);
}

/* =========================================================
   LAYOUT PRAVIDIEL
   ========================================================= */
.rules-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: start;
    padding-bottom: 6rem;
}

/* BOČNÁ NAVIGÁCIA (STICKY) */
.rules-nav {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: #111;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #222;
}

.rules-nav a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    color: var(--text-muted, #a0a0a0);
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.2s;
}

.rules-nav a span {
    font-family: var(--font-heading, 'Teko', sans-serif);
    font-size: 1.2rem;
    opacity: 0.5;
}

.rules-nav a:hover,
.rules-nav a.active {
    background: rgba(255, 75, 11, 0.1);
    color: #fff;
}

.rules-nav a:hover span,
.rules-nav a.active span {
    color: var(--col-primary, #ff4b0b);
    opacity: 1;
}

/* JEDNOTLIVÉ KAPITOLY PRAVIDIEL */
.rules-chapters {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.rule-chapter {
    scroll-margin-top: 120px; /* Aby sa kotevný odkaz neprekryl s hlavičkou */
}

.rule-chapter__head {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: baseline;
    border-bottom: 1px solid #222;
    padding-bottom: 1rem;
}

.rule-chapter__number {
    font-family: var(--font-heading, 'Teko', sans-serif);
    font-size: 4rem;
    line-height: 0.8;
    color: var(--col-primary, #ff4b0b);
}

.rule-chapter__head h2 {
    font-family: var(--font-heading, 'Teko', sans-serif);
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.rule-chapter__head p {
    color: var(--text-muted, #a0a0a0);
    font-size: 1.1rem;
}

/* OBSAH KAPITOLY (ZOZNAMY, TABUĽKY) */
.rule-content h3 {
    font-size: 1.2rem;
    color: #fff;
    margin: 2rem 0 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rule-content h3:first-child {
    margin-top: 0;
}

.rule-content p {
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.rule-content ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.rule-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: #ccc;
    line-height: 1.6;
}

.rule-content ul li::before {
    content: "■";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--col-primary, #ff4b0b);
    font-size: 0.8rem;
}

/* Tabuľka sankcií */
.penalty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.penalty-box {
    background: #151515;
    border-left: 3px solid var(--col-primary, #ff4b0b);
    padding: 1.5rem;
    border-radius: 4px;
}

.penalty-time {
    display: block;
    font-family: var(--font-heading, 'Teko', sans-serif);
    font-size: 1.8rem;
    color: var(--col-primary, #ff4b0b);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.penalty-desc {
    font-size: 0.95rem;
    color: #fff;
}

/* Responzivita */
@media (max-width: 980px) {
    .rules-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .rules-nav {
        position: relative;
        top: 0;
        flex-direction: row;
        flex-wrap: wrap;
        padding: 1rem;
    }

    .rules-nav a {
        flex: 1 1 calc(50% - 1rem);
    }
}

@media (max-width: 600px) {
    .rules-nav a {
        flex: 1 1 100%;
    }
    
    .rule-chapter__head {
        flex-direction: column;
        gap: 0.5rem;
    }
}