/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #7ED321;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(126, 211, 33, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    color: white;
}

.back-to-top:hover {
    background: #6BC218;
    transform: translateY(-3px);
}

/* Header - Same as other pages */
.header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    gap: 30px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #333;
    font-size: 24px;
    font-weight: 700;
}

.logo svg {
    width: 40px;
    height: 40px;
}

.nav {
    display: flex;
    gap: 10px;
    flex: 1;
    justify-content: center;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    text-decoration: none;
    color: #666;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-item svg {
    width: 20px;
    height: 20px;
    color: #7ED321;
}

.nav-item:hover {
    background: rgba(126, 211, 33, 0.1);
    color: #7ED321;
}

.search-btn {
    width: 44px;
    height: 44px;
    background: #7ED321;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-btn svg {
    width: 20px;
    height: 20px;
    color: white;
}

.search-btn:hover {
    background: #6BC218;
    transform: scale(1.05);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 3px;
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    padding: 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    font-size: 36px;
    cursor: pointer;
    color: #333;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 80px;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: 18px;
    font-weight: 500;
}

.mobile-nav-item svg {
    width: 24px;
    height: 24px;
    color: #7ED321;
}

.mobile-nav-item:hover {
    background: rgba(126, 211, 33, 0.1);
    color: #7ED321;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 400px);
    padding: 60px 0;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.content-wrapper h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 10px;
}

.update-date {
    color: #7ED321;
    font-size: 14px;
    margin-bottom: 30px;
}

.content-wrapper section {
    margin-bottom: 30px;
}

.content-wrapper h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #7ED321;
}

.content-wrapper p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #555;
}

.content-wrapper ul {
    margin-left: 30px;
    margin-bottom: 15px;
}

.content-wrapper li {
    margin-bottom: 10px;
    line-height: 1.8;
    color: #555;
}

/* Footer - Same as other pages */
.footer {
    background: #f8f9fa;
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.footer-logo svg {
    width: 40px;
    height: 40px;
}

.footer-desc {
    color: #666;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(126, 211, 33, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7ED321;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #7ED321;
    color: white;
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: all 0.3s ease;
     color: #7ED321;
}

.footer-links a:hover {
    color: #7ED321;
    transform: translateX(3px);
}

.footer-links a:hover svg {
    transform: scale(1.1);
}

.footer-bottom {
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
    text-align: center;
    color: #666;
}

.footer-bottom p {
    margin: 5px 0;
}

.footer-bottom a {
    color: #7ED321;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #6BC218;
    text-decoration: underline;
}

/* Legal Content Styles (for Copyright & Contact pages) */
.legal-content {
    min-height: calc(100vh - 400px);
    padding: 60px 0;
    background: #fafbfc;
}

.legal-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 3px solid #7ED321;
}

.legal-header h1 {
    font-size: 42px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 900;
}

.legal-header .last-updated {
    color: #7ED321;
    font-size: 16px;
    font-weight: 600;
}

.legal-section {
    background: white;
    padding: 35px 40px;
    margin-bottom: 30px;
    border-radius: 16px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.legal-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 25px rgba(126, 211, 33, 0.15);
}

.legal-section h2 {
    font-size: 26px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #7ED321;
    font-weight: 800;
}

.legal-section h3 {
    font-size: 20px;
    color: #5FB817;
    margin: 25px 0 15px;
    font-weight: 700;
}

.legal-section p {
    margin-bottom: 18px;
    line-height: 1.9;
    color: #555;
    font-size: 16px;
}

.legal-section ul {
    margin: 20px 0 20px 30px;
    line-height: 2;
}

.legal-section li {
    margin-bottom: 12px;
    color: #555;
    position: relative;
    padding-left: 10px;
}

.legal-section li::before {
    content: '✓';
    position: absolute;
    left: -20px;
    color: #7ED321;
    font-weight: bold;
}

.legal-section a {
    color: #7ED321;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dashed #7ED321;
    transition: all 0.3s ease;
}

.legal-section a:hover {
    color: #6BC218;
    border-bottom: 1px solid #6BC218;
}

.legal-section strong {
    color: #333;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav {
        display: none;
    }

    .content-wrapper {
        padding: 30px 20px;
    }

    .content-wrapper h1 {
        font-size: 28px;
    }

    .content-wrapper h2 {
        font-size: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Legal Content Responsive */
    .legal-header h1 {
        font-size: 32px;
    }

    .legal-section {
        padding: 25px 20px;
    }

    .legal-section h2 {
        font-size: 22px;
    }

    .legal-section ul {
        margin-left: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .content-wrapper {
        padding: 20px 15px;
    }

    .content-wrapper h1 {
        font-size: 24px;
    }

    .content-wrapper h2 {
        font-size: 18px;
    }

    .content-wrapper ul {
        margin-left: 20px;
    }

    /* Legal Content Mobile */
    .legal-header h1 {
        font-size: 26px;
    }

    .legal-section {
        padding: 20px 15px;
    }

    .legal-section h2 {
        font-size: 20px;
    }

    .legal-section h3 {
        font-size: 18px;
    }

    .legal-section p {
        font-size: 15px;
    }

    .footer-bottom a {
        display: block;
        margin: 10px 0;
    }
}
