/* Legal Page Specific Styles */

/* General Layout */
.legal-content {
    text-align: left;
    margin-top: 2rem;
    line-height: 1.8;
    color: #555;
    font-size: 1rem;
}

/* Headings */
.legal-content h2 {
    color: #d81b60;
    border-bottom: 3px dashed #f8bbd0;
    padding-bottom: 10px;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.8rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.legal-content h2::after {
    content: ' :3';
    opacity: 0.5;
    font-size: 1.2rem;
}

.legal-content h3 {
    color: #ec407a;
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.3rem;
    background: rgba(255, 235, 238, 0.5);
    padding: 8px 15px;
    border-radius: 10px;
    border-left: 5px solid #ff80ab;
}

/* Paragraphs and Lists */
.legal-content p {
    margin-bottom: 15px;
    color: #444;
}

.legal-content ul {
    padding-left: 20px;
    margin-bottom: 20px;
    background-color: #fff0f5;
    padding: 20px 40px;
    border-radius: 15px;
}

.legal-content li {
    margin-bottom: 8px;
    position: relative;
    list-style-type: none;
}

.legal-content li::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 2px;
    font-size: 0.9em;
}

/* Navigation */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    color: white;
    background-color: #d81b60;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 6px rgba(216, 27, 96, 0.2);
}

.back-btn:hover {
    background-color: #ad1457;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 12px rgba(216, 27, 96, 0.3);
    text-decoration: none;
    color: white;
}

/* Warning Box Styling */
.boykisser-warning {
    background: linear-gradient(145deg, #ffebee, #ffcdd2);
    color: #b71c1c;
    padding: 25px;
    border-radius: 20px;
    border: 3px solid #e57373;
    margin: 30px 0;
    text-align: left;
    box-shadow: 0 10px 20px rgba(229, 115, 115, 0.15);
    position: relative;
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0px); }
}

.boykisser-warning::before {
    content: 'STOP';
    position: absolute;
    right: -20px;
    top: -20px;
    font-size: 100px;
    color: rgba(183, 28, 28, 0.05);
    font-weight: bold;
    transform: rotate(15deg);
    pointer-events: none;
}

.boykisser-warning h3 {
    color: #c62828 !important; /* Override legal-content h3 */
    margin-top: 0;
    text-align: center;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: none;
    border: none;
    padding: 0;
}

.boykisser-warning ul {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    margin-top: 15px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.boykisser-warning li::before {
    content: '' !important; /* Override paw print */
}

/* Footer Link Style */
.footer-legal {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px dashed #ffc1e3;
    font-size: 0.9rem;
}

.footer-legal a {
    color: #ec407a;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
    background: #fff0f5;
    padding: 8px 16px;
    border-radius: 15px;
    display: inline-block;
}

.footer-legal a:hover {
    color: #ad1457;
    background: #fce4ec;
}


.copyright {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 5px;
    font-size: 0.8rem;
    color: #888;
}

.copyright i {
    color: #ff80ab;
    font-size: 0.7rem;
    position: relative;
    top: 1px;
}

.signature-img {
    max-width: 150px;
    margin-top: 10px;
    opacity: 0.8;
    /* Invert colors to make white signature visible on light background */
    filter: invert(1) hue-rotate(180deg); 
    transition: transform 0.3s;
}

.signature-img:hover {
    transform: scale(1.1) rotate(-5deg);
}
