/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-orange: #ff6b35;
    --primary-orange-dark: #e55a2b;
    --dark-bg: #0f172a;
    --dark-bg-secondary: #1e293b;
    --dark-surface: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --accent-green: #10b981;
    --accent-green-dark: #059669;
    --border-color: #475569;
    --shadow-color: rgba(0, 0, 0, 0.25);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-bg-secondary) 100%);
    min-height: 100vh;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 48px;
}

.logo-container {
    background: var(--dark-bg-secondary);
    padding: 32px 24px;
    border-radius: 20px;
    box-shadow: 0 8px 32px var(--shadow-color);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.logo-full-placeholder {
    width: 280px;
    height: 80px;
    margin: 0 auto 16px auto;
    background: var(--primary-orange);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    opacity: 0.9;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

.logo-full-placeholder::after {
    content: 'LOGO + INFOMERCADO';
    color: white;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Redes Sociales */
.social-links {
    display: flex; 
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.social-link {
    text-decoration: none;
    transition: transform 0.2s ease;
}

.social-link:hover {
    transform: translateY(-2px);
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--text-secondary);
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex !important;
    align-items: center;
    justify-content: center;
    line-height: 40px;
    text-align: center;
}

.social-icon::before {
    display: block;
    text-align: center;
    line-height: 1;
}

.social-link:hover .social-icon {
    background: var(--primary-orange);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Main content */
.main {
    flex: 1;
}

.links-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Section divider */
.section-divider {
    margin: 32px 0 24px 0;
    text-align: center;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    display: inline-block;
    padding: 0 20px;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-bg-secondary) 100%);
}

.section-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -100px;
    width: 80px;
    height: 1px;
    background: var(--border-color);
}

.section-title::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -100px;
    width: 80px;
    height: 1px;
    background: var(--border-color);
}

/* Link items */
.link-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--dark-surface);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px var(--shadow-color);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.icon-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.link-icon-placeholder {
    width: 48px;
    height: 48px;
    background: var(--text-secondary);
    border-radius: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.link-icon-placeholder::after {
    content: 'ICO';
    color: var(--dark-bg);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.link-item:hover .link-icon-placeholder {
    opacity: 0.8;
    background: var(--primary-orange);
}

.link-item:hover .link-icon-placeholder::after {
    color: white;
}

.link-item.featured .link-icon-placeholder {
    background: rgba(255, 255, 255, 0.2);
    opacity: 0.9;
}

.link-item.featured .link-icon-placeholder::after {
    color: white;
}

.link-item.sponsor .link-icon-placeholder {
    background: var(--accent-green);
    opacity: 0.8;
}

.link-item.sponsor .link-icon-placeholder::after {
    color: white;
}

.link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-orange-dark));
    transition: width 0.3s ease;
    z-index: 0;
}

.link-item:hover::before {
    width: 4px;
}

.link-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 107, 53, 0.15);
    border-color: var(--primary-orange);
    background: rgba(51, 65, 85, 0.9);
}

.link-item.featured {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark));
    color: var(--text-primary);
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.25);
    border-color: var(--primary-orange);
}

.link-item.featured::before {
    display: none;
}

.link-item.featured:hover {
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.35);
    transform: translateY(-3px);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.9), rgba(229, 90, 43, 0.9));
}

.link-item.sponsor {
    border-left: 4px solid var(--accent-green);
    background: linear-gradient(135deg, var(--dark-surface), rgba(51, 65, 85, 0.8));
    border-color: var(--accent-green);
}

.link-item.sponsor:hover {
    border-left-color: var(--accent-green-dark);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.2);
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.9), rgba(30, 41, 59, 0.9));
}

.link-content {
    flex: 1;
    position: relative;
    z-index: 1;
    min-width: 0;
}

.link-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.4;
}

.link-description {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.4;
}

.link-item.featured .link-description {
    opacity: 0.9;
}

.link-arrow {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.6;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.link-item:hover .link-arrow {
    opacity: 1;
    transform: translateX(4px);
}

.link-item.featured .link-arrow {
    opacity: 0.9;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.footer p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Responsive design */
@media (max-width: 640px) {
    .container {
        padding: 24px 16px;
    }
    
    .logo {
        font-size: 2rem;
      	width:90%;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .logo-container {
        padding: 24px 20px;
    }
    
    .link-item {
        padding: 18px 20px;
    }
    
    .link-title {
        font-size: 1rem;
    }
    
    .link-description {
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.1rem;
    }
    
    .section-title::before,
    .section-title::after {
        width: 60px;
        left: -80px;
        right: -80px;
    }
    
    .logo-full-placeholder {
        width: 240px;
        height: 64px;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
        line-height: 36px;
    }
    
    .link-icon-placeholder {
        width: 40px;
        height: 40px;
    }
    
    .link-item {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px 12px;
    }
    
    .section-title::before,
    .section-title::after {
        display: none;
    }
    
    .link-item {
        padding: 16px 18px;
        gap: 10px;
    }
    
    .logo-full-placeholder {
        width: 200px;
        height: 56px;
    }
    
    .logo-full-placeholder::after {
        font-size: 12px;
    }
    
    .social-links {
        gap: 8px;
    }
    
    .social-icon {
        width: 32px;
        height: 32px;
        font-size: 12px;
        line-height: 32px;
    }
    
    .link-icon-placeholder {
        width: 36px;
        height: 36px;
    }
    
    .link-icon-placeholder::after {
        font-size: 9px;
    }
}

/* Animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header,
.link-item {
    animation: fadeInUp 0.6s ease forwards;
}

.link-item:nth-child(1) { animation-delay: 0.1s; }
.link-item:nth-child(2) { animation-delay: 0.2s; }
.link-item:nth-child(3) { animation-delay: 0.3s; }
.link-item:nth-child(4) { animation-delay: 0.4s; }
.link-item:nth-child(5) { animation-delay: 0.5s; }
.link-item:nth-child(6) { animation-delay: 0.6s; }
.link-item:nth-child(7) { animation-delay: 0.7s; }
.link-item:nth-child(8) { animation-delay: 0.8s; }