/* ============================================================
   POLICY HERO
   ============================================================ */
.policy-hero {
    background: radial-gradient(circle at top, #1a0b2e 0%, #05010a 100%);
    min-height: auto;
    padding: var(--hero-padding-top, clamp(6.5rem, 10vw, 9.5rem)) 0 var(--section-padding-md);
    text-align: center;
    display: flex;
    align-items: center;
}

.policy-content-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 5%; /* Side safety for very small screens */
}

/* THE DISPLAY TITLE (Fluid & Market Ready) */
.policy-display-title {
    margin-bottom: clamp(20px, 5vh, 40px);
    color: #fff;
    padding-bottom: 0.1em;
}

.gradient-text {
    background: linear-gradient(to right, #ffcc33, #e81cff, #a594fd);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    /* This ensures the gradient container is slightly larger than the text */
    padding-bottom: 10px;
    margin-bottom: -10px;
}

.policy-intro {
    /* Fluid intro text size */
    font-size: clamp(16px, 1.2vw, 22px);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.policy-intro p { 
    margin-bottom: 20px; 
}

.policy-intro p:last-child {
    margin-bottom: 0;
}

/* --- LINKS --- */
.purple-text-link {
    color: var(--purple-light, #A594FD);
    text-decoration: none;
    border-bottom: 1px solid rgba(165, 148, 253, 0.3);
    transition: all 0.3s ease;
}

.purple-text-link:hover {
    color: #fff;
    border-bottom-color: #fff;
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */

/* Tablets */
@media (max-width: 1024px) {
    .policy-hero {
        min-height: 60vh;
    }
}

/* Mobiles */
@media (max-width: 768px) {
    .policy-hero {
        padding-top: var(--hero-padding-top-mobile, clamp(5rem, 8vw, 6.5rem));
    }
    
    .policy-display-title {
        letter-spacing: -0.02em; /* Better readability when small */
    }

    .policy-intro {
        text-align: center;
        max-width: 100%;
    }
}

/* Small Phones (iPhone SE etc.) */
@media (max-width: 480px) {
    .policy-display-title {
        font-size: 2.5rem; /* Force a readable size on tiny screens */
    }
    
    .policy-intro {
        font-size: 15px;
        line-height: 1.5;
    }
}

/* ============================================================
   POLICY BODY - PREMIUM RESPONSIVE STYLING
   ============================================================ */
.policy-body-section {
    padding-bottom: clamp(40px, 8vh, 100px);
    background: #05010a;
}

.last-updated {
    text-align: right;
    font-size: 11px;
    color: #444;
    /* Reduced gap below date: 15px mobile, 40px desktop */
    margin-bottom: clamp(15px, 4vh, 40px);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Glassmorphic Policy Blocks */
.policy-card {
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05); 
    border-radius: 16px;
    /* Reduced internal padding: 20px on mobile, 60px on desktop */
    padding: clamp(20px, 5vw, 60px);
    /* Reduced gap between cards: 12px on mobile, 30px on desktop */
    margin-bottom: clamp(12px, 2.5vw, 30px);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.policy-card:hover {
    box-shadow: 0 0 0 1px rgba(165, 148, 253, 0.3), 0 20px 40px -10px rgba(0,0,0,0.5);
    background: rgba(255, 255, 255, 0.04);
}

.policy-sub-title {
    font-size: clamp(20px, 3vw, 32px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.policy-sub-title i {
    font-family: serif;
    font-style: italic;
    font-weight: 400;
    opacity: 0.8;
}

.dim-text {
    font-size: 0.6em;
    font-weight: 400;
    color: #555;
    margin-left: 10px;
}

.policy-card p {
    font-size: clamp(15px, 1.1vw, 17px);
    line-height: 1.7;
    color: #aaa;
    margin-bottom: 15px;
}

.policy-card p:last-child { margin-bottom: 0; }

/* Bullet Point Styling */
.policy-bullets {
    margin: 15px 0;
    list-style: none;
    padding: 0;
}

.policy-bullets li {
    font-size: clamp(14px, 1vw, 16px);
    color: #888;
    padding-left: 25px;
    position: relative;
    margin-bottom: 12px;
    line-height: 1.6;
}

.policy-bullets li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--purple-light, #a594fd);
    font-weight: bold;
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */

@media (max-width: 1024px) {
    .policy-card { border-radius: 12px; }
}

@media (max-width: 768px) {

    .policy-content-wrapper {
        margin-bottom: 0;
    }
    
    /* Make the legal titles sit closer to the text */
    .policy-sub-title {
        margin-bottom: 12px;
    }
    
    .policy-bullets {
        margin: 10px 0;
        padding: 5px 0;
    }

    .last-updated { text-align: center; }
}

@media (max-width: 600px) {
    .policy-sub-title { 
        line-height: 1.2;
    }
    .dim-text { 
        display: block; 
        margin-left: 0; 
        margin-top: 5px; 
    }
    .policy-bullets li {
        padding-left: 20px;
    }
}