/* Legal Pages Styles */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #d1d5db;
    background: radial-gradient(circle at 50% 50%, #1a1224 0%, #0d0a15 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Brand - Top Left */
.brand {
    position: fixed;
    top: 30px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.brand:hover {
    transform: translateX(5px);
}

.brand-logo {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.brand:hover .brand-logo {
    transform: scale(1.1);
}

.brand-name {
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(90deg, #FDB915 0%, #FF8C00 50%, #FF4D1F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 20px rgba(253, 185, 21, 0.4));
    cursor: pointer;
}

/* Main Container */
.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 40px 60px 40px;
    min-height: calc(100vh - 300px);
}

/* Content Area */
.legal-content {
    background: linear-gradient(145deg, rgba(26, 18, 36, 0.6) 0%, rgba(13, 10, 21, 0.8) 100%);
    border: 1px solid rgba(255, 140, 0, 0.2);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.legal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FDB915, #FF8C00, #FF4D1F);
    opacity: 0.8;
}

/* Typography */
.legal-title {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #FDB915 0%, #FF8C00 50%, #FF4D1F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-updated {
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 40px;
    font-style: italic;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 140, 0, 0.3);
}

.legal-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: #FF8C00;
    margin: 25px 0 12px 0;
}

.legal-section p {
    font-size: 16px;
    color: #d1d5db;
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-section ul {
    margin: 15px 0 15px 30px;
}

.legal-section li {
    font-size: 16px;
    color: #d1d5db;
    line-height: 1.8;
    margin-bottom: 10px;
    position: relative;
}

.legal-section li::marker {
    color: #FF8C00;
}

.legal-section li strong {
    color: #FDB915;
    font-weight: 600;
}

/* Links */
.legal-link {
    color: #FF8C00;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 140, 0, 0.3);
    transition: all 0.3s ease;
    font-weight: 500;
}

.legal-link:hover {
    color: #FDB915;
    border-bottom-color: #FDB915;
}

/* Footer Navigation */
.legal-footer-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 140, 0, 0.2);
}

.legal-nav-link {
    background: linear-gradient(135deg, rgba(253, 185, 21, 0.1), rgba(255, 140, 0, 0.1));
    border: 1px solid rgba(255, 140, 0, 0.3);
    color: #FDB915;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.legal-nav-link:hover {
    background: linear-gradient(135deg, rgba(253, 185, 21, 0.2), rgba(255, 140, 0, 0.2));
    border-color: #FDB915;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(253, 185, 21, 0.3);
}

/* Footer */
#footer {
    background: linear-gradient(180deg, #0d0a15 0%, #000000 100%);
    color: #fff;
    padding: 50px 0 0 0;
    border-top: 1px solid rgba(255, 140, 0, 0.2);
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 40px 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-heading {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    background: linear-gradient(90deg, #FDB915 0%, #FF8C00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.6;
    margin: 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #d1d5db;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #FF8C00;
    transform: translateX(5px);
}

.footer-link svg {
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 140, 0, 0.1);
    padding: 25px 40px;
    text-align: center;
}

.footer-copyright {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .brand {
        top: 20px;
        left: 20px;
    }

    .brand-logo {
        height: 35px;
    }

    .brand-name {
        font-size: 18px;
    }

    .legal-container {
        padding: 100px 20px 40px 20px;
    }

    .legal-content {
        padding: 30px 25px;
        border-radius: 16px;
    }

    .legal-title {
        font-size: 32px;
    }

    .legal-section h2 {
        font-size: 22px;
    }

    .legal-section h3 {
        font-size: 18px;
    }

    .legal-section p,
    .legal-section li {
        font-size: 15px;
    }

    .legal-footer-nav {
        flex-direction: column;
        gap: 12px;
    }

    .legal-nav-link {
        text-align: center;
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        padding: 0 20px 30px 20px;
        gap: 30px;
    }

    .footer-bottom {
        padding: 20px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: rgba(255, 140, 0, 0.3);
    color: #ffffff;
}

::-moz-selection {
    background: rgba(255, 140, 0, 0.3);
    color: #ffffff;
}
