/* Third Party Terms & Conditions Page Styles */
.privacy-section.third-party-terms-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 2rem 0;
    font-family: 'Inter', sans-serif;
}

.third-party-terms-page .privacy-container {
    max-width: 900px;
}

.third-party-terms-page .privacy-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.third-party-terms-page .privacy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.third-party-terms-page .privacy-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.third-party-terms-page .privacy-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="50" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="50" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="90" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.third-party-terms-page .privacy-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.third-party-terms-page .privacy-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.third-party-terms-page .privacy-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.third-party-terms-page .privacy-body {
    padding: 3rem 2rem;
}

.third-party-terms-page .section-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 5px solid #667eea;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.third-party-terms-page .section-card:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.third-party-terms-page .section-card.info {
    border-left-color: #667eea;
}

.third-party-terms-page .section-card.warning {
    border-left-color: #f59e0b;
    background: linear-gradient(135deg, #fef3c7 0%, #ffffff 100%);
}

.third-party-terms-page .section-card.legal {
    border-left-color: #dc2626;
    background: linear-gradient(135deg, #fee2e2 0%, #ffffff 100%);
}

.third-party-terms-page .section-card.contact {
    border-left-color: #10b981;
    background: linear-gradient(135deg, #d1fae5 0%, #ffffff 100%);
}

.third-party-terms-page .section-card h2 {
    color: #667eea;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.third-party-terms-page .section-card h3 {
    color: #4c1d95;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.third-party-terms-page .section-card ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.third-party-terms-page .section-card li {
    margin-bottom: 0.5rem;
    color: #4b5563;
    line-height: 1.6;
}

.third-party-terms-page .section-card strong {
    color: #1f2937;
    font-weight: 600;
}

.third-party-terms-page .section-card a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.third-party-terms-page .section-card a:hover {
    color: #4c1d95;
    text-decoration: underline;
}

.third-party-terms-page .last-updated {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 2rem;
    color: #6b7280;
    font-size: 0.9rem;
    border: 1px solid #d1d5db;
}

.third-party-terms-page .last-updated i {
    color: #667eea;
    margin-right: 0.5rem;
}

.third-party-terms-page .support-section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid #667eea;
}

.third-party-terms-page .support-section h4 {
    color: #667eea;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.third-party-terms-page .support-section p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.third-party-terms-page .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
}

.third-party-terms-page .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
    color: white;
    text-decoration: none;
}

/* Dark Theme Support */
body.dark-mode .third-party-terms-page .privacy-card {
    background: rgba(31, 41, 55, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .third-party-terms-page .section-card {
    background: #374151;
    color: #f9fafb;
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .third-party-terms-page .section-card.warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, #374151 100%);
    border-left-color: #f59e0b;
}

body.dark-mode .third-party-terms-page .section-card.info {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, #374151 100%);
    border-left-color: #667eea;
}

body.dark-mode .third-party-terms-page .section-card.legal {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.15) 0%, #374151 100%);
    border-left-color: #dc2626;
}

body.dark-mode .third-party-terms-page .section-card.contact {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, #374151 100%);
    border-left-color: #10b981;
}

body.dark-mode .third-party-terms-page .section-card h2,
body.dark-mode .third-party-terms-page .section-card h3 {
    color: #a78bfa;
}

body.dark-mode .third-party-terms-page .section-card li {
    color: #d1d5db;
}

body.dark-mode .third-party-terms-page .section-card strong {
    color: #f9fafb;
}

body.dark-mode .third-party-terms-page .section-card a {
    color: #93c5fd;
}

body.dark-mode .third-party-terms-page .section-card a:hover {
    color: #c084fc;
}

body.dark-mode .third-party-terms-page .support-section {
    background: #374151;
    color: #f9fafb;
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .third-party-terms-page .support-section h4 {
    color: #a78bfa;
}

body.dark-mode .third-party-terms-page .support-section p {
    color: #d1d5db;
}

body.dark-mode .third-party-terms-page .last-updated {
    background: #374151;
    color: #d1d5db;
    border-color: #4b5563;
}

body.dark-mode .third-party-terms-page .last-updated i {
    color: #a78bfa;
}

/* Responsive Design - Enhanced */

/* Disable hover effects on touch devices */
@media (hover: none) {
    .third-party-terms-page .privacy-card:hover {
        transform: none;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    }

    .third-party-terms-page .section-card:hover {
        transform: none;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    }

    .third-party-terms-page .btn-primary:hover {
        transform: none;
        box-shadow: none;
    }
}

/* Tablet breakpoint */
@media (max-width: 992px) {
    .third-party-terms-page {
        padding: 3rem 0 5rem;
    }

    .third-party-terms-page .privacy-container {
        max-width: 800px;
    }

    .third-party-terms-page .privacy-header {
        padding: 2.5rem 2rem;
    }

    .third-party-terms-page .privacy-header h1 {
        font-size: 2.25rem;
    }

    .third-party-terms-page .privacy-icon {
        font-size: 3.5rem;
    }

    .third-party-terms-page .privacy-body {
        padding: 2.5rem 2rem;
    }

    .third-party-terms-page .section-card {
        padding: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .third-party-terms-page .support-section {
        padding: 2rem;
    }
}

/* Mobile breakpoint */
@media (max-width: 768px) {
    .third-party-terms-page {
        padding: 2rem 0 4rem;
    }

    .third-party-terms-page .privacy-header {
        padding: 2rem 1.5rem;
    }

    .third-party-terms-page .privacy-header h1 {
        font-size: 2rem;
    }

    .third-party-terms-page .privacy-icon {
        font-size: 3rem;
        margin-bottom: 0.875rem;
    }

    .third-party-terms-page .privacy-subtitle {
        font-size: 1rem;
    }

    .third-party-terms-page .privacy-body {
        padding: 2rem 1.5rem;
    }

    .third-party-terms-page .section-card {
        padding: 1.5rem;
        margin-bottom: 1.25rem;
    }

    .third-party-terms-page .section-card:hover {
        transform: none;
    }

    .third-party-terms-page .section-card h2 {
        font-size: 1.35rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .third-party-terms-page .section-card h3 {
        font-size: 1.2rem;
        flex-direction: column;
        text-align: center;
        gap: 0.3rem;
    }

    .third-party-terms-page .section-card li {
        font-size: 0.95rem;
    }

    .third-party-terms-page .last-updated {
        padding: 1.25rem;
        font-size: 0.875rem;
    }

    .third-party-terms-page .support-section {
        padding: 1.5rem 1.25rem;
        margin-top: 2rem;
    }

    .third-party-terms-page .support-section h4 {
        font-size: 1.25rem;
        margin-bottom: 0.875rem;
    }

    .third-party-terms-page .support-section p {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }

    .third-party-terms-page .btn-primary {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
    }
}

/* Small mobile breakpoint */
@media (max-width: 576px) {
    .third-party-terms-page {
        padding: 1.5rem 0 3rem;
    }

    .third-party-terms-page .privacy-header {
        padding: 1.5rem 1.25rem;
    }

    .third-party-terms-page .privacy-header h1 {
        font-size: 1.75rem;
    }

    .third-party-terms-page .privacy-icon {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }

    .third-party-terms-page .privacy-subtitle {
        font-size: 0.9rem;
    }

    .third-party-terms-page .privacy-body {
        padding: 1.5rem 1.25rem;
    }

    .third-party-terms-page .section-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }

    .third-party-terms-page .section-card h2 {
        font-size: 1.25rem;
    }

    .third-party-terms-page .section-card h3 {
        font-size: 1.1rem;
    }

    .third-party-terms-page .section-card li {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .third-party-terms-page .section-card ul {
        padding-left: 1.25rem;
    }

    .third-party-terms-page .last-updated {
        padding: 1rem;
        font-size: 0.85rem;
    }

    .third-party-terms-page .support-section {
        padding: 1.25rem 1rem;
        margin-top: 1.75rem;
    }

    .third-party-terms-page .support-section h4 {
        font-size: 1.15rem;
    }

    .third-party-terms-page .support-section p {
        font-size: 0.875rem;
    }

    .third-party-terms-page .btn-primary {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Very small mobile breakpoint */
@media (max-width: 400px) {
    .third-party-terms-page {
        padding: 1.25rem 0 2.5rem;
    }

    .third-party-terms-page .privacy-header {
        padding: 1.25rem 1rem;
    }

    .third-party-terms-page .privacy-header h1 {
        font-size: 1.5rem;
    }

    .third-party-terms-page .privacy-icon {
        font-size: 2rem;
        margin-bottom: 0.625rem;
    }

    .third-party-terms-page .privacy-subtitle {
        font-size: 0.85rem;
    }

    .third-party-terms-page .privacy-body {
        padding: 1.25rem 1rem;
    }

    .third-party-terms-page .section-card {
        padding: 1rem;
        margin-bottom: 0.875rem;
    }

    .third-party-terms-page .section-card h2 {
        font-size: 1.15rem;
    }

    .third-party-terms-page .section-card h3 {
        font-size: 1rem;
    }

    .third-party-terms-page .section-card li {
        font-size: 0.875rem;
    }

    .third-party-terms-page .section-card ul {
        padding-left: 1rem;
    }

    .third-party-terms-page .last-updated {
        padding: 0.875rem;
        font-size: 0.8rem;
    }

    .third-party-terms-page .support-section {
        padding: 1rem 0.75rem;
        margin-top: 1.5rem;
    }

    .third-party-terms-page .support-section h4 {
        font-size: 1.05rem;
    }

    .third-party-terms-page .support-section p {
        font-size: 0.85rem;
    }

    .third-party-terms-page .btn-primary {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}
