.terms-container {
    padding: 40px 20px;
    max-width: 800px;
}

.small-logo {
    max-width: 120px;
    margin-bottom: 40px;
    transition: transform 0.3s ease;
}

.small-logo:hover {
    transform: scale(1.05);
}

.terms-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.terms-content h1 {
    color: var(--gold-color);
    font-size: 32px;
    margin-bottom: 10px;
    text-align: center;
}

.last-updated {
    color: var(--dark-gold);
    text-align: center;
    margin-bottom: 40px;
    font-style: italic;
}

.terms-section {
    margin-bottom: 30px;
    animation: fadeIn 0.5s ease-out;
}

.terms-section h2 {
    color: var(--gold-color);
    font-size: 20px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(191, 160, 101, 0.2);
    padding-bottom: 10px;
}

.terms-section p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 15px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.contact-section {
    text-align: center;
    padding: 30px;
    background: rgba(191, 160, 101, 0.1);
    border-radius: 12px;
    margin-top: 40px;
}

.contact-email {
    color: var(--gold-color);
    text-decoration: none;
    font-size: 18px;
    display: inline-block;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.contact-email:hover {
    color: #ffffff;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold-color);
    text-decoration: none;
    padding: 12px 24px;
    border: 1px solid var(--gold-color);
    border-radius: 30px;
    transition: all 0.3s ease;
    margin-top: 30px;
}

.back-button:hover {
    background: var(--gold-color);
    color: var(--background-color);
}

@media (max-width: 768px) {
    .terms-container {
        padding: 20px;
    }

    .terms-content {
        padding: 20px;
    }

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

    .terms-section h2 {
        font-size: 18px;
    }
}

/* Animation for sections */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
