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

:root {
    --bg-color: #0a0a0a;
    --text-color: #ffffff;
    --accent-color: #00ff9d;
    /* Neon Green */
    --secondary-accent: #7928ca;
    /* Purple */
    --card-bg: rgba(255, 255, 255, 0.05);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #1a1a1a 0%, #000000 100%);
}

.container {
    text-align: center;
    z-index: 1;
}

h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -2px;
}

.highlight {
    background: linear-gradient(45deg, var(--accent-color), var(--secondary-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 3rem;
}

.deploy-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    width: 400px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.deploy-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    gap: 8px;
    font-size: 0.9rem;
    color: #aaa;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-color);
}

.glow-on-hover {
    width: 100%;
    padding: 1rem;
    border: none;
    outline: none;
    color: #000;
    background: var(--accent-color);
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.glow-on-hover:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px var(--accent-color);
}

.glow-on-hover:active {
    transform: scale(0.98);
}

#output-log {
    margin-top: 1.5rem;
    text-align: left;
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 8px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    color: var(--accent-color);
    min-height: 60px;
    border: 1px solid rgba(0, 255, 157, 0.2);
}

.hidden {
    display: none;
}

/* Logs Section */
.logs-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    width: 600px;
    margin: 2rem auto 0;
    text-align: left;
    max-height: 300px;
    overflow-y: auto;
}

.logs-card h2 {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.log-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.log-item:last-child {
    border-bottom: none;
}

.log-name {
    font-weight: 600;
}

.log-status {
    font-size: 0.8rem;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.status-success {
    color: #00ff9d;
    background: rgba(0, 255, 157, 0.1);
    border: 1px solid rgba(0, 255, 157, 0.2);
}

.status-failed {
    color: #ff0055;
    background: rgba(255, 0, 85, 0.1);
    border: 1px solid rgba(255, 0, 85, 0.2);
}

.status-deploying {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.loading {
    color: #888;
    font-style: italic;
    text-align: center;
    padding: 1rem;
}