﻿/* Terms and Privacy - Wide & Large Font Version */

/* Import professional fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Lato:wght@400;700&display=swap');

.terms-container {
    /* WIDER LAYOUT: Uses 95% of the screen width */
    width: 95%;
    max-width: 1600px;
    margin: 30px auto;
    padding: 50px 60px; /* Comfortable padding inside */
    /* Background & Depth */
    background-color: #ffffff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08); /* Soft, deep shadow */
    border-radius: 8px;
    /* The "Attractive" Gold Gradient Border (Top only for modern look, or sides) */
    /* Let's keep the side borders you liked but make them a gradient */
    border-left: 10px solid;
    border-right: 10px solid;
    border-image: linear-gradient(to bottom, #d4af37, #f3e5ab, #d4af37) 1;
    /* Typography settings */
    font-family: 'Lato', sans-serif;
    color: #333333;
    line-height: 1.8; /* Very readable line height */
    position: relative;
}

    /* LARGE FONT SIZES */
    .terms-container p,
    .terms-container li {
        font-size: 19px; /* Large, easy to read text */
        margin-bottom: 25px;
        text-align: left;
    }

    /* HEADINGS - Stylish and Big */
    .terms-container h1 {
        font-family: 'Playfair Display', serif; /* Elegant serif for title */
        font-size: 3.5rem; /* Very large title */
        color: #2c3e50;
        text-align: center;
        margin-bottom: 50px;
        text-transform: uppercase;
        letter-spacing: 2px;
        border-bottom: 3px solid #d4af37;
        padding-bottom: 20px;
        display: inline-block; /* Centers the border with the text */
        width: 100%;
    }

    .terms-container h2 {
        font-family: 'Playfair Display', serif;
        font-size: 2.2rem;
        color: #d4af37; /* Gold color for section headers */
        margin-top: 50px;
        margin-bottom: 20px;
        background-color: #fffbf0; /* Very subtle gold background for headers */
        padding: 15px 20px;
        border-left: 5px solid #d4af37;
        border-radius: 0 8px 8px 0;
    }

    /* Lists */
    .terms-container ul {
        list-style-type: square;
        padding-left: 40px;
    }

    .terms-container li {
        margin-bottom: 15px;
    }

    /* Links */
    .terms-container a {
        color: #1a73e8;
        font-weight: 700;
        text-decoration: none;
        border-bottom: 2px solid rgba(26, 115, 232, 0.3);
        transition: all 0.2s;
    }

        .terms-container a:hover {
            background-color: rgba(26, 115, 232, 0.1);
            border-bottom-color: #1a73e8;
        }

    /* Corner Decorations (Optional - kept from your original idea but refined) */
    .terms-container::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 10px;
        background: linear-gradient(90deg, #d4af37, #f3e5ab, #d4af37);
    }

    .terms-container::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 10px;
        background: linear-gradient(90deg, #d4af37, #f3e5ab, #d4af37);
    }

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .terms-container {
        width: 100%; /* Full width on mobile */
        margin: 0;
        border-left: none; /* Remove side borders on small screens to save space */
        border-right: none;
        padding: 30px 20px;
    }

        .terms-container h1 {
            font-size: 2.5rem;
        }

        .terms-container p,
        .terms-container li {
            font-size: 17px; /* Slightly smaller but still large for mobile */
        }
}
