/* Domain Landing Page Styles - Domaincracy LLC */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background-image: url(../bg-business.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #fff;
    overflow-x: hidden;
    position: relative;
}

body:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(50, 47, 72, .88);
    animation: darken 3s 1;
    z-index: 0;
    pointer-events: none;
}

@keyframes darken {
    from {
        background-color: rgba(50, 47, 72, 0);
    }
    to {
        background-color: rgba(50, 47, 72, .88);
    }
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.domain-name {
    font-family: 'EB Garamond', serif;
    font-weight: 900;
    font-style: italic;
    color: #39ff14;
    line-height: 1;
    text-shadow:
        -0.01em 0 #c77,
        0 0.01em #c77,
        -0.04em 0.04em 0.1em #333,
        0 -0.01em #c77;
    margin: 20px 0;
    /* Responsive font sizing */
    font-size: clamp(2rem, 8vw, 6rem);
    word-break: break-word;
}

.subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 300;
    margin: 10px 0;
    color: #f0f0f0;
}

.price-container {
    margin: 30px 0;
    position: relative;
}

.price {
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 900;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.price-label {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #ffc966;
    margin-top: 10px;
}

.cta-section {
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    width: 100%;
    max-width: 600px;
}

.payment-methods {
    background: rgba(44, 42, 63, 0.8);
    padding: 20px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.payment-option {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option:hover {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px;
}

.payment-option input[type="radio"] {
    transform: scale(1.8);
    margin-right: 15px;
    cursor: pointer;
}

.payment-option label {
    display: flex;
    align-items: center;
    cursor: pointer;
    flex: 1;
}

.payment-option img {
    height: 40px;
    position: absolute;
    right: 0;
}

.payment-option img[src="/escrow.png"] {
    height: 24px;
}

.buy-button {
    background: #c86834;
    border: 4px solid #a8d5ff;
    border-radius: 50px;
    padding: 10px 60px;
    margin-top: 30px;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-family: 'EB Garamond', serif;
    font-weight: 900;
    color: #fff;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.buy-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 20%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transform: skewX(-25deg);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% { left: -75%; }
    100% { left: 130%; }
}

.buy-button:hover {
    background: #529499;
    border-color: #ffd700;
    transform: scale(1.05);
}

.buy-button:active {
    transform: scale(0.98);
}

.subtext {
    display: block;
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin-top: 5px;
    font-weight: 400;
}

.strengths {
    background: rgba(44, 42, 63, 0.7);
    padding: 30px;
    border-radius: 20px;
    max-width: 800px;
    margin: 30px auto;
    text-align: left;
}

.strengths h3 {
    color: #a8d5ff;
    font-size: clamp(1.2rem, 4vw, 2rem);
    margin-bottom: 15px;
    text-align: center;
}

.strengths ul {
    list-style: none;
    padding: 0;
}

.strengths li {
    padding: 10px 0;
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.strengths li:before {
    content: "✓ ";
    color: #a8d5ff;
    font-weight: bold;
    margin-right: 10px;
}

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

.certificate-section {
    background: rgba(44, 42, 63, 0.7);
    padding: 30px;
    border-radius: 20px;
    width: 80%;
    margin: 30px auto;
    text-align: center;
}

.certificate-section h3 {
    color: #a8d5ff;
    font-size: clamp(1.2rem, 4vw, 2rem);
    margin-bottom: 20px;
}

.certificate-section iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

footer {
    background: rgba(14, 13, 20, 0.88);
    padding: 30px 20px;
    text-align: center;
    font-size: clamp(0.8rem, 2vw, 1rem);
    position: relative;
    z-index: 1;
}

footer a {
    color: #c9d9ff;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.contact-info {
    margin: 15px 0;
}

.contact-info a {
    display: inline-block;
    margin: 5px 15px;
}

.copyright {
    margin-top: 20px;
    font-size: 0.9em;
    opacity: 0.8;
}

/* Hidden elements */
.hidden {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .payment-option {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 10px 0;
    }

    .payment-option label {
        width: 100%;
        margin-bottom: 10px;
    }

    .payment-option img {
        position: static;
        height: 30px;
        margin: 0 auto;
        display: block;
    }

    .payment-option img[src="/escrow.png"] {
        height: 18px;
    }

    .buy-button {
        padding: 15px 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .strengths {
        padding: 20px 15px;
    }
}

/* Sold overlay styles */
.sold-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.sold-overlay img {
    max-width: 90%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
}

/* Block interactions in container when sold */
body.domain-sold .container {
    pointer-events: none;
    user-select: none;
}

/* Keep footer interactive */
body.domain-sold footer {
    pointer-events: auto;
    position: relative;
    z-index: 10000;
}

/* Escrow form hidden */
#escrow-form {
    display: none;
}

/* Security Badge */
.security-badge {
    margin-top: 20px;
}

.security-badge a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(44, 42, 63, 0.8);
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(168, 213, 255, 0.3);
    white-space: nowrap;
}

.security-badge a:hover {
    background: rgba(44, 42, 63, 1);
    border-color: rgba(168, 213, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.security-badge .fa-shield-alt {
    font-size: 24px;
    color: #4ade80;
}

.security-badge .badge-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.security-badge .badge-label {
    font-size: 11px;
    color: #c9d9ff;
    opacity: 0.8;
}

.security-badge .badge-score {
    font-size: 16px;
    font-weight: 900;
    color: #4ade80;
    letter-spacing: 0.5px;
}
