@import url('https://fonts.googleapis.com/css2?family=Marcellus&display=swap');
:root {
    --primary-color: #0a2463;
    --secondary-color: #3e92cc;
    --accent-color: #ffd166;
    --error-color: #ef476f;
    --text-color: #333333;
    --light-text: #ffffff;
    --background-color: #f8f9fa;
    --card-bg: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --diamond-color: rgba(255, 209, 102, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Luxury Loader - Stays the same */
.luxury-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0a2463;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease-out;
}

.brand-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.logo-diamond {
    width: 100px;
    height: 100px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: diamond-float 3s ease-in-out infinite;
}

.diamond-core {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ffd166, #ffb347);
    transform: rotate(45deg);
    position: relative;
    z-index: 2;
    box-shadow: 0 0 30px rgba(255, 209, 102, 0.6);
}

.diamond-shine {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transform: rotate(45deg);
    animation: diamond-rotate 8s linear infinite;
    z-index: 1;
}

.brand-name {
    display: flex;
    gap: 0.5rem;
    font-family: 'Marcellus', serif;
    font-weight: 700;
    font-size: 3.5rem;
    color: white;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.brand-name span {
    display: inline-block;
    transform-origin: bottom center;
    opacity: 0;
}

.letter-b { animation: letter-drop 0.8s ease-out forwards, letter-color 3s infinite; animation-delay: 0.2s; }
.letter-v { animation: letter-drop 0.8s ease-out forwards, letter-color 3s infinite; animation-delay: 0.4s; }
.letter-m { animation: letter-drop 0.8s ease-out forwards, letter-color 3s infinite; animation-delay: 0.6s; }
.letter-k { animation: letter-drop 0.8s ease-out forwards, letter-color 3s infinite; animation-delay: 0.8s; }

.loading-bar {
    width: 250px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.loading-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ffd166, #ffb347);
    animation: loading-fill 2.5s ease-in-out infinite;
}


/* General Animations - Stays the same */
@keyframes diamond-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
@keyframes diamond-rotate { 0% { transform: rotate(45deg); } 100% { transform: rotate(405deg); } }
@keyframes letter-drop { 0% { transform: translateY(-100px) rotate(-20deg); opacity: 0; } 50% { transform: translateY(10px) rotate(10deg); } 100% { transform: translateY(0) rotate(0); opacity: 1; } }
@keyframes letter-color { 0%, 100% { color: white; text-shadow: 0 0 15px rgba(255, 255, 255, 0.5); } 50% { color: #ffd166; text-shadow: 0 0 20px rgba(255, 209, 102, 0.8); } }
@keyframes loading-fill { 0% { width: 0%; left: 0; } 50% { width: 100%; left: 0; } 100% { width: 0%; left: 100%; } }

/* Container - Stays the same */
.container {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.container.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Header - Adapted for Terms Page */
.terms-header { /* Renamed from .refund-header */
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
    padding: 5rem 2rem 4rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.terms-header::before { /* Renamed from .refund-header::before */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="10" height="10" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.3;
}

.header-content, .logo-container, .logo-shine, .logo, .logo-subtitle, .title, .title-accent, .header-decoration, .deco-line, .deco-diamond {
    /* These styles are generic and can be reused directly */
    position: relative;
    z-index: 1;
}

.header-content { max-width: 1200px; margin: 0 auto; }
.logo-container { display: inline-flex; flex-direction: column; align-items: center; margin-bottom: 2rem; }
.logo-shine { position: absolute; top: -15px; left: -15px; width: calc(100% + 30px); height: calc(100% + 30px); border: 2px solid var(--accent-color); transform: rotate(45deg); opacity: 0.5; animation: shine-rotate 15s linear infinite; }
.logo { font-family: 'Marcellus', serif; font-size: 3.5rem; font-weight: 700; color: var(--light-text); margin-bottom: 0; text-shadow: 0 0 10px rgba(255, 209, 102, 0.5); }
.logo-subtitle { font-size: 1rem; letter-spacing: 5px; text-transform: uppercase; margin-top: -10px; opacity: 0.8; }
.title { font-family: 'Marcellus', serif; font-size: 3rem; font-weight: 600; margin-bottom: 1.5rem; }
.title-accent { color: var(--accent-color); }
.header-decoration { display: flex; align-items: center; justify-content: center; margin: 1.5rem 0; }
.deco-line { width: 80px; height: 1px; background-color: rgba(255, 255, 255, 0.5); }
.deco-diamond { width: 10px; height: 10px; background-color: var(--accent-color); transform: rotate(45deg); margin: 0 20px; }


/* Main Content - Adapted for Terms Page */
.terms-content { /* Renamed from .refund-content */
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    position: relative;
}

/* Floating Diamonds Background - Can be reused */
.floating-diamonds { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; }
.diamond-small { position: absolute; width: 15px; height: 15px; background-color: var(--diamond-color); transform: rotate(45deg); opacity: 0; animation: float-diamond 15s infinite linear; }
.diamond-1 { top: 10%; left: 5%; animation-delay: 0s; }
.diamond-2 { top: 60%; left: 80%; animation-delay: 5s; }
.diamond-3 { top: 30%; left: 70%; animation-delay: 10s; }
@keyframes float-diamond { 0% { transform: rotate(45deg) translateY(0) translateX(0); opacity: 0; } 10% { opacity: 0.6; } 90% { opacity: 0.6; } 100% { transform: rotate(45deg) translateY(-100px) translateX(50px); opacity: 0; } }

/* Policy Sections - Perfectly suited for Terms page */
.policy-section {
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 10px 30px var(--shadow-color);
    padding: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.policy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-color), var(--secondary-color));
}

.policy-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.policy-section h3 {
    font-family: 'Marcellus', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.policy-section p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

/* Styling for lists within the terms */
.policy-section ul {
    list-style: none; /* Remove default bullets */
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

.policy-section ul li {
    position: relative;
    padding-left: 25px; /* Space for custom bullet */
    margin-bottom: 1rem;
}

.policy-section ul li::before {
    content: '❖'; /* Using a diamond symbol */
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary-color);
    font-size: 1rem;
    font-weight: bold;
}


/* General Page Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes shine-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .terms-header {
        padding: 3rem 1.5rem;
    }
    
    .title {
        font-size: 2.2rem;
    }
    
    .policy-section {
        padding: 1.5rem;
    }
    
    .terms-content {
        padding: 2rem 1rem;
    }
}