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

:root {
    --primary-color: #8338c2;
    --secondary-color: #c959ef;
    --accent-color: #dd3def;
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --border-color: #333333;
    --gradient-primary: #8338c2;
    --gradient-secondary: #c959ef;
    --shadow-primary: 0 10px 40px rgba(131, 56, 194, 0.2);
    --shadow-secondary: 0 20px 60px rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.font-proxima {
    font-family: 'Poppins', sans-serif;
}

/* Fondo animado sutil */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(131, 56, 194, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(201, 89, 239, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(221, 61, 239, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 60% 60%, rgba(203, 148, 246, 0.02) 0%, transparent 50%);
    z-index: -1;
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

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

/* Header */
.header {
    padding: 2rem 0;
    text-align: center;
}

.logo {
    display: inline-block;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 120px;
    width: auto;
    max-width: 100%;
    filter: drop-shadow(0 0 20px rgba(131, 56, 194, 0.3));
    object-fit: contain;
}

/* Main content */
.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 0;
}

.hero {
    max-width: 800px;
    margin-bottom: 4rem;
}

.creator-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.gradient-text {
    color: var(--primary-color);
    font-weight: 700;
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    0% { filter: drop-shadow(0 0 20px rgba(131, 56, 194, 0.3)); }
    100% { filter: drop-shadow(0 0 30px rgba(201, 89, 239, 0.4)); }
}

.subtitle {
    font-size: clamp(1.1rem, 3vw, 1.8rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
    line-height: 1.4;
}

/* Countdown */
.countdown-container {
    margin: 3rem 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1rem;
}

.time-unit {
    background: none;
    border: none;
    border-radius: 0;
    padding: 1rem 0.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.time-unit:hover {
    transform: translateY(-2px);
}

.time-value {
    display: block;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 300;
    color: white;
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.time-label {
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 300;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Progress Bar */
.progress-container {
    margin-top: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    width: 0%;
    transition: width 0.5s ease;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressShine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.progress-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

#progress-percentage {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
}

.progress-label {
    color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
    margin-top: 4rem;
}

.cta-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    min-height: 44px;
    min-width: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(131, 56, 194, 0.3);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* Discord Section */
.discord-section {
    padding: 4rem 0;
    margin: 4rem 0;
    position: relative;
}

.discord-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.discord-graphic {
    flex: 0 0 auto;
    position: relative;
}

.discord-astronaut {
    width: 280px;
    height: auto;
    max-width: 100%;
    filter: drop-shadow(0 0 30px rgba(131, 56, 194, 0.3));
    transform: translateY(-5px);
    object-fit: contain;
}

.discord-text {
    flex: 1;
    max-width: 600px;
}

.discord-text h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.1;
}

.discord-text p {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-weight: 400;
}

.btn-discord {
    background: #5865F2;
    color: white;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.2);
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
}

.btn-discord:hover {
    opacity: 0.8;
}

/* Team Section */
.team-section {
    background: rgb(247, 233, 255);
    padding: 2rem 1rem;
    padding-bottom: 15px !important;
    margin: 4rem 0;
    border-radius: 8px;
    position: relative;
}

.team-header {
    text-align: left;
    margin-bottom: 1rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.team-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.team-subtitle {
    font-size: 1.1rem;
    color: #666666;
}

.team-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.team-member {
    flex: 1;
    max-width: 600px;
}

.member-info {
    margin-bottom: 2rem;
    text-align: left;
}

.member-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.member-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ff4040;
    margin: 0;
}

.member-role {
    background: #ff4040;
    color: white;
    padding: 0.2rem 0.7rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    margin: 0;
}

.member-description {
    font-size: 1rem;
    color: #333333;
    line-height: 1.6;
}

.team-navigation {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-arrow {
    background: none;
    color: #000;
    border: none;
    width: 18px;
    height: 18px;
    border-radius: 0;
    font-size: 0.8rem;
    font-weight: normal;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    min-height: 44px;
    min-width: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.nav-arrow:hover {
    background: none;
    color: #333;
}

.member-avatars {
    display: flex;
    gap: 5px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    overflow: hidden;
    min-height: 44px;
    min-width: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.avatar.active {
    transform: scale(1.1);
    transform: translateY(-5px);
}

.avatar:hover {
    transform: scale(1.05);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.team-graphic {
    flex: 0 0 auto;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-bottom: 0;
}

.team-character {
    width: 300px;
    height: auto;
    max-width: 100%;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
    margin-bottom: 0;
    object-fit: contain;
}

/* Progress Bar */
.progress-bar-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    margin-left: 1px;
    
}

.progress-bar {
    height: 100%;
    background: var(--primary-color);
    border-radius: 0;
    width: 0%;
    transition: width 0.1s linear;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
    max-width: 900px;
}

.feature {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-primary);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    color: white;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Design - Mobile First Approach */

/* Extra Large Screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
        padding: 0 40px;
    }
    
    .hero {
        max-width: 900px;
    }
    
    .discord-content {
        gap: 6rem;
    }
    
    .team-content {
        gap: 6rem;
    }
}

/* Large Screens */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .discord-content {
        gap: 3rem;
    }
    
    .team-content {
        gap: 3rem;
    }
    
    .discord-astronaut {
        width: 250px;
    }
    
    .team-character {
        width: 250px;
    }
}

/* Tablets */
@media (max-width: 992px) {
    .container {
        padding: 0 25px;
    }
    
    .logo-img {
        height: 100px;
    }
    
    .hero {
        margin-bottom: 3rem;
    }
    
    .countdown {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
        max-width: 500px;
        padding: 0 0.5rem;
    }
    
    .time-unit {
        padding: 0.8rem 0.3rem;
    }
    
    .time-value {
        font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    }
    
    .time-label {
        font-size: clamp(0.65rem, 1.8vw, 0.8rem);
    }
    
    .discord-content {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }
    
    .discord-astronaut {
        width: 220px;
    }
    
    .discord-text h2 {
        font-size: 2.8rem;
    }
    
    .discord-text p {
        font-size: 1.15rem;
    }
    
    .team-content {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }
    
    .team-character {
        width: 220px;
    }
    
    .team-header h2 {
        font-size: 2.2rem;
    }
    
    .member-header {
        justify-content: center;
    }
    
    .team-navigation {
        justify-content: center;
    }
}

/* Mobile Large */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .header {
        padding: 1.5rem 0;
    }
    
    .logo-img {
        height: 80px;
    }
    
    .main {
        padding: 1.5rem 0;
    }
    
    .hero {
        margin-bottom: 2.5rem;
    }
    
    .creator-text {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }
    
    .title {
        font-size: clamp(2.5rem, 10vw, 4rem);
        margin-bottom: 0.8rem;
    }
    
    .subtitle {
        font-size: clamp(1rem, 4vw, 1.4rem);
        margin-bottom: 2rem;
    }
    
    .countdown {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 2rem auto;
        padding: 0;
        max-width: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .time-unit {
        padding: 2rem 1rem;
        min-height: 150px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        text-align: center;
    }
    
    .time-value {
        font-size: clamp(4rem, 12vw, 6rem);
        margin-bottom: 0.8rem;
        font-weight: 700;
        text-align: center;
        line-height: 1;
    }
    
    .time-label {
        font-size: clamp(1.5rem, 6vw, 2rem);
        font-weight: 600;
        text-align: center;
    }
    
    .cta-section {
        margin-top: 2.5rem;
    }
    
    .cta-text {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 0.9rem 1.8rem;
        font-size: 1rem;
    }
    
    .discord-section {
        padding: 3rem 0;
        margin: 3rem 0;
    }
    
    .discord-content {
        padding: 0 1rem;
        gap: 2rem;
    }
    
    .discord-astronaut {
        width: 180px;
    }
    
    .discord-text h2 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .discord-text p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .btn-discord {
        padding: 0.9rem 1.8rem;
        font-size: 0.9rem;
    }
    
    .team-section {
        padding: 1.5rem 0.8rem;
        margin: 3rem 0;
    }
    
    .team-header {
        padding: 0 1rem;
        margin-bottom: 1.5rem;
    }
    
    .team-header h2 {
        font-size: 1.8rem;
    }
    
    .team-subtitle {
        font-size: 1rem;
    }
    
    .team-content {
        padding: 0 1rem;
        gap: 2rem;
    }
    
    .team-character {
        width: 180px;
    }
    
    .member-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .member-name {
        font-size: 1.5rem;
    }
    
    .member-role {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }
    
    .member-description {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .team-navigation {
        gap: 0.8rem;
    }
    
    .nav-arrow {
        width: 24px;
        height: 24px;
    }
    
    .avatar {
        width: 36px;
        height: 36px;
    }
    
    .footer-content {
        padding: 0 1rem;
        gap: 1.5rem;
    }
    
    .social-links {
        gap: 1rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-link svg {
        width: 18px;
        height: 18px;
    }
}

/* Mobile Medium */
@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 1rem 0;
    }
    
    .logo-img {
        height: 70px;
    }
    
    .main {
        padding: 1rem 0;
    }
    
    .hero {
        margin-bottom: 2rem;
    }
    
    .creator-text {
        font-size: 0.75rem;
    }
    
    .title {
        font-size: clamp(2rem, 12vw, 3.5rem);
    }
    
    .subtitle {
        font-size: clamp(0.9rem, 5vw, 1.2rem);
        margin-bottom: 1.5rem;
    }
    
    .countdown {
        grid-template-columns: 1fr;
        gap: 1.8rem;
        margin: 1.5rem auto;
        padding: 0;
        max-width: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .time-unit {
        padding: 1.8rem 1rem;
        min-height: 130px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        text-align: center;
    }
    
    .time-value {
        font-size: clamp(3.5rem, 10vw, 5rem);
        margin-bottom: 0.6rem;
        font-weight: 700;
        text-align: center;
        line-height: 1;
    }
    
    .time-label {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
        font-weight: 600;
        text-align: center;
    }
    
    .cta-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        max-width: 260px;
    }
    
    .discord-section {
        padding: 2rem 0;
        margin: 2rem 0;
    }
    
    .discord-content {
        padding: 0 0.5rem;
    }
    
    .discord-astronaut {
        width: 150px;
    }
    
    .discord-text h2 {
        font-size: 1.8rem;
    }
    
    .discord-text p {
        font-size: 0.95rem;
    }
    
    .btn-discord {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
    }
    
    .team-section {
        padding: 1rem 0.5rem;
        margin: 2rem 0;
    }
    
    .team-header {
        padding: 0 0.5rem;
        margin-bottom: 1rem;
    }
    
    .team-header h2 {
        font-size: 1.5rem;
    }
    
    .team-subtitle {
        font-size: 0.9rem;
    }
    
    .team-content {
        padding: 0 0.5rem;
        gap: 1.5rem;
    }
    
    .team-character {
        width: 150px;
    }
    
    .member-name {
        font-size: 1.3rem;
    }
    
    .member-role {
        font-size: 0.7rem;
        padding: 0.15rem 0.5rem;
    }
    
    .member-description {
        font-size: 0.9rem;
    }
    
    .team-navigation {
        gap: 0.6rem;
    }
    
    .nav-arrow {
        width: 20px;
        height: 20px;
    }
    
    .avatar {
        width: 32px;
        height: 32px;
    }
    
    .footer-content {
        gap: 1rem;
    }
    
    .social-links {
        gap: 0.8rem;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .social-link svg {
        width: 16px;
        height: 16px;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .countdown {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 1rem auto;
        padding: 0;
        max-width: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .time-unit {
        padding: 1.5rem 0.8rem;
        min-height: 120px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        text-align: center;
    }
    
    .time-value {
        font-size: clamp(3rem, 8vw, 4.5rem);
        margin-bottom: 0.5rem;
        font-weight: 700;
        text-align: center;
        line-height: 1;
    }
    
    .time-label {
        font-size: clamp(1.1rem, 4vw, 1.6rem);
        font-weight: 600;
        text-align: center;
    }
    
    .title {
        font-size: clamp(1.8rem, 14vw, 3rem);
    }
    
    .subtitle {
        font-size: clamp(0.8rem, 6vw, 1.1rem);
    }
    
    .discord-text h2 {
        font-size: 1.6rem;
    }
    
    .discord-astronaut {
        width: 120px;
    }
    
    .team-character {
        width: 120px;
    }
    
    .team-header h2 {
        font-size: 1.3rem;
    }
    
    .member-name {
        font-size: 1.2rem;
    }
    
    .member-description {
        font-size: 0.85rem;
    }
    
    .btn {
        max-width: 240px;
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .btn-discord {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
    }
}

/* Extra Small Screens */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    .logo-img {
        height: 60px;
    }
    
    .title {
        font-size: clamp(1.5rem, 16vw, 2.5rem);
    }
    
    .subtitle {
        font-size: clamp(0.75rem, 7vw, 1rem);
    }
    
    .countdown {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        margin: 1rem auto;
        padding: 0;
        max-width: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .time-unit {
        padding: 1.2rem 0.5rem;
        min-height: 100px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        text-align: center;
    }
    
    .time-value {
        font-size: clamp(2.5rem, 7vw, 3.5rem);
        margin-bottom: 0.4rem;
        font-weight: 700;
        text-align: center;
        line-height: 1;
    }
    
    .time-label {
        font-size: clamp(1rem, 3.5vw, 1.4rem);
        font-weight: 600;
        text-align: center;
    }
    
    .discord-text h2 {
        font-size: 1.4rem;
    }
}

/* Pantallas muy pequeñas - contador en una columna */
@media (max-width: 320px) {
    .countdown {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1rem auto;
        padding: 0;
        max-width: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .time-unit {
        padding: 1rem 0.3rem;
        min-height: 90px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        text-align: center;
    }
    
    .time-value {
        font-size: clamp(2rem, 6vw, 3rem);
        margin-bottom: 0.3rem;
        font-weight: 700;
        text-align: center;
        line-height: 1;
    }
    
    .time-label {
        font-size: clamp(0.9rem, 3vw, 1.2rem);
        font-weight: 600;
        text-align: center;
    }
    
    .team-header h2 {
        font-size: 1.2rem;
    }
    
    .member-name {
        font-size: 1.1rem;
    }
    
    .btn {
        max-width: 220px;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}

/* Animaciones de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero > * {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero > *:nth-child(1) { animation-delay: 0.1s; }
.hero > *:nth-child(2) { animation-delay: 0.2s; }
.hero > *:nth-child(3) { animation-delay: 0.3s; }
.hero > *:nth-child(4) { animation-delay: 0.4s; }
.hero > *:nth-child(5) { animation-delay: 0.5s; }

/* Scroll suave y optimizaciones */
html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Mejoras de rendimiento para dispositivos móviles */
* {
    -webkit-tap-highlight-color: transparent;
}

/* Optimización para elementos que se mueven */
.countdown, .team-navigation, .social-links {
    will-change: transform;
}

/* Mejora de contraste en modo oscuro */
@media (prefers-color-scheme: dark) {
    .team-section {
        background: rgba(247, 233, 255, 0.95);
    }
}

/* Mejora de contraste para usuarios con problemas de visión */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid #ffffff;
    }
    
    .social-link {
        border: 1px solid rgba(255, 255, 255, 0.3);
    }
}

/* Footer */
.footer {
    background: none;
    border-top: none;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}


.social-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(131, 56, 194, 0.3);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-text {
    text-align: center;
}

.footer-text p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}
