:root {
    --primary-color: #e8c5d8;
    --secondary-color: #d4a5c4;
    --dark-bg: #0a0a0a;
    --card-bg: rgba(51, 51, 51, 0.3);
    --border-color: rgba(85, 85, 85, 0.3);
    --text-primary: #ffffff;
    --text-secondary: rgba(204, 204, 204, 0.9);
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.4);
    --border-radius: 15px;
    --transition: all 0.3s ease;
}

.breadcrumb {
    padding: 15px 0;
    background: rgba(26, 26, 26, 0.8);
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.breadcrumb-nav a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.breadcrumb-nav a:hover {
    color: var(--secondary-color);
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-current {
    color: var(--text-secondary);
    font-size: 14px;
}

.policy-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    overflow: hidden;
    padding: 60px 20px;
}

.policy-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 50%, rgba(232, 197, 216, 0.05) 0%, transparent 70%);
    z-index: 1;
}

.policy-hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
    max-width: 100%;
}

.policy-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.policy-title .title-line {
    display: block;
}

.policy-title .gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ffffff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.policy-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

.last-updated {
    display: inline-block;
    background: rgba(232, 197, 216, 0.1);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: clamp(12px, 2vw, 14px);
    border: 1px solid rgba(232, 197, 216, 0.2);
}

.policy-main {
    padding: 40px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.policy-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
}

.policy-sidebar {
    position: sticky;
    top: 100px;
}

.toc-container {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    padding: 25px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.toc-title {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 12px;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: 6px;
}

.toc-link {
    display: block;
    padding: 10px 15px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 10px;
    transition: var(--transition);
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    font-weight: 500;
    border: 1px solid transparent;
    position: relative;
}

.toc-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 0 3px 3px 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.toc-link:hover,
.toc-link.active {
    color: var(--primary-color);
    background: rgba(232, 197, 216, 0.1);
    border-color: rgba(232, 197, 216, 0.3);
    transform: translateX(8px);
}

.toc-link:hover::before,
.toc-link.active::before {
    opacity: 1;
}

.policy-content {
    background: transparent;
    min-width: 0;
}

.policy-section {
    margin-bottom: 40px;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.policy-section:hover {
    border-color: rgba(232, 197, 216, 0.2);
    box-shadow: var(--shadow-medium);
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0;
    padding: 25px 30px 20px;
    background: rgba(232, 197, 216, 0.05);
    border-bottom: 1px solid rgba(85, 85, 85, 0.2);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 30px;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.section-content {
    padding: 30px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.section-content p {
    margin-bottom: 20px;
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
}

.section-content h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    font-weight: 600;
    color: var(--text-primary);
    margin: 25px 0 15px;
}

.section-content h4 {
    font-size: clamp(1.1rem, 2vw, 1.2rem);
    font-weight: 600;
    color: var(--primary-color);
    margin: 20px 0 10px;
}

.policy-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.policy-list li {
    padding: 12px 0 12px 35px;
    position: relative;
    border-bottom: 1px solid rgba(85, 85, 85, 0.2);
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

.policy-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 12px;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.highlight-box {
    background: rgba(232, 197, 216, 0.1);
    padding: 20px;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--primary-color);
    margin: 20px 0;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(232, 197, 216, 0.2);
}

.highlight-box h4 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.warning-box {
    background: rgba(255, 182, 193, 0.1);
    padding: 20px;
    border-radius: var(--border-radius);
    border-left: 5px solid #ffb6c1;
    margin: 20px 0;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(255, 182, 193, 0.2);
}

.warning-box h4 {
    color: #ffb6c1;
    margin-bottom: 12px;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.usage-item {
    background: rgba(51, 51, 51, 0.5);
    padding: 25px 20px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.usage-item:hover {
    transform: translateY(-5px);
    border-color: rgba(232, 197, 216, 0.3);
    box-shadow: var(--shadow-medium);
}

.usage-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.usage-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.usage-item h4 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: clamp(1rem, 2vw, 1.1rem);
    margin-top: 0;
}

.usage-item p {
    color: var(--text-secondary);
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    margin: 0;
}

.cookies-types {
    display: grid;
    gap: 15px;
    margin: 20px 0;
}

.cookie-type {
    background: rgba(51, 51, 51, 0.5);
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition);
}

.cookie-type:hover {
    border-color: rgba(232, 197, 216, 0.3);
    transform: translateX(5px);
}

.cookie-type h4 {
    margin-bottom: 10px;
    color: var(--text-primary);
    font-size: clamp(1rem, 2vw, 1.1rem);
    padding-right: 80px;
}

.cookie-type p {
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
}

.cookie-required {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff4757;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    font-weight: 500;
}

.cookie-optional {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #4ade80;
    color: #000;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    font-weight: 500;
}

.cookie-settings-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #000;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    margin-top: 20px;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

.cookie-settings-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 197, 216, 0.4);
}

.security-measures {
    display: grid;
    gap: 15px;
    margin: 20px 0;
}

.security-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    background: rgba(51, 51, 51, 0.5);
    padding: 25px 20px 20px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.security-item:hover {
    border-color: rgba(232, 197, 216, 0.3);
    transform: translateY(-2px);
}

.security-icon {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

.security-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.security-info {
    flex: 1;
    min-width: 0;
}

.security-info h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: clamp(1rem, 2vw, 1.1rem);
    margin-top: 0;
}

.security-info p {
    margin: 0;
    color: var(--text-secondary);
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
}

.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.right-item {
    background: rgba(51, 51, 51, 0.5);
    padding: 20px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.right-item:hover {
    transform: translateY(-3px);
    border-color: rgba(232, 197, 216, 0.3);
    box-shadow: var(--shadow-light);
}

.right-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: clamp(1rem, 2vw, 1.1rem);
}

.right-item p {
    margin: 0;
    color: var(--text-secondary);
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
}

.contact-rights {
    text-align: center;
    margin-top: 25px;
    padding: 20px;
    background: rgba(232, 197, 216, 0.1);
    border-radius: var(--border-radius);
    border: 1px solid rgba(232, 197, 216, 0.2);
}

.contact-rights p {
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

.contact-email {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(1rem, 2vw, 1.1rem);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 2px;
    transition: var(--transition);
    display: inline-block;
    word-break: break-all;
}

.contact-email:hover {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.minors-policy {
    background: rgba(255, 182, 193, 0.05);
    padding: 20px;
    border-radius: var(--border-radius);
    border-left: 5px solid #ffb6c1;
    margin: 20px 0;
    border: 1px solid rgba(255, 182, 193, 0.2);
}

.parent-notice {
    background: rgba(255, 255, 255, 0.05);
    padding: 18px;
    border-radius: 8px;
    margin-top: 15px;
    border: 1px solid rgba(255, 182, 193, 0.2);
}

.parent-notice h4 {
    color: #ffb6c1;
    margin-bottom: 10px;
    font-size: clamp(1rem, 2vw, 1.1rem);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.contact-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    background: rgba(51, 51, 51, 0.5);
    padding: 25px 20px 20px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.contact-method:hover {
    background: rgba(51, 51, 51, 0.7);
    box-shadow: var(--shadow-light);
    transform: translateY(-2px);
    border-color: rgba(232, 197, 216, 0.3);
}

.contact-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

.contact-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-details {
    flex: 1;
    min-width: 0;
}

.contact-details h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: clamp(0.95rem, 1.8vw, 1rem);
    margin-top: 0;
}

.contact-details a,
.contact-details p {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0;
    line-height: 1.4;
    font-size: clamp(0.85rem, 1.5vw, 0.9rem);
    word-break: break-word;
}

.contact-details a:hover {
    color: var(--primary-color);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    padding: 20px;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-content {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    padding: 30px;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 100%;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
    transform: translateY(-50px);
    transition: var(--transition);
}

.modal-overlay.show .cookie-modal-content {
    transform: translateY(0);
}

.cookie-modal-content h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: clamp(1.4rem, 3vw, 1.8rem);
}

.cookie-modal-content p {
    color: var(--text-secondary);
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

.cookie-options {
    margin: 20px 0;
}

.cookie-option {
    padding: 12px 0;
    border-bottom: 1px solid rgba(85, 85, 85, 0.3);
}

.cookie-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-secondary);
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

.cookie-name {
    flex: 1;
}

.cookie-required-label {
    background: #ff4757;
    color: white;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    white-space: nowrap;
}

.cookie-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

.cookie-btn.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #000;
    border: none;
}

.cookie-btn.secondary {
    background: transparent;
    color: var(--primary-color);
}

.cookie-btn:hover {
    transform: translateY(-2px);
}

.cookie-btn.primary:hover {
    box-shadow: 0 5px 15px rgba(232, 197, 216, 0.4);
}

.cookie-btn.secondary:hover {
    background: rgba(232, 197, 216, 0.1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .policy-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .policy-sidebar {
        position: static;
        order: -1;
    }

    .toc-container {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .policy-hero {
        padding: 50px 15px;
        min-height: 35vh;
    }

    .policy-main {
        padding: 30px 0;
    }
    
    .section-title {
        padding: 20px;
    }
    
    .section-title::after {
        left: 20px;
    }
    
    .section-content {
        padding: 20px;
    }
    
    .usage-grid,
    .rights-grid,
    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .usage-icon {
        width: 65px;
        height: 65px;
    }

    .security-icon {
        width: 65px;
        height: 65px;
    }

    .contact-icon {
        width: 55px;
        height: 55px;
    }

    .policy-list li {
        padding-left: 30px;
    }

    .cookie-type h4 {
        padding-right: 70px;
    }
}

@media (max-width: 480px) {
    .policy-hero {
        padding: 40px 15px;
    }
    
    .policy-main {
        padding: 20px 0;
    }
    
    .toc-container {
        padding: 15px;
    }
    
    .section-title {
        padding: 15px;
    }
    
    .section-content {
        padding: 15px;
    }
    
    .cookie-modal-content {
        padding: 20px;
    }
    
    .cookie-modal-actions {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }

    .usage-icon {
        width: 55px;
        height: 55px;
    }

    .security-icon {
        width: 55px;
        height: 55px;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
    }

    .policy-section {
        margin-bottom: 25px;
    }

    .highlight-box,
    .warning-box,
    .minors-policy {
        padding: 15px;
    }

    .parent-notice {
        padding: 15px;
    }

    .contact-rights {
        padding: 15px;
    }

    .cookie-type h4 {
        padding-right: 60px;
    }

    .cookie-required,
    .cookie-optional {
        top: 12px;
        right: 12px;
        padding: 3px 6px;
    }
}

@media print {
    .policy-sidebar,
    .modal-overlay,
    .back-to-top,
    .toast-container,
    .cookie-settings-btn {
        display: none !important;
    }
    
    .policy-layout {
        grid-template-columns: 1fr;
    }
    
    .policy-hero {
        background: none !important;
        color: black !important;
    }
    
    .section-title {
        page-break-after: avoid;
    }
    
    .policy-section {
        page-break-inside: avoid;
    }
}