.legal-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(180deg, #0a0c1b 0%, #151a35 100%);
    position: relative;
    overflow: hidden;
}

.legal-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(0, 217, 255, 0.1) 0%, transparent 50%);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-label {
    display: inline-block;
    font-family: var(--font-terminal);
    font-size: 0.9rem;
    color: var(--pulse-accent);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 50px;
    background: rgba(0, 217, 255, 0.05);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-terminal);
    font-size: clamp(2.5rem, 5vw + 1rem, 4rem);
    color: var(--star-text);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--comet-text);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.8rem 1.2rem;
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.1);
    border-radius: 50px;
}

.meta-item i {
    color: var(--pulse-accent);
    font-size: 1rem;
}

.meta-item span {
    font-size: 0.9rem;
    color: var(--comet-text);
}

.legal-content {
    padding: 4rem 0;
    background: linear-gradient(180deg, #151a35 0%, #0a0c1b 100%);
}

.content-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
    align-items: start;
}

.legal-nav {
    position: sticky;
    top: 2rem;
}

.nav-sticky {
    background: rgba(21, 26, 53, 0.8);
    border: 1px solid rgba(0, 217, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.nav-title {
    font-family: var(--font-interface);
    font-size: 1rem;
    color: var(--star-text);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links li {
    margin-bottom: 0.8rem;
}

.nav-links .nav-link {
    display: block;
    padding: 0.7rem 1rem;
    color: var(--comet-text);
    text-decoration: none;
    border-radius: 8px;
    transition: all var(--transition-quantum);
    font-size: 0.9rem;
}

.nav-links .nav-link:hover {
    background: rgba(0, 217, 255, 0.05);
    color: var(--star-text);
    padding-left: 1.2rem;
}

.nav-links .nav-link:active {
    background: rgba(0, 217, 255, 0.1);
}

.legal-article {
    background: rgba(21, 26, 53, 0.5);
    border: 1px solid rgba(0, 217, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
}

.legal-section {
    margin-bottom: 4rem;
    scroll-margin-top: 2rem;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-interface);
    font-size: 1.8rem;
    color: var(--star-text);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 217, 255, 0.2);
}

.section-title i {
    color: var(--pulse-accent);
    font-size: 1.5rem;
}

.legal-section p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--comet-text);
    margin-bottom: 1.5rem;
}

.legal-section ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-section li {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--comet-text);
    margin-bottom: 0.5rem;
}

.data-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.category-card {
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all var(--transition-quantum);
}

.category-card:hover {
    border-color: var(--pulse-accent);
    background: rgba(0, 217, 255, 0.1);
    transform: translateY(-3px);
}

.category-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: rgba(0, 217, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.category-icon i {
    font-size: 1.5rem;
    color: var(--pulse-accent);
}

.category-card h3 {
    font-family: var(--font-interface);
    font-size: 1.2rem;
    color: var(--star-text);
    margin-bottom: 1rem;
}

.category-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-card li {
    font-size: 0.9rem;
    color: var(--comet-text);
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
    position: relative;
}

.category-card li::before {
    content: '•';
    color: var(--pulse-accent);
    position: absolute;
    left: 0;
}

.use-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.use-item {
    display: flex;
    gap: 1rem;
    padding: 1.2rem;
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.1);
    border-radius: 10px;
}

.use-item i {
    color: var(--pulse-accent);
    font-size: 1.5rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.use-item h3 {
    font-family: var(--font-interface);
    font-size: 1.1rem;
    color: var(--star-text);
    margin-bottom: 0.5rem;
}

.use-item p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--comet-text);
    margin: 0;
}

.sharing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.sharing-card {
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
}

.sharing-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.sharing-header i {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.sharing-header i.ri-check-line {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
}

.sharing-header i.ri-close-line {
    background: rgba(244, 67, 54, 0.2);
    color: #F44336;
}

.sharing-header h3 {
    font-family: var(--font-interface);
    font-size: 1.1rem;
    color: var(--star-text);
    margin: 0;
}

.sharing-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--comet-text);
    margin: 0;
}

.cookies-table {
    border: 1px solid rgba(0, 217, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 2rem 0;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    border-bottom: 1px solid rgba(0, 217, 255, 0.1);
}

.table-row:last-child {
    border-bottom: none;
}

.table-row.header {
    background: rgba(0, 217, 255, 0.1);
}

.table-cell {
    padding: 1rem;
    font-size: 0.9rem;
    color: var(--comet-text);
}

.table-row.header .table-cell {
    font-weight: 600;
    color: var(--star-text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.note {
    font-size: 0.9rem;
    color: var(--comet-text);
    font-style: italic;
    padding: 1rem;
    background: rgba(0, 217, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--pulse-accent);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.security-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.1);
    border-radius: 10px;
}

.security-item i {
    font-size: 2rem;
    color: var(--pulse-accent);
    margin-bottom: 1rem;
}

.security-item h3 {
    font-family: var(--font-interface);
    font-size: 1rem;
    color: var(--star-text);
    margin-bottom: 0.5rem;
}

.security-item p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--comet-text);
    margin: 0;
}

.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.right-card {
    padding: 1.5rem;
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.1);
    border-radius: 10px;
    text-align: center;
}

.right-card h3 {
    font-family: var(--font-interface);
    font-size: 1.1rem;
    color: var(--star-text);
    margin-bottom: 0.8rem;
}

.right-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--comet-text);
    margin: 0;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.1);
    border-radius: 10px;
}

.contact-item i {
    color: var(--pulse-accent);
    font-size: 1.5rem;
}

.contact-item h3 {
    font-family: var(--font-interface);
    font-size: 1rem;
    color: var(--star-text);
    margin-bottom: 0.3rem;
}

.contact-item a,
.contact-item p {
    font-size: 0.9rem;
    color: var(--comet-text);
    margin: 0;
}

.contact-item a {
    color: var(--pulse-accent);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.legal-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 217, 255, 0.1);
    text-align: center;
}

.legal-footer p {
    font-size: 0.9rem;
    color: var(--comet-text);
    margin-bottom: 0.5rem;
}

.legal-footer strong {
    color: var(--star-text);
}

@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .legal-nav {
        position: static;
    }
    
    .nav-sticky {
        background: transparent;
        border: none;
        padding: 0;
        backdrop-filter: none;
    }
    
    .nav-links {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .nav-links li {
        margin-bottom: 0;
    }
    
    .nav-links .nav-link {
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .legal-hero {
        padding: 6rem 0 3rem;
    }
    
    .legal-content {
        padding: 3rem 0;
    }
    
    .legal-article {
        padding: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .data-categories,
    .use-grid,
    .sharing-grid,
    .security-grid,
    .rights-grid,
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .cookies-table .table-row {
        grid-template-columns: 1fr;
        border-bottom: 1px solid rgba(0, 217, 255, 0.1);
    }
    
    .table-cell {
        border-bottom: 1px solid rgba(0, 217, 255, 0.05);
    }
    
    .table-cell:last-child {
        border-bottom: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(1rem, 4vw + 1rem, 2rem);
    }
    
    .hero-meta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .legal-article {
        padding: 1.5rem 0.3rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
}

.important-note {
    padding: 1.2rem;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 10px;
    margin: 1.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.important-note i {
    color: #FFC107;
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.important-note p {
    margin: 0;
    color: #FFD54F;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.requirement {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.1);
    border-radius: 10px;
}

.req-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: rgba(0, 217, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.req-icon i {
    font-size: 1.5rem;
    color: var(--pulse-accent);
}

.req-content h3 {
    font-family: var(--font-interface);
    font-size: 1.1rem;
    color: var(--star-text);
    margin-bottom: 0.5rem;
}

.req-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--comet-text);
    margin: 0;
}

.account-terms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.term-card {
    padding: 1.5rem;
    background: rgba(157, 78, 221, 0.05);
    border: 1px solid rgba(157, 78, 221, 0.1);
    border-radius: 10px;
}

.term-card h3 {
    font-family: var(--font-interface);
    font-size: 1.1rem;
    color: var(--star-text);
    margin-bottom: 0.8rem;
}

.term-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--comet-text);
    margin: 0;
}

.license-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.license-column {
    padding: 1.5rem;
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.1);
    border-radius: 10px;
}

.license-column h3 {
    font-family: var(--font-interface);
    font-size: 1.2rem;
    color: var(--star-text);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(0, 217, 255, 0.2);
}

.license-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.license-column li {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--comet-text);
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.license-column li::before {
    content: '•';
    color: var(--pulse-accent);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.user-content {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(76, 175, 80, 0.05);
    border: 1px solid rgba(76, 175, 80, 0.1);
    border-radius: 10px;
}

.user-content h3 {
    font-family: var(--font-interface);
    font-size: 1.2rem;
    color: #4CAF50;
    margin-bottom: 0.8rem;
}

.conduct-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.conduct-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    border-radius: 8px;
    font-family: var(--font-interface);
    font-size: 0.95rem;
    font-weight: 500;
}

.conduct-item.positive {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.2);
    color: #4CAF50;
}

.conduct-item i {
    font-size: 1.2rem;
}

.prohibited-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.prohibited-card {
    padding: 1.5rem;
    background: rgba(244, 67, 54, 0.05);
    border: 1px solid rgba(244, 67, 54, 0.1);
    border-radius: 10px;
}

.prohibited-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.prohibited-header i {
    color: #F44336;
    font-size: 1.5rem;
}

.prohibited-header h3 {
    font-family: var(--font-interface);
    font-size: 1.2rem;
    color: #F44336;
    margin: 0;
}

.prohibited-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.prohibited-card li {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--comet-text);
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
    position: relative;
}

.prohibited-card li::before {
    content: '✗';
    color: #F44336;
    position: absolute;
    left: 0;
}

.warning-box {
    padding: 1.2rem;
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    border-radius: 10px;
    margin: 2rem 0;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.warning-box i {
    color: #F44336;
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.warning-box p {
    margin: 0;
    color: #FF8A80;
}

.warning-box strong {
    color: #FF5252;
}

.termination-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.termination-card {
    padding: 1.5rem;
    background: rgba(158, 158, 158, 0.05);
    border: 1px solid rgba(158, 158, 158, 0.1);
    border-radius: 10px;
}

.termination-card h3 {
    font-family: var(--font-interface);
    font-size: 1.1rem;
    color: var(--star-text);
    margin-bottom: 0.8rem;
}

.termination-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--comet-text);
    margin: 0;
}

.disclaimer-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.disclaimer-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(158, 158, 158, 0.05);
    border: 1px solid rgba(158, 158, 158, 0.1);
    border-radius: 8px;
}

.disclaimer-item i {
    color: #FF9800;
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.disclaimer-item h3 {
    font-family: var(--font-interface);
    font-size: 1rem;
    color: var(--star-text);
    margin-bottom: 0.3rem;
}

.disclaimer-item p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--comet-text);
    margin: 0;
}

.liability-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.liability-card {
    padding: 1.5rem;
    background: rgba(156, 39, 176, 0.05);
    border: 1px solid rgba(156, 39, 176, 0.1);
    border-radius: 10px;
}

.liability-card h3 {
    font-family: var(--font-interface);
    font-size: 1.1rem;
    color: var(--star-text);
    margin-bottom: 0.8rem;
}

.liability-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--comet-text);
    margin: 0;
}

.dispute-process {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.2rem;
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.1);
    border-radius: 10px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--portal-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-terminal);
    font-size: 1.2rem;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content h3 {
    font-family: var(--font-interface);
    font-size: 1.1rem;
    color: var(--star-text);
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--comet-text);
    margin: 0;
}

.change-notice {
    padding: 1.5rem;
    background: rgba(33, 150, 243, 0.05);
    border: 1px solid rgba(33, 150, 243, 0.1);
    border-radius: 10px;
    margin: 2rem 0;
}

.notice-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.notice-header i {
    color: #2196F3;
    font-size: 1.5rem;
}

.notice-header h3 {
    font-family: var(--font-interface);
    font-size: 1.2rem;
    color: #2196F3;
    margin: 0;
}

.change-notice ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.change-notice li {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--comet-text);
    margin-bottom: 0.5rem;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.1);
    border-radius: 10px;
}

.contact-method i {
    color: var(--pulse-accent);
    font-size: 1.5rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.contact-method h3 {
    font-family: var(--font-interface);
    font-size: 1rem;
    color: var(--star-text);
    margin-bottom: 0.3rem;
}

.contact-method a,
.contact-method p {
    font-size: 0.9rem;
    color: var(--comet-text);
    margin: 0;
}

.contact-method a {
    color: var(--pulse-accent);
    text-decoration: none;
}

.contact-method a:hover {
    text-decoration: underline;
}

.acceptance-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 10px;
    margin-bottom: 2rem;
}

.acceptance-box i {
    color: #4CAF50;
    font-size: 1.8rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.acceptance-box h3 {
    font-family: var(--font-interface);
    font-size: 1.2rem;
    color: #4CAF50;
    margin-bottom: 0.5rem;
}

.acceptance-box p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #A5D6A7;
    margin: 0;
}

@media (max-width: 768px) {
    .license-grid {
        grid-template-columns: 1fr;
    }
    
    .requirements-grid,
    .account-terms,
    .termination-grid,
    .liability-content,
    .contact-details {
        grid-template-columns: 1fr;
    }
    
    .prohibited-grid {
        grid-template-columns: 1fr;
    }
    
    .conduct-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .conduct-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        align-self: center;
    }
}

.cookie-hero {
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.1) 0%, rgba(0, 217, 255, 0.05) 100%);
}

.cookie-explanation {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin: 2rem 0;
}

.explanation-visual {
    flex-shrink: 0;
}

.cookie-animation {
    width: 200px;
    height: 120px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cookie-icon, .browser-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(157, 78, 221, 0.1);
    border: 2px solid rgba(157, 78, 221, 0.3);
}

.cookie-icon i, .browser-icon i {
    font-size: 2.5rem;
    color: var(--pulse-accent);
}

.data-flow {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    max-width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--pulse-accent), transparent);
}

.flow-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--pulse-accent);
    border-radius: 50%;
    animation: flow 3s linear infinite;
}

.flow-dot:nth-child(1) { animation-delay: 0s; }
.flow-dot:nth-child(2) { animation-delay: 1s; }
.flow-dot:nth-child(3) { animation-delay: 2s; }

@keyframes flow {
    0% { left: 0%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

.explanation-text {
    flex: 1;
}

.cookie-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.fact {
    padding: 1.5rem;
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.1);
    border-radius: 10px;
    text-align: center;
}

.fact i {
    font-size: 2rem;
    color: var(--pulse-accent);
    margin-bottom: 1rem;
}

.fact h3 {
    font-family: var(--font-interface);
    font-size: 1.1rem;
    color: var(--star-text);
    margin-bottom: 0.5rem;
}

.fact p {
    font-size: 0.9rem;
    color: var(--comet-text);
    margin: 0;
}

.usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.usage-card {
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid;
}

.usage-card:nth-child(1) {
    background: rgba(244, 67, 54, 0.05);
    border-color: rgba(244, 67, 54, 0.1);
}

.usage-card:nth-child(2) {
    background: rgba(33, 150, 243, 0.05);
    border-color: rgba(33, 150, 243, 0.1);
}

.usage-card:nth-child(3) {
    background: rgba(76, 175, 80, 0.05);
    border-color: rgba(76, 175, 80, 0.1);
}

.usage-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.usage-icon.essential {
    background: rgba(244, 67, 54, 0.1);
    border: 2px solid rgba(244, 67, 54, 0.3);
}

.usage-icon.performance {
    background: rgba(33, 150, 243, 0.1);
    border: 2px solid rgba(33, 150, 243, 0.3);
}

.usage-icon.preference {
    background: rgba(76, 175, 80, 0.1);
    border: 2px solid rgba(76, 175, 80, 0.3);
}

.usage-icon i {
    font-size: 1.8rem;
}

.usage-icon.essential i { color: #F44336; }
.usage-icon.performance i { color: #2196F3; }
.usage-icon.preference i { color: #4CAF50; }

.usage-content h3 {
    font-family: var(--font-interface);
    font-size: 1.2rem;
    color: var(--star-text);
    margin-bottom: 1rem;
}

.usage-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.usage-content li {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--comet-text);
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
    position: relative;
}

.usage-content li::before {
    content: '•';
    color: var(--pulse-accent);
    position: absolute;
    left: 0;
}

.types-container {
    margin: 2rem 0;
}

.type-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.type-tab {
    padding: 0.8rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--comet-text);
    font-family: var(--font-interface);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.type-tab.active {
    background: var(--portal-gradient);
    color: white;
    border-color: transparent;
}

.type-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
}

.type-content {
    width: 100%;
    max-width: 800px;
}

.type-panel {
    display: none;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.type-panel.active {
    display: block;
}

.type-panel h3 {
    font-family: var(--font-interface);
    font-size: 1.3rem;
    color: var(--star-text);
    margin-bottom: 1rem;
}

.type-panel p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--comet-text);
    margin-bottom: 1.5rem;
}

.panel-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 8px;
}

.detail {
    font-size: 0.9rem;
    line-height: 1.5;
}

.detail strong {
    color: var(--star-text);
    margin-right: 0.5rem;
}

.cookie-table-container {
    margin: 2rem 0;
}

.table-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 300px;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--comet-text);
}

.search-box input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-family: var(--font-interface);
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    color: var(--comet-text);
    font-family: var(--font-interface);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: var(--portal-gradient);
    color: white;
    border-color: transparent;
}

.cookie-table {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow-x: auto;
    max-width: 100%;
}

.table-header {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr 1fr;
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-cell {
    font-family: var(--font-interface);
    font-weight: 600;
    color: var(--star-text);
    font-size: 0.9rem;
}

.table-body {
    max-height: 400px;
    overflow-y: auto;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr 1fr;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease;
}

.table-row:hover {
    background: rgba(0, 217, 255, 0.05);
}

.table-cell {
    font-size: 0.9rem;
    color: var(--comet-text);
    display: flex;
    align-items: center;
}

.cookie-name {
    font-family: var(--font-terminal);
    color: var(--pulse-accent);
    background: rgba(0, 217, 255, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.cookie-type {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.cookie-type.essential {
    background: rgba(244, 67, 54, 0.1);
    color: #F44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.cookie-type.performance {
    background: rgba(33, 150, 243, 0.1);
    color: #2196F3;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

.cookie-type.preference {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.third-party-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.third-party-card {
    padding: 1.5rem;
    background: rgba(158, 158, 158, 0.05);
    border: 1px solid rgba(158, 158, 158, 0.1);
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.provider-logo {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background: rgba(0, 217, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.provider-logo i {
    font-size: 1.8rem;
    color: var(--pulse-accent);
}

.provider-info h3 {
    font-family: var(--font-interface);
    font-size: 1.1rem;
    color: var(--star-text);
    margin-bottom: 0.5rem;
}

.provider-info p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--comet-text);
    margin-bottom: 1rem;
}

.provider-links {
    display: flex;
    gap: 1rem;
}

.provider-links a {
    font-size: 0.85rem;
    color: var(--pulse-accent);
    text-decoration: none;
}

.provider-links a:hover {
    text-decoration: underline;
}

.management-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.option-card {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-align: center;
}

.option-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0, 217, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.option-icon i {
    font-size: 2rem;
    color: var(--pulse-accent);
}

.option-content h3 {
    font-family: var(--font-interface);
    font-size: 1.2rem;
    color: var(--star-text);
    margin-bottom: 1rem;
}

.option-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--comet-text);
    margin-bottom: 1.5rem;
}

.browser-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.browser-links a {
    font-size: 0.85rem;
    color: var(--pulse-accent);
    padding: 0.3rem 0.8rem;
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.browser-links a:hover {
    background: rgba(0, 217, 255, 0.1);
}

.settings-btn, .clear-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-family: var(--font-interface);
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.settings-btn {
    background: var(--portal-gradient);
    color: white;
}

.clear-btn {
    background: rgba(244, 67, 54, 0.1);
    color: #F44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.settings-btn:hover, .clear-btn:hover {
    transform: translateY(-2px);
}

.compliance-info {
    margin: 2rem 0;
}

.compliance-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(33, 150, 243, 0.05);
    border: 1px solid rgba(33, 150, 243, 0.1);
    border-radius: 10px;
}

.compliance-section h3 {
    font-family: var(--font-interface);
    font-size: 1.2rem;
    color: #2196F3;
    margin-bottom: 1rem;
}

.compliance-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.compliance-section li {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--comet-text);
    margin-bottom: 0.5rem;
}

.rights-exercise h3 {
    font-family: var(--font-interface);
    font-size: 1.2rem;
    color: var(--star-text);
    margin-bottom: 1rem;
}

.exercise-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.exercise-option {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.1);
    border-radius: 10px;
}

.exercise-option i {
    color: var(--pulse-accent);
    font-size: 1.5rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.exercise-option h4 {
    font-family: var(--font-interface);
    font-size: 1rem;
    color: var(--star-text);
    margin-bottom: 0.3rem;
}

.exercise-option a, .exercise-option p {
    font-size: 0.9rem;
    color: var(--comet-text);
    margin: 0;
}

.exercise-option a {
    color: var(--pulse-accent);
    text-decoration: none;
}

.change-alert {
    padding: 1.5rem;
    background: rgba(255, 193, 7, 0.05);
    border: 1px solid rgba(255, 193, 7, 0.1);
    border-radius: 10px;
    margin: 2rem 0;
}

.alert-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.alert-header i {
    color: #FFC107;
    font-size: 1.5rem;
}

.alert-header h3 {
    font-family: var(--font-interface);
    font-size: 1.2rem;
    color: #FFC107;
    margin: 0;
}

.change-alert ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.change-alert li {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--comet-text);
    margin-bottom: 0.5rem;
}

.alert-note {
    font-style: italic;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-card {
    padding: 1.5rem;
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.1);
    border-radius: 10px;
    text-align: center;
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 217, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.contact-icon i {
    font-size: 1.8rem;
    color: var(--pulse-accent);
}

.contact-details h3 {
    font-family: var(--font-interface);
    font-size: 1.1rem;
    color: var(--star-text);
    margin-bottom: 0.5rem;
}

.contact-details a {
    display: block;
    font-size: 0.9rem;
    color: var(--pulse-accent);
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.contact-details p {
    font-size: 0.85rem;
    color: var(--comet-text);
    margin: 0;
}

.policy-summary {
    padding: 1.5rem;
    background: rgba(76, 175, 80, 0.05);
    border: 1px solid rgba(76, 175, 80, 0.1);
    border-radius: 10px;
    margin-bottom: 2rem;
}

.policy-summary h3 {
    font-family: var(--font-interface);
    font-size: 1.2rem;
    color: #4CAF50;
    margin-bottom: 1rem;
}

.policy-summary p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--comet-text);
}

.cookie-controls {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.cookie-btn {
    padding: 0.8rem 1.2rem;
    border: 1px solid rgba(0, 217, 255, 0.3);
    background: rgba(0, 217, 255, 0.1);
    border-radius: 8px;
    color: var(--pulse-accent);
    font-family: var(--font-interface);
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.cookie-btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--comet-text);
}

.cookie-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 217, 255, 0.2);
}

.cookie-btn.secondary:hover {
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.cookie-settings-content {
    background: #0a0c1b;
    border-radius: 15px;
    border: 1px solid rgba(0, 217, 255, 0.2);
    width: 90%;
    max-width: 500px;
    overflow: hidden;
}

.cookie-settings-header {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-settings-header h3 {
    font-family: var(--font-interface);
    color: var(--star-text);
    margin: 0;
}

.close-settings {
    background: none;
    border: none;
    color: var(--comet-text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-settings:hover {
    color: white;
}

.cookie-settings-body {
    padding: 1.5rem;
}

.setting-group {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.setting-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.setting-info h4 {
    font-family: var(--font-interface);
    color: var(--star-text);
    margin-bottom: 0.5rem;
}

.setting-info p {
    font-size: 0.9rem;
    color: var(--comet-text);
    margin: 0;
    max-width: 300px;
}

.setting-toggle {
    position: relative;
}

.setting-toggle input {
    display: none;
}

.toggle-label {
    display: block;
    width: 50px;
    height: 26px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 13px;
    cursor: pointer;
    position: relative;
    transition: background 0.3s ease;
}

.toggle-handle {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.setting-toggle input:checked + .toggle-label {
    background: var(--pulse-accent);
}

.setting-toggle input:checked + .toggle-label .toggle-handle {
    transform: translateX(24px);
}

.setting-toggle.disabled .toggle-label {
    background: rgba(244, 67, 54, 0.3);
    cursor: not-allowed;
}

.setting-toggle.disabled .toggle-handle {
    background: #F44336;
}

.cookie-settings-footer {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-settings-footer button {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-family: var(--font-interface);
    font-weight: 500;
    cursor: pointer;
    flex: 1;
    min-width: 120px;
}

.save-settings {
    background: var(--portal-gradient);
    color: white;
}

.accept-all {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.reject-all {
    background: rgba(244, 67, 54, 0.2);
    color: #F44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.cookie-notification {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: #0a0c1b;
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    max-width: 600px;
    width: 90%;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.notification-content p {
    margin-bottom: 1.5rem;
    color: var(--comet-text);
}

.notification-content a {
    color: var(--pulse-accent);
    text-decoration: none;
}

.notification-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.notification-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-family: var(--font-interface);
    font-weight: 500;
    cursor: pointer;
    min-width: 120px;
}

.notification-btn.accept {
    background: var(--portal-gradient);
    color: white;
}

.notification-btn.settings {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.notification-btn.reject {
    background: rgba(255, 255, 255, 0.05);
    color: var(--comet-text);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .cookie-explanation {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .usage-grid,
    .third-party-grid,
    .management-options,
    .cookie-facts,
    .exercise-options,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .table-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 1fr;
        padding: 1rem;
        box-sizing: border-box;
    }
    
    .notification-actions {
        flex-direction: column;
    }
    
    .notification-btn {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .type-tabs {
        flex-direction: column;
    }
    
    .cookie-table {
        font-size: 0.8rem;
    }
    
    .header-cell {
        font-size: 0.8rem;
    }

    .browser-links {
        flex-direction: column;
    }

    .option-card {
        padding: 1.5rem 0.3rem;
    }

    .type-panel {
        padding: 2rem 0.2rem;
    }
}

@media (max-width: 360px) {
    .third-party-grid,
    .usage-grid,
    .management-options {
        grid-template-columns: 1fr;
    }
}

.error-portal {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    position: relative;
    z-index: 1;
}

.error-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.error-code {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.digit {
    font-family: var(--font-terminal);
    font-size: 8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 65, 108, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.portal-glyph {
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-title {
    font-family: var(--font-terminal);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.error-description {
    font-size: 1.2rem;
    color: var(--comet-text);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.error-diagnostics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    text-align: left;
}

.diagnostic-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.diagnostic-item i {
    font-size: 2.5rem;
    color: #ff416c;
    flex-shrink: 0;
}

.diagnostic-item:nth-child(2) i {
    color: #00d9ff;
}

.diagnostic-item h3 {
    font-family: var(--font-interface);
    font-size: 1.3rem;
    color: var(--star-text);
    margin-bottom: 1rem;
}

.diagnostic-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.diagnostic-item li {
    font-size: 0.95rem;
    color: var(--comet-text);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.diagnostic-item li::before {
    content: '•';
    color: #ff416c;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.diagnostic-item:nth-child(2) li::before {
    color: #00d9ff;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.error-btn {
    padding: 1rem 2rem;
    border-radius: 10px;
    font-family: var(--font-interface);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.error-btn.primary {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: white;
    border: none;
}

.error-btn.secondary {
    background: rgba(0, 217, 255, 0.1);
    color: var(--pulse-accent);
    border: 1px solid rgba(0, 217, 255, 0.3);
}

.error-btn.tertiary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--comet-text);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.error-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.error-search {
    max-width: 500px;
    margin: 0 auto;
}

.search-container {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.search-container i {
    padding: 1rem;
    color: var(--comet-text);
}

.search-container input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    font-family: var(--font-interface);
    padding: 1rem;
    outline: none;
}

.search-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    border: none;
    color: white;
    font-family: var(--font-interface);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: linear-gradient(135deg, #ff4b2b, #ff416c);
}

.search-hint {
    font-size: 0.9rem;
    color: var(--comet-text);
}

.error-graphic {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

#error-canvas {
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.graphic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ff88, transparent);
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% { top: 0; }
    100% { top: 100%; }
}

.glitch-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, transparent 50%, rgba(255, 0, 0, 0.1) 50%);
    background-size: 100% 4px;
    animation: glitch 0.1s infinite;
    opacity: 0.1;
}

@keyframes glitch {
    0% { transform: translateX(0); }
    20% { transform: translateX(-2px); }
    40% { transform: translateX(2px); }
    60% { transform: translateX(-1px); }
    80% { transform: translateX(1px); }
    100% { transform: translateX(0); }
}

.recovery-portal {
    padding: 4rem 0;
    position: relative;
    z-index: 2;
}

.recovery-title {
    font-family: var(--font-terminal);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--star-text);
}

.recovery-subtitle {
    text-align: center;
    color: var(--comet-text);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.recovery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.recovery-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.recovery-card:hover {
    transform: translateY(-10px);
    background: rgba(0, 217, 255, 0.1);
    border-color: rgba(0, 217, 255, 0.3);
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0, 217, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.card-icon i {
    font-size: 2.5rem;
    color: var(--pulse-accent);
}

.recovery-card h3 {
    font-family: var(--font-interface);
    font-size: 1.3rem;
    color: var(--star-text);
    margin-bottom: 1rem;
}

.recovery-card p {
    font-size: 0.95rem;
    color: var(--comet-text);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.card-link {
    color: var(--pulse-accent);
    text-decoration: none;
    font-family: var(--font-interface);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.card-link:hover {
    gap: 1rem;
}

.portal-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
}

.portal-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255, 65, 108, 0.2);
    border-radius: 50%;
}

.ring-1 {
    width: 200px;
    height: 200px;
    animation: pulse-ring 3s infinite;
}

.ring-2 {
    width: 400px;
    height: 400px;
    animation: pulse-ring 4s infinite 0.5s;
}

.ring-3 {
    width: 600px;
    height: 600px;
    animation: pulse-ring 5s infinite 1s;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }
    50% {
        opacity: 0.2;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

.portal-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: #ff416c;
    border-radius: 50%;
    box-shadow: 0 0 30px #ff416c;
    animation: pulse-center 2s infinite;
}

@keyframes pulse-center {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .error-code {
        flex-direction: column;
        gap: 0;
    }
    
    .digit {
        font-size: 6rem;
    }
    
    .portal-glyph {
        margin: 1rem 0;
    }
    
    .error-title {
        font-size: 2.5rem;
    }
    
    .error-diagnostics {
        grid-template-columns: 1fr;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .recovery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .digit {
        font-size: 4rem;
    }
    
    .error-title {
        font-size: 2rem;
    }
    
    .diagnostic-item {
        flex-direction: column;
        text-align: center;
    }
}