/* Terms and Conditions Page Styling */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Bricolage Grotesque', sans-serif;
    background: radial-gradient(ellipse at bottom, #020b29 0%, #000 100%);
    color: #ccc;
    line-height: 1.6;
    min-height: 100vh;
}

.terms-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header */
.terms-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 2px solid #333;
    margin-bottom: 40px;
}

.back-link {
    color: #00E897;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border: 1px solid #00E897;
    border-radius: 6px;
}

.back-link:hover {
    background: #00E897;
    color: #000;
}

.terms-logo {
    height: 50px;
    width: auto;
}

/* Main Content */
.terms-content {
    border-radius: 12px;
    padding: 60px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.main-title {
    color: #00E897;
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: #888;
    font-size: 14px;
    margin-bottom: 50px;
    font-style: italic;
}

/* Sections */
.terms-section,
.disclaimer-section {
    margin-bottom: 60px;
}

.terms-section h2,
.disclaimer-section h2 {
    color: #fff;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #00E897;
}

.terms-section h3,
.disclaimer-section h3 {
    color: #00E897;
    font-size: 16px;
    font-weight: bold;
    display: inline;
    margin: 0;
}

.intro-text {
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    margin-bottom: 30px !important;
}

.terms-section p,
.disclaimer-section p {
    color: #ccc;
    font-size: 16px;
    line-height: 1.8;
    display: inline;
    margin: 0;
}

.terms-section h3 + p::before,
.disclaimer-section h3 + p::before {
    content: " ";
}

.terms-section p + h3::before,
.disclaimer-section p + h3::before {
    content: "";
    display: block;
    margin-top: 20px;
}

.terms-section ul,
.disclaimer-section ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.terms-section li,
.disclaimer-section li {
    color: #ccc;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 10px;
}

strong {
    color: #fff;
    font-weight: bold;
}

/* Warning Highlights */
.disclaimer-section p strong:first-of-type {
    color: #ff6b6b;
}

/* Footer */
.terms-footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 2px solid #333;
    text-align: center;
}

.terms-footer p {
    color: #888;
    font-size: 14px;
    margin-bottom: 10px;
}

.terms-footer strong {
    color: #00E897;
}

/* Responsive Design */
@media (max-width: 768px) {
    .terms-content {
        padding: 30px 20px;
    }

    .main-title {
        font-size: 32px;
    }

    .terms-section h2,
    .disclaimer-section h2 {
        font-size: 28px;
    }

    .terms-section h3,
    .disclaimer-section h3 {
        font-size: 18px;
    }

    .terms-section p,
    .disclaimer-section p,
    .terms-section li,
    .disclaimer-section li {
        font-size: 14px;
    }

    .terms-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: #00E897;
    color: #000;
}

::-moz-selection {
    background: #00E897;
    color: #000;
}
