/* Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    line-height: 1.2;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Domain Page Base */
.domain-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.domain-header {
    padding: 2rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.domain-name {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    word-break: break-all;
}

.domain-title {
    font-size: 1.25rem;
    color: #666;
    margin: 0;
}

.domain-content {
    flex: 1;
    padding: 2rem 1rem;
    text-align: center;
}

.domain-footer {
    padding: 2rem 1rem;
    text-align: center;
    color: #666;
    font-size: 0.875rem;
}

/* For Sale Badge */
.for-sale-badge {
    display: inline-block;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 1rem 0;
}

/* Availability Section */
.availability-section {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.availability-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #e8f5e9;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    border: 1px solid #c8e6c9;
}

.availability-label {
    font-weight: 600;
    color: #2e7d32;
}

.availability-value {
    color: #1b5e20;
    font-weight: 500;
}

.availability-info {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: #2e7d32;
    font-weight: 500;
}

/* Domain Description */
.domain-description p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #444;
}

.domain-description p:first-child {
    font-size: 1.1rem;
    font-weight: 500;
    color: #222;
}

.domain-description strong {
    color: #222;
}

.domain-description ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem 0;
}

.domain-description ul li {
    position: relative;
    padding: 0.5rem 0 0.5rem 1.5rem;
    line-height: 1.7;
    color: #444;
    border-bottom: 1px solid #f0f0f0;
}

.domain-description ul li:last-child {
    border-bottom: none;
}

.domain-description ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2e7d32;
    font-weight: bold;
}

/* Price Section */
.price-section {
    text-align: center;
    margin: 2rem 0;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: #28a745;
}

/* Contact Section */
.contact-section {
    text-align: center;
    margin: 2rem 0;
}

.contact-button {
    display: inline-block;
    background: #0066cc;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background 0.3s ease;
}

.contact-button:hover {
    background: #0052a3;
    text-decoration: none;
}

/* Content Blocks */
.content-block {
    margin: 1.5rem 0;
    padding: 1rem;
}

.content-block-ad {
    background: #f0f0f0;
    border: 1px solid #ddd;
    text-align: center;
}

/* AdSense Ad Containers */
.ad-container {
    margin: 1.5rem auto;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
}

.ad-header {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.ad-content {
    margin: 2rem auto;
}

.ad-footer {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.ad-container ins.adsbygoogle {
    display: block;
    width: 100%;
}

/* Domain Image */
.domain-image {
    margin: 1.5rem auto;
    max-width: 900px;
    text-align: center;
}

.domain-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
}

.breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0.5rem;
}

.breadcrumb-list li a {
    color: #666;
    text-decoration: none;
}

.breadcrumb-list li a:hover {
    color: #0066cc;
}

/* FAQ Section */
.faq-section {
    margin: 2.5rem 0;
    padding: 0 1rem;
    text-align: left;
}

.faq-section h2 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.faq-item[open] {
    border-color: #0066cc;
}

.faq-question {
    padding: 1rem 1.25rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: #333;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: "+";
    font-size: 1.25rem;
    font-weight: 300;
    color: #666;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item[open] .faq-question::after {
    content: "\2212";
}

.faq-answer {
    padding: 0 1.25rem 1rem;
    color: #555;
    line-height: 1.7;
}

.faq-answer p {
    margin: 0;
}

/* Related Domains Section */
.related-domains-section {
    margin: 2.5rem 0;
    padding: 0 1rem;
    text-align: center;
}

.related-domains-section h2 {
    margin-bottom: 1.5rem;
}

.related-domains-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.related-domain-link {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: #f0f4f8;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    color: #0066cc;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.related-domain-link:hover {
    background: #0066cc;
    color: white;
    text-decoration: none;
    border-color: #0066cc;
}

/* No Domain Page */
.no-domain-page {
    text-align: center;
    padding: 4rem 1rem;
}

.no-domain-page h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .domain-name {
        font-size: 1.75rem;
    }

    .price {
        font-size: 1.5rem;
    }

    .contact-button {
        display: block;
        width: 100%;
    }
}

/* Utility classes (CSP-safe replacements for inline styles) */
.d-none { display: none; }
.d-block { display: block; }

/* Cookie Consent Banner (CMP) */
.consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(33, 33, 33, 0.97);
    color: #fff;
    padding: 1.25rem 1rem;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.consent-content p {
    margin: 0;
    flex: 1;
    min-width: 200px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.consent-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.consent-accept,
.consent-deny {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.consent-accept {
    background: #28a745;
    color: white;
}

.consent-accept:hover {
    background: #218838;
}

.consent-deny {
    background: #6c757d;
    color: white;
}

.consent-deny:hover {
    background: #5a6268;
}

/* CMP Responsive */
@media (max-width: 600px) {
    .consent-content {
        flex-direction: column;
        text-align: center;
    }

    .consent-buttons {
        width: 100%;
        justify-content: center;
    }

    .consent-accept,
    .consent-deny {
        flex: 1;
        padding: 0.875rem 1rem;
    }
}
