.content-page {
    background: var(--ink);
}

.content-hero {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 15% 20%, rgba(25, 135, 84, 0.2), transparent 34%),
        radial-gradient(circle at 85% 10%, rgba(26, 130, 216, 0.2), transparent 36%),
        linear-gradient(135deg, #07111f 0%, #0d1c2d 55%, #09243a 100%);
}

.content-hero::after {
    position: absolute;
    right: -8rem;
    bottom: -11rem;
    width: 24rem;
    height: 24rem;
    border: 1px solid rgba(89, 207, 255, 0.14);
    border-radius: 50%;
    box-shadow: 0 0 0 2rem rgba(89, 207, 255, 0.03), 0 0 0 4rem rgba(89, 207, 255, 0.02);
    content: "";
}

.content-hero .container {
    position: relative;
    z-index: 1;
}

.content-eyebrow {
    margin-bottom: 0.75rem;
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.content-hero h1 {
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 800;
}

.content-hero p {
    max-width: 720px;
    margin: 0 auto;
    color: #c8d6e2;
    font-size: 1.08rem;
    line-height: 1.75;
}

.content-section {
    background: var(--ink);
}

.content-shell,
.legal-content,
.page-accordion {
    max-width: 1000px;
    margin-right: auto;
    margin-left: auto;
}

.content-panel,
.contact-card {
    height: 100%;
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    background: linear-gradient(145deg, rgba(18, 43, 65, 0.96), rgba(10, 27, 44, 0.98));
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.18);
}

.content-panel h2,
.contact-card h2,
.contact-card h3 {
    color: #ffffff;
}

.content-panel p,
.contact-card p,
.contact-card address {
    color: #c8d6e2;
    line-height: 1.7;
}

.content-panel strong,
.contact-card strong {
    color: #ffffff;
}

.content-panel a,
.contact-card a,
.legal-content a {
    color: var(--blue);
    font-weight: 600;
    text-decoration-color: rgba(89, 207, 255, 0.45);
    text-underline-offset: 0.18em;
}

.content-panel a:hover,
.contact-card a:hover,
.legal-content a:hover {
    color: #ffffff;
}

.contact-method {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(145, 185, 215, 0.14);
}

.contact-method:last-child {
    border-bottom: 0;
}

.contact-method-icon {
    display: grid;
    flex: 0 0 2.5rem;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    border-radius: 0.75rem;
    background: rgba(89, 207, 255, 0.12);
    color: var(--blue);
    font-size: 1.15rem;
}

.contact-method p {
    margin-bottom: 0;
}

.legal-page {
    background: var(--ink);
}

.legal-intro {
    max-width: 760px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.legal-intro h1 {
    color: #ffffff;
    font-weight: 800;
}

.legal-intro p {
    color: var(--muted);
}

.regulamin-section,
.privacy-section {
    margin-bottom: 1.5rem;
    padding: 1.5rem 1.75rem;
    border: 1px solid var(--line);
    border-radius: 1.15rem;
    background: rgba(13, 28, 45, 0.72);
}

.regulamin-section h2,
.privacy-section h2 {
    margin-bottom: 1rem;
    color: var(--blue);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 700;
}

.regulamin-section p,
.privacy-section p,
.regulamin-section,
.privacy-section {
    color: #c8d6e2;
    line-height: 1.75;
}

.regulamin-section ol,
.privacy-section ol,
.regulamin-section ul,
.privacy-section ul {
    padding-left: 1.35rem;
}

.regulamin-section li,
.privacy-section li {
    margin-bottom: 0.65rem;
}

.regulamin-section li:last-child,
.privacy-section li:last-child {
    margin-bottom: 0;
}

.legal-date {
    color: var(--muted);
    font-size: 0.9rem;
}

.page-accordion .accordion-item {
    overflow: hidden;
    margin-bottom: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: rgba(13, 28, 45, 0.86);
}

.page-accordion .accordion-button {
    padding: 1.2rem 1.35rem;
    background: transparent;
    color: #ffffff;
    font-weight: 700;
}

.page-accordion .accordion-button:not(.collapsed) {
    background: rgba(89, 207, 255, 0.08);
    color: var(--blue);
    box-shadow: none;
}

.page-accordion .accordion-button:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 0.2rem rgba(89, 207, 255, 0.15);
}

.page-accordion .accordion-button::after {
    filter: invert(1) brightness(1.7);
}

.page-accordion .accordion-body {
    padding: 0 1.35rem 1.35rem;
    color: #c8d6e2;
    line-height: 1.75;
}

.page-accordion .accordion-body li {
    margin-bottom: 0.35rem;
}

@media (max-width: 575.98px) {
    .content-hero {
        min-height: 260px;
    }

    .content-hero p {
        font-size: 1rem;
    }

    .regulamin-section,
    .privacy-section {
        padding: 1.25rem;
    }
}
