@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

/* Modern CSS Reset */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
}

main {
    display: block;
}

img, svg, object {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Add these styles at the beginning of your CSS file, after the imports */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: #0A0B0F; /* Hyperliquid's true navbar background */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    border-bottom: 1px solid #1A1B23;
}

.nav-logo object {
    height: 100px;
    width: auto;
    transition: all 0.3s ease;
}

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

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

body {
    font-family: 'Poppins', sans-serif;
    background: #0A0B0F; /* Hyperliquid's true dark background */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding-top: 90px;
    overflow: hidden; /* Disable body scroll */
}

.container {
    background: #000000; /* Pure black to match logo */
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    width: 100%;
    max-width: 40vw;
    height: auto;
    border: 1px solid #1A1B23;
    display: flex;
    flex-direction: column;
}

.logo {
    text-align: center;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#logo {
    max-width: min(150px, 60%);
    height: auto;
    margin: 0 auto; /* Center horizontally */
    display: block;
}

.logo object {
    width: 100%;
    height: auto;
    margin: 0 auto; /* Center horizontally */
    display: block;
}

.message-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    min-height: 0;
}

#messageInput {
    width: 100%;
    padding: 15px;
    height: 80px;
    border: 1px solid #2A2B35;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    resize: none;
    overflow-y: auto;
    line-height: 1.5;
    background: #000000;
    color: #FFFFFF;
    transition: border-color 0.2s ease;
}

#messageInput:focus {
    border-color: #00D4AA;
    outline: none;
    background: #000000;
}

#messageInput::placeholder {
    color: #6B7280;
    opacity: 1;
}

#submitBtn {
    padding: 12px 32px;
    background: #00D4AA;
    color: #0A0B0F;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s ease;
    width: 100%;
}

#submitBtn:hover {
    background: #00E5BB;
    transform: translateY(-1px);
}

#submitBtn:active {
    transform: translateY(0);
    background: #00B894;
}

/* Add some animation for when the input is filled */
#messageInput:not(:placeholder-shown) {
    border-color: #00D4AA;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .container {
        max-width: 60vw;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 80vw;
        margin: 1rem;
    }
    
    .navbar {
        height: 70px;
    }
    
    .nav-logo object {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .container {
        max-width: 95vw;
        padding: 1.5rem;
    }
    
    #logo {
        max-width: 180px;
    }
}

@supports not (backdrop-filter: blur(10px)) {
    .navbar {
        background: #0A0B0F; /* Solid background fallback */
    }
}

@supports not (filter: brightness(0)) {
    .nav-logo object {
        /* Alternative styling for browsers that don't support filters */
        opacity: 0.9;
    }
} 