/* Policy Pages - Matching Beast Foodz Server Design */

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.policy-container {
    min-height: calc(100vh - 70px);
    display: flex;
    justify-content: center;
    padding: 2rem 1rem;
}

.policy-card {
    max-width: 900px;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.05), 0 8px 32px rgba(0, 0, 0, 0.4);
    padding: 50px 40px;
    animation: slideUp 0.6s ease-out;
    margin: 1rem 0;
}

/* Header */
.policy-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.policy-header .back-btn {
    position: absolute;
    left: 0;
    top: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.policy-header .back-btn:hover {
    color: #FFD700;
}

.policy-header .back-btn .material-icons {
    font-size: 1.1rem;
}

.policy-header h1 {
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.policy-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    color: #888;
    font-size: 0.85rem;
}

/* Content */
.policy-content {
    color: #ccc;
    line-height: 1.8;
}

.policy-content section {
    margin-bottom: 2rem;
}

.policy-content h2 {
    font-size: 20px;
    font-weight: 600;
    color: #FFD700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
}

.policy-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #FFA500;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.policy-content p {
    margin-bottom: 0.75rem;
    color: #ccc;
}

.policy-content .policy-intro {
    font-size: 1.05rem;
    color: #ddd;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255, 215, 0, 0.05);
    border-left: 3px solid #FFD700;
    border-radius: 0 8px 8px 0;
}

.policy-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.policy-content ul li {
    margin-bottom: 0.4rem;
    color: #ccc;
}

.policy-content ul li::marker {
    color: #FFD700;
}

.policy-content strong {
    color: #fff;
}

.policy-content a {
    color: #FFD700;
    text-decoration: none;
}

.policy-content a:hover {
    text-decoration: underline;
    color: #FFA500;
}

/* Responsive */
@media (max-width: 768px) {
    .policy-card {
        padding: 30px 20px;
        border-radius: 16px;
    }

    .policy-header h1 {
        font-size: 26px;
    }

    .policy-content h2 {
        font-size: 17px;
    }

    .policy-content h3 {
        font-size: 15px;
    }

    .policy-meta {
        flex-direction: column;
        gap: 0.3rem;
    }

    .policy-header .back-btn {
        position: relative;
        margin-bottom: 1rem;
    }
}
