body {
    background: #000 !important;
    margin: 0;
    padding: 0;
}

.regulamin-container {
    width: 100%;
    margin: -20px 0 0 0;
    padding: 60px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.regulamin-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.regulamin-container > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 40px;
    position: relative;
    z-index: 1;
}

.regulamin-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.regulamin-title {
    margin: 0 0 20px 0;
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.regulamin-meta {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.regulamin-last-update,
.regulamin-version {
    margin: 0;
    font-size: 14px;
    color: #aaa;
}

.regulamin-last-update strong,
.regulamin-version strong {
    color: #ffd700;
    font-weight: 600;
}

.regulamin-content {
    line-height: 1.9;
    font-size: 16px;
    color: #ddd;
}

.regulamin-content h1,
.regulamin-content h2,
.regulamin-content h3,
.regulamin-content h4 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: #ffd700;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.regulamin-content h1:first-child {
    margin-top: 0;
}

.regulamin-content h1 {
    font-size: 2rem;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 15px;
}

.regulamin-content h2 {
    font-size: 1.6rem;
    border-left: 4px solid #ffd700;
    padding-left: 15px;
}

.regulamin-content h3 {
    font-size: 1.3rem;
}

.regulamin-content p {
    margin-bottom: 18px;
    color: #ccc;
}

.regulamin-content ul,
.regulamin-content ol {
    margin: 20px 0;
    padding-left: 35px;
}

.regulamin-content li {
    margin-bottom: 12px;
    color: #ccc;
}

.regulamin-history {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid rgba(255, 215, 0, 0.3);
}

.regulamin-history-title {
    margin: 0 0 25px 0;
    font-size: 2rem;
    font-weight: 700;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.regulamin-toggle-history {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 15px 25px;
    background: rgba(26, 26, 26, 0.8);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #ffd700;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.regulamin-toggle-history:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.regulamin-toggle-history .toggle-icon {
    transition: transform 0.3s ease;
    color: #ffd700;
}

.regulamin-toggle-history.active .toggle-icon {
    transform: rotate(180deg);
}

.regulamin-history-list {
    margin-top: 25px;
}

.regulamin-history-item {
    margin-bottom: 25px;
    padding: 25px;
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.regulamin-history-item:hover {
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.1);
}

.regulamin-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.regulamin-history-version {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.regulamin-history-date {
    font-size: 14px;
    color: #aaa;
}

.regulamin-view-version {
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.1));
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.regulamin-view-version:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 215, 0, 0.2));
    border-color: #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.regulamin-history-content {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    line-height: 1.8;
    color: #ccc;
}

.regulamin-history-content h1,
.regulamin-history-content h2,
.regulamin-history-content h3,
.regulamin-history-content h4 {
    margin-top: 25px;
    margin-bottom: 15px;
    color: #ffd700;
}

.regulamin-history-content p {
    margin-bottom: 15px;
    color: #ccc;
}

.regulamin-history-content ul,
.regulamin-history-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.regulamin-history-content li {
    color: #ccc;
}

@media screen and (max-width: 768px) {
    .regulamin-container {
        padding: 20px;
        margin: 20px 10px;
    }
    
    .regulamin-title {
        font-size: 26px;
    }
    
    .regulamin-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .regulamin-history-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
