/*
 * o8 Brand Styles
 * Consistent styling and brand identity for all o8 projects
 */

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

body {
    background-color: #000000;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 2rem;
}

/* Background Canvas */
#bgCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Container */
.container {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
    width: 100%;
}

/* Brand Typography */
.brand {
    font-size: clamp(1.5rem, 8vw, 4rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    background: linear-gradient(110deg, #7a7a7a 0%, #e0e0e0 35%, #ffffff 50%, #e0e0e0 65%, #7a7a7a 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine 4s ease-in-out infinite;
    margin-bottom: 1rem;
}

.service-name {
    font-size: clamp(1rem, 4vw, 2rem);
    font-weight: 300;
    letter-spacing: 0.02em;
    background: linear-gradient(110deg, #7a7a7a 0%, #e0e0e0 35%, #ffffff 50%, #e0e0e0 65%, #7a7a7a 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine 4s ease-in-out infinite;
    margin-bottom: 2rem;
}

.description {
    color: #b0b0b0;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    line-height: 1.6;
    margin-bottom: 2rem;
    width: 100%;
}

/* Info Box */
.info-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    backdrop-filter: blur(10px);
    width: 100%;
}

.info-box p {
    color: #b0b0b0;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Separator */
.separator {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin: 2rem 0;
}

/* Links */
.links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
}

.links a {
    color: #7a7a7a;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    font-family: monospace;
}

.links a:hover {
    color: #ffffff;
}

/* Input Components */
.hash-input-container {
    margin: 2rem 0;
    display: flex;
    gap: 0.5rem;
    width: 100%;
}

.hash-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #ffffff;
    font-family: monospace;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.hash-input::placeholder {
    color: #7a7a7a;
}

.hash-input:focus {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

/* Button Components */
.view-button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.view-button:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.view-button:active {
    transform: scale(0.98);
}

/* Animations */
@keyframes shine {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}
