* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Lato', sans-serif;
}

html, body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: #d0d0d0;
    background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(3, 122, 122, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(3, 122, 122, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body {
    padding-top: 80px; /* Account for fixed header */
}

/* Adjust padding when flash sale banner is visible */
body:has(.flash-sale-banner[style*="display: block"]) {
    padding-top: 130px; /* Extra padding when banner is visible */
}

.policy-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 100px 20px 80px; /* Top padding accounts for fixed header */
    min-height: calc(100vh - 200px);
    position: relative;
    z-index: 1;
}

.policy-content {
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
    padding: 60px 50px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(42, 42, 42, 0.8);
    position: relative;
    overflow: hidden;
}

.policy-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, rgb(3, 122, 122), #4dd0e1);
    z-index: 0;
}

.policy-content > * {
    position: relative;
    z-index: 1;
}

.policy-content h1 {
    color: #ffffff;
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 20px;
}

.policy-content h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgb(3, 122, 122), transparent);
    border-radius: 2px;
}

.last-updated {
    color: #b0b0b0;
    font-size: 14px;
    margin-bottom: 50px;
    font-style: italic;
    text-align: center;
}

.policy-content section {
    margin-bottom: 50px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.5) 0%, rgba(31, 31, 31, 0.5) 100%);
    border-radius: 12px;
    border: 1px solid rgba(42, 42, 42, 0.6);
    transition: all 0.3s ease;
}

.policy-content section:hover {
    border-color: rgba(3, 122, 122, 0.5);
    box-shadow: 0 4px 20px rgba(3, 122, 122, 0.2);
    transform: translateY(-2px);
}

.policy-content section h2 {
    color: #ffffff;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 700;
    padding-bottom: 15px;
    border-bottom: 2px solid rgb(3, 122, 122);
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.policy-content section h2::before {
    content: '';
    width: 4px;
    height: 28px;
    background: linear-gradient(180deg, rgb(3, 122, 122), #4dd0e1);
    border-radius: 2px;
}

.policy-content section p {
    color: #e0e0e0;
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.8;
}

.policy-content section ul {
    margin-left: 30px;
    margin-bottom: 20px;
    list-style: none;
}

.policy-content section ul li {
    color: #e0e0e0;
    font-size: 16px;
    margin-bottom: 12px;
    line-height: 1.8;
    position: relative;
    padding-left: 25px;
}

.policy-content section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: rgb(3, 122, 122);
    font-weight: bold;
    font-size: 18px;
}

.policy-content section strong {
    color: rgb(3, 122, 122);
    font-weight: 600;
}

.policy-content section a {
    color: rgb(3, 122, 122);
    text-decoration: none;
    transition: all 0.3s;
    border-bottom: 1px solid transparent;
}

.policy-content section a:hover {
    color: #4dd0e1;
    border-bottom-color: #4dd0e1;
}

/* ----------------------------- MEDIA QUERY --------------------------- */

/* Tablet Portrait (768px - 1023px) */
@media(max-width: 1023px) {
    body {
        padding-top: 80px; /* Maintain header offset */
    }
    
    body:has(.flash-sale-banner[style*="display: block"]) {
        padding-top: 130px;
    }

    .policy-container {
        padding: 90px 20px 70px;
    }
    
    .policy-content {
        padding: 50px 40px;
    }
    
    .policy-content h1 {
        font-size: 36px;
    }
    
    .policy-content section {
        padding: 25px;
    }
    
    .policy-content section h2 {
        font-size: 24px;
    }
}

/* Mobile Landscape (600px - 767px) */
@media(max-width: 767px) {
    body {
        padding-top: 80px; /* Maintain header offset */
    }
    
    body:has(.flash-sale-banner[style*="display: block"]) {
        padding-top: 130px;
    }
    
    .policy-container {
        padding: 80px 20px 60px;
    }
    
    .policy-content {
        padding: 40px 30px;
    }
    
    .policy-content h1 {
        font-size: 32px;
    }

    .policy-content section {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .policy-content section h2 {
        font-size: 22px;
    }
    
    .policy-content section p,
    .policy-content section li {
        font-size: 15px;
    }
}

/* Mobile Portrait (480px - 599px) */
@media(max-width: 599px) {
    .policy-container {
        padding: 70px 20px 50px;
    }
    
    .policy-content {
        padding: 35px 25px;
    }
    
    .policy-content h1 {
        font-size: 28px;
    }

    .policy-content section {
        padding: 20px 18px;
    }
    
    .policy-content section h2 {
        font-size: 20px;
    }
    
    .policy-content section p,
    .policy-content section li {
        font-size: 14px;
    }
}

/* Small Mobile (320px - 479px) */
@media(max-width: 479px) {
    body {
        padding-top: 80px; /* Maintain header offset */
    }
    
    body:has(.flash-sale-banner[style*="display: block"]) {
        padding-top: 130px;
    }

    .policy-container {
        padding: 60px 15px 40px;
    }

    .policy-content {
        padding: 30px 20px;
    }
    
    .policy-content h1 {
        font-size: 24px;
    }

    .policy-content section {
        padding: 18px 15px;
    }
    
    .policy-content section h2 {
        font-size: 18px;
    }
    
    .policy-content section ul {
        margin-left: 20px;
    }

    .policy-content section ul li {
        padding-left: 22px;
    }
}

