/* Reset y configuraciones base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    max-width: 900px;
    width: 100%;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: linear-gradient(90deg, #2c3e50 0%, #4a6491 100%);
    color: white;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.domain-name {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.for-sale-badge {
    background-color: #e74c3c;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.language-switch {
    display: flex;
    gap: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 5px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 20px;
    border-radius: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background-color: white;
    color: #2c3e50;
}

.lang-btn:hover:not(.active) {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Contenido principal */
.main-content {
    padding: 40px;
}

.domain-display {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.domain-title {
    font-size: 3.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 1px;
}

.domain-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #f8f9fa;
    padding: 10px 20px;
    border-radius: 30px;
    color: #27ae60;
    font-weight: 500;
}

.domain-status i {
    font-size: 1.2rem;
}

/* Secciones de información */
.info-sections {
    position: relative;
    min-height: 400px;
}

.info-section {
    display: none;
    animation: fadeInContent 0.5s ease-out;
}

.info-section.active {
    display: block;
}

@keyframes fadeInContent {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.icon-container {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.icon-container i {
    font-size: 3rem;
    color: #3498db;
    background-color: #ebf5fb;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-section h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.description {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 35px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info, .features {
    background-color: #f9f9f9;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
}

.contact-info h3, .features h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.email-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    border: 2px dashed #ddd;
}

.email-part {
    padding: 5px 10px;
    background-color: #f0f7ff;
    border-radius: 5px;
}

.email-at {
    color: #7f8c8d;
}

.email-at-symbol {
    color: #e74c3c;
    font-weight: 700;
}

.email-note {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-top: 15px;
}

.features ul {
    list-style-type: none;
    padding-left: 0;
}

.features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.features i {
    color: #27ae60;
}

/* Botones de acción */
.domain-actions {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    position: relative;
}

.copy-email-btn {
    background: linear-gradient(90deg, #3498db 0%, #2c80b9 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.copy-email-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
}

.copy-email-btn:active {
    transform: translateY(0);
}

.notification {
    position: absolute;
    top: -60px;
    background-color: #27ae60;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

.notification.show {
    opacity: 1;
}

/* Footer */
.footer {
    text-align: center;
    padding: 25px;
    background-color: #f8f9fa;
    color: #7f8c8d;
    border-top: 1px solid #eee;
}

.footer-note {
    font-size: 0.9rem;
    margin-top: 5px;
    color: #e74c3c;
    font-weight: 500;
}

/* Responsividad */
@media (max-width: 768px) {
    .domain-title {
        font-size: 2.5rem;
    }
    
    .main-content {
        padding: 25px;
    }
    
    .header {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .email-container {
        font-size: 1.2rem;
        padding: 12px;
    }
    
    .info-section h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .domain-title {
        font-size: 2rem;
    }
    
    .email-container {
        font-size: 1rem;
    }
    
    .copy-email-btn {
        width: 100%;
        justify-content: center;
    }
    
    .info-section h2 {
        font-size: 1.6rem;
    }
}
