body {
    margin: 0;
    padding: 0;
    background-color: #0a0a0a;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: 'Arial', sans-serif;
    overflow: hidden;
    position: relative;
}

#backgroundCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.15;
}

.container {
    text-align: center;
    position: relative;
    z-index: 1;
}

h1 {
    color: #fff;
    font-size: 2.5em;
    margin-bottom: 20px;
    text-shadow: 0 0 10px #fff;
}

canvas#fractalCanvas {
    border: 2px solid #333;
    background-color: rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.controls {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

button, .twitter-button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

#portalButton {
    background-color: #2a2a2a;
    color: #666;
    position: relative;
    cursor: not-allowed;
    border: 1px solid #444;
    overflow: hidden;
}

#portalButton::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    animation: shine 3s infinite;
}

.coming-soon {
    font-size: 0.7em;
    margin-left: 8px;
    color: #888;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.twitter-button {
    background-color: #000000;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #333;
}

.twitter-button:hover {
    background-color: #222222;
    transform: scale(1.05);
}

.twitter-button svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.intro-text {
    color: #999;
    max-width: 800px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
    font-size: 1.1em;
    text-align: center;
    font-weight: 300;
    letter-spacing: 0.5px;
    animation: fadeIn 2s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
