@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700;900&display=swap');

:root {
    --color-body-text: #ecf0f1;
    --color-input-text: #0A4259;
    --color-link: #826BA9;
    --font-primary: 'Poppins', sans-serif;
}

body {
    margin: 0;
    padding: 10px;
    font-family: sans-serif;
    background-color: #6d5c5c;
    background-image: url('../images/bg_depleog.webp');
    background-repeat: repeat;
    color: var(--color-body-text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-container {
    display: block;
    margin-bottom: 30px;
    text-align: center;
}

.logo-container img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
}

.policy-container {
    border-style: solid;
    border-color: transparent;
    
    border-width: 50px; 
    
    border-image-source: url('../images/cell_white.svg');
    
    border-image-slice: 120 fill; 
    border-image-repeat: stretch;
    
    width: 100%;
    max-width: 600px;
    height: auto;
    min-height: 400px;
    
    padding: 0 0 20px 0;
    box-sizing: border-box;
    
    color: var(--color-input-text);
    font-family: var(--font-primary);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
}

h1 {
    color: var(--color-link);
    text-align: center;
    margin-top: 0;
    margin-bottom: 30px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
}

h2 {
    color: var(--color-link);
    font-size: 1.2rem;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 3px solid #ccc;
    padding-bottom: 5px;
    font-weight: 900;
}

p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    font-weight: 700;
}

ul {
    margin: 0 0 20px 0;
    padding-left: 0;
    list-style-position: inside;
}

li {
    font-size: 0.95rem;
    margin-bottom: 8px;
    font-weight: 700;
    display: list-item; 
}

.back-link {
    display: block;
    text-align: center;
    margin-top: 50px;
    color: var(--color-link);
    text-decoration: none;
    font-weight: 900;
    font-size: 1.1rem;
    padding: 10px;
    width: 100%;
}

footer {
    margin-top: 40px;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    padding-bottom: 20px;
}

@media (max-width: 600px) {
    .policy-container {
        border-width: 35px; 
        padding: 0 10px 10px 10px;
    }
    .logo-container img {
        width: 85%;
    }
}