/*--------- Code of Advertising Conduct Styles (Dynamic & Premium) ----------*/
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(15px, 4vw, 30px);
}

.legal-section {
    background-color: var(--pure-white, #ffffff);
    background-image: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    padding: clamp(60px, 10vw, 120px) 0;
    min-height: 100vh;
}

.legal-hero {
    background: linear-gradient(135deg, var(--dark-coffee, #3e2723), var(--primary-brown, #8d6e63));
    color: var(--pure-white, #ffffff);
    padding: clamp(60px, 10vw, 100px) clamp(20px, 5vw, 40px);
    text-align: center;
    border-radius: clamp(20px, 4vw, 30px);
    box-shadow: 0 15px 40px rgba(141, 110, 99, 0.2);
    margin: 0 auto clamp(50px, 8vw, 80px) auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1100px;
    animation: fadeInDown 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.hero-title {
    font-size: clamp(2.2rem, 7vw, 4.5rem);
    font-weight: 900;
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
    line-height: 1.1;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    opacity: 0.9;
    max-width: 700px;
}

.legal-content-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.legal-card {
    background: var(--pure-white, #ffffff);
    border-radius: clamp(20px, 4vw, 30px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.06);
    padding: clamp(40px, 8vw, 80px);
    width: 100%;
    max-width: 1000px;
    border: 1px solid rgba(141, 110, 99, 0.05);
    margin: 0 auto;
    text-align: center;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.legal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.1);
}

.section-title {
    color: var(--dark-coffee, #3e2723);
    border-bottom: 3px solid rgba(141, 110, 99, 0.1);
    padding-bottom: clamp(1rem, 3vw, 1.5rem);
    margin: 0 auto clamp(1.5rem, 4vw, 2rem) auto;
    font-size: clamp(1.8rem, 5vw, 3rem);
    display: inline-block;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 50%;
    transform: translateX(-50%);
    width: 40%; height: 3px;
    background: var(--primary-brown);
    transition: width 0.4s ease;
}

.legal-card:hover .section-title::after { width: 80%; }

.section-desc {
    color: var(--text-muted, #6c757d);
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.7;
    margin: 0 auto clamp(2rem, 5vw, 3rem) auto;
    max-width: 800px;
}

/* Guidelines */
.advertising-guidelines {
    background: linear-gradient(135deg, #ffffff, #fdfdfd);
    border-left: 6px solid var(--primary-brown, #8d6e63);
    border-radius: clamp(10px, 2vw, 15px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.04);
    padding: clamp(30px, 5vw, 50px);
    margin: 0 auto clamp(3rem, 6vw, 4rem) auto;
    border-top: 1px solid rgba(0,0,0,0.02);
    border-right: 1px solid rgba(0,0,0,0.02);
    border-bottom: 1px solid rgba(0,0,0,0.02);
    text-align: left;
    transition: all 0.4s ease;
}

.advertising-guidelines:hover {
    box-shadow: 0 15px 35px rgba(141, 110, 99, 0.1);
    transform: translateX(5px);
}

.guidelines-title {
    color: var(--primary-brown, #8d6e63);
    margin-bottom: clamp(1.5rem, 4vw, 2rem);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
}

.guidelines-title i {
    animation: floatingIcon 3s ease-in-out infinite;
}

.guidelines-list { list-style: none; padding: 0; margin: 0; }
.guidelines-list li {
    padding: clamp(10px, 2.5vw, 15px) 0;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-main, #333333);
    font-size: clamp(1rem, 1.8vw, 1.1rem);
    transition: background 0.3s;
    border-radius: 8px;
}
.guidelines-list li:hover { background: rgba(141,110,99,0.03); padding-left: 10px; }
.icon-success { color: #28a745; font-size: 1.2em; filter: drop-shadow(0 2px 4px rgba(40,167,69,0.3)); }

/* Custom Accordion */
.custom-accordion {
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: clamp(3rem, 6vw, 4rem);
}

.accordion-item {
    background: var(--pure-white, #ffffff);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: clamp(10px, 2vw, 15px);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: all 0.4s ease;
}

.accordion-item:hover { box-shadow: 0 10px 25px rgba(0,0,0,0.08); }

.accordion-header { margin: 0; }

.accordion-button {
    width: 100%;
    text-align: left;
    background: linear-gradient(90deg, rgba(141, 110, 99, 0.05), transparent);
    color: var(--primary-brown, #8d6e63);
    padding: clamp(1.2rem, 3vw, 1.8rem);
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    font-weight: 800;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-button::after {
    content: '\f077'; /* fa-chevron-up */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.accordion-button.collapsed {
    background: var(--pure-white, #ffffff);
    color: var(--dark-coffee, #3e2723);
}

.accordion-button.collapsed::after { transform: rotate(180deg); }

.accordion-button:hover, .accordion-button:focus { outline: none; padding-left: 25px; }

.accordion-collapse { display: none; }
.accordion-collapse.show { display: block; animation: expandDown 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); }

.accordion-body {
    padding: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--text-muted, #6c757d);
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* Grids inside Accordion */
.compliance-grid, .examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(220px, 35vw, 280px), 1fr));
    gap: clamp(1.5rem, 4vw, 2.5rem);
    justify-items: center;
}

.compliance-box {
    text-align: center;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
    background: #ffffff;
}

.compliance-box:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(141,110,99,0.1);
    border-color: rgba(141,110,99,0.2);
}

.icon-primary {
    color: var(--primary-brown, #8d6e63);
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin: 0 auto clamp(1rem, 3vw, 1.5rem) auto;
    display: block;
    transition: transform 0.4s ease;
}
.compliance-box:hover .icon-primary { transform: scale(1.2); }

.box-title { font-weight: 800; margin-bottom: 0.8rem; font-size: clamp(1.1rem, 2vw, 1.25rem); color: var(--dark-coffee); }
.box-desc { font-size: clamp(0.9rem, 1.8vw, 1rem); margin: 0; line-height: 1.5; }

.example-box {
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border-radius: 15px;
    border-left: 5px solid;
    background: linear-gradient(90deg, #f8f9fa, #ffffff);
    text-align: left;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

.example-box:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.06); }

.example-box.compliant { border-left-color: #28a745; }
.example-box.non-compliant { border-left-color: #dc3545; }

.status-title { 
    font-weight: 800; 
    margin-bottom: clamp(1rem, 3vw, 1.5rem); 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    font-size: clamp(1.1rem, 2vw, 1.3rem); 
}
.status-title.success { color: #28a745; }
.status-title.danger { color: #dc3545; }

.example-quote { 
    font-style: italic; 
    margin-bottom: 1rem; 
    color: #333; 
    font-size: clamp(1rem, 1.8vw, 1.1rem); 
    line-height: 1.6;
}

.example-note { color: #888; font-size: clamp(0.85rem, 1.5vw, 0.95rem); font-weight: 600; }

/* Violation Report */
.violation-report {
    background: linear-gradient(135deg, rgba(141,110,99,0.02), rgba(141,110,99,0.08));
    border: 2px dashed rgba(141, 110, 99, 0.3);
    border-radius: clamp(15px, 4vw, 25px);
    padding: clamp(40px, 8vw, 80px);
    text-align: center;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s ease;
}

.violation-report:hover {
    border-color: var(--primary-brown);
    background: linear-gradient(135deg, rgba(141,110,99,0.05), rgba(141,110,99,0.12));
}

.report-title { font-weight: 900; margin-bottom: 1rem; font-size: clamp(1.5rem, 4vw, 2rem); color: var(--dark-coffee); }
.report-desc { color: var(--text-muted, #555); margin-bottom: clamp(2rem, 5vw, 3rem); font-size: clamp(1rem, 1.8vw, 1.15rem); max-width: 600px; line-height: 1.6; }

.btn-danger {
    background: linear-gradient(135deg, #e53935, #c62828);
    color: white;
    border: none;
    padding: clamp(14px, 3vw, 18px) clamp(35px, 6vw, 50px);
    border-radius: 50px;
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
    font-weight: 800;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 20px rgba(229, 57, 53, 0.3);
}

.btn-danger:hover, .btn-danger:focus {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 25px rgba(229, 57, 53, 0.4);
    outline: none;
}
.btn-danger:active { transform: scale(0.95); }

/* Animations */
.fade-in-up { animation: fadeInUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes expandDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floatingIcon { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }