:root {
    --bg-color: #050505;
    --card-bg: #111111;
    --accent: #FDB813; /* Bright Yellow/Gold from the logo */
    --accent-hover: #E3A30F;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --border: #2a2a2a;
    --font-mono: 'Roboto Mono', monospace;
}

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-color);
    background-image: radial-gradient(circle at top right, #151515 0%, #050505 100%);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
}

.main-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px; /* Space before the new sections */
}

/* Left Side: Details */
.hero-details {
    display: flex;
    flex-direction: column;
}

.logo-container {
    margin-bottom: 40px;
}

.logo {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(253, 184, 19, 0.15));
    transition: transform 0.3s ease;
}

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

.hero-kicker {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-title .highlight {
    color: var(--accent);
}

.hero-lead {
    color: var(--text-muted);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 90%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-box:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(253, 184, 19, 0.3);
    transform: translateY(-5px);
}

.stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-num.highlight {
    color: var(--accent);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Right Side: Tool */
.hero-tool {
    display: flex;
    justify-content: center;
}

.generator-card {
    background: var(--card-bg);
    width: 100%;
    max-width: 550px;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    overflow: hidden;
}

.console-bar {
    background: #000;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.led {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.led-yellow { background-color: var(--accent); }
.led-green { background-color: #00d084; }

.console-body {
    padding: 30px;
}

.console-label {
    display: block;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.input-group {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
}

#name-input {
    flex: 1;
    background: #000;
    border: 2px solid var(--border);
    color: var(--text-main);
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-family: 'Roboto', sans-serif;
    transition: all 0.3s ease;
    outline: none;
    width: 100%;
}

#name-input::placeholder {
    color: #444;
}

#name-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(253, 184, 19, 0.15);
}

#generate-btn {
    background: var(--accent);
    color: #000;
    border: none;
    padding: 0 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

#generate-btn:hover {
    background: var(--accent-hover);
    box-shadow: 0 8px 20px rgba(253, 184, 19, 0.3);
}

#generate-btn:active {
    transform: translateY(2px);
}

.results-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 350px;
    overflow-y: auto;
    padding-right: 10px;
}

/* Custom scrollbar */
.results-container::-webkit-scrollbar {
    width: 6px;
}
.results-container::-webkit-scrollbar-track {
    background: #050505;
    border-radius: 10px;
}
.results-container::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 10px;
}
.results-container::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #080808;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.2s ease-out;
    cursor: pointer;
    min-width: 0; /* Important for flex children to truncate text */
}

.result-item:hover {
    border-color: var(--accent);
    background: #0f0f0f;
    transform: translateX(4px);
}

.result-text {
    font-size: 1.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 12px;
    font-weight: 400;
}

.copy-btn {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-transform: uppercase;
    flex-shrink: 0; /* Prevents button from shrinking when text is long */
}

.result-item:hover .copy-btn {
    background: var(--accent);
    color: #000;
}

.result-item:active {
    transform: scale(0.98);
}

.console-note {
    text-align: center;
    color: #555;
    font-size: 0.85rem;
    margin-top: 20px;
    font-family: var(--font-mono);
}

/* 
 * NEW SECTIONS: Static Names Collections 
 */
.collections-container {
    width: 100%;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.collection-section {
    margin-bottom: 60px;
}

.collection-header {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 15px;
}

.collection-title {
    font-size: 2rem;
    font-weight: 800;
}

.collection-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.tag-item {
    display: inline-block;
    background: #080808;
    padding: 10px 18px;
    border-radius: 6px;
    border: 1px solid var(--border);
    transition: all 0.2s ease-out;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--text-main);
    text-align: center;
}

.tag-item:hover {
    border-color: var(--accent);
    background: #0f0f0f;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(253, 184, 19, 0.15);
}

.tag-item:active {
    transform: scale(0.95);
}

@keyframes pulse {
    from { opacity: 0.5; }
    to { opacity: 1; text-shadow: 0 0 10px var(--accent); }
}

.toast {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--accent);
    color: #000;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    box-shadow: 0 10px 25px rgba(253, 184, 19, 0.4);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 1rem;
    border: 1px dashed var(--border);
    border-radius: 8px;
    font-family: var(--font-mono);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-grid {
        display: flex;
        flex-direction: column-reverse;
        gap: 40px;
        text-align: center;
    }
    
    .hero-details {
        align-items: center;
    }
    
    .hero-lead {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 600px) {
    body {
        padding: 20px 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 300px;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    #generate-btn {
        padding: 16px;
    }
    
    .console-body {
        padding: 20px;
    }

    .collection-title {
        font-size: 1.5rem;
    }
}
