:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #f39c12;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --gray-color: #7f8c8d;
    --border-color: #bdc3c7;
    --radius: 5px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

.site-header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    background-color: #fff;
    width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1;
    border-radius: 4px;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
}

.dropdown-menu li,
.dropdown-menu a,
.dropdown-menu button {
    box-sizing: border-box;
}

.dropdown-menu a,
.dropdown-menu button {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    width: 100%;
    border: none;
    background: none;
    cursor: pointer;
    text-align: left;
}

.dropdown-menu a:hover,
.dropdown-menu button:hover {
    background-color: #f8f9fa;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: #c0392b;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid white;
    margin-left: 1rem;
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
}

.btn-accent {
    background-color: var(--accent-color);
}

.btn-accent:hover {
    background-color: #e67e22;
}

.cookie-main {
    padding: 3rem 0;
    background-color: white;
}

.cookie-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: var(--light-color);
    border-radius: var(--radius);
}

.cookie-header h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.last-updated {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    display: inline-block;
    font-size: 0.9rem;
}

.cookie-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: white;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.section-title {
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.8rem;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.section-icon {
    background-color: var(--accent-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
}

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

.cookie-item {
    padding: 1.2rem;
    margin-bottom: 1rem;
    background-color: var(--light-color);
    border-radius: var(--radius);
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.cookie-item:hover {
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.cookie-name {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.cookie-purpose {
    color: var(--gray-color);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.cookie-expiry {
    display: inline-block;
    background-color: white;
    color: var(--gray-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    border: 1px solid var(--border-color);
}

.adsense-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.adsense-table th {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: bold;
}

.adsense-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.adsense-table tr:nth-child(even) {
    background-color: var(--light-color);
}

.adsense-table tr:hover {
    background-color: #f0f3f5;
}

.control-panel {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    margin-top: 2rem;
}

.control-title {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.control-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.control-option {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.control-option.active {
    border-color: var(--primary-color);
    background-color: #f9f9f9;
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.1);
}

.option-title {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    font-weight: bold;
    color: var(--primary-color);
}

.option-icon {
    margin-right: 10px;
    color: var(--accent-color);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.site-footer {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.copyright {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .cookie-header h1 {
        font-size: 2rem;
    }

    .cookie-section {
        padding: 1.5rem;
    }

    .control-options {
        grid-template-columns: 1fr;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-buttons .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

.page-breadcrumb {
    background-color: var(--light-color);
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.breadcrumb {
    display: flex;
    list-style: none;
    padding: 0;
}

.breadcrumb li {
    margin-right: 0.5rem;
}

.breadcrumb li:not(:last-child)::after {
    content: '›';
    margin-left: 0.5rem;
    color: var(--gray-color);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--secondary-color);
}