/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: #0066cc;
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    color: #0066cc;
    border: 2px solid #0066cc;
}

.btn-outline:hover {
    background-color: #0066cc;
    color: white;
}

/* Legal Notice Bar */
.legal-notice {
    background-color: #003d82;
    color: white;
    font-size: 14px;
    position: relative;
}

.legal-notice .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
}

.toggle-legal {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 4px;
}

.legal-details {
    background-color: #002856;
    padding: 16px 20px;
    display: none;
}

.legal-details.active {
    display: block;
}

.legal-details a {
    color: #ffd700;
    text-decoration: underline;
}

/* Promotional Banner */
.promo-banner {
    background: linear-gradient(135deg, #003694, #0066cc);
    color: #fff240;
    padding: 12px 0;
    position: relative;
}

.promo-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.promo-banner p {
    margin: 0;
    font-weight: 600;
}

.close-banner {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0 8px;
}

/* Header */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
  font-size: 30px;
  font-weight: 600;
}

/* Navigation */
.main-nav {
    flex: 1;
    margin: 0 40px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
    justify-content: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #0066cc;
    background-color: #f0f8ff;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Auth Section */
.auth-section {
    display: flex;
    gap: 12px;
}

/* Sub Navigation */
.sub-nav {
    border-top: 1px solid #e9ecef;
    padding: 16px 0;
    overflow-x: auto;
}

.sub-nav-list {
    display: flex;
    list-style: none;
    gap: 24px;
    white-space: nowrap;
}

.sub-nav-link {
    text-decoration: none;
    color: #666;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.sub-nav-link:hover,
.sub-nav-link.active {
    color: #0066cc;
    background-color: #f0f8ff;
}

/* Hero Banner */
.hero-banner {
    margin: 20px 0;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Main Content */
.main-content {
    padding: 40px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.main-article {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.lottery-info h1 {
    color: #003d82;
    font-size: 2.5rem;
    margin-bottom: 24px;
    text-align: center;
}

.intro-text {
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 1.7;
}

.intro-text p {
    margin-bottom: 16px;
}

/* Info Sections */
.info-sections {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 24px;
    border-left: 4px solid #0066cc;
}

.info-card.highlight {
    background: linear-gradient(135deg, #f0f8ff, #e6f3ff);
    border-left-color: #ffd700;
}

.info-card h2 {
    color: #003d82;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.info-card p {
    margin-bottom: 12px;
}

.info-card a {
    color: #0066cc;
    text-decoration: underline;
}

.prize-list {
    list-style: none;
    padding: 0;
}

.prize-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.prize-list li:last-child {
    border-bottom: none;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.promo-carousel {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    position: relative;
}

.carousel-item {
    display: none;
    text-align: center;
}

.carousel-item.active {
    display: block;
}

.carousel-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 12px;
}

.carousel-item h3 {
    color: #333;
    font-size: 1.1rem;
}

.carousel-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
}

.carousel-prev,
.carousel-next {
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    font-size: 14px;
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #0066cc;
}

.help-center {
    background: linear-gradient(135deg, #0066cc, #003d82);
    color: white;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
}

.help-center h3 {
    margin-bottom: 8px;
}

.help-center p {
    margin-bottom: 16px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: white;
    margin-top: 60px;
}

.footer-help {
    background: linear-gradient(135deg, #0066cc, #003d82);
    padding: 40px;
    text-align: center;
    border-radius: 12px 12px 0 0;
}

.footer-help h3 {
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.footer-help p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.footer-content {
    padding: 40px 0;
}

.footer-logo {
    text-align: center;
    margin-bottom: 40px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.link-group h4 {
    color: #0066cc;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.link-group ul {
    list-style: none;
}

.link-group ul li {
    margin-bottom: 8px;
}

.link-group ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.link-group ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.legal-logos {
    display: flex;
    gap: 16px;
}

.legal-logo {
    width: 60px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.legal-logo:hover {
    opacity: 1;
}

.legal-logo.gioco-responsabile {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 40"><rect fill="%23fff" width="60" height="40" rx="4"/><text x="30" y="25" text-anchor="middle" fill="%23003d82" font-size="8">GIOCO RESP.</text></svg>');
}

.legal-logo.aams {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 40"><rect fill="%23fff" width="60" height="40" rx="4"/><text x="30" y="25" text-anchor="middle" fill="%23003d82" font-size="10">AAMS</text></svg>');
}

.legal-text {
    flex: 1;
    font-size: 12px;
    line-height: 1.4;
    color: #999;
}

.legal-text p {
    margin-bottom: 8px;
}

.legal-text a {
    color: #0066cc;
    text-decoration: underline;
}

.payment-methods img {
    height: 30px;
    width: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .header-content {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .main-nav {
        order: 3;
        width: 100%;
        margin: 0;
    }
    
    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        padding: 20px;
        gap: 0;
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .nav-link {
        padding: 12px 16px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .sub-nav-list {
        gap: 16px;
        padding: 0 16px;
    }
    
    .lottery-info h1 {
        font-size: 2rem;
    }
    
    .main-article {
        padding: 24px;
    }
    
    .info-card {
        padding: 20px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .auth-section {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .promo-banner .container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .lottery-info h1 {
        font-size: 1.75rem;
    }
    
    .info-card h2 {
        font-size: 1.2rem;
    }
    
    .carousel-controls {
        flex-direction: column;
        gap: 12px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-card {
    animation: fadeIn 0.6s ease-out;
}

.carousel-item {
    transition: opacity 0.3s ease-in-out;
}

/* Focus States for Accessibility */
.btn:focus,
.nav-link:focus,
.sub-nav-link:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

/* Utility Classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* Модальні вікна */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.8) translateY(20px);
    transition: transform 0.3s ease;
    z-index: 1001;
}

.modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 16px;
    border-bottom: 1px solid #e9ecef;
}

.modal-header h2 {
    color: #003d82;
    font-size: 1.5rem;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    background-color: #f1f3f4;
    color: #333;
}

.modal-body {
    padding: 24px;
}

/* Форми авторизації */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.form-group input {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #fff;
}

.form-group input:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group input.error {
    border-color: #dc3545;
}

.form-group input.success {
    border-color: #28a745;
}

.form-helper {
    font-size: 12px;
    color: #666;
    margin-top: -2px;
}

.form-error {
    font-size: 12px;
    color: #dc3545;
    margin-top: -2px;
    min-height: 16px;
}

/* Поле пароля з кнопкою показати/сховати */
.password-field {
    position: relative;
}

.password-field input {
    padding-right: 48px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #333;
}

/* Індикатор сили пароля */
.password-strength {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.strength-bar {
    flex: 1;
    height: 4px;
    background-color: #e9ecef;
    border-radius: 2px;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    width: 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-fill.weak {
    width: 25%;
    background-color: #dc3545;
}

.strength-fill.fair {
    width: 50%;
    background-color: #ffc107;
}

.strength-fill.good {
    width: 75%;
    background-color: #17a2b8;
}

.strength-fill.strong {
    width: 100%;
    background-color: #28a745;
}

.strength-text {
    font-size: 12px;
    color: #666;
    min-width: 80px;
}

/* Опції форми */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 8px 0;
}

.forgot-password {
    color: #0066cc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Чекбокси */
.checkbox-group {
    margin: 8px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e9ecef;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 1px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: #0066cc;
    border-color: #0066cc;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label a {
    color: #0066cc;
    text-decoration: underline;
}

/* Кнопки */
.btn-full {
    width: 100%;
}

/* Розділювач */
.form-divider {
    position: relative;
    text-align: center;
    margin: 16px 0;
}

.form-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #e9ecef;
}

.form-divider span {
    background-color: white;
    padding: 0 16px;
    color: #666;
    font-size: 14px;
}

/* Інформація про відновлення пароля */
.forgot-info {
    text-align: center;
    margin-bottom: 24px;
    padding: 16px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #0066cc;
}

.forgot-info p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

/* Анімації */
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes modalSlideOut {
    from {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    to {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
}

/* Responsive дизайн */
@media (max-width: 768px) {
    .modal-content {
        max-width: 95%;
        margin: 10px;
    }
    
    .modal-header,
    .modal-body {
        padding: 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .form-options {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .checkbox-label {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
        display: flex;
        flex-direction: column;
    }
    
    .modal-body {
        flex: 1;
        overflow-y: auto;
    }
    
    .form-group input {
        font-size: 16px; /* Запобігає масштабуванню на iOS */
    }
}

/* Стани завантаження */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Успішне повідомлення */
.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #c3e6cb;
    margin-bottom: 20px;
    text-align: center;
}

.success-message.show {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.toc-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.toc-list li {
    margin: 0;
}

.toc-list a {
    display: block;
    padding: 12px 16px;
    color: #0066cc;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
    line-height: 1.4;
}

.toc-list a:hover {
    background-color: #e6f3ff;
    color: #0056b3;
    transform: translateX(4px);
}

/* Policy Content */
.policy-content {
    line-height: 1.7;
    color: #333;
}

.policy-section {
    margin-bottom: 48px;
    scroll-margin-top: 100px;
}

.policy-section:last-child {
    margin-bottom: 80px;
}

.policy-section h2 {
    color: #003d82;
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e6f3ff;
    position: relative;
}

.policy-section h2::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: #0066cc;
}

.policy-section h3 {
    color: #0066cc;
    font-size: 1.3rem;
    margin: 24px 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.policy-section h4 {
    color: #333;
    font-size: 1.1rem;
    margin: 20px 0 12px;
    font-weight: 600;
}

.policy-section p {
    margin-bottom: 16px;
    text-align: justify;
}

.policy-section ul,
.policy-section ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.policy-section li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Highlight Boxes */
.highlight-box {
    background: linear-gradient(135deg, #e6f3ff, #f0f8ff);
    border-left: 4px solid #0066cc;
    border-radius: 0 8px 8px 0;
    padding: 20px;
    margin: 24px 0;
}

.highlight-box h3 {
    color: #003d82;
    margin-top: 0;
    margin-bottom: 12px;
}

.highlight-box ul {
    margin-bottom: 0;
}

/* Contact Info */
.contact-info {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e9ecef;
}

.contact-info address {
    font-style: normal;
    line-height: 1.6;
    margin-bottom: 12px;
}

.contact-info a {
    color: #0066cc;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Data Categories Grid */
.data-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.data-category {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border-left: 4px solid #0066cc;
}

.data-category h3 {
    color: #003d82;
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.data-category ul {
    margin-bottom: 0;
    padding-left: 20px;
}

/* Purposes Grid */
.purposes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.purpose-item {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.purpose-item:hover {
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.15);
    transform: translateY(-2px);
}

.purpose-item h3 {
    color: #003d82;
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.purpose-item p {
    margin-bottom: 0;
    font-size: 14px;
    color: #666;
}

/* Legal Basis List */
.legal-basis-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.basis-item {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    border-left: 4px solid #28a745;
}

.basis-item h3 {
    color: #155724;
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1rem;
}

.basis-item p {
    margin-bottom: 0;
    font-size: 14px;
    color: #155724;
}

/* Sharing Categories */
.sharing-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.sharing-item {
    background-color: #fff5f5;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 20px;
}

.sharing-item h3 {
    color: #dc2626;
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.sharing-item p {
    margin-bottom: 0;
    color: #7f1d1d;
    font-size: 14px;
}

/* Important Note */
.important-note {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    border: 1px solid #16a34a;
    border-radius: 8px;
    padding: 20px;
    margin: 24px 0;
}

.important-note h3 {
    color: #166534;
    margin-top: 0;
    margin-bottom: 12px;
}

.important-note p {
    color: #166534;
    margin-bottom: 0;
    font-weight: 500;
}

/* Retention Table */
.retention-table {
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    margin: 24px 0;
    border: 1px solid #e9ecef;
}

.retention-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid #e9ecef;
}

.retention-row:last-child {
    border-bottom: none;
}

.retention-category {
    padding: 16px 20px;
    background-color: #ffffff;
    font-weight: 600;
    color: #333;
    border-right: 1px solid #e9ecef;
}

.retention-period {
    padding: 16px 20px;
    background-color: #f8f9fa;
    color: #666;
    font-size: 14px;
}

/* Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.right-item {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.right-item:hover {
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
    border-color: #0066cc;
}

.right-item h3 {
    color: #003d82;
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.right-item p {
    margin-bottom: 0;
    font-size: 14px;
    color: #666;
}

/* Rights Contact */
.rights-contact {
    background: linear-gradient(135deg, #e6f3ff, #f0f8ff);
    border-radius: 8px;
    padding: 24px;
    margin: 24px 0;
    border: 1px solid #0066cc;
}

.rights-contact h3 {
    color: #003d82;
    margin-top: 0;
    margin-bottom: 16px;
}

.rights-contact ul {
    margin-bottom: 16px;
}

.rights-contact a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
}

.rights-contact a:hover {
    text-decoration: underline;
}

/* Cookie Types */
.cookie-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.cookie-type {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border-left: 4px solid #ffc107;
}

.cookie-type h3 {
    color: #856404;
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.cookie-type p {
    margin-bottom: 0;
    color: #856404;
    font-size: 14px;
}

/* Security Measures */
.security-measures {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.security-item {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.security-item:hover {
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.15);
    border-color: #28a745;
}

.security-item h3 {
    color: #28a745;
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.security-item p {
    margin-bottom: 0;
    font-size: 14px;
    color: #666;
}

/* Minor Protection */
.minor-protection {
    background: linear-gradient(135deg, #fff5f5, #fef2f2);
    border: 1px solid #fca5a5;
    border-radius: 8px;
    padding: 20px;
    margin: 24px 0;
}

.minor-protection h3 {
    color: #dc2626;
    margin-top: 0;
    margin-bottom: 16px;
}

.minor-protection ul {
    margin-bottom: 0;
    color: #7f1d1d;
}

/* Contact Methods */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.contact-method {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border-left: 4px solid #0066cc;
}

.contact-method h3 {
    color: #003d82;
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.contact-method p,
.contact-method address {
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
    font-style: normal;
}

.contact-method a {
    color: #0066cc;
    text-decoration: none;
}

.contact-method a:hover {
    text-decoration: underline;
}

/* Authority Contact */
.authority-contact {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 20px;
    margin: 24px 0;
}

.authority-contact h3 {
    color: #92400e;
    margin-top: 0;
    margin-bottom: 16px;
}

.authority-contact p {
    color: #92400e;
    margin-bottom: 12px;
}

.authority-contact address {
    font-style: normal;
    color: #92400e;
    line-height: 1.6;
}

.authority-contact a {
    color: #92400e;
    font-weight: 500;
}

/* Terms and Conditions Specific Styles */

/* Company Info */
.company-info {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 24px;
    margin: 24px 0;
    border: 1px solid #e9ecef;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.info-item {
    padding: 12px;
    background-color: white;
    border-radius: 6px;
    border-left: 3px solid #0066cc;
    font-size: 14px;
}

/* Regulatory Info */
.regulatory-info {
    background: linear-gradient(135deg, #e6f3ff, #f0f8ff);
    border-radius: 8px;
    padding: 24px;
    margin: 24px 0;
    border: 1px solid #0066cc;
}

.regulatory-info h3 {
    color: #003d82;
    margin-top: 0;
    margin-bottom: 16px;
}

.regulatory-info ul {
    margin-bottom: 0;
}

/* Acceptance Terms */
.acceptance-terms {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 24px;
    margin: 24px 0;
}

.acceptance-methods h3 {
    color: #003d82;
    margin-bottom: 16px;
}

.binding-nature {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border-radius: 6px;
    padding: 16px;
    margin-top: 20px;
    border-left: 4px solid #ffc107;
}

.binding-nature h3 {
    color: #856404;
    margin-top: 0;
    margin-bottom: 12px;
}

.binding-nature p {
    color: #856404;
    margin-bottom: 0;
}

/* Requirements Grid */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.requirement-item {
    background-color: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.requirement-item:hover {
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
    border-color: #0066cc;
}

.requirement-item h4 {
    color: #003d82;
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1rem;
}

.requirement-item p {
    margin-bottom: 0;
    font-size: 13px;
    color: #666;
}

/* Prohibited Users */
.prohibited-users {
    background: linear-gradient(135deg, #fff5f5, #fef2f2);
    border: 1px solid #fca5a5;
    border-radius: 8px;
    padding: 20px;
    margin: 24px 0;
}

.prohibited-users h3 {
    color: #dc2626;
    margin-top: 0;
    margin-bottom: 16px;
}

.prohibited-users ul {
    margin-bottom: 0;
    color: #7f1d1d;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.step {
    background-color: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    position: relative;
    counter-increment: step-counter;
}

.step::before {
    content: counter(step-counter);
    position: absolute;
    top: -12px;
    left: 20px;
    background-color: #0066cc;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.step h4 {
    color: #003d82;
    margin-top: 8px;
    margin-bottom: 12px;
}

.step p {
    margin-bottom: 0;
    font-size: 14px;
    color: #666;
}

.process-steps {
    counter-reset: step-counter;
}

/* Account Rules */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.rule-item {
    background-color: #f8f9fa;
    border-radius: 6px;
    padding: 16px;
    border-left: 4px solid #28a745;
}

.rule-item h4 {
    color: #155724;
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.rule-item p {
    margin-bottom: 0;
    font-size: 13px;
    color: #155724;
}

/* Financial Operations */
.financial-operations {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 24px;
    margin: 24px 0;
}

.deposit-info,
.withdrawal-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 16px 0;
}

.payment-methods,
.deposit-limits,
.withdrawal-rules,
.withdrawal-limits,
.processing-times {
    background-color: white;
    border-radius: 6px;
    padding: 16px;
    border-left: 4px solid #0066cc;
}

.payment-methods h4,
.deposit-limits h4,
.withdrawal-rules h4,
.withdrawal-limits h4,
.processing-times h4 {
    color: #003d82;
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.payment-methods ul,
.deposit-limits ul,
.withdrawal-rules ul,
.withdrawal-limits ul,
.processing-times ul {
    margin-bottom: 0;
    font-size: 14px;
}

/* Game Categories */
.game-category {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 16px 0;
    border-left: 4px solid #17a2b8;
}

.game-category h4 {
    color: #0c5460;
    margin-top: 0;
    margin-bottom: 12px;
}

.game-category ul {
    margin-bottom: 0;
    color: #0c5460;
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.tool-item {
    background-color: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    border-top: 4px solid #28a745;
}

.tool-item h4 {
    color: #155724;
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1rem;
}

.tool-item p {
    margin-bottom: 0;
    font-size: 13px;
    color: #666;
}

/* Warning Signs */
.warning-signs {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 20px;
    margin: 24px 0;
}

.warning-signs h3 {
    color: #856404;
    margin-top: 0;
    margin-bottom: 16px;
}

.warning-signs p {
    color: #856404;
    margin-bottom: 12px;
}

.warning-signs ul {
    margin-bottom: 0;
    color: #856404;
}

/* Help Resources */
.help-resources {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 24px;
    margin: 24px 0;
}

.help-contacts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 16px 0;
}

.help-organization {
    background-color: white;
    border-radius: 6px;
    padding: 16px;
    border-left: 4px solid #28a745;
}

.help-organization h4 {
    color: #155724;
    margin-top: 0;
    margin-bottom: 8px;
}

.help-organization p {
    margin-bottom: 4px;
    font-size: 14px;
    color: #155724;
}

/* Bonus Grid */
.bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 16px 0;
}

.bonus-type {
    background-color: white;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 16px;
    text-align: center;
    border-top: 3px solid #ffc107;
}

.bonus-type h5 {
    color: #856404;
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.bonus-type p {
    margin-bottom: 0;
    font-size: 13px;
    color: #666;
}

/* Prohibition Categories */
.prohibition-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.prohibition-category {
    background: linear-gradient(135deg, #fff5f5, #fef2f2);
    border: 1px solid #fca5a5;
    border-radius: 8px;
    padding: 20px;
}

.prohibition-category h4 {
    color: #dc2626;
    margin-top: 0;
    margin-bottom: 12px;
}

.prohibition-category ul {
    margin-bottom: 0;
    color: #7f1d1d;
}

/* Consequences */
.consequences {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 20px;
    margin: 24px 0;
}

.consequences h3 {
    color: #92400e;
    margin-top: 0;
    margin-bottom: 16px;
}

.consequences p {
    color: #92400e;
    margin-bottom: 12px;
}

.consequences ul {
    margin-bottom: 0;
    color: #92400e;
}

/* IP Ownership */
.ip-ownership {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 24px;
    margin: 24px 0;
    border: 1px solid #e9ecef;
}

/* Usage Rights */
.usage-rights {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 24px;
    margin: 24px 0;
}

.usage-rights h4 {
    color: #dc2626;
    margin-top: 16px;
    margin-bottom: 12px;
}

/* Liability Categories */
.liability-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.liability-item {
    background-color: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
    border-left: 4px solid #ffc107;
}

.liability-item h4 {
    color: #856404;
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1rem;
}

.liability-item ul {
    margin-bottom: 0;
    font-size: 14px;
    color: #856404;
}

/* Maximum Liability */
.maximum-liability {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 20px;
    margin: 24px 0;
}

.maximum-liability h3 {
    color: #856404;
    margin-top: 0;
    margin-bottom: 16px;
}

.maximum-liability p {
    color: #856404;
    margin-bottom: 12px;
}

.maximum-liability ul {
    margin-bottom: 0;
    color: #856404;
}

/* Resolution Steps */
.resolution-steps {
    margin: 24px 0;
}

.resolution-steps .step {
    margin-bottom: 24px;
    border-left: 4px solid #0066cc;
}

.resolution-steps .step h4 {
    color: #003d82;
}

.resolution-steps .step ul {
    font-size: 14px;
    color: #666;
}

/* ADR Entities */
.adr-entities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.adr-entity {
    background-color: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    border-left: 4px solid #17a2b8;
}

.adr-entity h4 {
    color: #0c5460;
    margin-top: 0;
    margin-bottom: 12px;
}

.adr-entity p {
    margin-bottom: 8px;
    font-size: 14px;
    color: #0c5460;
}

/* Notification Methods */
.notification-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.notification-method {
    background-color: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    border-top: 3px solid #17a2b8;
}

.notification-method h4 {
    color: #0c5460;
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1rem;
}

.notification-method p {
    margin-bottom: 0;
    font-size: 13px;
    color: #666;
}

/* Acceptance Refusal */
.acceptance-refusal {
    background: linear-gradient(135deg, #e6f3ff, #f0f8ff);
    border: 1px solid #0066cc;
    border-radius: 8px;
    padding: 20px;
    margin: 24px 0;
}

.acceptance-refusal h3 {
    color: #003d82;
    margin-top: 0;
    margin-bottom: 16px;
}

.acceptance-refusal ul {
    margin-bottom: 0;
    color: #003d82;
}

/* Closure Conditions */
.closure-conditions {
    background-color: #f8f9fa;
    border-radius: 6px;
    padding: 16px;
    margin: 16px 0;
    border-left: 4px solid #28a745;
}

.closure-conditions h4 {
    color: #155724;
    margin-top: 0;
    margin-bottom: 12px;
}

.closure-conditions ul {
    margin-bottom: 0;
    color: #155724;
}

/* Suspension and Closure Reasons */
.suspension-reasons,
.closure-reasons {
    background-color: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 16px 0;
}

.suspension-reasons {
    border-left: 4px solid #ffc107;
}

.closure-reasons {
    border-left: 4px solid #dc3545;
}

.suspension-reasons h4 {
    color: #856404;
    margin-top: 0;
    margin-bottom: 12px;
}

.closure-reasons h4 {
    color: #721c24;
    margin-top: 0;
    margin-bottom: 12px;
}

.suspension-reasons ul,
.closure-reasons ul {
    margin-bottom: 0;
    font-size: 14px;
}

.suspension-reasons ul {
    color: #856404;
}

.closure-reasons ul {
    color: #721c24;
}

/* Funds Handling */
.funds-handling {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    border: 1px solid #16a34a;
    border-radius: 8px;
    padding: 20px;
    margin: 24px 0;
}

.funds-handling h3 {
    color: #166534;
    margin-top: 0;
    margin-bottom: 16px;
}

.funds-handling ul {
    margin-bottom: 0;
    color: #166534;
}

/* Governing Law */
.governing-law {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 24px;
    margin: 24px 0;
    border: 1px solid #e9ecef;
}

.governing-law h3 {
    color: #003d82;
    margin-top: 0;
    margin-bottom: 16px;
}

.governing-law ul {
    margin-bottom: 0;
}

/* Jurisdiction */
.jurisdiction {
    background: linear-gradient(135deg, #e6f3ff, #f0f8ff);
    border: 1px solid #0066cc;
    border-radius: 8px;
    padding: 20px;
    margin: 24px 0;
}

.jurisdiction h3 {
    color: #003d82;
    margin-top: 0;
    margin-bottom: 16px;
}

.jurisdiction ul {
    margin-bottom: 0;
    color: #003d82;
}

/* Compliance Areas */
.compliance-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 16px 0;
}

.compliance-item {
    background-color: white;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 16px;
    text-align: center;
    border-top: 3px solid #28a745;
}

.compliance-item h4 {
    color: #155724;
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.compliance-item p {
    margin-bottom: 0;
    font-size: 13px;
    color: #666;
}

/* Legal Contacts */
.legal-contacts {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 24px;
    margin: 24px 0;
}

/* Final Provisions */
.final-provisions {
    margin: 32px 0;
}

.provision-item {
    background-color: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 16px 0;
    border-left: 4px solid #6c757d;
}

.provision-item h4 {
    color: #495057;
    margin-top: 0;
    margin-bottom: 12px;
}

.provision-item p {
    margin-bottom: 0;
    color: #495057;
    font-size: 14px;
}

/* Signature Section */
.signature-section {
    text-align: right;
    margin: 40px 0;
    padding: 24px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-top: 3px solid #0066cc;
}

.company-signature p {
    margin: 4px 0;
    color: #333;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .policy-header h1 {
        font-size: 2rem;
    }
    
    .policy-meta {
        grid-template-columns: 1fr;
    }
    
    .toc-list {
        grid-template-columns: 1fr;
    }
    
    .data-categories,
    .purposes-grid,
    .rights-grid,
    .security-measures,
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .retention-table .retention-row {
        grid-template-columns: 1fr;
    }
    
    .retention-category {
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }
    
    .requirements-grid,
    .rules-grid,
    .tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .prohibition-categories,
    .liability-categories,
    .adr-entities {
        grid-template-columns: 1fr;
    }
    
    .notification-methods,
    .compliance-areas {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 480px) {
    .policy-header {
        padding: 24px 0 20px;
    }
    
    .policy-header h1 {
        font-size: 1.75rem;
    }
    
    .policy-section {
        margin-bottom: 32px;
    }
    
    .policy-section h2 {
        font-size: 1.5rem;
    }
    
    .policy-section h3 {
        font-size: 1.2rem;
    }
    
    .table-of-contents,
    .highlight-box,
    .important-notice,
    .contact-info {
        padding: 16px;
    }
    
    .data-category,
    .purpose-item,
    .right-item,
    .security-item,
    .contact-method {
        padding: 16px;
    }
    
    .step {
        padding: 16px;
    }
    
    .step::before {
        left: 16px;
    }
    
    .notification-methods,
    .compliance-areas,
    .bonus-grid {
        grid-template-columns: 1fr;
    }
    
    .requirements-grid,
    .rules-grid,
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .signature-section {
        text-align: center;
        padding: 16px;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .breadcrumb {
        display: none;
    }
    
    .policy-page {
        background: white;
    }
    
    .policy-header {
        border-bottom: 2px solid #000;
        page-break-after: avoid;
    }
    
    .policy-section {
        page-break-inside: avoid;
        margin-bottom: 24px;
    }
    
    .policy-section h2 {
        page-break-after: avoid;
        border-bottom: 1px solid #000;
    }
    
    .table-of-contents {
        page-break-after: always;
        border: 1px solid #000;
    }
    
    .highlight-box,
    .important-notice,
    .important-note {
        border: 1px solid #000;
        background: #f5f5f5 !important;
    }
    
    .data-categories,
    .purposes-grid,
    .rights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .security-measures,
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    a {
        color: #000 !important;
        text-decoration: underline;
    }
    
    .signature-section {
        page-break-inside: avoid;
        border-top: 2px solid #000;
    }
}

/* Dark Mode Support (optional) */
@media (prefers-color-scheme: dark) {
    .policy-page {
        background-color: #1a1a1a;
        color: #e0e0e0;
    }
    
    .policy-header {
        border-bottom-color: #4a9eff;
    }
    
    .policy-header h1 {
        color: #4a9eff;
    }
    
    .policy-section h2 {
        color: #4a9eff;
        border-bottom-color: #2a2a2a;
    }
    
    .policy-section h2::before {
        background-color: #4a9eff;
    }
    
    .policy-section h3 {
        color: #6db3f2;
    }
    
    .table-of-contents,
    .contact-info,
    .policy-meta {
        background-color: #2a2a2a;
        border-color: #404040;
    }
    
    .toc-list a {
        color: #6db3f2;
    }
    
    .toc-list a:hover {
        background-color: #404040;
    }
    
    .data-category,
    .purpose-item,
    .right-item,
    .security-item {
        background-color: #2a2a2a;
        border-color: #404040;
    }
    
    .highlight-box {
        background: linear-gradient(135deg, #2a3a4a, #3a4a5a);
        border-left-color: #4a9eff;
    }
}

/* Accessibility Enhancements */
.policy-section:target {
    animation: highlight-section 2s ease-in-out;
}

@keyframes highlight-section {
    0% {
        background-color: #fffbf0;
    }
    100% {
        background-color: transparent;
    }
}

/* Focus styles for better keyboard navigation */
.toc-list a:focus,
.policy-content a:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
    border-radius: 4px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .policy-section h2::before {
        background-color: #000;
    }
    
    .highlight-box,
    .important-notice {
        border-width: 2px;
    }
    
    .data-category,
    .purpose-item,
    .right-item {
        border-width: 2px;
    }
}/* Policy Pages Styles */

/* Breadcrumb Navigation */
.breadcrumb {
    background-color: #f8f9fa;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '›';
    margin: 0 8px;
    color: #666;
}

.breadcrumb-list a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-list a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.breadcrumb-list li[aria-current="page"] {
    color: #666;
    font-weight: 500;
}

/* Policy Page Layout */
.policy-page {
    background-color: #fff;
    min-height: calc(100vh - 200px);
}

.policy-page .container {
    max-width: 1200px;
}

/* Policy Header */
.policy-header {
    padding: 40px 0 32px;
    border-bottom: 2px solid #0066cc;
    margin-bottom: 32px;
}

.policy-header h1 {
    color: #003d82;
    font-size: 2.5rem;
    margin-bottom: 16px;
    line-height: 1.2;
}

.policy-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #0066cc;
}

.policy-meta p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.policy-meta strong {
    color: #333;
}

/* Important Notice */
.important-notice {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 32px;
}

.important-notice h2 {
    color: #856404;
    font-size: 1.2rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.important-notice p {
    color: #856404;
    margin: 0;
    line-height: 1.6;
}

/* Table of Contents */
.table-of-contents {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 40px;
    border: 1px solid #e9ecef;
}

.table-of-contents h2 {
    color: #003d82;
    font-size: 1.3rem;
    margin-bottom: 16px;
    text-align: center;
}
