/* 
HACKAKURE MINIMAL LANDING - STYLES
Paleta: #d9d9d9 → #545454 + #9c0613
Filosofía: Minimalismo zen + autoridad bushido
*/

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

html, body {
    height: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow: hidden;
    background: linear-gradient(160deg, #d9d9d9 0%, #545454 85%);
    color: #000000;
}

.container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.logo {
    font-size: clamp(2.5rem, 12vw, 8rem);
    font-weight: 900;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    color: #9c0613;
    text-shadow: 
        1px 1px 0px rgba(0, 0, 0, 0.1),
        2px 2px 4px rgba(0, 0, 0, 0.15),
        0px 0px 8px rgba(156, 6, 19, 0.1),
        inset 1px 1px 2px rgba(255, 255, 255, 0.1);
    animation: fadeInUp 1.5s ease-out;
    word-break: keep-all;
    white-space: nowrap;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.tagline {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 300;
    letter-spacing: 0.05em;
    color: #333333;
    margin-bottom: 1.5rem;
    max-width: 800px;
    line-height: 1.4;
    animation: fadeInUp 1.5s ease-out 0.3s both;
    position: relative;
    display: inline-block;
}

.tagline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #9c0613, #dc2626);
    animation: underlineGrow 2s ease-out 1.8s forwards;
}

.quote-container {
    position: relative;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.quote {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 400;
    font-style: italic;
    color: #ffffff;
    line-height: 1.6;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-in-out;
    padding: 0 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.quote::before {
    content: '"';
    font-size: 1.5em;
    color: #9c0613;
    opacity: 0.6;
    margin-right: 0.1em;
}

.quote::after {
    content: '"';
    font-size: 1.5em;
    color: #9c0613;
    opacity: 0.6;
    margin-left: 0.1em;
}

.quote.active {
    opacity: 1;
    transform: translateY(0);
}

.refresh-hint {
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-size: 0.85rem;
    color: #666666;
    font-weight: 300;
    letter-spacing: 0.05em;
    animation: fadeIn 2s ease-out 2s both;
    opacity: 0.8;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.refresh-hint:hover {
    opacity: 1;
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.1);
}

.refresh-hint:active {
    transform: scale(0.98);
}

.refresh-hint .text-before {
    margin-right: 0.3em;
}

.refresh-hint .key-symbol {
    background: #9c0613;
    color: white;
    padding: 0.2em 0.5em;
    border-radius: 3px;
    font-weight: 500;
    font-size: 0.8em;
    margin: 0 0.3em;
}

.refresh-hint .text-after {
    margin-left: 0.3em;
}

/* Partículas sutiles de fondo */
.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(156, 6, 19, 0.2);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 80%;
    left: 80%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    top: 60%;
    left: 10%;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    top: 30%;
    left: 90%;
    animation-delay: 1s;
}

.particle:nth-child(5) {
    top: 70%;
    left: 30%;
    animation-delay: 3s;
}

/* Efectos de hover sutiles */
.logo {
    transition: transform 0.3s ease;
    position: relative;
}

.logo:hover {
    transform: scale(1.02);
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><text y="28" font-size="28">🥷</text></svg>'), auto;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .logo {
        font-size: clamp(2rem, 10vw, 3.5rem);
        margin-bottom: 1.5rem;
        letter-spacing: 0.05em;
    }

    .tagline {
        font-size: clamp(0.9rem, 3vw, 1.2rem);
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .quote {
        font-size: clamp(1rem, 3vw, 1.1rem);
        padding: 0 1rem;
    }

    .quote-container {
        height: 100px;
    }

    .refresh-hint {
        top: 1rem;
        left: 1rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 1rem;
    }
    
    .tagline {
        font-size: clamp(0.8rem, 3vw, 1rem);
        margin-bottom: 1.5rem;
    }
    
    .quote {
        font-size: clamp(0.9rem, 3vw, 1rem);
        line-height: 1.5;
    }
    
    .quote-container {
        height: 80px;
        margin: 1rem 0;
    }
    
    .refresh-hint {
        top: 1rem;
        left: 1rem;
        font-size: 0.7rem;
    }
}

@keyframes underlineGrow {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.2;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.5;
    }
}
