@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&display=swap');

:root {
    --font-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    /* Colors */
    --bg-dark: #07070a;
    --primary-glow: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    --accent-purple: #8b5cf6;
    --accent-blue: #3b82f6;
    --accent-cyan: #06b6d4;
    --accent-green: #10b981;
    
    /* Glassmorphism Styles */
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.07);
    --glass-border-hover: rgba(255, 255, 255, 0.16);
    --glass-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    --glass-glow: 0 0 50px rgba(139, 92, 246, 0.08);
    
    /* Fonts & Text Colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.65);
    --text-tertiary: rgba(255, 255, 255, 0.35);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* Custom Text Selection Color */
::selection {
    background: red;
    color: #ffffff;
}

::-moz-selection {
    background: red;
    color: #ffffff;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    padding: 40px 20px;
}

/* Background Animated Blobs */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #0d0a1a 0%, #050508 100%);
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.35;
    mix-blend-mode: screen;
    animation: float 28s infinite ease-in-out;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-purple) 0%, rgba(139, 92, 246, 0) 70%);
    top: -15%;
    left: -10%;
    animation-delay: 0s;
}

.blob-2 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--accent-blue) 0%, rgba(59, 130, 246, 0) 70%);
    bottom: -20%;
    right: -10%;
    animation-delay: -7s;
    animation-duration: 32s;
}

.blob-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-cyan) 0%, rgba(6, 182, 212, 0) 70%);
    top: 30%;
    left: 45%;
    animation-delay: -14s;
    animation-duration: 24s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(60px, -40px) scale(1.1);
    }
    66% {
        transform: translate(-40px, 30px) scale(0.95);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* Page Container (Widescreen Layout) */
.container {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Badge (iOS Tag Style) */
.domain-sale-badge {
    height: 140px;
    width: auto;
    object-fit: contain;
    display: block;
    margin-bottom: 48px;
}

/* Main Content Grid */
.main-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
    width: 100%;
}

/* Left Section: Info Panel */
.info-section {
    text-align: left;
}

.domain-wrapper {
    display: inline-block;
    margin-bottom: 20px;
    cursor: pointer;
}

.domain-name {
    font-size: 3.8rem;
    font-weight: 600;
    letter-spacing: -0.04em;
    background: linear-gradient(
        120deg,
        #ffffff 38%,
        #c8e2ff 48%,
        #ffffff 50%,
        #f0dbff 52%,
        #ffffff 62%
    );
    background-size: 300% auto;
    background-position: 100% 0;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    word-break: break-all;
    line-height: 1.05;
    /* Prevent flicker on animation start */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: background-position;
}

.domain-name:hover {
    animation: textShineSweep 1.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes textShineSweep {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: 0% 0;
    }
}

.domain-description {
    font-size: 1.2rem;
    line-height: 1.75;
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 540px;
}

/* Right Section: Action Glass Console */
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 44px 36px 36px 36px;
    backdrop-filter: blur(25px) saturate(190%);
    -webkit-backdrop-filter: blur(25px) saturate(190%);
    box-shadow: var(--glass-shadow), var(--glass-glow);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.02) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
}

.glass-panel:hover::before {
    left: 150%;
    transition: 0.85s;
}

.glass-panel:hover {
    border-color: var(--glass-border-hover);
    box-shadow: var(--glass-shadow), 0 0 60px rgba(139, 92, 246, 0.12);
}

/* Toast Alert (Copied notification) */
.toast-msg {
    position: fixed;
    top: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: rgba(10, 10, 15, 0.9);
    color: #fff;
    font-size: 0.85rem;
    padding: 12px 24px;
    border-radius: 12px;
    pointer-events: none;
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
    z-index: 999;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

.toast-msg.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Pricing Area */
.price-container {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 28px;
    position: relative;
}

.pricing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.25);
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.toggle-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 10px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    z-index: 1;
}

.toggle-btn.active {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.pricing-display {
    min-height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.price-title {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: 8px;
}

.price-value-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
}

.original-price {
    font-size: 1.35rem;
    color: var(--text-tertiary);
    text-decoration: line-through;
    font-weight: 500;
}

.current-price {
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.current-price.discounted {
    color: var(--accent-green);
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-note {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-top: 8px;
    font-weight: 500;
}

.price-note strong {
    color: var(--accent-green);
}

/* Call to Action Button */
.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-blue) 100%);
    color: #ffffff;
    border: none;
    border-radius: 16px;
    padding: 18px 24px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.25);
    text-decoration: none;
    margin-bottom: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.45), 0 0 15px rgba(59, 130, 246, 0.2);
    filter: brightness(1.05);
}

.cta-button:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 2px 10px rgba(139, 92, 246, 0.2);
}

.cta-button svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2.5;
    animation: pulse-arrow 1.5s infinite alternate;
}

@keyframes pulse-arrow {
    0% { transform: translateX(0); }
    100% { transform: translateX(4px); }
}

/* Separator */
.separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 24px;
    color: var(--text-tertiary);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
}

.separator::before,
.separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.separator:not(:empty)::before {
    margin-right: 1em;
}

.separator:not(:empty)::after {
    margin-left: 1em;
}

/* Social Grid Styles */
.socials-grid {
    display: flex;
    justify-content: flex-start;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.desktop-socials {
    display: flex;
}

.mobile-socials {
    display: none !important;
}

.social-btn {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    cursor: pointer;
    text-decoration: none;
}

.social-btn svg,
.social-btn i {
    font-size: 24px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px) scale(1.05);
    color: var(--text-primary);
}

.social-btn:active {
    transform: translateY(0) scale(0.95);
}

/* Social Brand Colors */
.social-btn.facebook:hover {
    background: rgba(24, 119, 242, 0.15);
    border-color: rgba(24, 119, 242, 0.4);
    color: #1877f2;
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.2);
}

.social-btn.instagram:hover {
    background: linear-gradient(45deg, rgba(240, 148, 51, 0.15) 0%, rgba(220, 39, 67, 0.15) 50%, rgba(188, 24, 136, 0.15) 100%);
    border-color: rgba(225, 48, 108, 0.4);
    box-shadow: 0 5px 15px rgba(225, 48, 108, 0.25);
}

.social-btn.instagram:hover i,
.social-btn.instagram:hover svg {
    background: linear-gradient(45deg, #f09433 0%, #dc2743 50%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.social-btn.whatsapp:hover {
    background: rgba(37, 211, 102, 0.15);
    border-color: rgba(37, 211, 102, 0.4);
    color: #25d366;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.2);
}

.social-btn.telegram:hover {
    background: rgba(0, 136, 204, 0.15);
    border-color: rgba(0, 136, 204, 0.4);
    color: #0088cc;
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.2);
}

.social-btn.x-twitter:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.social-btn.email:hover {
    background: rgba(234, 67, 53, 0.15);
    border-color: rgba(234, 67, 53, 0.4);
    color: #ea4335;
    box-shadow: 0 5px 15px rgba(234, 67, 53, 0.2);
}

.social-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    font-size: 0.65rem;
    padding: 4px 8px;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-btn:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}



.card-footer-text {
    margin-top: 24px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 500;
}

.card-footer-text a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 600;
}

.card-footer-text a:hover {
    color: var(--text-primary);
}

/* Media Queries for Responsiveness */
@media (max-width: 868px) {
    body {
        padding: 40px 24px;
    }
    
    .container {
        gap: 28px;
    }

    .main-layout {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .info-section {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .domain-sale-badge {
        margin: 0 auto 50px auto;
        height: 130px;
    }

    .domain-name {
        font-size: 3.1rem;
    }

    .domain-description {
        font-size: 1.1rem;
        max-width: 100%;
    }

    .desktop-socials {
        display: none !important;
    }

    .mobile-socials {
        display: flex !important;
        justify-content: center;
        margin-top: 24px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 24px 16px;
    }
    
    .domain-sale-badge {
        height: 120px;
        margin: 0 auto 40px auto;
    }

    .domain-name {
        font-size: 2.45rem;
    }
    
    .glass-panel {
        padding: 32px 20px 28px 20px;
        border-radius: 24px;
    }
    
    .current-price {
        font-size: 2.4rem;
    }
    
    .social-btn {
        width: 46px;
        height: 46px;
        border-radius: 13px;
    }
    
    .social-btn svg,
    .social-btn i {
        font-size: 22px;
        width: 22px;
        height: 22px;
    }
}
